.editorconfig
· 720 B · INI
Raw
# EditorConfig is awesome: https://editorconfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
# Matches multiple files with brace expansion notation
# Set default charset
[*.{js,py}]
charset = utf-8
# 4 space indentation
[*.py]
indent_style = space
indent_size = 4
# Tab indentation (no size specified)
[Makefile]
indent_style = tab
# Indentation override for all JS under lib directory
[lib/**.js]
indent_style = space
indent_size = 2
[*.yml]
indent_style = space
indent_size = 2
# Matches the exact files either package.json or .travis.yml
[{package.json,.travis.yml}]
indent_style = space
indent_size = 2
| 1 | # EditorConfig is awesome: https://editorconfig.org |
| 2 | |
| 3 | # top-most EditorConfig file |
| 4 | root = true |
| 5 | |
| 6 | # Unix-style newlines with a newline ending every file |
| 7 | [*] |
| 8 | end_of_line = lf |
| 9 | insert_final_newline = true |
| 10 | |
| 11 | # Matches multiple files with brace expansion notation |
| 12 | # Set default charset |
| 13 | [*.{js,py}] |
| 14 | charset = utf-8 |
| 15 | |
| 16 | # 4 space indentation |
| 17 | [*.py] |
| 18 | indent_style = space |
| 19 | indent_size = 4 |
| 20 | |
| 21 | # Tab indentation (no size specified) |
| 22 | [Makefile] |
| 23 | indent_style = tab |
| 24 | |
| 25 | # Indentation override for all JS under lib directory |
| 26 | [lib/**.js] |
| 27 | indent_style = space |
| 28 | indent_size = 2 |
| 29 | |
| 30 | [*.yml] |
| 31 | indent_style = space |
| 32 | indent_size = 2 |
| 33 | |
| 34 | # Matches the exact files either package.json or .travis.yml |
| 35 | [{package.json,.travis.yml}] |
| 36 | indent_style = space |
| 37 | indent_size = 2 |
| 38 | |
| 39 |