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:
|
plugins:
|
||||||
- '@typescript-eslint'
|
- '@typescript-eslint'
|
||||||
- 'prettier'
|
- prettier
|
||||||
|
|
||||||
extends:
|
extends:
|
||||||
- eslint:recommended
|
- eslint:recommended
|
||||||
- plugin:@typescript-eslint/eslint-recommended
|
- plugin:@typescript-eslint/eslint-recommended
|
||||||
- plugin:@typescript-eslint/recommended
|
- plugin:@typescript-eslint/recommended
|
||||||
|
- prettier
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
import/resolver:
|
import/resolver:
|
||||||
@ -39,7 +40,7 @@ rules:
|
|||||||
prev: '*'
|
prev: '*'
|
||||||
next: if
|
next: if
|
||||||
- blankLine: always
|
- blankLine: always
|
||||||
prev: 'if'
|
prev: if
|
||||||
next: '*'
|
next: '*'
|
||||||
- blankLine: always
|
- blankLine: always
|
||||||
prev: '*'
|
prev: '*'
|
||||||
|
Loading…
Reference in New Issue
Block a user