Created
October 19, 2018 12:15
-
-
Save sprytnyk/99e60cab99940e945847ee34ccd2f43f to your computer and use it in GitHub Desktop.
A basic edit config.
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
# http://editorconfig.org | |
root = true | |
[*] | |
indent_style = space | |
indent_size = 4 | |
insert_final_newline = true | |
trim_trailing_whitespace = true | |
end_of_line = lf | |
charset = utf-8 | |
# Docstrings and comments use max_line_length = 79 | |
[*.py] | |
max_line_length = 79 | |
# Use 2 spaces for the HTML files | |
[*.html] | |
indent_size = 2 | |
# The JSON files contain newlines inconsistently | |
[*.json] | |
indent_size = 2 | |
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 | |
[docs/**.txt] | |
max_line_length = 79 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment