123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- export function getOptions(pluginOptions: Options): PluginOptions;
- export function getESLintOptions(loaderOptions: Options): ESLintOptions;
- export type ESLintOptions = import('eslint').ESLint.Options;
- export type LintResult = import('eslint').ESLint.LintResult;
- export type LintResultData = import('eslint').ESLint.LintResultData;
- export type FormatterFunction = (
- results: LintResult[],
- data?: LintResultData | undefined
- ) => string;
- export type OutputReport = {
- filePath?: string | undefined;
- formatter?: (string | FormatterFunction) | undefined;
- };
- export type PluginOptions = {
- context?: string | undefined;
- emitError?: boolean | undefined;
- emitWarning?: boolean | undefined;
- eslintPath?: string | undefined;
- exclude?: (string | string[]) | undefined;
- extensions?: (string | string[]) | undefined;
- failOnError?: boolean | undefined;
- failOnWarning?: boolean | undefined;
- files?: (string | string[]) | undefined;
- fix?: boolean | undefined;
- formatter?: (string | FormatterFunction) | undefined;
- lintDirtyModulesOnly?: boolean | undefined;
- quiet?: boolean | undefined;
- outputReport?: OutputReport | undefined;
- threads?: (number | boolean) | undefined;
- };
- export type Options = PluginOptions & import('eslint').ESLint.Options;
|