-
Notifications
You must be signed in to change notification settings - Fork 130
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
add a fixer method to the no-deprecated-custom-properties
ESlint rule
#2755
add a fixer method to the no-deprecated-custom-properties
ESlint rule
#2755
Conversation
🦋 Changeset detectedLatest commit: 3d15721 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2755 +/- ##
=======================================
Coverage 87.28% 87.28%
=======================================
Files 214 214
Lines 12557 12557
Branches 1684 1684
=======================================
Hits 10961 10961
Misses 1543 1543
Partials 53 53 |
0d2c89e
to
d56dd32
Compare
Size Change: 0 B Total Size: 639 kB ℹ️ View Unchanged
|
.changeset/tricky-cups-wave.md
Outdated
@@ -0,0 +1,5 @@ | |||
--- | |||
"@sumup-oss/eslint-plugin-circuit-ui": major |
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.
This is an additive, non-breaking change.
"@sumup-oss/eslint-plugin-circuit-ui": major | |
"@sumup-oss/eslint-plugin-circuit-ui": minor |
d56dd32
to
3d15721
Compare
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.
🙌🏻
Addresses DSYS-847
Purpose
After the typography revamp for v9, a new ESlint rule
circuit-ui/no-deprecated-custom-properties
was added to flag deprecated custom properties. In order to make the migration to CUI v9 easier, a fixer function would help migrate deprecated custom props automatically.Approach and changes
fixable: 'code'
to rule metaDefinition of done