diff --git a/.editorconfig b/.editorconfig index 42b21d8143..c2b3e16c7b 100644 --- a/.editorconfig +++ b/.editorconfig @@ -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 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cb6b1cee62..8f614af56d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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