calcite-design-system
calcite-design-system copied to clipboard
chore: add a fixer to custom ESLint rule to place `ref` last
Related Issue: #8080
Summary
Adds a fixer to:
- Ensure the
ref
is placed to be the last prop automatically.- Remove any existing comment containing
// eslint-disable-next-line
above an existing ref.- Add the ignore prop-sorting rule for that line.
- Update the explainer to be shorter and with a note about it being managed by the rule.
- Update tests to cover the fixer.
- Add good and bad test cases for the explainer adjustment to the rule.
This PR has been automatically marked as stale because it has not had recent activity. Please close your PR if it is no longer relevant. Thank you for your contributions.