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

Add es/no-object-create rule #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ota-meshi
Copy link
Contributor

This PR adds es/no-object-create rule.

es/no-object-create rule reports ES5 Object.create() as errors.

close #60

meta: {
docs: {
description: "disallow the `Object.create` method.",
category: "ES5",
Copy link
Contributor Author

@ota-meshi ota-meshi Mar 16, 2021

Choose a reason for hiding this comment

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

If you release it in a minor version, we need to change it to undefined so that it doesn't affect the ruleset.
Let me know if you need to change it.

@ota-meshi ota-meshi changed the title Add es/no-object-create rule Add es/no-object-create rule Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Object.create is missed in rules
1 participant