1- export default ESLintWebpackPlugin ;
2- export type Compiler = import ( 'webpack' ) . Compiler ;
3- export type Options = {
4- context ?: string | undefined ;
5- emitError ?: boolean | undefined ;
6- emitWarning ?: boolean | undefined ;
7- eslintPath ?: string | undefined ;
8- exclude ?: string | string [ ] | undefined ;
9- extensions ?: string | string [ ] | undefined ;
10- failOnError ?: boolean | undefined ;
11- failOnWarning ?: boolean | undefined ;
12- files ?: string | string [ ] | undefined ;
13- fix ?: boolean | undefined ;
14- formatter ?: string | import ( './options' ) . FormatterFunction | undefined ;
15- lintDirtyModulesOnly ?: boolean | undefined ;
16- quiet ?: boolean | undefined ;
17- outputReport ?: import ( './options' ) . OutputReport | undefined ;
18- } ;
19- declare class ESLintWebpackPlugin {
1+ export class ESLintWebpackPlugin {
202 /**
213 * @param {Options } options
224 */
@@ -38,3 +20,21 @@ declare class ESLintWebpackPlugin {
3820 */
3921 getContext ( compiler : Compiler ) : string ;
4022}
23+ export default ESLintWebpackPlugin ;
24+ export type Compiler = import ( 'webpack' ) . Compiler ;
25+ export type Options = {
26+ context ?: string | undefined ;
27+ emitError ?: boolean | undefined ;
28+ emitWarning ?: boolean | undefined ;
29+ eslintPath ?: string | undefined ;
30+ exclude ?: string | string [ ] | undefined ;
31+ extensions ?: string | string [ ] | undefined ;
32+ failOnError ?: boolean | undefined ;
33+ failOnWarning ?: boolean | undefined ;
34+ files ?: string | string [ ] | undefined ;
35+ fix ?: boolean | undefined ;
36+ formatter ?: string | import ( './options' ) . FormatterFunction | undefined ;
37+ lintDirtyModulesOnly ?: boolean | undefined ;
38+ quiet ?: boolean | undefined ;
39+ outputReport ?: import ( './options' ) . OutputReport | undefined ;
40+ } ;
0 commit comments