.editorconfig: extend rules to .yml and .md files

Added a rule for YAML files
    Ensure we all use the same settings
    Enabled trim_trailing_whitespace for all files, except Markdown ones
    Removed unused comments
    Some of them are even irrelevant
pull/4251/head
Alexey 2020-04-05 15:14:19 +03:00 committed by GitHub
parent 44a271d9e9
commit 48dfa6edc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 4 deletions

View File

@ -1,17 +1,21 @@
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# Matches multiple files with brace expansion notation
[*.v]
indent_style = tab
indent_size = 4
trim_trailing_whitespace = true
[*.{yml,yaml}]
indent_style = space
indent_size = 2
[*.md]
trim_trailing_whitespace = false
[Makefile]
indent_style = tab