From 29bcf190102aa99fd0f32290eef088874e024ee6 Mon Sep 17 00:00:00 2001 From: Shawn Allen Date: Thu, 5 Sep 2019 16:36:34 -0700 Subject: [PATCH] fix: remove unnecessary !! Co-Authored-By: Cole Bemis --- plugins/no-override.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/no-override.js b/plugins/no-override.js index 35aa00b8..2496e78d 100644 --- a/plugins/no-override.js +++ b/plugins/no-override.js @@ -22,7 +22,7 @@ module.exports = stylelint.createPlugin(ruleName, (enabled, options = {}) => { continue } const stats = requirePrimerFile(`dist/stats/${bundle}.json`) - const selectors = stats.selectors.values.filter(selector => !!CLASS_PATTERN.test(selector)) + const selectors = stats.selectors.values.filter(selector => CLASS_PATTERN.test(selector)) for (const selector of selectors) { immutableSelectors.set(selector, bundle) for (const classSelector of getClassSelectors(selector)) {