51 lines
1.3 KiB
JSON
51 lines
1.3 KiB
JSON
{
|
|
"conventionalCommits.scopes": [
|
|
"github",
|
|
"agent",
|
|
"vscode",
|
|
"ui",
|
|
"go",
|
|
"tracker",
|
|
"devcontainer",
|
|
"linux/hwmon",
|
|
"linux",
|
|
"scripts",
|
|
"container",
|
|
"preferences",
|
|
"cmd",
|
|
"hass",
|
|
"dbusx",
|
|
"device"
|
|
],
|
|
"conventionalCommits.lineBreak": "\\n",
|
|
"go.lintTool": "golangci-lint",
|
|
"go.lintFlags": [
|
|
"--fast"
|
|
],
|
|
"gopls": {
|
|
"ui.semanticTokens": true,
|
|
"ui.noSemanticString": true, // delegates string syntax highlighting to vscode
|
|
"ui.noSemanticNumber": true, // delegates number syntax highlighting to vscode
|
|
"formatting.gofumpt": true,
|
|
"formatting.local": "github.com/joshuar/go-hass-agent",
|
|
"ui.diagnostic.analyses": {
|
|
"fieldalignment": true, // Disable the unreachable analyzer.
|
|
"unusedvariable": true
|
|
}
|
|
},
|
|
"go.useLanguageServer": true,
|
|
"[go]": {
|
|
"editor.formatOnSave": true,
|
|
"editor.codeActionsOnSave": {
|
|
"source.organizeImports": "always",
|
|
"source.fixAll": "always"
|
|
},
|
|
},
|
|
"[go.mod]": {
|
|
"editor.formatOnSave": true,
|
|
"editor.codeActionsOnSave": {
|
|
"source.organizeImports": "always"
|
|
},
|
|
},
|
|
"ltex.language": "en-AU"
|
|
} |