style(editorconfig): add indent style for yaml

This commit is contained in:
Fu Hanxi 2021-01-22 15:25:22 +08:00
parent 7735d04f4f
commit f0ea7a505b
2 changed files with 7 additions and 7 deletions

View File

@ -38,6 +38,6 @@ indent_style = space
indent_size = 4
max_line_length = 120
[{*.sh,*.yml}]
[{*.sh,*.yml,*.yaml}]
indent_style = space
indent_size = 2

View File

@ -13,12 +13,12 @@ repos:
# 3 - any directory named 'testdata'
# 4 - IDF monitor test data
exclude: &whitespace_excludes |
(?x)^(
.+\.(md|rst|map|bin)|
.+test.*\/.*expected.*|
.+\/testdata\/.+|
.+test_idf_monitor\/tests\/.+
)$
(?x)^(
.+\.(md|rst|map|bin)|
.+test.*\/.*expected.*|
.+\/testdata\/.+|
.+test_idf_monitor\/tests\/.+
)$
- id: end-of-file-fixer
exclude: *whitespace_excludes
- id: check-executables-have-shebangs