Skip to content

Commit

Permalink
close @typescript-eslint/no-explicit-any
Browse files Browse the repository at this point in the history
  • Loading branch information
xyhxx committed Apr 16, 2022
1 parent 21ddbab commit 2721d40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions base-ts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
"license": "MIT",
Expand Down

0 comments on commit 2721d40

Please sign in to comment.