mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-10 05:15:35 +08:00
chore: refine eslint config
This commit is contained in:
parent
320998a7e9
commit
4341a4b8ee
@ -11,12 +11,13 @@ env:
|
||||
|
||||
plugins:
|
||||
- '@typescript-eslint'
|
||||
- 'prettier'
|
||||
- prettier
|
||||
|
||||
extends:
|
||||
- eslint:recommended
|
||||
- plugin:@typescript-eslint/eslint-recommended
|
||||
- plugin:@typescript-eslint/recommended
|
||||
- prettier
|
||||
|
||||
settings:
|
||||
import/resolver:
|
||||
@ -39,7 +40,7 @@ rules:
|
||||
prev: '*'
|
||||
next: if
|
||||
- blankLine: always
|
||||
prev: 'if'
|
||||
prev: if
|
||||
next: '*'
|
||||
- blankLine: always
|
||||
prev: '*'
|
||||
|
Loading…
Reference in New Issue
Block a user