Skip to content

Commit

Permalink
feat: 增加'no-unreachable-loop'规则(ecomfe#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
franckchen committed Jan 26, 2021
1 parent 6cddf06 commit 8fb3c10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ module.exports = {
'no-obj-calls': 'error',
'no-sparse-arrays': 'error',
'no-unreachable': 'error',
'no-unreachable-loop': 'error',
'use-isnan': 'error',
'valid-typeof': 'error',
'curly': [
Expand Down
1 change: 1 addition & 0 deletions strict.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ module.exports = {
'no-unmodified-loop-condition': 'warn',
'no-unneeded-ternary': 'error',
'no-unreachable': 'error',
'no-unreachable-loop': 'error',
'no-unsafe-finally': 'error',
'no-unsafe-negation': 'error',
'no-unused-expressions': ['warn', {allowShortCircuit: true}],
Expand Down

0 comments on commit 8fb3c10

Please sign in to comment.