Skip to content

Commit e524643

Browse files
authored
revert
1 parent 5b0cc19 commit e524643

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

test/unit/rules/lint-prettier-test.js

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ generateRuleTests({
88
groupingMethod: describe,
99
testMethod: it,
1010
plugins: [plugin],
11-
config: true,
1211

1312
good: [
1413
``,
@@ -28,6 +27,7 @@ test
2827

2928
bad: [
3029
{
30+
config: true,
3131
template: "{{#my-component}}{{/my-component}}\n",
3232
fixedTemplate: "{{#my-component}}{{/my-component}}",
3333
result: {
@@ -41,17 +41,15 @@ test
4141
},
4242
},
4343
{
44-
config: {
45-
singleQuote: true,
46-
},
44+
config: true,
4745
template: `<div data-foo
4846
data-bar="lol"
4947
some-other-thing={{haha-morethaneightychars}}>
5048
</div>`,
51-
fixedTemplate: `<div data-foo data-bar='lol' some-other-thing={{haha-morethaneightychars}}>
49+
fixedTemplate: `<div data-foo data-bar="lol" some-other-thing={{haha-morethaneightychars}}>
5250
</div>`,
5351
result: {
54-
message: "Replace `⏎·data-bar=\"lol\"⏎·····` with `·data-bar='lol'`",
52+
message: 'Replace `⏎·data-bar="lol"⏎·····` with `·data-bar="lol"`',
5553
line: 1,
5654
column: 13,
5755
endLine: 3,
@@ -64,6 +62,7 @@ test
6462
},
6563
},
6664
{
65+
config: true,
6766
template: "test\n",
6867
fixedTemplate: "test",
6968
result: {
@@ -77,6 +76,7 @@ test
7776
},
7877
},
7978
{
79+
config: true,
8080
template: `{{#my-component}}
8181
8282
test
@@ -98,6 +98,7 @@ test
9898
},
9999
},
100100
{
101+
config: true,
101102
template: `{{#my-component class="class1 class2"}}
102103
test
103104

0 commit comments

Comments
 (0)