cuemata/.golangci.toml
Hoang Nguyen 0041771955
Initial commit
There is nothing here yet, just boilerplate code -_-
2023-12-10 00:00:00 +07:00

60 lines
1.1 KiB
TOML

# SPDX-FileCopyrightText: 2023 Hoang Nguyen <folliekazetani@protonmail.com>
#
# SPDX-License-Identifier: CC0-1.0
[linters]
disable-all = true
enable = [
"bodyclose",
"dogsled",
"dupl",
"errcheck",
"exhaustive",
"exportloopref",
"funlen",
"goconst",
"gofumpt",
"goimports",
"gomnd",
"goprintffuncname",
"gosec",
"gosimple",
"govet",
"ineffassign",
"lll",
"misspell",
"nakedret",
"noctx",
"nolintlint",
"revive",
"staticcheck",
"stylecheck",
"typecheck",
"unconvert",
"unparam",
"unused",
"whitespace",
]
[linters-settings]
[linters-settings.errcheck]
check-type-assertions = true
[linters-settings.funlen]
lines = 100
statements = 50
[linters-settings.gofumpt]
extra-rules = true
[linters-settings.goimports]
local-prefixes = "gitlab.com/FollieHiyuki/cuelumi"
[linters-settings.govet]
check-shadowing = true
[linters-settings.misspell]
locale = "US"
[linters-settings.nolintlint]
require-explanation = true
[output]
sort-results = true
[run]
timeout = "15m"