You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
779 B
35 lines
779 B
3 years ago
|
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;
|
||
|
}
|