Skip to content

Commit

Permalink
Change commit msg rule
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldshen committed Jan 26, 2020
1 parent ca8fceb commit 052f7b7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

### TODO
[] eslint 插件没注册就用上了?
[] pwa 如何被使用
[] pwa 如何被使用,目前导致更新不及时
[] 看 github 其他插件,比如监控代码质量的
[] composition api(等1.0.0再学也不迟
[] typescript(强行上就是折腾
Expand Down
6 changes: 5 additions & 1 deletion commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
module.exports = {extends: ['@commitlint/config-conventional']}
module.exports = {
rules: {
'header-case': [2, 'always', 'sentence-case'],
},
}
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"devDependencies": {
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@vue/cli-plugin-babel": "^4.1.2",
"@vue/cli-plugin-eslint": "^4.1.0",
"@vue/cli-plugin-pwa": "^4.1.0",
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -727,11 +727,6 @@
resolve-from "5.0.0"
resolve-global "1.0.0"

"@commitlint/config-conventional@^8.2.0":
version "8.2.0"
resolved "https://registry.npm.taobao.org/@commitlint/config-conventional/download/@commitlint/config-conventional-8.2.0.tgz#886a5538e3708e017ec2871e0cbce00f635d3102"
integrity sha1-iGpVOONwjgF+woceDLzgD2NdMQI=

"@commitlint/ensure@^8.2.0":
version "8.2.0"
resolved "https://registry.npm.taobao.org/@commitlint/ensure/download/@commitlint/ensure-8.2.0.tgz#fad0c81c3d3bd09aa5fbcbcc483ae1f39bc8af8f"
Expand Down

0 comments on commit 052f7b7

Please sign in to comment.