@@ -88,7 +88,7 @@ ruleTester.run('attribute-hyphenation', rule, {
88
88
{
89
89
filename : 'test.vue' ,
90
90
code : '<template><div><custom MyProp="Bar"></custom></div></template>' ,
91
- output : '<template><div><custom my-prop="Bar"></custom></div></template>' ,
91
+ output : null ,
92
92
options : [ 'always' ] ,
93
93
errors : [
94
94
{
@@ -115,8 +115,7 @@ ruleTester.run('attribute-hyphenation', rule, {
115
115
{
116
116
filename : 'test.vue' ,
117
117
code : '<template><div><custom :MyProp="prop"></custom></div></template>' ,
118
- output :
119
- '<template><div><custom :my-prop="prop"></custom></div></template>' ,
118
+ output : null ,
120
119
options : [ 'always' ] ,
121
120
errors : [
122
121
{
@@ -143,8 +142,7 @@ ruleTester.run('attribute-hyphenation', rule, {
143
142
{
144
143
filename : 'test.vue' ,
145
144
code : '<template><div><custom v-bind:MyProp="prop"></custom></div></template>' ,
146
- output :
147
- '<template><div><custom v-bind:my-prop="prop"></custom></div></template>' ,
145
+ output : null ,
148
146
options : [ 'always' ] ,
149
147
errors : [
150
148
{
@@ -157,8 +155,7 @@ ruleTester.run('attribute-hyphenation', rule, {
157
155
{
158
156
filename : 'test.vue' ,
159
157
code : '<template><div><custom v-bind:MyProp="prop"></custom></div></template>' ,
160
- output :
161
- '<template><div><custom v-bind:my-prop="prop"></custom></div></template>' ,
158
+ output : null ,
162
159
options : [ 'always' , { ignore : [ ] } ] ,
163
160
errors : [
164
161
{
@@ -281,7 +278,7 @@ ruleTester.run('attribute-hyphenation', rule, {
281
278
{
282
279
filename : 'test.vue' ,
283
280
code : '<template><div><slot MyProp="Bar"></slot></div></template>' ,
284
- output : '<template><div><slot my-prop="Bar"></slot></div></template>' ,
281
+ output : null ,
285
282
options : [ 'always' ] ,
286
283
errors : [
287
284
{
0 commit comments