style: 修复主分支现存的 ESLint 错误 (#2046)
- 修复 7 个文件中全部 21 个 ESLint 错误(缩进、注释空格、引号、函数括号空格、三元表达式换行、JSX 缩进) - dashboard/config/index.tsx 中写在 JSX children 里的 // 注释会被当作文本节点渲染到 WebUI 配置页,改为 JSX 注释 - 验证:npx eslint . 退出码 0;pnpm run typecheck 全部包通过
This commit is contained in:
1 parent
eecb02140f
commit
96de2314b0
7 files changed
+255
-251
No files matched your search
@@ -249,7 +249,7 @@ export class PluginLoader {
|
||||
if (hit) {
|
||||
return `sensitive keyword "${hit}"`;
|
||||
}
|
||||
return "not in official plugin whitelist";
|
||||
return 'not in official plugin whitelist';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user