chore: refine eslint config

This commit is contained in:
kunish 2023-09-09 03:00:04 +08:00
parent 320998a7e9
commit 4341a4b8ee
No known key found for this signature in database
GPG Key ID: 647A12B4F782C430

View File

@ -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: '*'