Skip to content

Fix .editorconfig glob for YAML/JSON files - #1

Merged
bosd merged 1 commit into
mainfrom
fix/editorconfig-globs
Oct 8, 2026
Merged

bosd merged 1 commit into
mainfrom
fix/editorconfig-globs

Conversation

@bosd

@bosd bosd commented Oct 7, 2026

Copy link
Copy Markdown
Owner

[*.yml,yaml,json] is not a valid EditorConfig glob; without braces the comma list is not expanded, so the section matched no real files and YAML/JSON files never got indent_size = 2.

This changes it to [*.{yml,yaml,json}].

[*.yml,yaml,json] is not a valid EditorConfig brace expansion: it only
matched a file literally named '*.yml,yaml,json', so YAML and JSON files
never got the 2-space indent settings. Use [*.{yml,yaml,json}].
@bosd
bosd force-pushed the fix/editorconfig-globs branch from dd5625f to 38121c2 Compare October 8, 2026 09:03
@bosd
bosd merged commit 6670121 into main Oct 8, 2026
7 checks passed
@bosd
bosd deleted the fix/editorconfig-globs branch October 8, 2026 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant