chore: make prettier 自动清理前后端无用 import

前端接入 eslint-plugin-unused-imports,pnpm format 同步执行 eslint --fix;
后端将 gofmt 替换为 goimports,并修复 danger-zone 未使用导入。
This commit is contained in:
ryan
2026-07-19 20:47:28 +08:00
parent 4481677ef3
commit d9663f91d6
5 changed files with 46 additions and 4 deletions
+1
View File
@@ -93,6 +93,7 @@
"@types/react-dom": "^19",
"eslint": "^9",
"eslint-config-next": "15.5.6",
"eslint-plugin-unused-imports": "^4.4.1",
"jsdom": "^29.1.1",
"prettier": "^3.9.5",
"tailwindcss": "^4",