UNPKG

@fenge/eslint-config

Version:

A super strict eslint config for linting js/ts/package.json.

16 lines 711 B
import type { Linter } from "eslint"; export interface BaseOptions { linterOptions?: Linter.LinterOptions; /** * The key represents the file pattern to block. * If the value is `false`, files matching the key pattern are allowed. * If the value is a `string`, files matching the key pattern are blocked, and the string indicates the preferred filename pattern. */ blockedFiles?: Record<string, string | false>; /** * The file patterns to ignore. Files matching the pattern are not linted. */ ignores?: string[]; } export declare function base(options: BaseOptions, enabled: Set<"js" | "ts" | "pkg" | "html">): Linter.Config[]; //# sourceMappingURL=base.d.ts.map