mirror of
https://github.com/airbnb/javascript.git
synced 2026-04-25 03:00:19 -04:00
[eslint config] [base] [breaking] no-self-assign: enable props option
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user