Skip to content

Commit bdeb5d8

Browse files
Disable 'De Morgan' checks altogether
1 parent 50746d0 commit bdeb5d8

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.trunk/configs/.golangci.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,13 @@
99
"exclusions": {
1010
"generated": "lax",
1111
"paths": ["third_party$", "builtin$", "examples$"],
12-
"presets": ["comments", "common-false-positives", "legacy", "std-error-handling"]
12+
"presets": ["comments", "common-false-positives", "legacy", "std-error-handling"],
13+
"rules": [
14+
{
15+
"linters": ["staticcheck"],
16+
"text": "QF1001"
17+
}
18+
]
1319
}
1420
},
1521
"run": {

0 commit comments

Comments
 (0)