forked from ariga/atlas
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.golangci.yml
More file actions
40 lines (37 loc) · 782 Bytes
/
.golangci.yml
File metadata and controls
40 lines (37 loc) · 782 Bytes
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
run:
timeout: 3m
issues:
include:
- EXC0012
exclude:
- G601
- G404
- redefines-builtin-id
exclude-rules:
- path: _test\.go
linters:
- gosec
- path: sql/migrate/dir.go
linters:
- gosec
- path: sql/mysql/inspect_oss.go
linters:
- gosec
- path: sql/migrate/lex.go
linters:
- revive
- path: sql/internal/sqlx/diff.go
linters:
- revive
linters-settings:
goheader:
template: |-
Copyright 2021-present The Atlas Authors. All rights reserved.
This source code is licensed under the Apache 2.0 license found
in the LICENSE file in the root directory of this source tree.
linters:
disable-all: true
enable:
- gosec
- revive
- goheader