Skip to content

Commit

Permalink
Merge pull request #2554 from kirbydesign/eslint-config
Browse files Browse the repository at this point in the history
Add eslint config to enable autoformatting of HTML files on save
  • Loading branch information
mark-drastrup authored Oct 24, 2022
2 parents e758acd + 9860c5e commit bf58302
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"[html]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"editor.formatOnSave": true
},
"[typescript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"editor.formatOnSave": true
}
}

0 comments on commit bf58302

Please sign in to comment.