diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..ce15f2ed --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +root = true + +[**] +charset = utf-8 +end_of_line = lf +insert_final_newline = truemax_line_length = 80 + +[*.py] +indent_style = space +indent_size = 4 +trim_trailing_whitespace = true + +[*.yml] +indent_style = space +indent_size = 2 +trim_trailing_whitespace = true diff --git a/.moban.yaml b/.moban.yaml index 16bc40f4..19f63a1c 100644 --- a/.moban.yaml +++ b/.moban.yaml @@ -33,6 +33,7 @@ configuration: configuration_dir: ../coala-mobans/ targets: - .gitignore: coala-gitignore.jj2 + - .editorconfig: .editorconfig.jj2 - setup.cfg: setup.cfg.jj2 - requirements.txt: requirements.txt.jj2 - test-requirements.txt: corobo-test-requirements.txt.jj2