diff --git a/.vscode/settings.json b/.vscode/settings.json index c8ee946..dee0840 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,7 @@ { "editor.tabSize": 2, + "files.trimTrailingWhitespace": true, + "files.insertFinalNewline": true, "extensions.ignoreRecommendations": true, "workbench.colorCustomizations": { "activityBar.background": "#759570", @@ -27,25 +29,8 @@ "go.testTimeout": "10s", "go.formatTool": "goimports", "cSpell.allowCompoundWords": true, - "editor.codeActionsOnSave": {"source.organizeImports": true}, - "cSpell.words": [ - "Goroutines", - "Stateful", - "Structs", - "bber", - "crazybber", - "ifelse", - "iostream", - "istack", - "karlseguin", - "logrusorgru", - "mongodb", - "nums", - "postgres", - "stretchr", - "struct", - "xargs", - "gomore", - "stackless" - ], - } \ No newline at end of file + "editor.codeActionsOnSave": { + "source.organizeImports": true + }, + } + //https://vscode.readthedocs.io/en/latest/getstarted/settings/ diff --git a/cspell.json b/cspell.json new file mode 100644 index 0000000..124e443 --- /dev/null +++ b/cspell.json @@ -0,0 +1,35 @@ +{ + "version": "0.1", + "enabledLanguageIds": [ + "go", + "markdown" + ], + "enabled": true, + // words - list of words to be always considered correct + "words": [ + "Goroutines", + "Stateful", + "Structs", + "bber", + "crazybber", + "ifelse", + "iostream", + "istack", + "karlseguin", + "logrusorgru", + "mongodb", + "nums", + "postgres", + "stretchr", + "struct", + "xargs", + "gomore", + "stackless" + ], + // flagWords - list of words to be always considered incorrect + // This is useful for offensive words and common spelling errors. + // For example "hte" should be "the" + "flagWords": [ + "hte" + ] +} \ No newline at end of file