From df9db3388cd2e1556ffb0994baa9d9bc7710faae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frederik=20=E2=80=9CFreso=E2=80=9D=20S=2E=20Olesen?= Date: Fri, 19 Sep 2025 13:25:08 +0200 Subject: [PATCH] fix .editorconfig file (#1498) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The EditorConfig documentation states that “section names are filepath globs (case sensitive), similar to the format accepted by gitignore.” ( https://editorconfig.org/#file-format-details ) This fixes a non-compliant section name so that editors and validators will correctly apply EditorConfig rules to appropriate files, e.g.: Before (exits with code 1): ``` > editorconfig-checker -color release-schedule.json release-schedule.json: 2-15: Wrong indentation type(spaces instead of tabs) 1 errors found ``` After (exits with code 0): ``` > editorconfig-checker -color release-schedule.json ``` Reviewed-on: https://codeberg.org/forgejo/docs/pulls/1498 Reviewed-by: Earl Warren Co-authored-by: Frederik “Freso” S. Olesen Co-committed-by: Frederik “Freso” S. Olesen --- .editorconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index 6491fcef..b38e7062 100644 --- a/.editorconfig +++ b/.editorconfig @@ -10,7 +10,7 @@ indent_size = 2 indent_style = tab insert_final_newline = true -[*.json, *.yml, *.yaml] +[*.{json,y{a,}ml}] indent_style = space [*.md]