-
Notifications
You must be signed in to change notification settings - Fork 20
feat: add parameter validation rules #4986
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?
feat: add parameter validation rules #4986
Conversation
marker: 'key', | ||
markerTarget: 'name', | ||
target: 'name', | ||
data: {}, |
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.
is the empty data needed ?
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.
I see it's a default in a case when we don't specify any quickfix rules
const filterSiblingsOAS3 = (el: Element) => | ||
isObject(el) && el.hasKey(key) && toValue(el.get(key)) === value; | ||
|
||
const elements = filter((el) => { |
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.
the 'el' is any here right? can we do sth about it ?
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.
right, I need to check why it's not picked up by eslint. Thanks for catching that. It's fixed
Adds additional parameter validation rules