mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: add option for autoFormat
This commit is contained in:
1 parent
5db35700f3
commit
994634947e
3 files changed
+18
-12
No files matched your search
+11
-11
@@ -7,24 +7,24 @@ globals:
|
||||
Atomics: readonly
|
||||
SharedArrayBuffer: readonly
|
||||
BigInt: readonly
|
||||
parser: "@typescript-eslint/parser"
|
||||
parser: '@typescript-eslint/parser'
|
||||
plugins:
|
||||
- "@typescript-eslint"
|
||||
- '@typescript-eslint'
|
||||
rules:
|
||||
"@typescript-eslint/dot-notation": 0
|
||||
"@typescript-eslint/no-implied-eval": 0
|
||||
"@typescript-eslint/no-throw-literal": 0
|
||||
"@typescript-eslint/return-await": 0
|
||||
'@typescript-eslint/dot-notation': 0
|
||||
'@typescript-eslint/no-implied-eval': 0
|
||||
'@typescript-eslint/no-throw-literal': 0
|
||||
'@typescript-eslint/return-await': 0
|
||||
|
||||
"@typescript-eslint/indent":
|
||||
'@typescript-eslint/indent':
|
||||
- warn
|
||||
- 4
|
||||
"@typescript-eslint/lines-between-class-members":
|
||||
'@typescript-eslint/lines-between-class-members':
|
||||
- error
|
||||
- always
|
||||
- exceptAfterSingleLine: true
|
||||
"@typescript-eslint/naming-convention": 0
|
||||
"@typescript-eslint/no-redeclare": 0
|
||||
'@typescript-eslint/naming-convention': 0
|
||||
'@typescript-eslint/no-redeclare': 0
|
||||
|
||||
class-methods-use-this: 0
|
||||
global-require: 0
|
||||
@@ -55,7 +55,7 @@ rules:
|
||||
prefer-destructuring: 0
|
||||
settings:
|
||||
import/parsers:
|
||||
"@typescript-eslint/parser":
|
||||
'@typescript-eslint/parser':
|
||||
- .ts
|
||||
- .js
|
||||
- .jsx
|
||||
|
||||
Reference in new issue
Block a user