ESLint configuration for JavaScript projects
npm install @timkendrick/eslint-config --save-dev
A collection of opinionated rules based on the Airbnb ESLint config to ensure consistent lint settings across projects.
Add the following to your project's .eslintrc.json
:
{
"extends": "@timkendrick/eslint-config"
}
Add the following to your project's .eslintrc.json
:
{
"extends": "@timkendrick/eslint-config/react"
}
Add the following to your project's .eslintrc.json
:
{
"extends": "@timkendrick/eslint-config/legacy"
}
Custom rule settings are specified in lib/rules/eslintrc.json