Test: Update printWidth indicator (#10293)
This commit is contained in:
1 parent
6f458f46d0
commit
5017d66ea7
1328 files changed
+10117
-18807
No files matched your search
@@ -4,8 +4,7 @@ exports[`angularjs.html - {"bracketSpacing":false} format 1`] = `
|
||||
====================================options=====================================
|
||||
bracketSpacing: false
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<div ng-if="$ctrl .shouldShowWarning&&!$ctrl.loading">Warning!</div>
|
||||
|
||||
@@ -45,8 +44,7 @@ exports[`angularjs.html - {"htmlWhitespaceSensitivity":"ignore"} format 1`] = `
|
||||
====================================options=====================================
|
||||
htmlWhitespaceSensitivity: "ignore"
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<div ng-if="$ctrl .shouldShowWarning&&!$ctrl.loading">Warning!</div>
|
||||
|
||||
@@ -86,7 +84,7 @@ exports[`angularjs.html - {"printWidth":1} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 1
|
||||
| printWidth
|
||||
| printWidth: 1
|
||||
=====================================input======================================
|
||||
<div ng-if="$ctrl .shouldShowWarning&&!$ctrl.loading">Warning!</div>
|
||||
|
||||
@@ -156,9 +154,8 @@ printWidth: 1
|
||||
exports[`angularjs.html - {"trailingComma":"es5"} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
trailingComma: "es5"
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<div ng-if="$ctrl .shouldShowWarning&&!$ctrl.loading">Warning!</div>
|
||||
|
||||
@@ -197,9 +194,8 @@ trailingComma: "es5"
|
||||
exports[`angularjs.html - {"trailingComma":"none"} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
trailingComma: "none"
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<div ng-if="$ctrl .shouldShowWarning&&!$ctrl.loading">Warning!</div>
|
||||
|
||||
@@ -239,8 +235,7 @@ exports[`attr-name.component.html - {"bracketSpacing":false} format 1`] = `
|
||||
====================================options=====================================
|
||||
bracketSpacing: false
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<div someDirective itemType="x"></div>
|
||||
|
||||
@@ -254,8 +249,7 @@ exports[`attr-name.component.html - {"htmlWhitespaceSensitivity":"ignore"} forma
|
||||
====================================options=====================================
|
||||
htmlWhitespaceSensitivity: "ignore"
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<div someDirective itemType="x"></div>
|
||||
|
||||
@@ -269,7 +263,7 @@ exports[`attr-name.component.html - {"printWidth":1} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 1
|
||||
| printWidth
|
||||
| printWidth: 1
|
||||
=====================================input======================================
|
||||
<div someDirective itemType="x"></div>
|
||||
|
||||
@@ -285,9 +279,8 @@ printWidth: 1
|
||||
exports[`attr-name.component.html - {"trailingComma":"es5"} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
trailingComma: "es5"
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<div someDirective itemType="x"></div>
|
||||
|
||||
@@ -300,9 +293,8 @@ trailingComma: "es5"
|
||||
exports[`attr-name.component.html - {"trailingComma":"none"} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
trailingComma: "none"
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<div someDirective itemType="x"></div>
|
||||
|
||||
@@ -316,8 +308,7 @@ exports[`attributes.component.html - {"bracketSpacing":false} format 1`] = `
|
||||
====================================options=====================================
|
||||
bracketSpacing: false
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<div
|
||||
bindon-target=" a | b : c:d :e "
|
||||
@@ -599,8 +590,7 @@ exports[`attributes.component.html - {"htmlWhitespaceSensitivity":"ignore"} form
|
||||
====================================options=====================================
|
||||
htmlWhitespaceSensitivity: "ignore"
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<div
|
||||
bindon-target=" a | b : c:d :e "
|
||||
@@ -882,7 +872,7 @@ exports[`attributes.component.html - {"printWidth":1} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 1
|
||||
| printWidth
|
||||
| printWidth: 1
|
||||
=====================================input======================================
|
||||
<div
|
||||
bindon-target=" a | b : c:d :e "
|
||||
@@ -1504,9 +1494,8 @@ printWidth: 1
|
||||
exports[`attributes.component.html - {"trailingComma":"es5"} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
trailingComma: "es5"
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<div
|
||||
bindon-target=" a | b : c:d :e "
|
||||
@@ -1787,9 +1776,8 @@ trailingComma: "es5"
|
||||
exports[`attributes.component.html - {"trailingComma":"none"} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
trailingComma: "none"
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<div
|
||||
bindon-target=" a | b : c:d :e "
|
||||
@@ -2071,8 +2059,7 @@ exports[`first-lf.component.html - {"bracketSpacing":false} format 1`] = `
|
||||
====================================options=====================================
|
||||
bracketSpacing: false
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<textarea>{{ generatedDiscountCodes }}</textarea>
|
||||
<textarea>
|
||||
@@ -2164,8 +2151,7 @@ exports[`first-lf.component.html - {"htmlWhitespaceSensitivity":"ignore"} format
|
||||
====================================options=====================================
|
||||
htmlWhitespaceSensitivity: "ignore"
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<textarea>{{ generatedDiscountCodes }}</textarea>
|
||||
<textarea>
|
||||
@@ -2257,7 +2243,7 @@ exports[`first-lf.component.html - {"printWidth":1} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 1
|
||||
| printWidth
|
||||
| printWidth: 1
|
||||
=====================================input======================================
|
||||
<textarea>{{ generatedDiscountCodes }}</textarea>
|
||||
<textarea>
|
||||
@@ -2428,9 +2414,8 @@ printWidth: 1
|
||||
exports[`first-lf.component.html - {"trailingComma":"es5"} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
trailingComma: "es5"
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<textarea>{{ generatedDiscountCodes }}</textarea>
|
||||
<textarea>
|
||||
@@ -2521,9 +2506,8 @@ trailingComma: "es5"
|
||||
exports[`first-lf.component.html - {"trailingComma":"none"} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
trailingComma: "none"
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<textarea>{{ generatedDiscountCodes }}</textarea>
|
||||
<textarea>
|
||||
@@ -2615,8 +2599,7 @@ exports[`ignore-attribute.component.html - {"bracketSpacing":false} format 1`] =
|
||||
====================================options=====================================
|
||||
bracketSpacing: false
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<div
|
||||
bindon-target=" a | b : c:d :e "
|
||||
@@ -2674,8 +2657,7 @@ exports[`ignore-attribute.component.html - {"htmlWhitespaceSensitivity":"ignore"
|
||||
====================================options=====================================
|
||||
htmlWhitespaceSensitivity: "ignore"
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<div
|
||||
bindon-target=" a | b : c:d :e "
|
||||
@@ -2733,7 +2715,7 @@ exports[`ignore-attribute.component.html - {"printWidth":1} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 1
|
||||
| printWidth
|
||||
| printWidth: 1
|
||||
=====================================input======================================
|
||||
<div
|
||||
bindon-target=" a | b : c:d :e "
|
||||
@@ -2826,9 +2808,8 @@ printWidth: 1
|
||||
exports[`ignore-attribute.component.html - {"trailingComma":"es5"} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
trailingComma: "es5"
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<div
|
||||
bindon-target=" a | b : c:d :e "
|
||||
@@ -2885,9 +2866,8 @@ trailingComma: "es5"
|
||||
exports[`ignore-attribute.component.html - {"trailingComma":"none"} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
trailingComma: "none"
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<div
|
||||
bindon-target=" a | b : c:d :e "
|
||||
@@ -2945,8 +2925,7 @@ exports[`interpolation.component.html - {"bracketSpacing":false} format 1`] = `
|
||||
====================================options=====================================
|
||||
bracketSpacing: false
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<div>{{ a | b : c:d :e }}</div>
|
||||
<div>{{ a | pipe }}</div>
|
||||
@@ -3120,8 +3099,7 @@ exports[`interpolation.component.html - {"htmlWhitespaceSensitivity":"ignore"} f
|
||||
====================================options=====================================
|
||||
htmlWhitespaceSensitivity: "ignore"
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<div>{{ a | b : c:d :e }}</div>
|
||||
<div>{{ a | pipe }}</div>
|
||||
@@ -3300,7 +3278,7 @@ exports[`interpolation.component.html - {"printWidth":1} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 1
|
||||
| printWidth
|
||||
| printWidth: 1
|
||||
=====================================input======================================
|
||||
<div>{{ a | b : c:d :e }}</div>
|
||||
<div>{{ a | pipe }}</div>
|
||||
@@ -3673,9 +3651,8 @@ printWidth: 1
|
||||
exports[`interpolation.component.html - {"trailingComma":"es5"} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
trailingComma: "es5"
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<div>{{ a | b : c:d :e }}</div>
|
||||
<div>{{ a | pipe }}</div>
|
||||
@@ -3848,9 +3825,8 @@ trailingComma: "es5"
|
||||
exports[`interpolation.component.html - {"trailingComma":"none"} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
trailingComma: "none"
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<div>{{ a | b : c:d :e }}</div>
|
||||
<div>{{ a | pipe }}</div>
|
||||
@@ -4024,8 +4000,7 @@ exports[`real-world.component.html - {"bracketSpacing":false} format 1`] = `
|
||||
====================================options=====================================
|
||||
bracketSpacing: false
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<!-- copied from: https://stackblitz.com/angular/ymdjlgmlavo -->
|
||||
|
||||
@@ -5551,8 +5526,7 @@ exports[`real-world.component.html - {"htmlWhitespaceSensitivity":"ignore"} form
|
||||
====================================options=====================================
|
||||
htmlWhitespaceSensitivity: "ignore"
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<!-- copied from: https://stackblitz.com/angular/ymdjlgmlavo -->
|
||||
|
||||
@@ -7216,7 +7190,7 @@ exports[`real-world.component.html - {"printWidth":1} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 1
|
||||
| printWidth
|
||||
| printWidth: 1
|
||||
=====================================input======================================
|
||||
<!-- copied from: https://stackblitz.com/angular/ymdjlgmlavo -->
|
||||
|
||||
@@ -10630,9 +10604,8 @@ can be found in the LICENSE file at http://angular.io/license
|
||||
exports[`real-world.component.html - {"trailingComma":"es5"} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
trailingComma: "es5"
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<!-- copied from: https://stackblitz.com/angular/ymdjlgmlavo -->
|
||||
|
||||
@@ -12157,9 +12130,8 @@ can be found in the LICENSE file at http://angular.io/license
|
||||
exports[`real-world.component.html - {"trailingComma":"none"} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
trailingComma: "none"
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<!-- copied from: https://stackblitz.com/angular/ymdjlgmlavo -->
|
||||
|
||||
@@ -13685,8 +13657,7 @@ exports[`tag-name.component.html - {"bracketSpacing":false} format 1`] = `
|
||||
====================================options=====================================
|
||||
bracketSpacing: false
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<Table></Table>
|
||||
|
||||
@@ -13700,8 +13671,7 @@ exports[`tag-name.component.html - {"htmlWhitespaceSensitivity":"ignore"} format
|
||||
====================================options=====================================
|
||||
htmlWhitespaceSensitivity: "ignore"
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<Table></Table>
|
||||
|
||||
@@ -13715,7 +13685,7 @@ exports[`tag-name.component.html - {"printWidth":1} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 1
|
||||
| printWidth
|
||||
| printWidth: 1
|
||||
=====================================input======================================
|
||||
<Table></Table>
|
||||
|
||||
@@ -13728,9 +13698,8 @@ printWidth: 1
|
||||
exports[`tag-name.component.html - {"trailingComma":"es5"} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
trailingComma: "es5"
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<Table></Table>
|
||||
|
||||
@@ -13743,9 +13712,8 @@ trailingComma: "es5"
|
||||
exports[`tag-name.component.html - {"trailingComma":"none"} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
trailingComma: "none"
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<Table></Table>
|
||||
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
exports[`assignment-operator.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<b (click)="
|
||||
a = b"></b>
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
exports[`attribute-value-hugging.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<!-- #17729 -->
|
||||
<div
|
||||
|
||||
@@ -4,8 +4,7 @@ exports[`angularjs.html - {"bracketSameLine":false} format 1`] = `
|
||||
====================================options=====================================
|
||||
bracketSameLine: false
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<div ng-if="$ctrl .shouldShowWarning&&!$ctrl.loading"
|
||||
bindon-target=" a | b : c "
|
||||
@@ -69,8 +68,7 @@ exports[`angularjs.html - {"bracketSameLine":true} format 1`] = `
|
||||
====================================options=====================================
|
||||
bracketSameLine: true
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<div ng-if="$ctrl .shouldShowWarning&&!$ctrl.loading"
|
||||
bindon-target=" a | b : c "
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
exports[`after-close-tag.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<ion-list class="timeline" appScrollItem>
|
||||
@for (let item of items; index as i; trackBy: trackByFn) {
|
||||
@@ -56,8 +55,7 @@ printWidth: 80
|
||||
exports[`chid.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<span>@if (test) {text}</span>
|
||||
<div>@if (test) {text}</div>
|
||||
@@ -80,8 +78,7 @@ printWidth: 80
|
||||
exports[`defer.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
@defer (when isCheckedDefer()) {
|
||||
<app-c1/>
|
||||
@@ -211,8 +208,7 @@ printWidth: 80
|
||||
exports[`element-tags.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
@if (true) {<img />}
|
||||
|
||||
@@ -227,8 +223,7 @@ printWidth: 80
|
||||
exports[`for.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<ul>
|
||||
@for (
|
||||
@@ -364,8 +359,7 @@ item of
|
||||
exports[`if.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<h3>@if and @else</h3>
|
||||
<div>
|
||||
@@ -455,8 +449,7 @@ topStartToSideStartMaxSize) {
|
||||
exports[`ignore.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<!-- prettier-ignore -->
|
||||
@if (condition) {
|
||||
@@ -497,8 +490,7 @@ printWidth: 80
|
||||
exports[`mix.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
@if (user.isHuman) {
|
||||
<human-profile [data]="user" />
|
||||
@@ -529,8 +521,7 @@ printWidth: 80
|
||||
exports[`multiple-switch-cases.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<!-- https://github.com/angular/angular/pull/66210 -->
|
||||
|
||||
@@ -643,8 +634,7 @@ printWidth: 80
|
||||
exports[`switch.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
@switch (radioValue()) {
|
||||
@case (1) {
|
||||
@@ -691,8 +681,7 @@ printWidth: 80
|
||||
exports[`unclosed.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
@empty{}
|
||||
|
||||
@@ -709,8 +698,7 @@ printWidth: 80
|
||||
exports[`with-comment.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<div>
|
||||
<!-- comment -->
|
||||
|
||||
+1
-2
@@ -4,8 +4,7 @@ exports[`if.html - {"embeddedLanguageFormatting":"off"} format 1`] = `
|
||||
====================================options=====================================
|
||||
embeddedLanguageFormatting: "off"
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
@if (should. not. format) { }
|
||||
@else if (should. not. format) { }
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ exports[`test.html - {"printWidth":20} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 20
|
||||
| printWidth
|
||||
printWidth: 20 |
|
||||
=====================================input======================================
|
||||
@for (long expression;long expression;long expression;long expression;long expression;long expression;long expression;long expression;) {
|
||||
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
exports[`exponentiation-operators.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
{{
|
||||
(a) ** b
|
||||
@@ -19,8 +18,7 @@ printWidth: 80
|
||||
exports[`in-operators.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
{{
|
||||
|
||||
@@ -36,8 +34,7 @@ printWidth: 80
|
||||
exports[`spread-element.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
{{
|
||||
[... a]
|
||||
@@ -69,8 +66,7 @@ foo:1, ...bar }"></div>
|
||||
exports[`tagged-template-literal.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
{{
|
||||
|
||||
@@ -86,8 +82,7 @@ printWidth: 80
|
||||
exports[`template-literal.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
{{
|
||||
|
||||
@@ -103,8 +98,7 @@ printWidth: 80
|
||||
exports[`void-operators.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
{{
|
||||
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
exports[`basic-plural-01.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<span i18n>Updated {minutes, plural, =0 {just now} =1 {one minute ago} other {{{minutes}} minutes ago}}</span>
|
||||
|
||||
@@ -24,8 +23,7 @@ printWidth: 80
|
||||
exports[`basic-plural-02.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
{ count, plural,
|
||||
=0 {{ sex, select,
|
||||
@@ -55,8 +53,7 @@ printWidth: 80
|
||||
exports[`basic-plural-03.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<foo>
|
||||
<bar>{VAR_PLURAL, plural, =0 {zero} =1 {un} =2 {deux} other {<pc id="0" equivStart="START_BOLD_TEXT" equivEnd="CLOSE_BOLD_TEXT" type="fmt" dispStart="<b>" dispEnd="</b>">beaucoup</pc>} }</bar>
|
||||
@@ -105,8 +102,7 @@ printWidth: 80
|
||||
exports[`basic-plural-04.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<foo>
|
||||
<bar>{VAR_PLURAL, plural, =0 {Found no results} =1 {Found one result} other {Found <ph id="0" equiv="INTERPOLATION" disp="{{response.getItemsList().length}}"/> results} }</bar>
|
||||
@@ -135,8 +131,7 @@ printWidth: 80
|
||||
exports[`basic-select-01.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<span i18n>The author is {gender, select, male {male} female {female} other {other}}</span>
|
||||
|
||||
@@ -152,8 +147,7 @@ printWidth: 80
|
||||
exports[`basic-select-02.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<ng-template>{gender, select, male {male} female {female} other {other}}</ng-template>
|
||||
<ng-container>{age, select, 10 {ten} 20 {twenty} other {other}}</ng-container>
|
||||
@@ -172,8 +166,7 @@ printWidth: 80
|
||||
exports[`combination-01.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<span i18n>Updated: {minutes, plural,
|
||||
=0 {just now}
|
||||
@@ -200,8 +193,7 @@ printWidth: 80
|
||||
exports[`issue-16914.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
{active, select,
|
||||
true {
|
||||
|
||||
@@ -3,9 +3,8 @@
|
||||
exports[`computed-optional-member-expression.ng - {"trailingComma":"none"} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["__ng_interpolation"]
|
||||
printWidth: 80
|
||||
trailingComma: "none"
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
[
|
||||
a?.[0]
|
||||
@@ -19,9 +18,8 @@ trailingComma: "none"
|
||||
exports[`logical-expression.ng - {"trailingComma":"none"} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["__ng_interpolation"]
|
||||
printWidth: 80
|
||||
trailingComma: "none"
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
[
|
||||
advancedSearchService.patientInformationFieldsRow2 && advancedSearchService.patientInformationFieldsRow2.indexOf(advancedSearchService.formElementData.customFieldList[i].customFieldType) !== -1,
|
||||
@@ -42,9 +40,8 @@ trailingComma: "none"
|
||||
exports[`optional-chaining.ng - {"trailingComma":"none"} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["__ng_interpolation"]
|
||||
printWidth: 80
|
||||
trailingComma: "none"
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
[ a?.b[c], (a?.b)[c] ]
|
||||
|
||||
@@ -56,9 +53,8 @@ trailingComma: "none"
|
||||
exports[`pipe-expression.ng - {"trailingComma":"none"} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["__ng_interpolation"]
|
||||
printWidth: 80
|
||||
trailingComma: "none"
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
[
|
||||
a ? (b | c : d) : (e | f : g),
|
||||
@@ -123,9 +119,8 @@ trailingComma: "none"
|
||||
exports[`pipe-in-object.ng - {"trailingComma":"none"} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["__ng_interpolation"]
|
||||
printWidth: 80
|
||||
trailingComma: "none"
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
[{ AngularJS: '1.x', 'color': ('#222' | darken)}]
|
||||
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
exports[`17428.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
(there is no {{\`\${activityType === '' ? 'activity' : ''}\${activityType === '' && costCenter === '' ? ' or ' : ''}\${costCenter === '' ? 'cost center' : ''}\`}})
|
||||
|
||||
@@ -20,8 +19,7 @@ printWidth: 80
|
||||
exports[`block.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
@for (option of availableOwners?.(); track option) {
|
||||
<mat-option [value]="option.id">
|
||||
@@ -42,8 +40,7 @@ printWidth: 80
|
||||
exports[`comments.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
{{a() // comment }}
|
||||
|
||||
@@ -58,8 +55,7 @@ printWidth: 80
|
||||
exports[`non-null-assertion.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
{{ foo?.bar!.bam }}
|
||||
{{ (foo?.bar)!.bam }}
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
exports[`basic-01.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
@let name = 'Frodo';
|
||||
<h1>Dashboard for {{name}}</h1>
|
||||
@@ -21,8 +20,7 @@ Hello, {{ name }}
|
||||
exports[`basic-02.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<input #name>
|
||||
|
||||
@@ -43,8 +41,7 @@ printWidth: 80
|
||||
exports[`basic-03.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
@let topLevel = value;
|
||||
|
||||
@@ -85,8 +82,7 @@ printWidth: 80
|
||||
exports[`complex.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
@let foo = a | b : c:d :e;
|
||||
@let foo = a | pipe;
|
||||
@@ -182,8 +178,7 @@ printWidth: 80
|
||||
exports[`valid-from-tokenizer-test.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<!--
|
||||
from
|
||||
|
||||
+2
-4
@@ -4,8 +4,7 @@ exports[`snippet: #0 - {"embeddedLanguageFormatting":"off"} format 1`] = `
|
||||
====================================options=====================================
|
||||
embeddedLanguageFormatting: "off"
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
@let foo = 'Hello' + ', World';
|
||||
=====================================output=====================================
|
||||
@@ -17,9 +16,8 @@ printWidth: 80
|
||||
exports[`snippet: #0 - {"semi":false} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
semi: false
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
@let foo = 'Hello' + ', World';
|
||||
=====================================output=====================================
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
exports[`regular-expression.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<b>{{ /\\d/+}}</b>
|
||||
<!-- Invalid regular expression -->
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
exports[`self-closing.component.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<app-test/>
|
||||
<app-test />
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
exports[`basic.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<ng-container *ngTemplateOutlet="someTmpl; context: {app}"></ng-container>
|
||||
<div dir [input]="{ a, b: 2 }"></div>
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
exports[`template-literal.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<div
|
||||
(action)="
|
||||
|
||||
@@ -3,9 +3,8 @@
|
||||
exports[`trailing-comma.html - {"trailingComma":"all"} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
trailingComma: "all"
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<div
|
||||
(action)="
|
||||
@@ -210,9 +209,8 @@ trailingComma: "all"
|
||||
exports[`trailing-comma.html - {"trailingComma":"es5"} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
trailingComma: "es5"
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<div
|
||||
(action)="
|
||||
@@ -417,9 +415,8 @@ trailingComma: "es5"
|
||||
exports[`trailing-comma.html - {"trailingComma":"none"} format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
trailingComma: "none"
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<div
|
||||
(action)="
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
exports[`typeof-expression.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<div
|
||||
(click)="
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
exports[`upper-case-html-tag.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<!doctype html><HTML></HTML>
|
||||
|
||||
@@ -17,8 +16,7 @@ printWidth: 80
|
||||
exports[`upper-case-html-tag-2.html format 1`] = `
|
||||
====================================options=====================================
|
||||
parsers: ["angular"]
|
||||
printWidth: 80
|
||||
| printWidth
|
||||
printWidth: 80 (default) |
|
||||
=====================================input======================================
|
||||
<!DOCTYPE html><HTML>
|
||||
<body>
|
||||
|
||||
Reference in new issue
Block a user