Skip to content

Commit a067530

Browse files
committed
fix(@angular/cli): add all current TSLint default formatters to schema
1 parent 5c5d392 commit a067530

File tree

1 file changed

+18
-11
lines changed

1 file changed

+18
-11
lines changed

Diff for: packages/angular/cli/lib/config/schema.json

+18-11
Original file line numberDiff line numberDiff line change
@@ -1573,17 +1573,24 @@
15731573
"type": "string",
15741574
"description": "Output format (prose, json, stylish, verbose, pmd, msbuild, checkstyle, vso, fileslist, codeFrame).",
15751575
"default": "prose",
1576-
"enum": [
1577-
"prose",
1578-
"json",
1579-
"stylish",
1580-
"verbose",
1581-
"pmd",
1582-
"msbuild",
1583-
"checkstyle",
1584-
"vso",
1585-
"fileslist",
1586-
"codeFrame"
1576+
"anyOf": [
1577+
{
1578+
"enum": [
1579+
"checkstyle",
1580+
"codeFrame",
1581+
"filesList",
1582+
"json",
1583+
"junit",
1584+
"msbuild",
1585+
"pmd",
1586+
"prose",
1587+
"stylish",
1588+
"tap",
1589+
"verbose",
1590+
"vso"
1591+
]
1592+
},
1593+
{ "minLength": 1 }
15871594
]
15881595
},
15891596
"exclude": {

0 commit comments

Comments
 (0)