forked from owasp-modsecurity/ModSecurity
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request owasp-modsecurity#2898 from brandonpayton/add-edit…
…orconfig Add editorconfig to help OSS contributors
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# top-most EditorConfig file | ||
root = true | ||
|
||
# Unix-style newlines with a newline ending every file | ||
[*] | ||
end_of_line = lf | ||
indent_style = space | ||
# Scripts without suffixes in the project root tend to indent by two spaces | ||
indent_size = 2 | ||
|
||
# Most of the project files indent by four spaces | ||
[*/**] | ||
indent_size = 4 | ||
|
||
# Test files indent by two spaces | ||
[test/**] | ||
indent_size = 2 | ||
|
||
# The config parser file indents by both two and four spaces, | ||
# so we choose to indent by two spaces as a common denominator. | ||
[*.yy] | ||
indent_size = 2 | ||
|
||
[{Makefile,Makefile.am}] | ||
indent_style = tab | ||
|