We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello!
ESLint Plugin Perfectionist plans to deprecate from rules that use third-party parsers (azat-io/eslint-plugin-perfectionist#175).
We'd like to move a rule to you for sorting Astro element attributes.
This rule is needed to sort attributes and create a consistent codebase style.
The rule should be able to sort attributes alphabetically and by line length. Sorting by descending and ascending should also be supported.
The rule should take into account spreads within Astro elements.
--- --- {/* ✓ GOOD */} <Foo a="aaa" b="bb" c="c" /> {/* ✗ BAD */} <Foo b="bb" c="c" a="aaa" />
No response
The text was updated successfully, but these errors were encountered:
Thank you for posting the issue! It SGTM that we can provide that rule from this plugin.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Motivation
Hello!
ESLint Plugin Perfectionist plans to deprecate from rules that use third-party parsers (azat-io/eslint-plugin-perfectionist#175).
We'd like to move a rule to you for sorting Astro element attributes.
Description
This rule is needed to sort attributes and create a consistent codebase style.
The rule should be able to sort attributes alphabetically and by line length. Sorting by descending and ascending should also be supported.
The rule should take into account spreads within Astro elements.
Examples
Additional comments
No response
The text was updated successfully, but these errors were encountered: