fleet-formatting-config
v1.0.6
Published
1- Run `npm install --save-dev fleet-formatting-config@https://github.com/automateinc/fleetFormattingConfig.git eslint prettier` </br> </br> 2- Add this to the `package.json` in the project's root
Downloads
3
Readme
1- Run
npm install --save-dev fleet-formatting-config@https://github.com/automateinc/fleetFormattingConfig.git eslint prettier
2- Add this to the package.json
in the project's root
"eslintConfig": { "extends": "fleet-formatting-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