diff --git a/lib/eslint.js b/lib/eslint.js index a0c7729..915db0d 100644 --- a/lib/eslint.js +++ b/lib/eslint.js @@ -110,5 +110,7 @@ module.exports = { "no-return-await": 0, // 禁止 ++ --: 取消 "no-plusplus": 0, + // 强制语句结尾必须加逗号:开启 + "semi": ["error", "always"], } } diff --git a/package.json b/package.json index 2112d4f..7dfc7f7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ice/spec", - "version": "0.1.7", + "version": "0.1.8", "description": "eslint/stylelint/editorconfig", "main": "lib/index.js", "scripts": {