Enable "no-empty-pattern"
This rule disallows empty destructuring patterns. http://eslint.org/docs/rules/no-empty-pattern Change-Id: Ida6dca6c9c9668ead5c91982f6e8479a0d54181e
This commit is contained in:
parent
ab48e08d61
commit
12f04b33f3
|
@ -247,7 +247,7 @@ rules:
|
||||||
|
|
||||||
# disallow use of empty destructuring patterns
|
# disallow use of empty destructuring patterns
|
||||||
# http://eslint.org/docs/rules/no-empty-pattern
|
# http://eslint.org/docs/rules/no-empty-pattern
|
||||||
no-empty-pattern: 0
|
no-empty-pattern: 2
|
||||||
|
|
||||||
# Disallow comparisons to null without a type-checking operator
|
# Disallow comparisons to null without a type-checking operator
|
||||||
# http://eslint.org/docs/rules/no-eq-null
|
# http://eslint.org/docs/rules/no-eq-null
|
||||||
|
|
Loading…
Reference in New Issue