Skip to content

Instantly share code, notes, and snippets.

@sbruggmann
Last active March 22, 2016 12:12
Show Gist options
  • Save sbruggmann/6813c9aac8af20541aae to your computer and use it in GitHub Desktop.
Save sbruggmann/6813c9aac8af20541aae to your computer and use it in GitHub Desktop.
Neos CMS & Flow Framework Code Styles
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root = true
# 4 tab; default
# html, css, scss, js, ..
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing-whitespace = true
indent_style = tab
indent_size = 4
# 4 space; PSR-2
# Use your IDE Code Style Config too..
[*.{php,json}]
indent_style = space
indent_size = 4
# 2 space
[*.{yaml,yml,sh}]
indent_style = space
indent_size = 2
# exceptions
[composer.*]
indent_style = space
indent_size = 4
[.jscsrc]
indent_style = space
indent_size = 2
[*.{note,md,edit,read}]
trim_trailing-whitespace = false
# add more if you need..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment