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