-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
0-refinementAll issues that can or need to be estimated in our next refinementAll issues that can or need to be estimated in our next refinementdevRequires technical expertiseRequires technical expertise
Description
Why?
In #3966 a composable was created to avoid setting extranous attributes, as a nice-to-have feature an eslint rule was defined.
Depends on
Acceptance criteria
- A new eslint rule exists:
- Ideally checks that objects that are passed to
v-bind
do not have any irrelvant properties- using typed linting
- If not possible/too complex it should at least check that the
defineProps
object or$object
template expression is not directly used inv-bind
- Error message should explain, why this is an issue (see description in Fix additional props appearing as html attributes when
v-bind
ing all props to child component #3966) and propose to use theuseForwardProps
composable
- Ideally checks that objects that are passed to
DEV handover checklist
DEV handover done with: @ADD_DEV_NAME_HERE
Testing
- covered by functional tests (Playwright or unit test)
Documentation
- updated version is released
- updated documentation is deployed
Other
- follow-up tickets were created if necessary (add links below)
Metadata
Metadata
Assignees
Labels
0-refinementAll issues that can or need to be estimated in our next refinementAll issues that can or need to be estimated in our next refinementdevRequires technical expertiseRequires technical expertise
Type
Projects
Status
Ready