File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ export default defineConfig([
50
50
] ,
51
51
// We use [] as default props.
52
52
'react-x/no-unstable-default-props' : 'off' ,
53
+ curly : [ 'error' , 'all' ] ,
53
54
} ,
54
55
} ,
55
56
{
Original file line number Diff line number Diff line change @@ -90,7 +90,9 @@ export default () => {
90
90
*/
91
91
buildEnd ( ) {
92
92
// If no CSS chunks were processed, skip emitting
93
- if ( cssChunks . size === 0 ) return ;
93
+ if ( cssChunks . size === 0 ) {
94
+ return ;
95
+ }
94
96
95
97
// Concatenate all collected CSS strings and emit as a build asset
96
98
this . emitFile ( {
Original file line number Diff line number Diff line change @@ -86,7 +86,9 @@ export default class WorkerPool {
86
86
processQueue ( threads ) {
87
87
if ( this . queue . length > 0 && this . getActiveThreadCount ( ) < threads ) {
88
88
const next = this . queue . shift ( ) ;
89
- if ( next ) next ( ) ;
89
+ if ( next ) {
90
+ next ( ) ;
91
+ }
90
92
}
91
93
}
92
94
}
You can’t perform that action at this time.
0 commit comments