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

[@angular-eslint/template/attributes-order] doc is missing the info what is default for alphabetical #1749

Open
DerZyklop opened this issue Mar 19, 2024 · 1 comment
Labels
package: eslint-plugin-template Angular Template rules triage This issue needs to be looked at and categorized by a maintainer

Comments

@DerZyklop
Copy link

Description and reproduction of the issue

- [ ] I have tried restarting my IDE and the issue persists.
- [ ] I have updated to the latest supported version of the packages and checked my ng version output per the instructions given here.

@DerZyklop DerZyklop added package: eslint-plugin-template Angular Template rules triage This issue needs to be looked at and categorized by a maintainer labels Mar 19, 2024
@abaran30
Copy link
Contributor

Because alphabetical is an optional boolean, the default is false. In the same docs, there are examples of incorrect code. Some of these examples set alphabetical to true, and so if the attributes are not ordered alphabetically, lint will fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: eslint-plugin-template Angular Template rules triage This issue needs to be looked at and categorized by a maintainer
Projects
None yet
Development

No branches or pull requests

2 participants