Skip to content

Commit

Permalink
add curly
Browse files Browse the repository at this point in the history
  • Loading branch information
xyhxx committed May 31, 2022
1 parent b8a8ac8 commit 2492bcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions base-js.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports = {
ignoreTemplateLiterals: false,
},
],
"curly": ["error", "multi"],
"max-params": [2, 3],
"no-unused-vars": 1, //不能有声明后未被使用的变量或参数
"no-use-before-define": 2, //未定义前不能使用
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.10.0",
"version": "2.11.0",
"repository": "https://github.com/xyhxx/proste-eslint-config.git",
"author": "xyh <[email protected]>",
"license": "MIT",
Expand Down

0 comments on commit 2492bcb

Please sign in to comment.