-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
279 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
markup_fmt/tests/fmt/html/prefer-attrs-single-line/attrs.default.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
source: markup_fmt/tests/fmt.rs | ||
--- | ||
<div></div> | ||
|
||
<div a="a"></div> | ||
|
||
<div a="a" b="b" c="c" d="d"></div> | ||
|
||
<div | ||
a="a" | ||
b="b" | ||
c="c" | ||
d="d" | ||
> | ||
</div> | ||
|
23 changes: 23 additions & 0 deletions
23
...mt/tests/fmt/html/prefer-attrs-single-line/attrs.disabled-with-max-one-attr-per-line.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
source: markup_fmt/tests/fmt.rs | ||
--- | ||
<div></div> | ||
|
||
<div a="a"></div> | ||
|
||
<div | ||
a="a" | ||
b="b" | ||
c="c" | ||
d="d" | ||
> | ||
</div> | ||
|
||
<div | ||
a="a" | ||
b="b" | ||
c="c" | ||
d="d" | ||
> | ||
</div> | ||
|
19 changes: 19 additions & 0 deletions
19
...mt/tests/fmt/html/prefer-attrs-single-line/attrs.disabled-with-max-two-attr-per-line.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
source: markup_fmt/tests/fmt.rs | ||
--- | ||
<div></div> | ||
|
||
<div a="a"></div> | ||
|
||
<div | ||
a="a" b="b" | ||
c="c" d="d" | ||
> | ||
</div> | ||
|
||
<div | ||
a="a" b="b" | ||
c="c" d="d" | ||
> | ||
</div> | ||
|
17 changes: 17 additions & 0 deletions
17
markup_fmt/tests/fmt/html/prefer-attrs-single-line/attrs.disabled.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
source: markup_fmt/tests/fmt.rs | ||
--- | ||
<div></div> | ||
|
||
<div a="a"></div> | ||
|
||
<div a="a" b="b" c="c" d="d"></div> | ||
|
||
<div | ||
a="a" | ||
b="b" | ||
c="c" | ||
d="d" | ||
> | ||
</div> | ||
|
23 changes: 23 additions & 0 deletions
23
...fmt/tests/fmt/html/prefer-attrs-single-line/attrs.enabled-with-max-one-attr-per-line.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
source: markup_fmt/tests/fmt.rs | ||
--- | ||
<div></div> | ||
|
||
<div a="a"></div> | ||
|
||
<div | ||
a="a" | ||
b="b" | ||
c="c" | ||
d="d" | ||
> | ||
</div> | ||
|
||
<div | ||
a="a" | ||
b="b" | ||
c="c" | ||
d="d" | ||
> | ||
</div> | ||
|
19 changes: 19 additions & 0 deletions
19
...fmt/tests/fmt/html/prefer-attrs-single-line/attrs.enabled-with-max-two-attr-per-line.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
source: markup_fmt/tests/fmt.rs | ||
--- | ||
<div></div> | ||
|
||
<div a="a"></div> | ||
|
||
<div | ||
a="a" b="b" | ||
c="c" d="d" | ||
> | ||
</div> | ||
|
||
<div | ||
a="a" b="b" | ||
c="c" d="d" | ||
> | ||
</div> | ||
|
11 changes: 11 additions & 0 deletions
11
markup_fmt/tests/fmt/html/prefer-attrs-single-line/attrs.enabled.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
source: markup_fmt/tests/fmt.rs | ||
--- | ||
<div></div> | ||
|
||
<div a="a"></div> | ||
|
||
<div a="a" b="b" c="c" d="d"></div> | ||
|
||
<div a="a" b="b" c="c" d="d"></div> | ||
|
11 changes: 11 additions & 0 deletions
11
markup_fmt/tests/fmt/html/prefer-attrs-single-line/attrs.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<div> | ||
</div> | ||
|
||
<div | ||
a="a" | ||
></div> | ||
|
||
<div a="a" b="b" c="c" d="d"></div> | ||
|
||
<div | ||
a="a" b="b" c="c" d="d"></div> |
23 changes: 23 additions & 0 deletions
23
markup_fmt/tests/fmt/html/prefer-attrs-single-line/config.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[default] | ||
|
||
[disabled] | ||
preferAttrsSingleLine = false | ||
|
||
[enabled] | ||
preferAttrsSingleLine = true | ||
|
||
[disabled-with-max-one-attr-per-line] | ||
preferAttrsSingleLine = false | ||
maxAttrsPerLine = 1 | ||
|
||
[enabled-with-max-one-attr-per-line] | ||
preferAttrsSingleLine = true | ||
maxAttrsPerLine = 1 | ||
|
||
[disabled-with-max-two-attr-per-line] | ||
preferAttrsSingleLine = false | ||
maxAttrsPerLine = 2 | ||
|
||
[enabled-with-max-two-attr-per-line] | ||
preferAttrsSingleLine = true | ||
maxAttrsPerLine = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.