Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 30b7bb9e
authored
Feb 10, 2026
by
Lin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: 格式化校验异常报错处理
1 parent
15ceb11b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
154 deletions
apps/web/venus-agentic/venus-agentic-assisant/src/router/auto-routes.ts
internal/lint-configs/eslint-config/src/configs/javascript.ts
internal/lint-configs/eslint-config/src/configs/vue.ts
apps/web/venus-agentic/venus-agentic-assisant/src/router/auto-routes.ts
deleted
100644 → 0
View file @
15ceb11
// 此文件由 auto-routes 插件自动生成,请勿手动编辑
// 如需自定义路由,请在 vite.config.ts 中配置 customRules
// 生成时间: 2026/2/9 18:11:36
import
type
{
RouteRecordRaw
}
from
'vue-router'
;
export
const
autoRoutes
:
RouteRecordRaw
[]
=
[
{
path
:
"/assistant/index"
,
id
:
"assistant"
,
title
:
"Assistant"
,
icon
:
""
,
level
:
1
,
hidden
:
false
,
meta
:
{
"authority"
:
"assistant"
,
"keepAlive"
:
false
,
"requiresAuth"
:
false
,
"title"
:
"Assistant"
},
children
:
[
{
path
:
"add-update"
,
id
:
"assistant-add-update"
,
title
:
"AddUpdate"
,
icon
:
""
,
level
:
2
,
hidden
:
false
,
meta
:
{
"authority"
:
"assistant:add-update"
,
"keepAlive"
:
false
,
"order"
:
1
,
"requiresAuth"
:
false
,
"title"
:
"AddUpdate"
},
}
],
},
{
path
:
"/manage-agentic/index"
,
id
:
"manage-agentic"
,
title
:
"ManageAgentic"
,
icon
:
""
,
level
:
1
,
hidden
:
false
,
meta
:
{
"authority"
:
"manage-agentic"
,
"keepAlive"
:
false
,
"requiresAuth"
:
false
,
"title"
:
"ManageAgentic"
},
},
{
path
:
"/manage-konw/index"
,
id
:
"manage-konw"
,
title
:
"ManageKonw"
,
icon
:
""
,
level
:
1
,
hidden
:
false
,
meta
:
{
"authority"
:
"manage-konw"
,
"keepAlive"
:
false
,
"requiresAuth"
:
false
,
"title"
:
"ManageKonw"
},
children
:
[
{
path
:
"add-update"
,
id
:
"manage-konw-add-update"
,
title
:
"AddUpdate"
,
icon
:
""
,
level
:
2
,
hidden
:
false
,
meta
:
{
"authority"
:
"manage-konw:add-update"
,
"keepAlive"
:
false
,
"order"
:
1
,
"requiresAuth"
:
false
,
"title"
:
"AddUpdate"
},
}
],
},
{
path
:
"/communication"
,
id
:
".-communication"
,
title
:
"Communication"
,
icon
:
""
,
level
:
2
,
hidden
:
false
,
meta
:
{
"authority"
:
"communication"
,
"keepAlive"
:
false
,
"order"
:
1
,
"requiresAuth"
:
false
,
"title"
:
"Communication"
},
},
{
path
:
"/home"
,
id
:
".-home"
,
title
:
"Home"
,
icon
:
""
,
level
:
2
,
hidden
:
false
,
meta
:
{
"authority"
:
"home"
,
"keepAlive"
:
false
,
"order"
:
1
,
"requiresAuth"
:
false
,
"title"
:
"Home"
},
},
{
path
:
"/settings"
,
id
:
".-settings"
,
title
:
"Settings"
,
icon
:
""
,
level
:
2
,
hidden
:
false
,
meta
:
{
"authority"
:
"settings"
,
"keepAlive"
:
false
,
"order"
:
1
,
"requiresAuth"
:
false
,
"title"
:
"Settings"
},
},
{
path
:
"/user"
,
id
:
".-user"
,
title
:
"User"
,
icon
:
""
,
level
:
2
,
hidden
:
false
,
meta
:
{
"authority"
:
"user"
,
"keepAlive"
:
false
,
"order"
:
1
,
"requiresAuth"
:
false
,
"title"
:
"User"
},
},
{
path
:
"/:pathMatch(.*)*"
,
component
:
()
=>
import
(
"@/views/NotFound.vue"
),
meta
:
{
"title"
:
"404"
,
"hidden"
:
true
},
}
];
internal/lint-configs/eslint-config/src/configs/javascript.ts
View file @
30b7bb9
...
@@ -47,7 +47,8 @@ export async function javascript(): Promise<Linter.Config[]> {
...
@@ -47,7 +47,8 @@ export async function javascript(): Promise<Linter.Config[]> {
...
js
.
configs
.
recommended
.
rules
,
...
js
.
configs
.
recommended
.
rules
,
"object-curly-spacing"
:
[
"error"
,
"always"
],
"object-curly-spacing"
:
[
"error"
,
"always"
],
semi
:
[
"error"
,
"always"
],
semi
:
[
"error"
,
"always"
],
"array-bracket-spacing"
:
[
"error"
,
"always"
],
// 禁用 array-bracket-spacing,避免与 Prettier 冲突
"array-bracket-spacing"
:
"off"
,
indent
:
[
indent
:
[
"error"
,
"error"
,
"tab"
,
"tab"
,
...
...
internal/lint-configs/eslint-config/src/configs/vue.ts
View file @
30b7bb9
...
@@ -64,7 +64,8 @@ export async function vue(): Promise<Linter.Config[]> {
...
@@ -64,7 +64,8 @@ export async function vue(): Promise<Linter.Config[]> {
// 继承插件基础规则
// 继承插件基础规则
...
pluginVue
.
configs
?.
base
?.
rules
,
...
pluginVue
.
configs
?.
base
?.
rules
,
"array-bracket-spacing"
:
[
"error"
,
"always"
],
// 禁用 array-bracket-spacing,避免与 Prettier 冲突
"array-bracket-spacing"
:
"off"
,
/**
/**
* vue/attribute-hyphenation: 要求模板属性使用连字符风格
* vue/attribute-hyphenation: 要求模板属性使用连字符风格
* 设置原因: HTML 属性习惯上使用连字符(kebab-case),与 HTML 标准一致,便于代码审阅和 HTML 直接识别
* 设置原因: HTML 属性习惯上使用连字符(kebab-case),与 HTML 标准一致,便于代码审阅和 HTML 直接识别
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment