File tree Expand file tree Collapse file tree 3 files changed +36
-13
lines changed
Expand file tree Collapse file tree 3 files changed +36
-13
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "extends": [
3+ "@commitlint/config-conventional"
4+ ],
5+ "rules": {
6+ "scope-enum": [
7+ 1,
8+ "always",
9+ [
10+ "repo",
11+ "dotnet",
12+ "core",
13+ "utils",
14+ "typescript",
15+ "ci",
16+ "release"
17+ ]
18+ ],
19+ "type-enum": [
20+ 1,
21+ "always",
22+ [
23+ "test",
24+ "docs",
25+ "chore",
26+ "feat",
27+ "fix"
28+ ]
29+ ]
30+ }
31+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11import { cmdLineParameter } from './models' ;
22
3+ /**
4+ * Transforms an array of cmdLineParameter into a string.
5+ * @param parameters Parameters to transform into CLI arguments
6+ * @returns Parameter string to be appended to CLI command
7+ */
38export function getParameterString ( parameters : cmdLineParameter [ ] ) : string {
49 return parameters . reduce ( ( acc , current ) => {
510 if ( typeof current . value === 'boolean' && current . value ) {
You can’t perform that action at this time.
0 commit comments