mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-06 18:36:55 +08:00
feat: 更新 ESLint 配置以放宽不安全参数传递的限制;在 API 查询中添加 Bili-Auth 支持;优化路由参数传递逻辑
This commit is contained in:
@@ -85,6 +85,7 @@ export default antfu(
|
||||
'ts/restrict-template-expressions': 'off', // 允许模板字符串表达式不受限制
|
||||
|
||||
'perfectionist/sort-imports': 'off',
|
||||
'ts/no-unsafe-argument': 'off', // 允许不安全的参数传递
|
||||
|
||||
// JSON 相关规则
|
||||
'jsonc/sort-keys': 'off', // 关闭 JSON key 排序要求
|
||||
|
||||
Reference in New Issue
Block a user