mirror of
https://github.com/thelounge/thelounge
synced 2024-11-22 03:53:08 +00:00
Enforce padding-line-between-statements in eslint
This commit is contained in:
parent
7975f4debc
commit
1453e262d1
1 changed files with 12 additions and 0 deletions
|
@ -48,6 +48,18 @@ rules:
|
|||
no-var: error
|
||||
object-curly-spacing: [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-rest-params: error
|
||||
prefer-spread: error
|
||||
|
|
Loading…
Reference in a new issue