Enable no-empty rule
This rule will error if it detects an empty block statement in javascript. http://eslint.org/docs/rules/no-empty Change-Id: I46d73c63f4615390d770230ce06d9a21a03e32b7
This commit is contained in:
parent
2c5d458d93
commit
6bb0d197c5
|
@ -103,7 +103,7 @@ rules:
|
||||||
|
|
||||||
# Disallow empty block statements.
|
# Disallow empty block statements.
|
||||||
# http://eslint.org/docs/rules/no-empty
|
# http://eslint.org/docs/rules/no-empty
|
||||||
no-empty: 0 # TODO(krotscheck): Discuss & Activate
|
no-empty: 2
|
||||||
|
|
||||||
# Disallow assigning of the exception parameter in a catch block.
|
# Disallow assigning of the exception parameter in a catch block.
|
||||||
# http://eslint.org/docs/rules/no-ex-assign
|
# http://eslint.org/docs/rules/no-ex-assign
|
||||||
|
|
Loading…
Reference in New Issue