Last active
March 17, 2018 01:16
-
-
Save matrixcloud/b207384f45fa9e1e5e02f954cb727627 to your computer and use it in GitHub Desktop.
.editorconfig
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
# http://editorconfig.org | |
root = true | |
[*] | |
indent_style = space | |
indent_size = 2 | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true | |
# Use 4 spaces for the Python files | |
[*.py] | |
indent_size = 4 | |
max_line_length = 80 | |
# The JSON files contain newlines inconsistently | |
[*.json] | |
insert_final_newline = ignore | |
# Minified JavaScript files shouldn't be changed | |
[**.min.js] | |
indent_style = ignore | |
insert_final_newline = ignore | |
# Makefiles always use tabs for indentation | |
[Makefile] | |
indent_style = tab | |
# Batch files use tabs for indentation | |
[*.bat] | |
indent_style = tab | |
[*.md] | |
trim_trailing_whitespace = false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment