Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Remove rules deprecated options #700

Merged
merged 2 commits into from
Jul 24, 2016

Conversation

lencioni
Copy link
Collaborator

These options were deprecated in a previous release. Now that we are preparing for a major version bump, we want to clear them out.

Addresses #686.

lencioni added 2 commits July 23, 2016 12:29
This option was deprecated in a previous version in favor of putting
this in a shared setting. Now that we are preparing for a major version
bump, we want to clean this out.
This option was deprecated in a previous version in favor of putting
this in a shared setting. Now that we are preparing for a major version
bump, we want to clean this out.
},
additionalProperties: false
}];
module.exports.schema = [];
Copy link
Member

Choose a reason for hiding this comment

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

if you supply an option when the schema is [], does it error out? ie, does it have additionalProperties: false behavior implicitly?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I just tried this out with a different rule that has a schema of [] and it produced an error like:

Configuration for rule "plugin/rule" is invalid:
Value "config value" has more items than allowed.

Copy link
Member

Choose a reason for hiding this comment

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

Awesome, thanks for confirming :-)

@yannickcr yannickcr mentioned this pull request Jul 23, 2016
9 tasks
@yannickcr yannickcr merged commit 00cdab8 into jsx-eslint:master Jul 24, 2016
@yannickcr
Copy link
Member

Merged, thanks!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants