Thanks to visit codestin.com Credit goes to github.com
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 42e0ca5 commit c94f13fCopy full SHA for c94f13f
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