cozde-eslint
v1.0.2
Published
general cozde react typescript eslint
Downloads
13
Readme
CoZde Eslint rules for react typescript projects
How to use this?
1. Link eslint to your project
Run the following command at your root project folder:npm link cozde-eslint
2. Manual install all peer dependencies
For npm
npm i -D @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-config-prettier eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-simple-import-sort prettier
For yarn
yarn add -D @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-config-prettier eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-simple-import-sort prettier
3. Custom your eslintConfig
in package.json
"eslintConfig": {
"extends": [
"cozde-eslint"
]
}
Or edit your .eslintrc
file
{
"extends": ["cozde-eslint"]
}