Skip to content

Commit

Permalink
Merge pull request #1 from DianaSuvorova/commitMsg
Browse files Browse the repository at this point in the history
chore: commit msg checker
  • Loading branch information
DianaSuvorova authored Jan 14, 2018
2 parents e98a5ae + 724a64e commit 515ec5d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = { extends: ['@commitlint/config-conventional'] };
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,16 @@
"test": "npm run lint && mocha tests --recursive",
"test-single": "mocha tests/lib/rules/prefer-separate-component-file",
"debug-test": "mocha --debug-brk --inspect tests/index.js",
"semantic-release": "semantic-release"
"semantic-release": "semantic-release",
"commitmsg": "npm run test && commitlint -e $GIT_PARAMS"
},
"repository": {
"type": "git",
"url": "https://github.com/DianaSuvorova/eslint-plugin-react-redux"
},
"devDependencies": {
"@commitlint/cli": "^6.0.2",
"@commitlint/config-conventional": "^6.0.2",
"babel-eslint": "^8.1.0",
"eslint": "^4.14.0",
"eslint-config-airbnb": "^16.1.0",
Expand All @@ -32,6 +35,7 @@
"eslint-plugin-promise": "^3.6.0",
"eslint-plugin-react": "^7.5.1",
"eslint-plugin-standard": "^3.0.1",
"husky": "^0.14.3",
"mocha": "^4.0.1",
"semantic-release": "^11.0.2"
},
Expand Down

0 comments on commit 515ec5d

Please sign in to comment.