We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3558a25 commit cba96eeCopy full SHA for cba96ee
lib/rules/syntaxes/slot-attribute.js
@@ -18,7 +18,7 @@ module.exports = {
18
const options = context.options[0] || {}
19
const { ignore = [], ignoreParents = [] } = options
20
const isAnyIgnored = regexp.toRegExpGroupMatcher(ignore)
21
- const isAnyParentIgnored = regexp.toRegExpGroupMatcher(ignoreParents)
+ const isParentIgnored = regexp.toRegExpGroupMatcher(ignoreParents)
22
23
const sourceCode = context.getSourceCode()
24
const tokenStore =
@@ -140,7 +140,7 @@ module.exports = {
140
141
const parent = component.parent
142
const parentName = isVElement(parent) ? parent.rawName : null
143
- if (parentName && isAnyParentIgnored(parentName)) {
+ if (parentName && isParentIgnored(parentName)) {
144
return
145
}
146
0 commit comments