forked from hashicorp/terraform-provider-azuread
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.golangci.yml
41 lines (37 loc) · 758 Bytes
/
.golangci.yml
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
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
run:
deadline: 30m10s
modules-download-mode: vendor
issues:
max-per-linter: 0
max-same-issues: 0
linters:
disable-all: true
enable:
- deadcode
- errcheck
- gofmt
- goimports
- gosimple
- govet
- ineffassign
- interfacer
- nakedret
- misspell
- prealloc
- staticcheck
- structcheck
- typecheck
- unused
- unparam
- unconvert
- varcheck
- vet
- vetshadow
- whitespace
linters-settings:
errcheck:
ignore: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema:ForceNew|Set|Clear,fmt:.*,io:Close
goimports:
local-prefixes: github.com/hashicorp/terraform-provider-azuread/azuread