-
Notifications
You must be signed in to change notification settings - Fork 18
chore(components): create eslint rule for stencil props initialization #5505
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
base: main
Are you sure you want to change the base?
chore(components): create eslint rule for stencil props initialization #5505
Conversation
…//github.com/swisspost/design-system into chore(components)-review-prop-initialization
|
Related Previews |
…ncil-props-initialization
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.
Waiting for prior PR's to be merged.
|
📄 Description
This PR introduces a custom ESLint rule that checks for any Stencil component @prop property that lacks an initial value, is not marked as optional (?), and is not explicitly marked as definitely assigned (!). It also adds
design-system-eslint
as a dependency to the components package.Must be reviewed after #4651 is merged.
📝 Checklist