UNPKG

eslint-plugin-perfectionist

Version:

ESLint plugin for sorting various data such as objects, imports, types, enums, JSX props, etc.

13 lines (12 loc) 430 B
/** * Checks if a group name represents a side-effect-only import group. * * Side-effect-only groups are 'side-effect' and 'side-effect-style', which * contain imports executed only for their side effects without bindings. * * @param groupName - The group name to check. * @returns True if the group is a side-effect-only group. */ export declare function isStringGroupSideEffectOnlyGroup( groupName: string, ): boolean