12345678910111213141516171819202122232425262728293031323334 |
- export default ESLintWebpackPlugin;
- export type Compiler = import('webpack').Compiler;
- export type Options = import('./options').Options;
- declare class ESLintWebpackPlugin {
- /**
- * @param {Options} options
- */
- constructor(options?: Options);
- key: string;
- options: import('./options').PluginOptions;
- /**
- * @param {Compiler} compiler
- * @param {Options} options
- * @param {string[]} wanted
- * @param {string[]} exclude
- */
- run(
- compiler: Compiler,
- options: Options,
- wanted: string[],
- exclude: string[]
- ): Promise<void>;
- /**
- * @param {Compiler} compiler
- * @returns {void}
- */
- apply(compiler: Compiler): void;
- /**
- *
- * @param {Compiler} compiler
- * @returns {string}
- */
- getContext(compiler: Compiler): string;
- }
|