Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
a0b16df5
Commit
a0b16df5
authored
7 years ago
by
anilreddykatta
Committed by
Joe Haddad
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Relax label rules (#1989)
parent
0b9c65f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/eslint-config-react-app/index.js
+2
-2
packages/eslint-config-react-app/index.js
with
2 additions
and
2 deletions
+2
-2
packages/eslint-config-react-app/index.js
+
2
-
2
View file @
a0b16df5
...
@@ -83,7 +83,7 @@ module.exports = {
...
@@ -83,7 +83,7 @@ module.exports = {
'
no-invalid-regexp
'
:
'
warn
'
,
'
no-invalid-regexp
'
:
'
warn
'
,
'
no-iterator
'
:
'
warn
'
,
'
no-iterator
'
:
'
warn
'
,
'
no-label-var
'
:
'
warn
'
,
'
no-label-var
'
:
'
warn
'
,
'
no-labels
'
:
[
'
warn
'
,
{
allowLoop
:
fals
e
,
allowSwitch
:
false
}],
'
no-labels
'
:
[
'
warn
'
,
{
allowLoop
:
tru
e
,
allowSwitch
:
false
}],
'
no-lone-blocks
'
:
'
warn
'
,
'
no-lone-blocks
'
:
'
warn
'
,
'
no-loop-func
'
:
'
warn
'
,
'
no-loop-func
'
:
'
warn
'
,
'
no-mixed-operators
'
:
[
'
no-mixed-operators
'
:
[
...
@@ -110,7 +110,7 @@ module.exports = {
...
@@ -110,7 +110,7 @@ module.exports = {
'
no-octal-escape
'
:
'
warn
'
,
'
no-octal-escape
'
:
'
warn
'
,
'
no-redeclare
'
:
'
warn
'
,
'
no-redeclare
'
:
'
warn
'
,
'
no-regex-spaces
'
:
'
warn
'
,
'
no-regex-spaces
'
:
'
warn
'
,
'
no-restricted-syntax
'
:
[
'
warn
'
,
'
LabeledStatement
'
,
'
WithStatement
'
],
'
no-restricted-syntax
'
:
[
'
warn
'
,
'
WithStatement
'
],
'
no-script-url
'
:
'
warn
'
,
'
no-script-url
'
:
'
warn
'
,
'
no-self-assign
'
:
'
warn
'
,
'
no-self-assign
'
:
'
warn
'
,
'
no-self-compare
'
:
'
warn
'
,
'
no-self-compare
'
:
'
warn
'
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment