File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @shopify/stylelint-polaris ' : patch
3+ ---
4+
5+ Use RegExp pattern to exclude reporting invalid scope disables and address memory issues
Original file line number Diff line number Diff line change @@ -477,12 +477,7 @@ module.exports = {
477477 // Report invalid scope disables for all rules except coverage rules
478478 // Note: This doesn't affect the default Stylelint behavior/reporting
479479 // and is only need because we dynamically create these rule names
480- except : Object . entries ( stylelintPolarisCoverageOptions ) . flatMap (
481- ( [ categoryName , categoryConfigRules ] ) =>
482- Object . keys ( categoryConfigRules ) . map (
483- ( categoryRuleName ) => `polaris/${ categoryName } /${ categoryRuleName } ` ,
484- ) ,
485- ) ,
480+ except : / ^ p o l a r i s \/ .+ ?\/ .+ $ / ,
486481 } ,
487482 ] ,
488483 plugins : [
You can’t perform that action at this time.
0 commit comments