@azimutlabs/eslint-config-functional
v1.1.1
Published
ESLint configuration for Functional Programming
Downloads
56
Readme
Installation
Add peer dependencies:
$ yarn add -D eslint eslint-plugin-functional
...then install config packages:
$ yarn add -D @azimutlabs/eslint-config-functional
Usage
{
// package.json
"eslintConfig": {
"extends": [
"@azimutlabs/eslint-config-functional",
// Read more about strict config below...
"@azimutlabs/eslint-config-functional/strict"
]
}
}
Strict Config
By default, javascript doesn't provide enough utilities to fully support functional programming code. Because of that by default we will deliver general good practice rules. But if you're using fp libraries (like fp-ts or purify) we recommend adding the Strict Config.
Contributing
Any PR is welcomed by our @js-opensource team. Check out our contributing guidelines for more info.