1.0.17 • Published 1 year ago
@404-software/eslint-config v1.0.17
1- Run
yarn add -D @404-software/eslint-config eslint prettier && yarn global add eslint
2- Add this to the package.json
in the project's root
"eslintConfig": { "extends": "@404-software/eslint-config" }
"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