feat: Linter 规则精细化增强 + 模板导入/导出闭环
ESLint: +29 条 P1/P2 规则 + 12 条 TS 专属规则(含 no-shadow/no-array-constructor 冲突处理) Stylelint: 集成 stylelint-config-recommended + 27 条额外规则 PMD: 排除 20 弃用 + 17 噪音规则,补启 Security/Multithreading,274+12 条精选 SQL-lint: 内置精选 57 条规则配置 + 按 tier 分级 severity + 无项目配置时自动注入临时配置 模板导出: export-service.ts 导出 2-sheet xlsx(复用 xlsx 零新依赖) 模板导入: template-converter.ts 固定列映射解析 + dedup-prompt.ts AI 语义去重 导入预览增强: 错误规则分组置顶只读、跳过行提示、空数据提示 i18n: 新增 18 条模板导入/导出相关翻译 WebView: 静态分析/自定义规则项默认可展开显示 suggestion
This commit is contained in:
@@ -44,6 +44,10 @@
|
||||
{
|
||||
"command": "codeReviewer.openSetup",
|
||||
"title": "Code Purifier: 打开设置面板"
|
||||
},
|
||||
{
|
||||
"command": "codeReviewer.exportTemplate",
|
||||
"title": "Code Purifier: 导出规则模板"
|
||||
}
|
||||
],
|
||||
"keybindings": [
|
||||
@@ -268,8 +272,12 @@
|
||||
"test": "vscode-test"
|
||||
},
|
||||
"dependencies": {
|
||||
"@eslint/js": "^9.39.3",
|
||||
"eslint": "^9.39.3",
|
||||
"mammoth": "^1.12.0",
|
||||
"officeparser": "^7.5.0",
|
||||
"stylelint": "^17.14.0",
|
||||
"stylelint-config-recommended": "^18.0.0",
|
||||
"typescript-eslint": "^8.56.1",
|
||||
"xlsx": "^0.18.5"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user