Skip to content

Commit

Permalink
Settings for auto-formatting and linting in VS Code.
Browse files Browse the repository at this point in the history
  • Loading branch information
daveverwer committed Sep 25, 2023
1 parent 322121f commit d8ece23
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .vscode/settings.json.template
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
{
"task.allowAutomaticTasks": "on",
"stylelint.packageManager": "yarn",
"stylelint.validate": ["css", "scss", "less", "postcss"],
"[javascript][json][jsonc][typescript][typescriptreact][html][yaml][md][scss][css]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.codeActionsOnSave": {
"source.fixAll": false,
"source.fixAll.stylelint": true
}
}

0 comments on commit d8ece23

Please sign in to comment.