@takanome/eslint-config-base
v1.0.7
Published
ESLint config base used by takanome-dev
Downloads
21
Maintainers
Readme
@takanome/eslint-config-base
This package contains basic eslint configs for my projects. It's based on the following packages:
- @babel/core
- @babel/eslint-parser
- eslint-config-airbnb
- eslint-config-prettier
- eslint-plugin-import
- eslint-plugin-prettier
The configs defined in this package are extended by my other eslint configs like @takanome/eslint-config.
💻 Usage
First, install the package:
npm i -D @takanome/eslint-config-base
Then, create a .eslintrc
file in the root of your project and extend the base config:
{
"extends": "@takanome/eslint-config-base"
/// ...
}
If you find annoying eslint errors you want to turn off, you can override the rules in your .eslintrc
file:
{
"extends": "@takanome/eslint-config-base",
"rules": {
"no-unused-vars": "off"
}
}
⚖️ License
This project is licensed under the terms of the MIT license.