diff --git a/.eslintrc.cjs b/.eslintrc.cjs index e1d4a2e..2cd2910 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -70,6 +70,9 @@ module.exports = { 'no-unused-vars': 'off', 'no-param-reassign': 'off', '@typescript-eslint/no-unused-vars': 'off', + // 避免 `eslint` 对于 `typescript` 函数重载的误报 + 'no-redeclare': 'off', + '@typescript-eslint/no-redeclare': 'error', }, // eslint-import-resolver-typescript 插件,@see https://www.npmjs.com/package/eslint-import-resolver-typescript settings: { diff --git a/package.json b/package.json index 738018c..c397b41 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "unibest", "type": "commonjs", - "version": "2.4.0", + "version": "2.4.1", "description": "unibest - 最好的 uniapp 开发模板", "author": { "name": "codercup", @@ -119,7 +119,7 @@ "@typescript-eslint/parser": "^6.15.0", "@uni-helper/vite-plugin-uni-layouts": "^0.1.7", "@uni-helper/vite-plugin-uni-manifest": "^0.2.3", - "@uni-helper/vite-plugin-uni-pages": "^0.2.15", + "@uni-helper/vite-plugin-uni-pages": "0.2.20", "@uni-helper/vite-plugin-uni-platform": "^0.0.4", "@unocss/preset-legacy-compat": "^0.59.1", "@vue/runtime-core": "^3.4.21", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3d094b2..f42523c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -125,7 +125,7 @@ devDependencies: specifier: ^0.2.3 version: 0.2.6(vite@5.2.8) '@uni-helper/vite-plugin-uni-pages': - specifier: ^0.2.15 + specifier: 0.2.20 version: 0.2.20(@types/lodash-es@4.17.12)(eslint-import-resolver-typescript@3.6.1)(lodash-es@4.17.21)(lodash@4.17.21)(typescript@4.9.5) '@uni-helper/vite-plugin-uni-platform': specifier: ^0.0.4