1.0.7 • Published 1 year ago
@takanome/eslint-config-base v1.0.7
@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-baseThen, 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.