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