@axellero/eslint-config-functional
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

axellero logo
@axellero/eslint-config-functional

ESLint configuration for Functional Programming

axellero/eslint repository github workflow status axellero/eslint repository license @axellero/eslint-config-functional

Installation

Add peer dependencies:

$ yarn add -D eslint eslint-plugin-functional

...then install config packages:

$ yarn add -D @axellero/eslint-config-functional

Usage

{
  // package.json
  "eslintConfig": {
    "extends": [
      "@axellero/eslint-config-functional",
      // Read more about strict config below...
      "@axellero/eslint-config-functional/strict",
      // WARNING.
      // Requires tsconfig to be presented in `parserOptions.project`.
      // May cause performance problems, so we don't recommend adding it right away.
      "@axellero/eslint-config-functional/with-type-check"
    ]
  }
}

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.

License

axellero eslint config license

Package Sidebar

Install

npm i @axellero/eslint-config-functional

Weekly Downloads

2

Version

1.1.1

License

MIT

Unpacked Size

10 kB

Total Files

21

Last publish

Collaborators

  • olehan