forked from coala/coala-quickstart
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add .editorconfig to moban sync & moban sync
Closes coala#323
- Loading branch information
1 parent
dc705e6
commit e477308
Showing
2 changed files
with
10 additions
and
9 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
# top-most EditorConfig file | ||
root = true | ||
|
||
[**] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
max_line_length = 80 | ||
trim_trailing_whitespace = true | ||
|
||
# Set default charset and indentation for python files | ||
[{setup.py,tests/**/*.py,coala-quickstart/**/*.py}] | ||
indent_style = space | ||
# Set default indentation for python files | ||
[*.py] | ||
indent_size = 4 | ||
trim_trailing_whitespace = true | ||
|
||
# 2 space indentation for yml fies | ||
[{*.yml}] | ||
indent_style = space | ||
indent_size = 2 | ||
trim_trailing_whitespace = true | ||
# Override trailing whitespace for markdown files | ||
[*.md] | ||
trim_trailing_whitespace = false |
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