UNPKG

@oxlint/migrate

Version:

Generates a `.oxlintrc.json` from a existing eslint flat config

9 lines (8 loc) 655 B
import { Options, OxlintConfig, OxlintConfigOrOverride } from './types.js'; import { Linter } from 'eslint'; export declare const ES_VERSIONS: number[]; export declare const removeGlobalsWithAreCoveredByEnv: (config: OxlintConfigOrOverride) => void; export declare const transformBoolGlobalToString: (config: OxlintConfigOrOverride) => void; export declare const detectEnvironmentByGlobals: (config: OxlintConfigOrOverride) => void; export declare const transformEnvAndGlobals: (eslintConfig: Linter.Config, targetConfig: OxlintConfigOrOverride, options?: Options) => void; export declare const cleanUpUselessOverridesEnv: (config: OxlintConfig) => void;