Skip to content

Commit

Permalink
[eslint config] [base] [breaking] no-self-assign: enable props op…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
ljharb committed Aug 10, 2019
1 parent d490ee1 commit 282ef9e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/eslint-config-airbnb-base/rules/best-practices.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,8 @@ module.exports = {

// disallow self assignment
// https://eslint.org/docs/rules/no-self-assign
// TODO: semver-major: props -> true
'no-self-assign': ['error', {
props: false,
props: true,
}],

// disallow comparisons where both sides are exactly the same
Expand Down

0 comments on commit 282ef9e

Please sign in to comment.