接入 ESLint 并清理未使用代码
- 前后端接入 ESLint 10 扁平配置(typescript-eslint 类型感知检查 + react-hooks/react-refresh),新增 lint / lint:check / lint:fix 脚本并纳入 check 链路 - 清理全部 no-unused-vars 与 no-useless-assignment 警告,修复 floating promises、正则转义等问题 - 删除确认无引用的死代码(markKuaishouCloudBindUrlRefreshFailed、未使用 helper 等)
This commit is contained in:
@@ -583,7 +583,7 @@ export async function submitAffiliateDashClaim(
|
||||
const now = nowIso()
|
||||
const isMock = Boolean(flow.mock?.enabled)
|
||||
const gameAccount = expectedGameAccount
|
||||
let latestFlow = flow
|
||||
const latestFlow = flow
|
||||
|
||||
if (!isMock && flow.bindUuid) {
|
||||
// 提交前不再额外请求 bind-result:平台侧曾出现 GET 后 submit 的 bind_verify 异常。
|
||||
|
||||
Reference in New Issue
Block a user