Skip to content

Commit ac8aee3

Browse files
hsbtclaude
andcommitted
Exclude node_modules from linter
The linter scans all markdown files and fails on files inside node_modules. Exclude the directory like other non-content paths. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent fd18959 commit ac8aee3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/linter.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ class Linter
1818
%r{\Aadmin/index\.md},
1919
%r{\A[^/]*/examples/},
2020
%r{\A_includes/},
21-
%r{\Atest/}
21+
%r{\Atest/},
22+
%r{\Anode_modules/}
2223
].freeze
2324

2425
WHITESPACE_EXCLUSIONS = [

0 commit comments

Comments
 (0)