Skip to content

Commit 310ef0a

Browse files
committed
.editorconfig: Added exclusions for .txt files in tests and all files in the lib/ directory (which contains 3rd party stuff)
1 parent e3bb263 commit 310ef0a

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,18 @@ indent_size = 2
1616
indent_style = space
1717
indent_size = 4
1818

19+
# Exclusions
20+
21+
# Files that tests read should not change from Lucene, so we don't enforce rules on them
22+
[src/Lucene.Net.Tests.*/**.txt]
23+
trim_trailing_whitespace = unset
24+
insert_final_newline = unset
25+
26+
[lib/**]
27+
trim_trailing_whitespace = unset
28+
insert_final_newline = unset
29+
30+
1931
#### Core EditorConfig Options ####
2032

2133
#Formatting - indentation

0 commit comments

Comments
 (0)