Skip to content

Commit

Permalink
Update ESLint autoFixOnSave settings to the new code action format
Browse files Browse the repository at this point in the history
  • Loading branch information
rhamilto committed Dec 18, 2019
1 parent f625b90 commit a0fa12b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
{ "language": "json", "autoFix": true }
],
"eslint.enable": true,
// legacy support
"eslint.autoFixOnSave": true,

"javascript.validate.enable": false,
Expand All @@ -34,6 +35,9 @@
"**/bower_components": true,
"**/.cache-loader": true,
"**/public/dist": true
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}

// TODO support prettier + stylelint
Expand Down

0 comments on commit a0fa12b

Please sign in to comment.