chore: enable files.insertFinalNewline in vscode (#518)

Ensures there's always a newline at the end of files. They seem to be
randomly missing, which cause weird diffs.
This commit is contained in:
Colin Adler
2022-03-22 00:27:40 -05:00
committed by GitHub
parent 01ab48724e
commit 3b29b15290
+3 -1
View File
@@ -61,6 +61,8 @@
"files.exclude": {
"**/node_modules": true
},
// Ensure files always have a newline.
"files.insertFinalNewline": true,
"go.lintTool": "golangci-lint",
"go.lintFlags": ["--fast"],
"go.lintOnSave": "package",
@@ -79,5 +81,5 @@
},
// We often use a version of TypeScript that's ahead of the version shipped
// with VS Code.
"typescript.tsdk": "./site/node_modules/typescript/lib"
"typescript.tsdk": "./site/node_modules/typescript/lib",
}