UNPKG

eslint-plugin-perfectionist

Version:

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

14 lines (13 loc) 393 B
import { GroupsOptions } from '../types/common-groups-options.js' /** * Computes the name of a group based on the provided group object. * * @param group - The group object. * @returns A string if: * * - The group is a string. * - The group is a commentAbove option with a string group. */ export declare function computeGroupName( group: GroupsOptions[number], ): string | null