mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Merge pull request #2898 from brandonpayton/add-editorconfig
Add editorconfig to help OSS contributors
This commit is contained in:
commit
625f9a5300
26
.editorconfig
Normal file
26
.editorconfig
Normal file
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user