import { PluginContext, ResolvedConfig, UserConfig } from "powerlines"; //#region src/types/plugin.d.ts interface OxlintPluginOptions { /** * A glob pattern or path to ignore files and directories. */ ignorePatterns?: string | string[]; /** * The path to the Oxlint configuration file. * * @defaultValue ".oxlintrc.json" */ configFile?: string; /** * An array of rules to deny */ deny?: string[]; /** * An array of rules to allow */ allow?: string[]; /** * An array of rules to warn about */ warn?: string[]; /** * Additional parameters to pass to the Oxlint CLI */ params?: string; /** * The path to the Oxlint binary */ oxlintPath?: string; /** * Whether to enable [type-aware linting](https://oxc.rs/docs/guide/usage/linter/type-aware.html) * * @defaultValue true */ typeAware?: boolean; /** * Whether to automatically fix fixable issues. * * - `true` - Automatically fix fixable issues. * - `false` - Do not fix any issues. * - `"suggestions"` - Only apply fixes that are considered suggestions. * - `"dangerously"` - Apply all fixes, including those that may change code behavior. * * @defaultValue true */ fix?: boolean | "suggestions" | "dangerously"; /** * The output format for linting results. * * @defaultValue "stylish" */ format?: "stylish" | "checkstyle" | "github" | "gitlab" | "json" | "junit" | "unix"; } interface OxlintPluginUserConfig extends UserConfig { /** * Options for the Oxlint plugin. */ oxlint?: OxlintPluginOptions; } interface OxlintPluginResolvedConfig extends ResolvedConfig { /** * Options for the Oxlint plugin. */ oxlint: Omit & Required>; } type OxlintPluginContext = PluginContext; //#endregion export { OxlintPluginUserConfig as i, OxlintPluginOptions as n, OxlintPluginResolvedConfig as r, OxlintPluginContext as t }; //# sourceMappingURL=plugin-iulHDbbP.d.mts.map