Skip to content

Commit

Permalink
Fix for competing lint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffsmohan committed Mar 1, 2024
1 parent 8bc1732 commit d410caf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions usdr-gost.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,10 @@
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
// We need to explicitly turn this off at the worksplace level to avoid
// competing user settings and workplace settings. We use VSCode's "codeActionsOnSave"
// to manage linting/fixing, but users can have other settings via "formatOnSave".
// If both are on, the editor can "fix" things that are immediately flagged as lint failures.
"editor.formatOnSave": false,
}
}

0 comments on commit d410caf

Please sign in to comment.