@digabi/eslint-config
v3.3.0
Published
Our shared ESLint config
Downloads
12,444
Readme
eslint-config
Shared ESLint config for the digabi project.
How to add to a new project?
Add the required dependencies:
$ npm install --save-dev @digabi/eslint-config @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-config-prettier eslint-plugin-import eslint-plugin-prettier
If you're using React, add
$ npm install --save-dev eslint-plugin-react
$ npm install --save-dev eslint-plugin-react-hooks
If you're using Mocha, add
$ npm install --save-dev eslint-plugin-mocha
If you're using Jest, add
$ npm install --save-dev eslint-plugin-jest
Finally, add or modify .eslintrc.json
in the project root.
{
"extends": "@digabi/eslint-config"
}