Last active
January 18, 2022 21:37
-
-
Save webbertakken/03330968a6f3d5cc0d898a0744cd8380 to your computer and use it in GitHub Desktop.
Editor configuration to synchronise any modern editor with widely accepted standards for any web project.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root = true | |
[*] | |
charset = utf-8 | |
end_of_line = lf | |
indent_size = 2 | |
indent_style = space | |
insert_final_newline = true | |
max_line_length = 100 | |
tab_width = 2 | |
trim_trailing_whitespace = true | |
[*.md] | |
max_line_length = off | |
trim_trailing_whitespace = false | |
[*.{yml,yaml}] | |
max_line_length = off | |
[COMMIT_EDITMSG] | |
max_line_length = off | |
# Php accepted standard (PSR-2, Symfony) | |
[{*.{php,phtml},php_cs.dist,console,phpunit}] | |
indent_size = 4 | |
# Python accepted standard (PEP8) | |
[*.py] | |
indent_size = 4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment