mirror of
https://codeberg.org/forgejo/docs.git
synced 2026-10-23 07:48:59 +03:00
fix .editorconfig file (#1498)
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 <earl-warren@noreply.codeberg.org> Co-authored-by: Frederik “Freso” S. Olesen <freso.dk@gmail.com> Co-committed-by: Frederik “Freso” S. Olesen <freso.dk@gmail.com>
This commit is contained in:
committed by
Earl Warren
parent
d72f9c9377
commit
df9db3388c
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user