File tree 1 file changed +3
-13
lines changed
1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -45,14 +45,7 @@ interface PluginProps {
45
45
* @default no formatter
46
46
* @example "biome"
47
47
*/
48
- formatter ?: Formatter ;
49
- /**
50
- * The path to the formatter config file
51
- * @default no path
52
- * @example "./biome.json"
53
- * @deprecated no need to provide a config path anymore
54
- */
55
- pathToFormatterConfig ?: string ;
48
+ formatter ?: Formatter ;
56
49
/**
57
50
* The cwd, defaults to process.cwd()
58
51
* @default process.cwd()
@@ -285,8 +278,7 @@ export const iconsSpritesheet: (args: PluginProps | PluginProps[]) => any = (may
285
278
fileName,
286
279
cwd,
287
280
iconNameTransformer,
288
- formatter,
289
- pathToFormatterConfig,
281
+ formatter,
290
282
} = config ;
291
283
const iconGenerator = async ( ) =>
292
284
generateIcons ( {
@@ -298,9 +290,7 @@ export const iconsSpritesheet: (args: PluginProps | PluginProps[]) => any = (may
298
290
iconNameTransformer,
299
291
formatter,
300
292
} ) ;
301
- if ( pathToFormatterConfig ) {
302
- console . warn ( '"pathToFormatterConfig" is deprecated, please remove it from your config' ) ;
303
- }
293
+
304
294
const workDir = cwd ?? process . cwd ( ) ;
305
295
return {
306
296
name : `icon-spritesheet-generator${ i > 0 ? i . toString ( ) : "" } ` ,
You can’t perform that action at this time.
0 commit comments