Skip to content

Commit

Permalink
add ESLint rule 'no-useless-assignment'
Browse files Browse the repository at this point in the history
  • Loading branch information
fire332 committed Apr 6, 2024
1 parent 04d170a commit 8ace993
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ export default [
{ checkForEach: true, allowVoid: true }
],
'no-constructor-return': 'error',
'no-unmodified-loop-condition': 'error'
'no-unmodified-loop-condition': 'error',
'no-useless-assignment': 'error'
}
},

Expand Down

0 comments on commit 8ace993

Please sign in to comment.