From 9f98ffcab3a9f0296678f0620bb73b5942291348 Mon Sep 17 00:00:00 2001 From: Jose Tomas Robles Hahn Date: Mon, 7 Aug 2023 20:15:40 -0400 Subject: [PATCH 1/3] fix: Replace `ignore` with `unset` in Editor Configuration --- .editorconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.editorconfig b/.editorconfig index 6abb2823..24c146bf 100644 --- a/.editorconfig +++ b/.editorconfig @@ -24,8 +24,8 @@ indent_size = 2 # minified JavaScript files should not be modified [**.min.js] -indent_style = ignore -insert_final_newline = ignore +indent_style = unset +insert_final_newline = unset [*.md] indent_style = space From 801da1c04759416f640376bb3e0f464cb21cf3b9 Mon Sep 17 00:00:00 2001 From: Jose Tomas Robles Hahn Date: Mon, 7 Aug 2023 20:10:09 -0400 Subject: [PATCH 2/3] chore: Add EditorConfig-Checker configuration Documentation: https://github.com/editorconfig-checker/editorconfig-checker/blob/ec3af1e3/README.md#configuration --- .ecrc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .ecrc diff --git a/.ecrc b/.ecrc new file mode 100644 index 00000000..fb7235dd --- /dev/null +++ b/.ecrc @@ -0,0 +1,18 @@ +{ + "Verbose": false, + "Debug": false, + "IgnoreDefaults": false, + "SpacesAftertabs": false, + "NoColor": false, + "Exclude": [], + "AllowedContentTypes": [], + "PassedFiles": [], + "Disable": { + "EndOfLine": false, + "Indentation": false, + "InsertFinalNewline": false, + "TrimTrailingWhitespace": false, + "IndentSize": true, + "MaxLineLength": true + } +} From c95a0db555b61086954c90d4e72a777bc3b0d62b Mon Sep 17 00:00:00 2001 From: Jose Tomas Robles Hahn Date: Mon, 7 Aug 2023 20:10:50 -0400 Subject: [PATCH 3/3] chore: Enable Editor Configuration validation in Super-Linter --- .github/workflows/super-linter.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/super-linter.yaml b/.github/workflows/super-linter.yaml index dad2e42a..23ce3bc0 100644 --- a/.github/workflows/super-linter.yaml +++ b/.github/workflows/super-linter.yaml @@ -32,4 +32,5 @@ jobs: default_git_branch: develop validate_all_codebase: false + validate_editorconfig: true validate_markdown: true