nimona/go-nimona

View on GitHub
.vscode/settings.json

Summary

Maintainability
Test Coverage
{
    // General
    "files.eol": "\n",
    "files.trimTrailingWhitespace": true,
    "[go][json][yaml][html][javascript][css][markdown]": {
        "files.insertFinalNewline": true,
    },

    // Golang
    "gopls": {
        "ui.diagnostic.staticcheck": true,
        "formatting.gofumpt": true,
        "formatting.local": "nimona.io",
        // NOTE: This is a workaround for a bug in the Go language server
        // https://github.com/golang/go/issues/29202
        "buildFlags": ["-tags=integration"],
    },
    "go.formatTool": "gofumpt",
    "go.lintTool":"golangci-lint",
    "go.lintFlags": [
      "--fast"
    ],
    "go.testFlags": [
        "-count=1",
        "-v",
    ],

    // File nesting
    "explorer.fileNesting.enabled": true,
    "explorer.fileNesting.expand": false,
    "explorer.fileNesting.patterns": {
        "*.go": "${capture}_test.go,${capture}_mock.go,${capture}_gen.go,${capture}_docgen.go",
        "go.mod": "go.sum",
        "README.md": "README.*.md",
    },
    "files.exclude": {
        ".vscode": true,
        ".gitignore": true,
    },
    "explorer.sortOrder": "type",
}