1.0.37 • Published 1 year ago
@404-software/eslint-config v1.0.37
1- Run
yarn add -D @404-software/eslint-config @typescript-eslint/eslint-plugin@^8.23.0 @typescript-eslint/parser@^8.23.0 eslint@^8.18.0 eslint-config-prettier@^10.0.1 eslint-plugin-canonical@^5.1.3 eslint-plugin-prettier@^5.2.3 eslint-plugin-react@^7.37.4 eslint-plugin-react-hooks@^5.1.0 eslint-plugin-sort-imports-es6-autofix@^0.6.0 eslint-plugin-tailwindcss@^3.18.0 prettier@^3.4.2OR
npm i @404-software/eslint-config @typescript-eslint/eslint-plugin@^8.23.0 @typescript-eslint/parser@^8.23.0 eslint@^8.18.0 eslint-config-prettier@^10.0.1 eslint-plugin-canonical@^5.1.3 eslint-plugin-prettier@^5.2.3 eslint-plugin-react@^7.37.4 eslint-plugin-react-hooks@^5.1.0 eslint-plugin-sort-imports-es6-autofix@^0.6.0 eslint-plugin-tailwindcss@^3.18.0 prettier@^3.4.2 --save-dev2- Add this to the package.json in the project's root
"eslintConfig": { "extends": "@404-software/eslint-config" }3- Install eslint and prettier VS Code Extentions
4- Open VS Code user settings and add the following
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"eslint.validate": ["javascript", "typescript", "javascriptreact", "typescriptreact"]Note: To lint all the project files, run eslint . --ext .ts --ext .tsx --fix
1.0.22
1 year ago
1.0.21
1 year ago
1.0.26
1 year ago
1.0.25
1 year ago
1.0.24
1 year ago
1.0.23
1 year ago
1.0.29
1 year ago
1.0.28
1 year ago
1.0.27
1 year ago
1.0.33
1 year ago
1.0.32
1 year ago
1.0.31
1 year ago
1.0.30
1 year ago
1.0.37
1 year ago
1.0.35
1 year ago
1.0.19
2 years ago
1.0.18
2 years ago
1.0.20
2 years ago
1.0.0-alpha
3 years ago
1.0.17
3 years ago
1.0.16
3 years ago
1.0.15
3 years ago
1.0.14
3 years ago
1.0.13
4 years ago
1.0.12
4 years ago
1.0.11
4 years ago
1.0.10
5 years ago