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