Skip to content

Commit fda1203

Browse files
committed
Add Windows path support to editorconfig-checker exclude regex
The `Exclude` key of the `.ecrc` configuration file specifies regular expressions of paths that should be ignored by the editorconfig-checker tool. Previously, the regular expression only accommodated the POSIX-compliant path separator, meaning the path was not excluded as intended when used on a Windows system (even when ran from a Bash shell).
1 parent 118443a commit fda1203

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .ecrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"__pycache__[/\\\\]",
55
"^LICENSE\\.txt$",
66
"^poetry\\.lock$",
7-
"^\\.licenses/",
7+
"^\\.licenses[/\\\\]",
88
"^internal/rule/schema/schemadata/bindata.go$",
99
"^internal/rule/schema/testdata/bindata.go$"
1010
]

0 commit comments

Comments
 (0)