@chialab/eslint-config
v4.1.1
Published
Chialab's linting rules for ESLint.
Downloads
781
Readme
@chialab/eslint-config
Chialab's linting rules for ESLint.
It includes:
- recommended default ESLint rules
eslint-plugin-jsx-a11y
for JSX templates accessibility checkeslint-plugin-babel
for unsupported JavaScript features@typescript-eslint/eslint-plugin
for TypeScript language
Usage
Install ESLint:
npm i -D eslint
yarn add -D eslint
Install @chialab/eslint-config
:
npm i -D @chialab/eslint-config
yarn add -D @chialab/eslint-config
Create a .eslintrc.json
file and add the configuration:
.eslintrc.json
{
"extends": [
"@chialab/eslint-config"
]
}
IDE
Install the ESLint extension for your IDE (optional):