mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-15 10:11:50 +08:00
Fixup commit messages are not permitted in this repository. This update modifies the `ng-dev` commit message validator configuration to prevent such commits.
16 lines
447 B
JavaScript
16 lines
447 B
JavaScript
import { packages } from '../scripts/packages.mjs';
|
|
|
|
/**
|
|
* The configuration for `ng-dev commit-message` commands.
|
|
*
|
|
* @type { import("@angular/ng-dev").CommitMessageConfig }
|
|
*/
|
|
export const commitMessage = {
|
|
maxLineLength: Infinity,
|
|
minBodyLength: 0,
|
|
minBodyLengthTypeExcludes: ['docs'],
|
|
disallowFixup: true,
|
|
// Note: When changing this logic, also change the `contributing.ejs` file.
|
|
scopes: packages.map(({ name }) => name),
|
|
};
|