Skip to content

Commit

Permalink
Fixed .editorconfig formatting issues and improved compatibility
Browse files Browse the repository at this point in the history
- Removed an empty section `[]` at the end of the file, as it is invalid and unnecessary.
- Split `[*.{yml,yaml}]` into separate sections `[*.yml]` and `[*.yaml]` to ensure compatibility with older editors that do not support wildcard patterns.
- Updated indentation settings for YAML files to maintain consistency across all editors and IDEs.
  • Loading branch information
mavci42 authored Jan 21, 2025
1 parent 29058ad commit 24654a0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,16 @@ indent_size = 4
[*.rs]
max_line_length = 100

[*.{yml,yaml}]
[*.yml]
indent_size = 2

[*.yaml]
indent_size = 2

[*.md]
# double whitespace at end of line
# denotes a line break in Markdown
trim_trailing_whitespace = false

[Makefile]
indent_style = tab

[]

0 comments on commit 24654a0

Please sign in to comment.