Skip to content

Commit 78d9519

Browse files
committed
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.
1 parent 1e4447d commit 78d9519

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.ecrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
{
22
"Exclude": [
3+
"^\\.git[/\\\\]",
4+
"^\\.licenses[/\\\\]",
5+
"__pycache__[/\\\\]",
6+
"node_modules[/\\\\]",
37
"^LICENSE\\.txt$",
48
"^poetry\\.lock$",
59
"^RFCs/0002-pluggable-discovery.md",

0 commit comments

Comments
 (0)