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

Closed
feross opened this issue Aug 28, 2018 · 1 comment
Closed

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

feross opened this issue Aug 28, 2018 · 1 comment

Comments

@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
Copy link
Member Author

feross commented Jul 27, 2019

This rule was actually enabled in a prior upgrade of ESLint. I set the option explicitly nonetheless.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 28, 2021
suchitg8 pushed a commit to suchitg8/standard that referenced this issue Apr 9, 2022
This rule was actually enabled in a prior upgrade of ESLint. Let's set the option explicitly nonetheless.

Fixes: standard/standard#1186
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

No branches or pull requests

1 participant