File tree Expand file tree Collapse file tree 3 files changed +1
-7
lines changed Expand file tree Collapse file tree 3 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,6 @@ module.exports = {
28
28
return ;
29
29
} else if ( utils . hasAccessibleChild ( parent ) ) {
30
30
return ;
31
- } else if ( utils . getDirective ( parent , 'text' ) ) {
32
- return ;
33
- } else if ( utils . getDirective ( parent , 'html' ) ) {
34
- return ;
35
31
}
36
32
37
33
context . report ( {
Original file line number Diff line number Diff line change @@ -34,8 +34,6 @@ module.exports = {
34
34
return ;
35
35
} else if ( utils . hasAccessibleChild ( node ) ) {
36
36
return ;
37
- } else if ( utils . getDirective ( node , 'text' ) ) {
38
- return ;
39
37
}
40
38
41
39
context . report ( {
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ module.exports = {
93
93
hasAnyDirective ( node , keyArray ) {
94
94
assert ( node && node . type === 'VElement' ) ;
95
95
return keyArray . some ( ( key ) => {
96
- return utils . getDirective ( node , key ) ;
96
+ return this . getDirective ( node , key ) ;
97
97
} ) ;
98
98
} ,
99
99
hasAnyEvent ( node , events ) {
You can’t perform that action at this time.
0 commit comments