Skip to content

Commit

Permalink
feat: add commit lint
Browse files Browse the repository at this point in the history
  • Loading branch information
alvinhui committed Apr 23, 2019
1 parent 91ea4d0 commit 2f5e1b1
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 18 deletions.
1 change: 1 addition & 0 deletions commitlint.config.js
@@ -0,0 +1 @@
module.exports = { extends: ['@commitlint/config-conventional'] };
45 changes: 27 additions & 18 deletions package.json
@@ -1,20 +1,29 @@
{
"name": "fiy",
"version": "0.0.0",
"description": "鍩轰簬 React Hooks 鐨勬暟鎹祦鏂规",
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/ice-lab/fiy.git"
},
"keywords": [
"hooks",
"state"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/ice-lab/fiy/issues"
},
"homepage": "https://github.com/ice-lab/fiy"
"name": "fiy",
"version": "0.0.0",
"description": "鍩轰簬 React Hooks 鐨勬暟鎹祦鏂规",
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/ice-lab/fiy.git"
},
"keywords": [
"hooks",
"state"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/ice-lab/fiy/issues"
},
"homepage": "https://github.com/ice-lab/fiy",
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"devDependencies": {
"@commitlint/cli": "^7.5.2",
"@commitlint/config-conventional": "^7.5.0",
"husky": "^1.3.1"
}
}

0 comments on commit 2f5e1b1

Please sign in to comment.