@digabi/eslint-config
v3.4.0
Published
Shared ESLint config for the digabi project.
Maintainers
Keywords
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-prettierIf you're using React, add
$ npm install --save-dev eslint-plugin-react
$ npm install --save-dev eslint-plugin-react-hooksIf you're using Mocha, add
$ npm install --save-dev eslint-plugin-mochaIf you're using Jest, add
$ npm install --save-dev eslint-plugin-jestFinally, add or modify .eslintrc.json in the project root.
{
"extends": "@digabi/eslint-config"
}