mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
workspace: upgrade deps & sort imports
This commit is contained in:
1 parent
336432cc4f
commit
8b30a9218b
115 files changed
+1534
-628
No files matched your search
@@ -10,6 +10,7 @@ globals:
|
||||
parser: '@typescript-eslint/parser'
|
||||
plugins:
|
||||
- '@typescript-eslint'
|
||||
- simple-import-sort
|
||||
rules:
|
||||
'@typescript-eslint/dot-notation': 0
|
||||
'@typescript-eslint/no-implied-eval': 0
|
||||
@@ -30,6 +31,7 @@ rules:
|
||||
global-require: 0
|
||||
guard-for-in: 0
|
||||
implicit-arrow-linebreak: 0
|
||||
import/extensions: 0
|
||||
import/newline-after-import: 0
|
||||
import/no-cycle: 0
|
||||
import/no-extraneous-dependencies: 0
|
||||
@@ -55,6 +57,17 @@ rules:
|
||||
no-return-await: 0
|
||||
no-underscore-dangle: 0
|
||||
prefer-destructuring: 0
|
||||
simple-import-sort/imports:
|
||||
- warn
|
||||
- groups:
|
||||
- ["^\\u0000"]
|
||||
-
|
||||
- "^(assert|buffer|child_process|cluster|console|constants|crypto|dgram|dns|domain|events|fs|http|https|module|net|os|path|punycode|querystring|readline|repl|stream|string_decoder|sys|timers|tls|tty|url|util|vm|zlib|freelist|v8|process|async_hooks|http2|perf_hooks)(/.*|$)"
|
||||
- "^(?!@?hydrooj)(@?\\w.+)"
|
||||
- "^@?hydrooj"
|
||||
- "^"
|
||||
- "^\\."
|
||||
simple-import-sort/exports: 0
|
||||
settings:
|
||||
import/parsers:
|
||||
'@typescript-eslint/parser':
|
||||
|
||||
Reference in new issue
Block a user