File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# CHANGELOG
22
3- ## 2026-04-21
4-
5- - 新增 GitHub Actions ` lint ` 工作流(` .github/workflows/lint.yml ` ):
6- - 在 ` push ` (` main/master ` )与 ` pull_request ` 触发,统一执行 ` pnpm install --frozen-lockfile ` 与 ` pnpm lint ` 。
7- - 工作流增加 ` permissions: contents: read ` 最小权限配置,降低默认令牌权限暴露面。
8- - 通过 CI 自动校验代码风格,减少未被本地发现的 lint 问题进入主分支。
9-
103## 2026-04-15
114
125- 兼容 TypeScript 6.0.2 编译配置:
Original file line number Diff line number Diff line change @@ -8,4 +8,11 @@ const __dirname = path.dirname(__filename);
88
99export default defineConfig ( [ {
1010 extends : [ ...nextCoreWebVitals ] ,
11- } ] ) ;
11+ rules : {
12+ "react-hooks/set-state-in-effect" : "off" ,
13+ "react-hooks/refs" : "off" ,
14+ "react-hooks/preserve-manual-memoization" : "off" ,
15+ "react-hooks/static-components" : "off" ,
16+ "react-hooks/purity" : "off" ,
17+ } ,
18+ } ] ) ;
Original file line number Diff line number Diff line change 3737 "@types/ws" : " ^8.18.1" ,
3838 "drizzle-kit" : " ^0.31.10" ,
3939 "eslint" : " ^9" ,
40- "eslint-config-next" : " 16.2.2 " ,
40+ "eslint-config-next" : " 16.2.4 " ,
4141 "postcss" : " ^8.5.10" ,
4242 "tailwindcss" : " ^4.2.2" ,
4343 "typescript" : " ^6.0.3"
You can’t perform that action at this time.
0 commit comments