forked from angular/angular-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommit-message.ts
More file actions
24 lines (22 loc) · 744 Bytes
/
commit-message.ts
File metadata and controls
24 lines (22 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// tslint:disable-next-line: no-implicit-dependencies
import {
COMMIT_TYPES,
CommitMessageConfig,
ScopeRequirement,
} from '@angular/dev-infra-private/ng-dev';
import { packages } from '../lib/packages';
/**
* The details for valid commit types.
* This is exported so that other tooling can access both the types and scopes from one location.
* Currently used in the contributing documentation template (scripts/templates/contributing.ejs)
*/
export { COMMIT_TYPES, ScopeRequirement };
/**
* The configuration for `ng-dev commit-message` commands.
*/
export const commitMessage: CommitMessageConfig = {
maxLineLength: Infinity,
minBodyLength: 0,
minBodyLengthTypeExcludes: ['docs'],
scopes: [...Object.keys(packages)],
};