Skip to content

Commit

Permalink
dx: set VSCode to automatically run eslint --fix on js/jsx/ts/tsx fil…
Browse files Browse the repository at this point in the history
…es on save
  • Loading branch information
hedgepigdaniel committed Oct 23, 2019
1 parent 428a503 commit 4961164
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .vscode/settings.json
Expand Up @@ -8,5 +8,12 @@
"**/node_modules/**/*": true,
"examples/boilerplate/buildClient/**/*": true,
"examples/boilerplate/buildServer/**/*": true
}
},
"eslint.autoFixOnSave": true,
"eslint.validate": [
{ "language": "javascript", "autoFix": true },
{ "language": "javascriptreact", "autoFix": true },
{ "language": "typescript", "autoFix": true },
{ "language": "typescriptreact", "autoFix": true }
]
}

0 comments on commit 4961164

Please sign in to comment.