-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
feat: merge rule.meta.defaultOptions before validation #166
feat: merge rule.meta.defaultOptions before validation #166
Conversation
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.
Overall LGTM. Just one note about syntax.
Would like @mdjermanovic to review before merging.
@eslint/eslint-tsc This PR is still looking for another review. |
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.
Sorry for the late review. I just left a few suggestions. Other than that, I think this looks good.
Co-authored-by: Francesco Trotta <github@fasttime.org>
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.
LGTM, thanks! Pending a last review from @mdjermanovic.
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 LGTM, but I think we should hold off merging until eslint/eslint#17656 is approved to make sure the changes are synchronized.
Fixes #165.
I felt unsure labeling this as "feat" vs. "fix" - the root behavior is, arguably, a bug fix for feature support of
rule.meta.defaultOptions
... 🤷Code roughly copied from eslint/eslint#17656.