Enable semi-spacing
This rule aims to enforce spacing around a semicolon. This rule prevents the use of spaces before a semicolon in expressions. http://eslint.org/docs/rules/semi-spacing Change-Id: I20a123350ef923c7168c80fe56a9c3e5db0ff4a4
This commit is contained in:
parent
165bb5bde2
commit
7bfdfc56d7
|
@ -696,7 +696,10 @@ rules:
|
|||
|
||||
# Enforce spacing before and after semicolons
|
||||
# http://eslint.org/docs/rules/semi-spacing
|
||||
semi-spacing: 0 # TODO(krotscheck): Discuss & Activate
|
||||
semi-spacing:
|
||||
- 2
|
||||
- before: false
|
||||
after: true
|
||||
|
||||
# Require or disallow use of semicolons instead of ASI
|
||||
# http://eslint.org/docs/rules/semi
|
||||
|
|
Loading…
Reference in New Issue