File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,6 +29,13 @@ export default [
2929 {
3030 rules : {
3131 "@typescript-eslint/no-inferrable-types" : "off" ,
32+ "@typescript-eslint/no-unused-vars" : [
33+ "error" ,
34+ {
35+ argsIgnorePattern : "^_" ,
36+ varsIgnorePattern : "^_" ,
37+ } ,
38+ ] ,
3239 } ,
3340 } ,
3441] ;
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ export function getElementClassSelectors(
8383 // Apply generated class name filtering if enabled
8484 if ( options ?. ignoreGeneratedClassNames ) {
8585 // Check whitelist to preserve whitelisted generated classes
86- const matchWhitelist = createPatternMatcher ( options . whitelist || [ ] ) ;
86+ const matchWhitelist = createPatternMatcher ( options . whitelist ) ;
8787
8888 filteredClassNames = classNames . filter ( ( className ) => {
8989 const selector = `.${ sanitizeSelectorItem ( className ) } ` ;
You can’t perform that action at this time.
0 commit comments