File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ module.exports = {
80
80
const optionsPayload = context . options [ 1 ]
81
81
const useHyphenated = option !== 'never'
82
82
/** @type {RegExp[] } */
83
- const ignoreTags = (
83
+ const ignoredTagsRegexps = (
84
84
( optionsPayload && optionsPayload . ignoreTags ) ||
85
85
[ ]
86
86
) . map ( toRegExp )
@@ -144,7 +144,7 @@ module.exports = {
144
144
145
145
/** @param {string } name */
146
146
function isIgnoredTagName ( name ) {
147
- return ignoreTags . some ( ( re ) => re . test ( name ) )
147
+ return ignoredTagsRegexps . some ( ( re ) => re . test ( name ) )
148
148
}
149
149
150
150
return utils . defineTemplateBodyVisitor ( context , {
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ module.exports = {
64
64
/** @type {string[] } */
65
65
const ignoredAttributes = ( optionsPayload && optionsPayload . ignore ) || [ ]
66
66
/** @type {RegExp[] } */
67
- const ignoreTags = (
67
+ const ignoredTagsRegexps = (
68
68
( optionsPayload && optionsPayload . ignoreTags ) ||
69
69
[ ]
70
70
) . map ( toRegExp )
@@ -113,7 +113,7 @@ module.exports = {
113
113
114
114
/** @param {string } name */
115
115
function isIgnoredTagName ( name ) {
116
- return ignoreTags . some ( ( re ) => re . test ( name ) )
116
+ return ignoredTagsRegexps . some ( ( re ) => re . test ( name ) )
117
117
}
118
118
119
119
return utils . defineTemplateBodyVisitor ( context , {
You can’t perform that action at this time.
0 commit comments