@@ -42,7 +42,8 @@ tester.run('block-lang', rule, {
42
42
options : [ { script : { lang : 'ts' } } ] ,
43
43
errors : [
44
44
{
45
- message : `Only "ts" can be used for the 'lang' attribute of '<script>'.` ,
45
+ message :
46
+ "Only 'ts' can be used for the 'lang' attribute of '<script>'." ,
46
47
line : 2 ,
47
48
column : 15 ,
48
49
endLine : 2 ,
@@ -56,7 +57,8 @@ tester.run('block-lang', rule, {
56
57
options : [ { script : { lang : [ 'ts' ] } } ] ,
57
58
errors : [
58
59
{
59
- message : `Only "ts" can be used for the 'lang' attribute of '<script>'.` ,
60
+ message :
61
+ "Only 'ts' can be used for the 'lang' attribute of '<script>'." ,
60
62
line : 2 ,
61
63
column : 15 ,
62
64
endLine : 2 ,
@@ -84,7 +86,8 @@ tester.run('block-lang', rule, {
84
86
options : [ { script : { lang : 'ts' } } ] ,
85
87
errors : [
86
88
{
87
- message : `Only "ts" can be used for the 'lang' attribute of '<script>'.` ,
89
+ message :
90
+ "Only 'ts' can be used for the 'lang' attribute of '<script>'." ,
88
91
line : 2 ,
89
92
column : 15 ,
90
93
endLine : 2 ,
@@ -153,7 +156,7 @@ tester.run('block-lang', rule, {
153
156
errors : [
154
157
{
155
158
message :
156
- "Only \" json\" can be used for the 'lang' attribute of '<i18n>'. Or, not specifying the ` lang` attribute is allowed." ,
159
+ "Only ' json' can be used for the 'lang' attribute of '<i18n>'. Or, not specifying the ' lang' attribute is allowed." ,
157
160
line : 2 ,
158
161
column : 13 ,
159
162
endLine : 2 ,
@@ -168,7 +171,7 @@ tester.run('block-lang', rule, {
168
171
errors : [
169
172
{
170
173
message :
171
- ' Only " json" , and " yaml" can be used for the \ 'lang\ ' attribute of \ '<i18n>\ '. Or, not specifying the ` lang` attribute is allowed.' ,
174
+ " Only ' json' , and ' yaml' can be used for the 'lang' attribute of '<i18n>'. Or, not specifying the ' lang' attribute is allowed." ,
172
175
line : 2 ,
173
176
column : 13 ,
174
177
endLine : 2 ,
0 commit comments