1.0.0 • Published 8 months ago

automate-formatting-config v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

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