@refinist/eslint-config
Version:
ESLint config for @refinist.
10 lines (9 loc) • 328 B
TypeScript
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 };