import type { RuleConfig } from '../rule-config'; /** * Config. */ export interface CommaStyleConfig { exceptions?: { [k: string]: boolean; }; } /** * Option. */ export type CommaStyleOption = 'first' | 'last'; /** * Options. */ export type CommaStyleOptions = [CommaStyleOption?, CommaStyleConfig?]; /** * Enforce consistent comma style in `