UNPKG

336 BJavaScriptView Raw
1'use strict';
2
3// @commitlint/config-angular changed the rules around valid scope names and
4// Greenkeeper still uses the old format.
5if (process.env.CIRCLE_BRANCH && process.env.CIRCLE_BRANCH.includes('greenkeeper')) {
6 module.exports = {};
7}
8else {
9 module.exports = {
10 extends: [
11 '@commitlint/config-angular'
12 ]
13 };
14}