Skip to content

Commit c938035

Browse files
committed
feat: rename
1 parent 2624809 commit c938035

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/rules/attribute-hyphenation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ module.exports = {
8080
const optionsPayload = context.options[1]
8181
const useHyphenated = option !== 'never'
8282
/** @type {RegExp[]} */
83-
const ignoreTags = (
83+
const ignoredTagsRegexps = (
8484
(optionsPayload && optionsPayload.ignoreTags) ||
8585
[]
8686
).map(toRegExp)
@@ -144,7 +144,7 @@ module.exports = {
144144

145145
/** @param {string} name */
146146
function isIgnoredTagName(name) {
147-
return ignoreTags.some((re) => re.test(name))
147+
return ignoredTagsRegexps.some((re) => re.test(name))
148148
}
149149

150150
return utils.defineTemplateBodyVisitor(context, {

lib/rules/v-on-event-hyphenation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ module.exports = {
6464
/** @type {string[]} */
6565
const ignoredAttributes = (optionsPayload && optionsPayload.ignore) || []
6666
/** @type {RegExp[]} */
67-
const ignoreTags = (
67+
const ignoredTagsRegexps = (
6868
(optionsPayload && optionsPayload.ignoreTags) ||
6969
[]
7070
).map(toRegExp)
@@ -113,7 +113,7 @@ module.exports = {
113113

114114
/** @param {string} name */
115115
function isIgnoredTagName(name) {
116-
return ignoreTags.some((re) => re.test(name))
116+
return ignoredTagsRegexps.some((re) => re.test(name))
117117
}
118118

119119
return utils.defineTemplateBodyVisitor(context, {

0 commit comments

Comments
 (0)