From 78d951903a926ce588160cf9080826f74e535481 Mon Sep 17 00:00:00 2001 From: per1234 Date: Mon, 17 Jul 2023 22:21:41 -0700 Subject: [PATCH] Exclude additional paths in editorconfig-checker configuration The editorconfig-checker tool is used to check for compliance with the basic formatting style in the project files. This check should only be done on the files that are directly developed as part of the project. Any generated or externally maintained files should not be checked, since we don't have control over the formatting of those files. Previously the tool was checking the generated files in the `.git` folder. This resulted in a spurious failure of the check. The `.ecrc` configuration file is hereby synced with the standardized upstream "template", introducing an exclusion of the `.git` folder as well as other common locations of generated and externally maintained files. --- .ecrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.ecrc b/.ecrc index 52fa555..47eb5ba 100644 --- a/.ecrc +++ b/.ecrc @@ -1,5 +1,9 @@ { "Exclude": [ + "^\\.git[/\\\\]", + "^\\.licenses[/\\\\]", + "__pycache__[/\\\\]", + "node_modules[/\\\\]", "^LICENSE\\.txt$", "^poetry\\.lock$", "^RFCs/0002-pluggable-discovery.md",