mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +00:00
28 lines
655 B
TypeScript
28 lines
655 B
TypeScript
|
export default ESLintWebpackPlugin;
|
||
|
export type Compiler = import('webpack').Compiler;
|
||
|
export type Options = import('./options').PluginOptions &
|
||
|
import('eslint').ESLint.Options;
|
||
|
declare class ESLintWebpackPlugin {
|
||
|
/**
|
||
|
* @param {Options} options
|
||
|
*/
|
||
|
constructor(options?: Options);
|
||
|
key: string;
|
||
|
options: import('./options').PluginOptions;
|
||
|
/**
|
||
|
* @param {Compiler} compiler
|
||
|
*/
|
||
|
run(compiler: Compiler): Promise<void>;
|
||
|
/**
|
||
|
* @param {Compiler} compiler
|
||
|
* @returns {void}
|
||
|
*/
|
||
|
apply(compiler: Compiler): void;
|
||
|
/**
|
||
|
*
|
||
|
* @param {Compiler} compiler
|
||
|
* @returns {string}
|
||
|
*/
|
||
|
getContext(compiler: Compiler): string;
|
||
|
}
|