Skip to content
Permalink
Browse files

chore: enable commit message lint [skip ci]

  • Loading branch information...
miralemd committed Sep 7, 2018
1 parent 9b27c30 commit d7e8f031022f77e06f6c549a5a67eb2d317b52df
Showing with 268 additions and 12 deletions.
  1. +3 −0 .commitlintrc.js
  2. +4 −0 .github/CONTRIBUTING.md
  3. +4 −0 package.json
  4. +257 −12 yarn.lock
@@ -0,0 +1,3 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
}
@@ -114,11 +114,15 @@ Commit messages should follow the [commit message convention](https://convention

Should be one of the following:

- **build:** Changes that affect the build system or external dependencies
- **chore:** Changes to build and dev processes/tools
- **ci:** Changes to the CI configuration files and scripts
- **docs:** Changes to documentation
- **feat:** A new feature
- **fix:** A bug fix
- **perf:** A code change that improves performance
- **refactor:** Changes to production code that is neither a new feature nor a bug fix
- **revert:** Reverts a previous commit
- **style:** Changes to code style formatting (white space, commas etc)
- **test:** Changes in test cases of production code

@@ -11,6 +11,7 @@
"build:watch": "lerna run build:watch --stream --no-sort --concurrency 99",
"build:website": "cd website && yarn install && yarn run build",
"bump": "lerna publish --no-push",
"commitmsg": "commitlint -E GIT_PARAMS",
"clean": "lerna clean",
"lint": "lerna run lint",
"link": "lerna link",
@@ -29,6 +30,8 @@
"@babel/plugin-transform-react-jsx": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/register": "^7.0.0",
"@commitlint/cli": "^7.1.2",
"@commitlint/config-conventional": "^7.1.2",
"babel-loader": "^8.0.2",
"babel-plugin-istanbul": "^4.1.6",
"codeclimate-test-reporter": "^0.5.0",
@@ -39,6 +42,7 @@
"eslint-plugin-mocha": "^5.2.0",
"extend": "^3.0.2",
"globby": "^8.0.1",
"husky": "^0.14.3",
"lerna": "^3.1.1",
"mocha-junit-reporter": "^1.18.0",
"protractor": "^5.4.0",

0 comments on commit d7e8f03

Please sign in to comment.
You can’t perform that action at this time.