-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Clarified conflicting rules in multiple sections defined in the same .editorconfig file when matched for single file #75
Conversation
Hey @xuhdev! can you please re-review? I doubt I've understood you correctly, so please check if everything is alright 😄 |
index.rst
Outdated
files take precedence. Thus, in case a given file matches multiple sections | ||
within a single ``.editorconfig`` file, the pairs defined in the section that | ||
comes later in the ``.editorconfig`` file take precedence over pairs defined | ||
in the section that comes earlier in the same ``.editorconfig`` file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for being unclear. I meant the addition can go after the first period of this paragraph ("...take
precedence."), because this addition talks about multiple sections within a single file, which is exactly elaborates what the first sentence says.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Understood, thanks!
….editorconfig file
Hey @xuhdev! I've applied the fix, re-review please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Solves #74
📚 Documentation preview 📚: https://editorconfig-specification--75.org.readthedocs.build/