.golangci.yaml raw

   1  run:
   2    timeout: 10m
   3  
   4  linters-settings:
   5    gci:
   6      sections:
   7        - standard
   8        - default
   9        - prefix(github.com/sagikazarmark/locafero)
  10    goimports:
  11      local-prefixes: github.com/sagikazarmark/locafero
  12    misspell:
  13      locale: US
  14    nolintlint:
  15      allow-leading-space: false # require machine-readable nolint directives (with no leading space)
  16      allow-unused: false # report any unused nolint directives
  17      require-specific: false # don't require nolint directives to be specific about which linter is being skipped
  18    revive:
  19      confidence: 0
  20  
  21  linters:
  22    enable:
  23      - gci
  24      - goimports
  25      - misspell
  26      - nolintlint
  27      - revive
  28