1.0.2 • Published 2 years ago

cozde-eslint v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

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"]
}
1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago