|
1 | 1 | output:
|
2 | 2 | sort-results: true
|
3 | 3 | linters:
|
4 |
| - enable: |
5 |
| - - gofmt |
6 |
| - - goimports |
| 4 | + enable-all: true |
7 | 5 | # prettier-ignore
|
8 | 6 | disable:
|
9 |
| - - tagliatelle # we're parsing data from external sources (g-rath) |
10 |
| - - varnamelen # maybe later (g-rath) |
| 7 | + - cyclop |
| 8 | + - err113 # will re-add later (another-rex) |
11 | 9 | - exhaustruct # overkill (g-rath)
|
12 | 10 | - forcetypeassert # too hard (g-rath)
|
13 |
| - - lll # line length is hard (g-rath) |
14 |
| - - godox # to-do comments are fine (g-rath) |
| 11 | + - funlen |
| 12 | + - gci |
| 13 | + - gochecknoglobals # disagree with, for non changing variables (another-rex) |
| 14 | + - gocognit |
| 15 | + - goconst # not everything should be a constant |
| 16 | + - gocyclo |
15 | 17 | - godot # comments are fine without full stops (g-rath)
|
16 |
| - - mnd # not every number is magic (g-rath) |
17 |
| - - wsl # disagree with, for now (g-rath) |
| 18 | + - godox # to-do comments are fine (g-rath) |
| 19 | + - gofumpt |
18 | 20 | - ireturn # disagree with, sort of (g-rath)
|
19 |
| - - gochecknoglobals # disagree with, for non changing variables (another-rex) |
20 |
| - - wrapcheck # too difficult, will re-add later (another-rex) |
21 |
| - - testpackage # will re-add later (another-rex) |
22 |
| - - err113 # will re-add later (another-rex) |
| 21 | + - lll # line length is hard (g-rath) |
| 22 | + - maintidx |
| 23 | + - mnd # not every number is magic (g-rath) |
| 24 | + - nestif |
23 | 25 | - nonamedreturns # disagree with, for now (another-rex)
|
24 |
| - - goconst # not everything should be a constant |
25 |
| - presets: |
26 |
| - - bugs |
27 |
| - - comment |
28 |
| - - error |
29 |
| - - performance |
30 |
| - - sql |
31 |
| - - style |
32 |
| - - test |
33 |
| - - unused |
| 26 | + - tagliatelle # we're parsing data from external sources (g-rath) |
| 27 | + - tenv # deprecated |
| 28 | + - testpackage # will re-add later (another-rex) |
| 29 | + - varnamelen # maybe later (g-rath) |
| 30 | + - wrapcheck # too difficult, will re-add later (another-rex) |
| 31 | + - wsl # disagree with, for now (g-rath) |
34 | 32 |
|
35 | 33 | linters-settings:
|
36 | 34 | exhaustive:
|
|
0 commit comments