forked from Eyevinn/dash-mpd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.golangci.yml
26 lines (24 loc) · 829 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
linters:
enable:
- lll
- nakedret # Detect naked returns
- goheader # Checks if file hader matches to pattern
- goerr113 #Golang linter to check the errors handling expressions,
- goconst # Detect repeated values that can be made constants,
- goimports # Ensure standard import formatting/ordering
- misspell # Fix spelling errors
- unconvert # Detect unnecessary type conversions
- unparam # Detect unused function parameters
run:
skip-dirs:
- xml
linters-settings:
lll:
# '\t' is counted as 1 character by default, and can be changed with the tab-width option
line-length: 147
# tab width in spaces. Default to 1.
tab-width: 4
staticcheck:
checks:
- all
- '-SA5008' # disable rule SA5008 that does not like the parent pointers to named structs