Skip to content

Commit fd14e4e

Browse files
committed
fix(@angular-devkit/build-angular): add all current TSLint default formatters to schema
1 parent a067530 commit fd14e4e

File tree

1 file changed

+19
-10
lines changed
  • packages/angular_devkit/build_angular/src/tslint

1 file changed

+19
-10
lines changed

Diff for: packages/angular_devkit/build_angular/src/tslint/schema.json

+19-10
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "http://json-schema.org/draft-07/schema",
23
"title": "TSlint Target",
34
"description": "TSlint target options for Build Facade.",
45
"type": "object",
@@ -43,16 +44,24 @@
4344
"type": "string",
4445
"description": "Output format (prose, json, stylish, verbose, pmd, msbuild, checkstyle, vso, fileslist).",
4546
"default": "prose",
46-
"enum": [
47-
"prose",
48-
"json",
49-
"stylish",
50-
"verbose",
51-
"pmd",
52-
"msbuild",
53-
"checkstyle",
54-
"vso",
55-
"fileslist"
47+
"anyOf": [
48+
{
49+
"enum": [
50+
"checkstyle",
51+
"codeFrame",
52+
"filesList",
53+
"json",
54+
"junit",
55+
"msbuild",
56+
"pmd",
57+
"prose",
58+
"stylish",
59+
"tap",
60+
"verbose",
61+
"vso"
62+
]
63+
},
64+
{ "minLength": 1 }
5665
]
5766
},
5867
"exclude": {

0 commit comments

Comments
 (0)