Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
rule.selectors.forEach((selector, i) => {
if (includes(normalizedSelectorList.slice(0, i), normalizeSelector(selector))) {
report({
result,
ruleName,
node: rule,
message: messages.rejected(selector),
})
}
})
})