@binur95/eslint-config-babel
v1.2.0
Published
Anvilabs' ESLint config for our Babel codebases
Downloads
1
Maintainers
Readme
@binur95/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 @binur95/eslint-config @binur95/eslint-config-babel --dev
# or
$ npm install eslint prettier @binur95/eslint-config @binur95/eslint-config-babel --save-dev
Then add the extends to your .eslintrc.js
:
module.exports = {
extends: ['@binur95/eslint-config', '@binur95/eslint-config-babel' /* and maybe '@binur95/eslint-config-babel/babel-module' */],
rules: {
// your overrides
},
};
Additional configs include:
'@binur95/eslint-config-babel/babel-module'
for usage with babel-plugin-module-resolver
License
MIT License © Anvilabs LLC