Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed .editorconfig formatting issues and improved compatibility #58

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mavci42
Copy link

@mavci42 mavci42 commented Jan 21, 2025

Changes:

  1. Removed Empty Section:

    • Removed the invalid [] section at the end of the .editorconfig file.
  2. Improved YAML Compatibility:

    • Split the [*.{yml,yaml}] section into separate sections [*.yml] and [*.yaml] to ensure compatibility with older editors that do not support wildcard patterns.
    • Updated the indent_size setting for both YAML file types to maintain consistency.

Why These Changes?

  • The empty [] section was invalid and could cause issues with some .editorconfig parsers.
  • Some older editors do not support wildcard patterns like [*.{yml,yaml}], so splitting them into separate sections ensures broader compatibility.
  • These changes make the .editorconfig file cleaner, more maintainable, and compatible with a wider range of tools.

- 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.
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