Skip to content

Commit

Permalink
Relax label rules (#1989)
Browse files Browse the repository at this point in the history
  • Loading branch information
anilreddykatta authored and Timer committed Apr 19, 2017
1 parent 0b9c65f commit a0b16df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/eslint-config-react-app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ module.exports = {
'no-invalid-regexp': 'warn',
'no-iterator': 'warn',
'no-label-var': 'warn',
'no-labels': ['warn', { allowLoop: false, allowSwitch: false }],
'no-labels': ['warn', { allowLoop: true, allowSwitch: false }],
'no-lone-blocks': 'warn',
'no-loop-func': 'warn',
'no-mixed-operators': [
Expand All @@ -110,7 +110,7 @@ module.exports = {
'no-octal-escape': 'warn',
'no-redeclare': 'warn',
'no-regex-spaces': 'warn',
'no-restricted-syntax': ['warn', 'LabeledStatement', 'WithStatement'],
'no-restricted-syntax': ['warn', 'WithStatement'],
'no-script-url': 'warn',
'no-self-assign': 'warn',
'no-self-compare': 'warn',
Expand Down

0 comments on commit a0b16df

Please sign in to comment.