Skip to content

Commit

Permalink
Restrict insertFinalNewline to ts, json and jsonc files
Browse files Browse the repository at this point in the history
  • Loading branch information
RedCMD committed Jun 14, 2024
1 parent 1ffb1a1 commit 87aa6a6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
"typescript.tsc.autoDetect": "off",
"typescript.format.semicolons": "insert",
"files.insertFinalNewline": true, // because of Github
"files.trimFinalNewlines": true,
"C_Cpp.errorSquiggles": "enabled",
"[json-textmate]": {
"files.insertFinalNewline": false,
"[typescript][json][jsonc]": {
"files.insertFinalNewline": true, // because of Github
},
}

0 comments on commit 87aa6a6

Please sign in to comment.