Skip to content

Commit

Permalink
open no-void
Browse files Browse the repository at this point in the history
  • Loading branch information
xyhxx committed Feb 22, 2022
1 parent cff6184 commit 28f4b7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion base-js.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ module.exports = {
"no-unreachable": 2, //不能有无法执行的代码
"no-unused-expressions": 0, //禁止无用的表达式
"no-useless-call": 2, //禁止不必要的call和apply
"no-void": 2, //禁用void操作符
"no-void": 0, //禁用void操作符
"no-var": 2, //禁用var,用let和const代替
"no-warning-comments": [
1,
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.5.1",
"version": "2.5.2",
"repository": "https://github.com/xyhxx/proste-eslint-config.git",
"author": "xyh <[email protected]>",
"license": "MIT",
Expand Down

0 comments on commit 28f4b7a

Please sign in to comment.