-
-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Constants can be declared with uppercase or lowercase, but a common convention is to use all-uppercase letters, especially for primitives because they are truly immutable.
Based on this, I would like to know if it is possible to generate the name of constants in svg-to-ts-constants in uppercase.
I can define the prefix of the constant with option: prefix, but I couldn't change the "name", is there any way? Could it be an improvment?
export const prefix_Dinossaur: {
name: 'dinossaur';
data: string;
} = {
name: 'dinossaur',
data: `<svg width="80" ...</svg>`
};
thank you! :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request