mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-10 17:25:34 +08:00
51 lines
854 B
YAML
51 lines
854 B
YAML
|
parser: '@typescript-eslint/parser'
|
||
|
|
||
|
parserOptions:
|
||
|
ecmaFeatures:
|
||
|
jsx: true
|
||
|
ecmaVersion: latest
|
||
|
sourceType: module
|
||
|
|
||
|
env:
|
||
|
node: true
|
||
|
|
||
|
plugins:
|
||
|
- '@typescript-eslint'
|
||
|
- 'prettier'
|
||
|
|
||
|
extends:
|
||
|
- eslint:recommended
|
||
|
- plugin:@typescript-eslint/eslint-recommended
|
||
|
- plugin:@typescript-eslint/recommended
|
||
|
- plugin:prettier/recommended
|
||
|
|
||
|
settings:
|
||
|
import/resolver:
|
||
|
typescript:
|
||
|
node: true
|
||
|
|
||
|
rules:
|
||
|
'@typescript-eslint/no-unused-vars':
|
||
|
- error
|
||
|
- argsIgnorePattern: '^_'
|
||
|
|
||
|
no-empty: off
|
||
|
|
||
|
padding-line-between-statements:
|
||
|
- error
|
||
|
- blankLine: always
|
||
|
prev: '*'
|
||
|
next: return
|
||
|
- blankLine: always
|
||
|
prev: '*'
|
||
|
next: if
|
||
|
- blankLine: always
|
||
|
prev: 'if'
|
||
|
next: '*'
|
||
|
- blankLine: always
|
||
|
prev: '*'
|
||
|
next: switch
|
||
|
- blankLine: always
|
||
|
prev: switch
|
||
|
next: '*'
|