mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-22 18:14:16 +00:00
Add editorconfig file to define coding style
This commit is contained in:
parent
c0f3ddc703
commit
4b55f00f0e
1 changed files with 20 additions and 0 deletions
20
.editorconfig
Normal file
20
.editorconfig
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# EditorConfig is awesome: http://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
|
||||
charset = utf-8
|
||||
|
||||
# Indentation for all Yaml files
|
||||
[*.yml]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
# Indentation for all Ansible template files
|
||||
[*.j2]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
Loading…
Add table
Add a link
Reference in a new issue