1 | export = StylelintWebpackPlugin;
|
2 | declare class StylelintWebpackPlugin {
|
3 | |
4 |
|
5 |
|
6 | constructor(options?: Options);
|
7 | key: string;
|
8 | options: Partial<import('./options').PluginOptions>;
|
9 | /**
|
10 | * @param {Compiler} compiler
|
11 | * @param {Options} options
|
12 | * @param {string[]} wanted
|
13 | * @param {string[]} exclude
|
14 | */
|
15 | run(
|
16 | compiler: Compiler,
|
17 | options: Options,
|
18 | wanted: string[],
|
19 | exclude: string[],
|
20 | ): Promise<void>;
|
21 | startTime: number;
|
22 | prevTimestamps: Map<any, any>;
|
23 | |
24 |
|
25 |
|
26 |
|
27 | apply(compiler: Compiler): void;
|
28 | |
29 |
|
30 |
|
31 |
|
32 |
|
33 | getContext(compiler: Compiler): string;
|
34 | }
|
35 | declare namespace StylelintWebpackPlugin {
|
36 | export { Compiler, Module, Options, FileSystemInfoEntry };
|
37 | }
|
38 | type Compiler = import('webpack').Compiler;
|
39 | type Module = import('webpack').Module;
|
40 | type Options = import('./options').Options;
|
41 | type FileSystemInfoEntry = Partial<
|
42 | | {
|
43 | timestamp: number;
|
44 | }
|
45 | | number
|
46 | >;
|