Skip to content

Commit

Permalink
fix(@angular/cli): support codeFrame format with ng lint
Browse files Browse the repository at this point in the history
  • Loading branch information
maxime1992 authored and clydin committed May 29, 2018
1 parent 46d0ca5 commit 4f9fd9f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/documentation/1-x/lint.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
<code>--format</code> (aliases: <code>-t</code>) <em>default value: prose</em>
</p>
<p>
Output format (prose, json, stylish, verbose, pmd, msbuild, checkstyle, vso, fileslist).
Output format (prose, json, stylish, verbose, pmd, msbuild, checkstyle, vso, fileslist, codeFrame).
</p>
</details>
2 changes: 1 addition & 1 deletion docs/documentation/lint.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ ng lint [project]
<code>--format</code>
</p>
<p>
Output format (prose, json, stylish, verbose, pmd, msbuild, checkstyle, vso, fileslist).
Output format (prose, json, stylish, verbose, pmd, msbuild, checkstyle, vso, fileslist, codeFrame).
</p>
</details>
5 changes: 3 additions & 2 deletions packages/@angular/cli/lib/config/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1566,7 +1566,7 @@
},
"format": {
"type": "string",
"description": "Output format (prose, json, stylish, verbose, pmd, msbuild, checkstyle, vso, fileslist).",
"description": "Output format (prose, json, stylish, verbose, pmd, msbuild, checkstyle, vso, fileslist, codeFrame).",
"default": "prose",
"enum": [
"prose",
Expand All @@ -1577,7 +1577,8 @@
"msbuild",
"checkstyle",
"vso",
"fileslist"
"fileslist",
"codeFrame"
]
},
"exclude": {
Expand Down

0 comments on commit 4f9fd9f

Please sign in to comment.