Created
March 14, 2022 23:17
-
-
Save monroy95/638bdf8b234bbd0144f1073eeb638da5 to your computer and use it in GitHub Desktop.
Guia de estilo para codigo - Si Hay Sistema. Si el app que estas trabajando no tiene este archivo descargalo y agregalo a la raiz del proyecto.
This file contains 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
# EditorConfig is awesome: https://EditorConfig.org | |
# SI HAY SISTEMA STYLE GUIDE | |
# top-most EditorConfig file | |
root = true | |
# Unix-style newlines with a newline ending every file | |
[*] | |
indent_size = 4 | |
indent_style = space | |
trim_trailing_whitespace = true | |
end_of_line = lf | |
charset = utf-8 | |
# Matches multiple files with brace expansion notation | |
# Set default charset | |
[*.{js,py}] | |
charset = utf-8 | |
# Python | |
[*.py] | |
indent_style = space | |
indent_size = 4 | |
max_line_length = 130 | |
insert_final_newline = true | |
# Javascript | |
[*.js] | |
indent_style = space | |
indent_size = 2 | |
max_line_length = 130 | |
# HTML | |
[*.html] | |
indent_style = space | |
indent_size = 2 | |
# CSS | |
[*.css] | |
indent_style = space | |
indent_size = 2 | |
# JSON | |
[*.json] | |
indent_style = space | |
indent_size = 2 | |
insert_final_newline = false | |
# Tab indentation (no size specified) | |
[Makefile] | |
indent_style = tab | |
# Matches the exact files either package.json or .travis.yml | |
[{package.json,.travis.yml}] | |
indent_style = space | |
indent_size = 2 | |
insert_final_newline = ignore | |
# Minified JavaScript files shouldn't be changed | |
[**.min.js] | |
indent_style = ignore | |
insert_final_newline = ignore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment