UNPKG

eslint-plugin-perfectionist

Version:

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

14 lines (13 loc) 414 B
import { GroupsOptions } from '../types/common-groups-options.js' /** * Throws an error if a group is specified more than once. * * @param parameters - Parameters object. * @param parameters.groups - The groups to check for duplicates. * @throws Error Will throw an error if duplicated groups are found. */ export declare function validateNoDuplicatedGroups({ groups, }: { groups: GroupsOptions }): void