Skip to content

Commit

Permalink
introduce .editorconfig file
Browse files Browse the repository at this point in the history
  • Loading branch information
maximecolin committed Sep 3, 2021
1 parent 378fd11 commit ee0081f
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions elao.app/.editorconfig.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# top-most EditorConfig file
root = true

[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 4

################
# Common files #
################

[Makefile]
indent_style = tab

[*.php]
indent_size = 4
max_line_length = 120

[*.{css,sass,scss}]
indent_size = 2
max_line_length = 120

[*.js]
indent_size = 2
max_line_length = 120

[*.{html,xml}]
indent_size = 4

[*.json]
indent_size = 4

[*.md]
trim_trailing_whitespace = false # keep end of line double-space for markdown EOL
max_line_length = 120 # wrap after X chars

[*.{yaml,yml}]
indent_size = 2

###########
# Symfony #
###########

[*.twig]
indent_size = 4

[config/*.{yaml,yml,xml}]
indent_size = 4

[translations/*.{yaml,yml,xml}]
indent_size = 4

0 comments on commit ee0081f

Please sign in to comment.