From fda1203ebac9d408336b641583c28ea54dc600ff Mon Sep 17 00:00:00 2001 From: per1234 Date: Tue, 15 Oct 2024 19:02:11 -0700 Subject: [PATCH] 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). --- .ecrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ecrc b/.ecrc index eed3f9ae..492f7990 100644 --- a/.ecrc +++ b/.ecrc @@ -4,7 +4,7 @@ "__pycache__[/\\\\]", "^LICENSE\\.txt$", "^poetry\\.lock$", - "^\\.licenses/", + "^\\.licenses[/\\\\]", "^internal/rule/schema/schemadata/bindata.go$", "^internal/rule/schema/testdata/bindata.go$" ]