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

Disallow self assignment of properties (no-self-assign) #1186

Open
feross opened this Issue Aug 28, 2018 · 0 comments

Comments

1 participant
@feross
Copy link
Member

feross commented Aug 28, 2018

The no-self-assign rule is already enabled, however in ESLint 5 the default options object for the rule has changed from { props: false } to { props: true }.

I like this change, so let's keep it, assuming breakage isn't too high.

https://eslint.org/docs/rules/no-self-assign

@feross feross added this to the standard v12 milestone Aug 28, 2018

@feross feross added the enhancement label Aug 28, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.