Skip to content

Commit

Permalink
Relax label rules (#1989)
Browse files Browse the repository at this point in the history
# Conflicts:
#	packages/eslint-config-react-app/index.js
  • Loading branch information
Timer committed Apr 19, 2017
1 parent 47659a6 commit a0c37ca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/eslint-config-react-app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,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': ['warn', {
Expand All @@ -111,7 +111,6 @@ module.exports = {
'no-regex-spaces': 'warn',
'no-restricted-syntax': [
'warn',
'LabeledStatement',
'WithStatement',
],
'no-script-url': 'warn',
Expand Down

0 comments on commit a0c37ca

Please sign in to comment.