@anvilabs/eslint-config-babel
v19.1.0
Published
Anvilabs' ESLint config for our Babel codebases
Downloads
2
Maintainers
Readme
@anvilabs/eslint-config-babel
Anvilabs' ESLint config for our Babel codebases.
Usage
This config relies dangerously on npm@3/yarn flatter tree for its dependencies (because of eslint/issues/3458), so installation may be as simple as:
$ yarn add eslint prettier @anvilabs/eslint-config @anvilabs/eslint-config-babel --dev
# or
$ npm install eslint prettier @anvilabs/eslint-config @anvilabs/eslint-config-babel --save-dev
Then add the extends to your .eslintrc.js
:
module.exports = {
extends: ['@anvilabs/eslint-config', '@anvilabs/eslint-config-babel' /* and maybe '@anvilabs/eslint-config-babel/babel-module' */],
rules: {
// your overrides
},
};
Additional configs include:
'@anvilabs/eslint-config-babel/babel-module'
for usage with babel-plugin-module-resolver
License
MIT License © Anvilabs LLC