GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — opendectcell-controller/.golangci.yml at main · openDECTcell/opendectcell-controller Expand file tree/ Copy path.golangci.ymlMore file actions 68 lines (66 loc) · 2.17 KB / Copy path.golangci.ymlFile metadata and controls68 lines (66 loc) · 2.17 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 # SPDX-License-Identifier: AGPL-3.0-or-later version: "2" linters: default: standard # errcheck, govet, ineffassign, staticcheck, unused enable: - bodyclose - errorlint - gosec - misspell - nilerr - noctx - revive - sqlclosecheck - unconvert - usestdlibvars settings: errcheck: # Best-effort writes whose failure must not change the outcome: # audit entries for failed logins, response writes, rollbacks. exclude-functions: - (net/http.ResponseWriter).Write - (*bytes.Buffer).WriteTo - (github.com/jackc/pgx/v5.Tx).Rollback - (*github.com/jackc/pgx/v5.Conn).Close - fmt.Fprint - fmt.Fprintf - fmt.Fprintln # Deadlines fail only on a closed connection, where the next read or # write fails anyway. - (*crypto/tls.Conn).SetDeadline - (*crypto/tls.Conn).SetReadDeadline - (*crypto/tls.Conn).SetWriteDeadline revive: # Only the documentation rules: every exported identifier has a doc # comment that starts with its name, and every package has a package # comment. revive's other default rules are off. rules: - name: exported arguments: - checkPrivateReceivers # methods that implement an interface need a comment too - disableStutteringCheck # cell.CellUp and the like: renaming churns the public API - name: package-comments gosec: excludes: - G104 # unhandled errors: errcheck covers this, with the exclusions above - G115 # integer conversions: ours are bounded by construction (lengths, identity ids); reviewed per case exclusions: generated: lax presets: - std-error-handling rules: - path: _test\.go linters: [errcheck, gosec, noctx, bodyclose, revive] - path: internal/auth/oidctest/ linters: [errcheck, gosec] # SIP status codes look like HTTP ones but are not. - path: internal/sip/ linters: [usestdlibvars] formatters: enable: - gofmt - goimports settings: goimports: local-prefixes: - github.com/openDECTcell/opendectcell-controller |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |