File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -388,6 +388,11 @@ module.exports = {
388
388
rules : {
389
389
'rulesdir/prefer-at' : 'error' ,
390
390
'rulesdir/boolean-conditional-rendering' : 'error' ,
391
+ } ,
392
+ } ,
393
+ {
394
+ files : [ 'src/**/*.ts' , 'src/**/*.tsx' ] ,
395
+ rules : {
391
396
'rulesdir/prefer-locale-compare-from-context' : 'error' ,
392
397
} ,
393
398
} ,
Original file line number Diff line number Diff line change @@ -507,7 +507,6 @@ class ComprehensiveStylesFinder {
507
507
private getUnusedStyles ( ) : StyleDefinition [ ] {
508
508
// Whatever remains in styleDefinitions are the unused styles
509
509
const unused = Array . from ( this . styleDefinitions . values ( ) ) ;
510
- // eslint-disable-next-line rulesdir/prefer-locale-compare-from-context
511
510
return unused . sort ( ( a , b ) => a . file . localeCompare ( b . file ) || a . line - b . line ) ;
512
511
}
513
512
}
You can’t perform that action at this time.
0 commit comments