~mna/dbzero

9ea4bd854b42840f89d00bdf260a140622b41fbf — Martin Angers 2 years ago master
initial commit
3 files changed, 105 insertions(+), 0 deletions(-)

A .gitignore
A .golangci.toml
A README.md
A  => .gitignore +8 -0
@@ 1,8 @@
# environment files
.env*

# output of various helper commands
*.out

# binaries
/bin/

A  => .golangci.toml +89 -0
@@ 1,89 @@
[linters]
  disable-all = true
  enable = [
    "deadcode",
    "errcheck",
    "gochecknoinits",
    "gochecknoglobals",
    "gofmt",
    "golint",
    "gosec",
    "gosimple",
    "govet",
    "ineffassign",
    "misspell",
    "nakedret",
    "prealloc",
    "staticcheck",
    "structcheck",
    "typecheck",
    "unconvert",
    "unparam",
    "unused",
    "varcheck",
  ]

[issues]
  # regexps of issue texts to exclude
  # NOTE: using this instead of [[issues.exclude-rules]] as SpaceVim respects those
  # exclusions, but does not respect the specific exclude-rules.
  exclude = [
    # cmd/*: package-level vars for binaries, assigned with linker flags
    "`version` is a global variable",
    "`buildDate` is a global variable",
    "`shortUsage` is a global variable",
    "`longUsage` is a global variable",
    "`commands` is a global variable",

    # pkg/codegen
    "`basicIdentsToGo` is a global variable",
    "`goKeywords` is a global variable",
    "`tokenToGoToken` is a global variable",
    "`testUpdateCodegenTests` is a global variable",

    # pkg/internal/filetest
    "`testUpdateAllTests` is a global variable",

    # pkg/parser
    "`declStart` is a global variable",
    "`stmtStart` is a global variable",
    "`testUpdateParserTests` is a global variable",

    # pkg/scanner
    "`PrintError` is a global variable",
    "`testUpdateScannerTests` is a global variable",

    # pkg/semantic
    "`basicKindSizes` is a global variable",
    "`selectorTypeContext` is a global variable",

    # pkg/token
    "`NewFileSet` is a global variable",
    "`tokens` is a global variable",
    "`keywords` is a global variable",
    "`operators` is a global variable",

    # pkg/typecheck
    "`basicKindStrings` is a global variable",
    "`binaryOpsTable` is a global variable",
    "`boolsCompare` is a global variable",
    "`floatsCompare` is a global variable",
    "`floatsWidening` is a global variable",
    "`identToBasicKind` is a global variable",
    "`intsCompare` is a global variable",
    "`intsWidening` is a global variable",
    "`nodeType` is a global variable",
    "`objectType` is a global variable",
    "`stringsCompare` is a global variable",
    "`stringsWidening` is a global variable",
    "`testUpdateCheckTests` is a global variable",
    "`testUpdateScopesTests` is a global variable",
    "`testUpdateStaticTests` is a global variable",
    "`testUpdateTypesTests` is a global variable",
    "`typeContextStrings` is a global variable",
    "`typeContextValues` is a global variable",
    "`typeType` is a global variable",
    "`unaryOpsTable` is a global variable",
    "`universeIdents` is a global variable",
  ]


A  => README.md +8 -0
@@ 1,8 @@
# dbzero

[![builds.sr.ht status](https://builds.sr.ht/~mna/dbzero.svg)](https://builds.sr.ht/~mna/dbzero?)

* Canonical repository: https://git.sr.ht/~mna/dbzero
* Issue tracker: https://todo.sr.ht/~mna/dbzero
* Builds: https://builds.sr.ht/~mna/dbzero