File tree 1 file changed +12
-6
lines changed
1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -83,19 +83,25 @@ module.exports = {
83
83
const tagName = node . parent . name . name ;
84
84
const isHTMLTag = tagName && tagName [ 0 ] !== tagName [ 0 ] . toUpperCase ( ) ;
85
85
const isCustomTag = tagName && tagName [ 0 ] === tagName [ 0 ] . toUpperCase ( ) ;
86
- if ( isHTMLTag &&
86
+ if (
87
+ isHTMLTag &&
87
88
( ( ignoreHtmlTags && ! isException ( tagName , exceptions ) ) ||
88
- ( ! ignoreHtmlTags && isException ( tagName , exceptions ) ) ) ) {
89
+ ( ! ignoreHtmlTags && isException ( tagName , exceptions ) ) )
90
+ ) {
89
91
return ;
90
92
}
91
- if ( isCustomTag &&
93
+ if (
94
+ isCustomTag &&
92
95
( ( ignoreCustomTags && ! isException ( tagName , exceptions ) ) ||
93
- ( ! ignoreCustomTags && isException ( tagName , exceptions ) ) ) ) {
96
+ ( ! ignoreCustomTags && isException ( tagName , exceptions ) ) )
97
+ ) {
94
98
return ;
95
99
}
96
- if ( ignoreExplicitSpread &&
100
+ if (
101
+ ignoreExplicitSpread &&
97
102
node . argument . type === 'ObjectExpression' &&
98
- node . argument . properties . every ( isProperty ) ) {
103
+ node . argument . properties . every ( isProperty )
104
+ ) {
99
105
return ;
100
106
}
101
107
context . report ( {
You can’t perform that action at this time.
0 commit comments