mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
style(editorconfig): add indent style for yaml
This commit is contained in:
parent
7735d04f4f
commit
f0ea7a505b
@ -38,6 +38,6 @@ indent_style = space
|
|||||||
indent_size = 4
|
indent_size = 4
|
||||||
max_line_length = 120
|
max_line_length = 120
|
||||||
|
|
||||||
[{*.sh,*.yml}]
|
[{*.sh,*.yml,*.yaml}]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
@ -13,12 +13,12 @@ repos:
|
|||||||
# 3 - any directory named 'testdata'
|
# 3 - any directory named 'testdata'
|
||||||
# 4 - IDF monitor test data
|
# 4 - IDF monitor test data
|
||||||
exclude: &whitespace_excludes |
|
exclude: &whitespace_excludes |
|
||||||
(?x)^(
|
(?x)^(
|
||||||
.+\.(md|rst|map|bin)|
|
.+\.(md|rst|map|bin)|
|
||||||
.+test.*\/.*expected.*|
|
.+test.*\/.*expected.*|
|
||||||
.+\/testdata\/.+|
|
.+\/testdata\/.+|
|
||||||
.+test_idf_monitor\/tests\/.+
|
.+test_idf_monitor\/tests\/.+
|
||||||
)$
|
)$
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
exclude: *whitespace_excludes
|
exclude: *whitespace_excludes
|
||||||
- id: check-executables-have-shebangs
|
- id: check-executables-have-shebangs
|
||||||
|
Loading…
Reference in New Issue
Block a user