File: .golangci-extra.yml

package info (click to toggle)
golang-github-opencontainers-cgroups 0.0.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 872 kB
  • sloc: makefile: 2
file content (21 lines) | stat: -rw-r--r-- 603 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# This is golangci-lint config file which is used to check NEW code in
# github PRs only (see lint-extra in .github/workflows/validate.yml).
#
# For the default linter config, see .golangci.yml. This config should
# only enable additional linters and/or linter settings not enabled
# in the default config.
version: "2"

linters:
  default: none
  enable:
    - godot
    - revive
    - staticcheck
  settings:
    staticcheck:
      checks:
        - all
        - -QF1008 # https://staticcheck.dev/docs/checks/#QF1008 Omit embedded fields from selector expression.
  exclusions:
    generated: strict