Skip to content

Commit

Permalink
Add .editorconfig to moban sync & moban sync
Browse files Browse the repository at this point in the history
Closes coala#323
  • Loading branch information
kiy4h authored and gitmate-bot committed Nov 7, 2018
1 parent dc705e6 commit e477308
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .editorconfig
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
1 change: 1 addition & 0 deletions .moban.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ configuration:
configuration_dir: ../coala-mobans/
targets:
- .gitignore: coala-gitignore.jj2
- .editorconfig: .editorconfig.jj2
- setup.py: coala-setup.py.jj2
- setup.cfg: setup.cfg.jj2
- requirements.txt: requirements.txt.jj2
Expand Down

0 comments on commit e477308

Please sign in to comment.