Skip to content

Commit c94f13f

Browse files
ST-DDTwaynzh
authored andcommitted
chore: rename var
1 parent 42e0ca5 commit c94f13f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/rules/syntaxes/slot-attribute.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = {
1818
const options = context.options[0] || {}
1919
const { ignore = [], ignoreParents = [] } = options
2020
const isAnyIgnored = regexp.toRegExpGroupMatcher(ignore)
21-
const isAnyParentIgnored = regexp.toRegExpGroupMatcher(ignoreParents)
21+
const isParentIgnored = regexp.toRegExpGroupMatcher(ignoreParents)
2222

2323
const sourceCode = context.getSourceCode()
2424
const tokenStore =
@@ -140,7 +140,7 @@ module.exports = {
140140

141141
const parent = component.parent
142142
const parentName = isVElement(parent) ? parent.rawName : null
143-
if (parentName && isAnyParentIgnored(parentName)) {
143+
if (parentName && isParentIgnored(parentName)) {
144144
return
145145
}
146146

0 commit comments

Comments
 (0)