go-moysklad

Форк
0
/
.golangci.yml 
48 строк · 1.4 Кб
1
run:
2
  # The default concurrency value is the number of available CPU.
3
  concurrency: 4
4
  # Timeout for analysis, e.g. 30s, 5m.
5
  # Default: 1m
6
  timeout: 5m
7
  # Exit code when at least one issue was found.
8
  # Default: 1
9
  issues-exit-code: 2
10
  # Include test files or not.
11
  # Default: true
12
  tests: false
13
  # List of build tags, all linters use it.
14
  # Default: [].
15
  build-tags: []
16
  # Allow multiple parallel golangci-lint instances running.
17
  # If false (default) - golangci-lint acquires file lock on start.
18
  allow-parallel-runners: false
19
  # If set we pass it to "go list -mod={option}". From "go help modules":
20
  # If invoked with -mod=readonly, the go command is disallowed from the implicit
21
  # automatic updating of go.mod described above. Instead, it fails when any changes
22
  # to go.mod are needed. This setting is most useful to check that go.mod does
23
  # not need updates, such as in a continuous integration and testing system.
24
  # If invoked with -mod=vendor, the go command assumes that the vendor
25
  # directory holds the correct copies of dependencies and ignores
26
  # the dependency descriptions in go.mod.
27
  #
28
  # Allowed values: readonly|vendor|mod
29
  # By default, it isn't set.
30
  modules-download-mode: readonly
31

32
issues:
33
  exclude-use-default: true
34

35
output:
36
  sort-results: true
37

38
linters:
39
  disable-all: true
40
  enable:
41
    - govet
42

43
linters-settings:
44
  govet:
45
    enable:
46
      - fieldalignment
47
  fieldalignment:
48
    suggest-new: true

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.