angular-docs-cn/scripts
Igor Minar dff6ee3272 ci: validate the message of each new commit as part of the CI linting
This patch adds the gulp command of `validate-commit-messages`
which will validate the range of commits messages present in the
active branch.

This check now runs on CI as part of the linting checks.

Allowed commit message types and scopes are controlled via commit-message.json file
and documented at https://github.com/angular/angular/blob/master/CONTRIBUTING.md#-commit-message-guidelines

This solution is based on old Vojta's code that he wrote for angular/angular.js, that was later adjusted
by @matsko in #13815.

Ideally we should switch over to something like https://www.npmjs.com/package/commitplease
as suggested in #9953 but that package currently doesn't support strict scope checking,
which is one of the primarily goal of this PR.

Note that this PR removes support for "chore" which was previously overused
by everyone on the team.

Closes #13815
Fixes #3337
2017-01-23 10:51:28 -08:00
..
browserstack refactor: add license header to JS files & format files (#12081) 2016-10-04 20:39:20 -07:00
ci chore: remove obsolete dart related files 2016-09-02 15:58:46 -07:00
ci-lite ci: validate the message of each new commit as part of the CI linting 2017-01-23 10:51:28 -08:00
cldr feat(i18n): Add NgLocaleLocalization which returns plural cases given a locale (#10744) 2016-08-12 14:46:06 -07:00
jenkins fix(build): make perf tests work again 2015-02-27 15:22:19 -08:00
publish build(es2015): fix bad merge of #13471 (#14020) 2017-01-19 14:25:44 -08:00
sauce repackaging: all the repackaging changes squashed 2016-05-01 20:51:00 -07:00
windows build: update the package list of the symlinks scripts for Windows (#13408) 2016-12-12 16:41:35 -08:00