@404-software/eslint-config
v1.0.20
Published
1- Run ```console yarn add -D @404-software/eslint-config [email protected] [email protected] ```
Downloads
42
Readme
1- Run
yarn add -D @404-software/eslint-config [email protected] [email protected]
OR
npm i @404-software/eslint-config [email protected] [email protected] --save-dev
2- 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