Skip to content

Commit a97ff2e

Browse files
JAORMXclaude
andcommitted
fix: exclude node_modules from golangci-lint paths
The flatted npm package ships Go source files which causes golangci-lint to report false positives on node_modules content. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent fb97823 commit a97ff2e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.golangci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ linters:
8787
- third_party$
8888
- builtin$
8989
- examples$
90+
- node_modules$
9091
formatters:
9192
enable:
9293
- gci
@@ -103,3 +104,4 @@ formatters:
103104
- third_party$
104105
- builtin$
105106
- examples$
107+
- node_modules$

0 commit comments

Comments
 (0)