automate-formatting-config

1.0.0 • Public • Published

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" }
3- Install *eslint* and *prettier* VS Code Extensions 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

Readme

Keywords

none

Package Sidebar

Install

npm i automate-formatting-config

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

5.2 kB

Total Files

3

Last publish

Collaborators

  • alqassab_automate