Commit f3b9ed6
committed
chore: 添加 eslint-plugin-svelte 并更新 oxlint 配置
在 .oxlintrc.json 中新增 eslint、unicorn、oxc 插件,并添加 jsPlugins: ["eslint-plugin-svelte"],以支持 Svelte 文件的 ESLint 检查;同时在 package.json 中引入 eslint-plugin-svelte 依赖,便于在项目中启用 svelte linting。此改动用于增强代码检查覆盖,改善 Svelte 文件的静态分析体验。1 parent 3c17e1d commit f3b9ed6
3 files changed
Lines changed: 690 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
8 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
0 commit comments