UNPKG

@refinist/eslint-config

Version:
10 lines (9 loc) 328 B
import { Linter } from "eslint"; //#region src/types.d.ts // Relax plugins type limitation, as most of the plugins did not have correct type info yet. type Config = Omit<Linter.Config<Linter.RulesRecord>, "plugins"> & { plugins?: Record<string, any>; }; type Arrayable<T> = T | T[]; //#endregion export { Arrayable, Config };