diff --git a/base-ts.js b/base-ts.js index fb7638f..89dd98d 100644 --- a/base-ts.js +++ b/base-ts.js @@ -12,6 +12,7 @@ module.exports = { "@typescript-eslint/no-extra-semi": 2, // 禁止多余冒号 "@typescript-eslint/no-empty-function": 2, // 禁止空函数 "@typescript-eslint/no-unsafe-return": 0, // 不允许返回any类型 + "@typescript-eslint/no-explicit-any": 0, // 是否允许使用any类型 "@typescript-eslint/no-unnecessary-type-assertion": 1, // 类型断言没有改变类型时警告 "@typescript-eslint/no-this-alias": [ "error", diff --git a/package.json b/package.json index c1692b4..37f7ff3 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "eslint-config-proste", "description": "preset eslint config", - "version": "2.7.0", + "version": "2.8.0", "repository": "https://github.com/xyhxx/proste-eslint-config.git", "author": "xyh <603331487@qq.com>", "license": "MIT",