mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
* chore: Add golangci-lint and codecov * Use consistent file names * Format settings.json * Add golangci-lint and codecov GitHub Actions * Add base Go file for linting * Add test coverage
16 lines
467 B
JSON
16 lines
467 B
JSON
{
|
|
"go.lintTool": "golangci-lint",
|
|
"go.lintFlags": ["--fast"],
|
|
"go.lintOnSave": "package",
|
|
"go.coverOnSave": true,
|
|
"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"
|
|
}
|
|
}
|