Skip to content

azimutlabs/eslint

Repository files navigation

ESLint configurations and code-style guidelines

azimutlabs/eslint repository github workflow status azimutlabs/eslint repository license

Installation

All packages have their respective peerDependencies and as long as you add everything required by the package, you are good to go.

Packages itself divided by their plugin usage and made independent but at the same time integrated by keeping in mind that they can be used in conjunction with one another.

Here is just a default script section for some who tend to skip these description parts:

$ yarn add --save-dev @azimutlabs/eslint-config

Usage

All you have to do is to extend the config you want, and we'll take it from there:

{
  // package.json
  "eslintConfig": {
    "extends": [
      // Either extend ALL configurations at once...
      "@azimutlabs",
      // ...or piece by piece
      "@azimutlabs/eslint-config-core",
      "@azimutlabs/eslint-config-typescript",
      "@azimutlabs/eslint-config-prettier",
    ]
  }
}

Configurations

All configurations were made and tested with care. We tried to match our needs, but maybe you could find them useful as well.

azimutlabs eslint config npm package version Collection of all @azimutlabs/eslint-config-* packages
azimutlabs eslint config core npm package version ESLint configuration core rules
azimutlabs eslint config prettier npm package version ESLint configuration for Prettier
azimutlabs eslint config import npm package version ESLint configuration for ES6 Imports and Exports
azimutlabs eslint config typescript npm package version ESLint configuration for TypeScript
azimutlabs eslint config react npm package version ESLint configuration for React/ReactHooks
azimutlabs eslint config jsx a11y npm package version ESLint configuration for JSX Accessibility
azimutlabs eslint config functional npm package version ESLint configuration for Functional Programming
azimutlabs eslint config jest npm package version ESLint configuration for Jest testing library

Contributing

Any PR is welcomed by our @js-opensource team. Check out our contributing guidelines for more info.

License

azimutlabs eslint config license