Skip to content

Commit 03c5fa6

Browse files
authored
Exclude binary fonts and test corpora from editorconfig-checker (#1309)
editorconfig-checker v3.7.0 added stricter pre-decode binary detection. GOTHIC.TTF has an uppercase extension that bypasses the case-sensitive default \.ttf$ exclude, and two random-text test corpora under Analysis/Core/ contain byte sequences the new detector flags as binary. Add both patterns to the Exclude list. The .editorconfig override for test .txt files only unsets formatting rules and cannot silence the encoding-detection check.
1 parent 3f058e2 commit 03c5fa6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.editorconfig-checker.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
"\\.DotSettings$",
1010
"App\\.config$",
1111
"\\.htaccess$",
12-
"packages\\.lock\\.json$"
12+
"packages\\.lock\\.json$",
13+
"\\.[Tt][Tt][Ff]$",
14+
"src/Lucene\\.Net\\.Tests\\.Analysis\\.Common/Analysis/Core/.*\\.txt$"
1315
],
1416
"AllowedContentTypes": [],
1517
"PassedFiles": [],

0 commit comments

Comments
 (0)