Skip to content
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

Breaking: disallow invalid rule defaults in RuleTester (fixes #11473) #11599

Merged
merged 2 commits into from Apr 9, 2019

Conversation

not-an-aardvark
Copy link
Member

What is the purpose of this pull request? (put an "X" next to item)

[x] Other, please explain:

What changes did you make? (Give an overview)

This implements the proposal from #11473 to make RuleTester throw an error when a rule uses an invalid default keyword in its schema. It also fixes a few remaining cases where core rules were doing that.

Is there anything you'd like reviewers to focus on?

Nothing in particular

@not-an-aardvark not-an-aardvark added enhancement This change enhances an existing feature of ESLint core Relates to ESLint's core APIs and features accepted There is consensus among the team that this change meets the criteria for inclusion breaking This change is backwards-incompatible labels Apr 7, 2019
@not-an-aardvark not-an-aardvark changed the title Breaking: disallow invalid rule defaults in RuleTester (fixes #11473) Breaking: disallow invalid rule defaults in RuleTester (fixes #11473) Apr 7, 2019
@not-an-aardvark not-an-aardvark added this to Implemented, pending review in v6.0.0 Apr 7, 2019
Copy link
Member

@platinumazure platinumazure left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@not-an-aardvark not-an-aardvark merged commit ef7801e into master Apr 9, 2019
v6.0.0 automation moved this from Implemented, pending review to Done Apr 9, 2019
@not-an-aardvark not-an-aardvark deleted the disallow-invalid-rule-defaults branch April 9, 2019 06:49
@eslint-deprecated eslint-deprecated bot locked and limited conversation to collaborators Oct 7, 2019
@eslint-deprecated eslint-deprecated bot added the archived due to age This issue has been archived; please open a new issue for any further discussion label Oct 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
accepted There is consensus among the team that this change meets the criteria for inclusion archived due to age This issue has been archived; please open a new issue for any further discussion breaking This change is backwards-incompatible core Relates to ESLint's core APIs and features enhancement This change enhances an existing feature of ESLint
Projects
No open projects
v6.0.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants