Package Exports
- eslint-plugin-financial
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-plugin-financial) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
eslint-plugin-financial
Install
npm install eslint-plugin-financial --save-devUsage
Configure it in package.json.
{
"name": "my-world",
"eslintConfig": {
"env": {
"es6": true
},
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"plugins": [
"financial"
],
"rules": {
"financial/no-floating-point-calculation": "error"
}
}
}Rules
no-floating-point-calculation - Disallow floating point calculation.
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
Author
eslint-plugin-financial © ULIVZ, Released under the MIT License.