-
-
Notifications
You must be signed in to change notification settings - Fork 32
Bug: schemas of some rules allow extra properties #196
Copy link
Copy link
Closed
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionbugSomething isn't workingSomething isn't working
Description
Environment
ESLint version:
@eslint/css version:
Node version:
npm version:
Operating System:
Which language are you using?
stylesheet
What did you do?
Some rules, for example relative-font-units allow extra properties to be passed in options object, which should not be allowed.
While not strictly a bug, this makes it easier for typos in rule options to go unnoticed.
What did you expect to happen?
Extra properties should not be allowed.
What actually happened?
Extra properties are allowed.
Link to Minimal Reproducible Example
Participation
- I am willing to submit a pull request for this issue.
Additional comments
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionbugSomething isn't workingSomething isn't working
Type
Projects
Status
Complete