Enforce padding-line-between-statements in eslint

This commit is contained in:
Pavel Djundik 2018-02-19 13:08:03 +02:00
parent 7975f4debc
commit 1453e262d1

View File

@ -48,6 +48,18 @@ rules:
no-var: error no-var: error
object-curly-spacing: [error, never] object-curly-spacing: [error, never]
padded-blocks: [error, never] padded-blocks: [error, never]
padding-line-between-statements:
- error
- blankLine: always
prev:
- block
- block-like
next: "*"
- blankLine: always
prev: "*"
next:
- block
- block-like
prefer-const: error prefer-const: error
prefer-rest-params: error prefer-rest-params: error
prefer-spread: error prefer-spread: error