# SPDX-FileCopyrightText: 2024 Hoang Nguyen # # SPDX-License-Identifier: Apache-2.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.govet] enable = ["shadow"] [linters-settings.govet.settings] [linters-settings.govet.settings.shadow] strict = true [linters-settings.misspell] locale = "US" [linters-settings.nolintlint] require-explanation = true [issues] fix = false [output] sort-results = true