Files
coder/.vscode/settings.json
T
G r e y 60f3cf6552 chore: configure eslint vs code plugin (#423)
Summary:

The .eslintrc.yaml is located in site, rather than the root of the
repository. The VS Code plugin has a CWD of the repository root, so it
looks for tsconfig.test.json in the root rather in site.

See Also:

- https://github.com/microsoft/vscode-eslint/issues/196
- https://github.com/typescript-eslint/typescript-eslint/issues/251
2022-03-13 20:02:49 -04:00

81 lines
1.6 KiB
JSON

{
"files.exclude": {
"**/node_modules": true
},
"go.lintTool": "golangci-lint",
"go.lintFlags": ["--fast"],
"go.lintOnSave": "package",
"go.coverOnSave": true,
// The codersdk is used by coderd another other packages extensively.
// To reduce redundancy in tests, it's covered by other packages.
"go.testFlags": ["-coverpkg=./.,github.com/coder/coder/codersdk"],
"go.coverageDecorator": {
"type": "gutter",
"coveredHighlightColor": "rgba(64,128,128,0.5)",
"uncoveredHighlightColor": "rgba(128,64,64,0.25)",
"coveredBorderColor": "rgba(64,128,128,0.5)",
"uncoveredBorderColor": "rgba(128,64,64,0.25)",
"coveredGutterStyle": "blockgreen",
"uncoveredGutterStyle": "blockred"
},
"emeraldwalk.runonsave": {
"commands": [
{
"match": "database/query.sql",
"cmd": "make gen"
}
]
},
"cSpell.words": [
"coderd",
"coderdtest",
"codersdk",
"drpc",
"drpcconn",
"drpcmux",
"drpcserver",
"fatih",
"goarch",
"goleak",
"gossh",
"hashicorp",
"httpmw",
"idtoken",
"incpatch",
"isatty",
"Jobf",
"kirsle",
"ldflags",
"manifoldco",
"mattn",
"mitchellh",
"moby",
"nfpms",
"nhooyr",
"nolint",
"nosec",
"ntqry",
"oneof",
"parameterscopeid",
"pqtype",
"promptui",
"protobuf",
"provisionerd",
"provisionersdk",
"ptty",
"ptytest",
"retrier",
"sdkproto",
"stretchr",
"tcpip",
"tfexec",
"tfstate",
"trimprefix",
"unconvert",
"webrtc",
"xerrors",
"yamux"
],
"eslint.workingDirectories": ["./site"]
}