From c6ae995e8af26ce062958fb36771569ccd464de3 Mon Sep 17 00:00:00 2001 From: Manjula Subhashchandra Dube Date: Wed, 14 Feb 2018 16:15:41 +0530 Subject: [PATCH] docs: add test commit type to guidelines (#240) --- CONTRIBUTING.md | 3 ++- scripts/validate-commit-message.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2e76a08136..b78fe461f0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -26,6 +26,7 @@ You can learn how from this *free* series [How to Contribute to an Open Source P * `BREAKING`: for changes that break current versiong usage, e.g. remove withTheme * `docs`: changes into documentation, e.g. add usage example for Button * `chore`: tooling changes, e.g. change circle ci config +* `test`: for testcases, eg unit, snapshot testing 3. We use `flow`, `eslint` and `prettier`. Be sure that `npm run flow` and `npm run lint -- --fix` give no errors. @@ -39,7 +40,7 @@ You can learn how from this *free* series [How to Contribute to an Open Source P 5. In case of doubts, check out the current code. For example, we use the prop `icon` not `iconName`. -6. You can run `yarn run bootstrap` which will install all the dependecies in example & docs folder respectively. +6. You can run `yarn run bootstrap` which will install all the dependencies in example & docs folder respectively. ## Running the example diff --git a/scripts/validate-commit-message.js b/scripts/validate-commit-message.js index d1e03cfebf..16fa1f76b1 100644 --- a/scripts/validate-commit-message.js +++ b/scripts/validate-commit-message.js @@ -15,7 +15,7 @@ const TYPES = { test: true, chore: true, revert: true, - breaking: true, + breaking: true }; function printError(...args) {