We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent 0b9c65f commit a0b16dfCopy full SHA for a0b16df
packages/eslint-config-react-app/index.js
@@ -83,7 +83,7 @@ module.exports = {
83
'no-invalid-regexp': 'warn',
84
'no-iterator': 'warn',
85
'no-label-var': 'warn',
86
- 'no-labels': ['warn', { allowLoop: false, allowSwitch: false }],
+ 'no-labels': ['warn', { allowLoop: true, allowSwitch: false }],
87
'no-lone-blocks': 'warn',
88
'no-loop-func': 'warn',
89
'no-mixed-operators': [
@@ -110,7 +110,7 @@ module.exports = {
110
'no-octal-escape': 'warn',
111
'no-redeclare': 'warn',
112
'no-regex-spaces': 'warn',
113
- 'no-restricted-syntax': ['warn', 'LabeledStatement', 'WithStatement'],
+ 'no-restricted-syntax': ['warn', 'WithStatement'],
114
'no-script-url': 'warn',
115
'no-self-assign': 'warn',
116
'no-self-compare': 'warn',
0 commit comments