docs: ✏️ 修改CommonJS方式的用法问题 #3
Annotations
10 errors and 10 warnings
|
lint:
src/index.ts#L14
Unnecessary escape character: \"
|
|
lint:
src/index.ts#L14
Useless identity escapes with non-syntax characters are forbidden
|
|
lint:
src/index.ts#L14
Unnecessary escape character: \'
|
|
lint:
src/index.ts#L14
Unnecessary escape character: \'
|
|
lint:
src/index.ts#L14
Useless identity escapes with non-syntax characters are forbidden
|
|
lint:
src/index.ts#L14
Unnecessary escape character: \"
|
|
lint:
src/index.ts#L14
Unnecessary escape character: \"
|
|
lint:
src/index.ts#L14
Useless identity escapes with non-syntax characters are forbidden
|
|
lint:
src/index.ts#L14
Unnecessary escape character: \'
|
|
lint:
src/index.ts#L14
Unnecessary escape character: \'
|
|
lint:
src/index.ts#L27
Insert `··`
|
|
lint:
src/index.ts#L26
Insert `··`
|
|
lint:
src/index.ts#L25
Replace `this.pluginName,` with `⏎······this.pluginName,⏎·····`
|
|
lint:
src/index.ts#L20
Replace `"Webpack5RemoveUseStrictPlugin";` with `'Webpack5RemoveUseStrictPlugin'`
|
|
lint:
src/index.ts#L17
Delete `;`
|
|
lint:
src/index.ts#L14
Delete `;`
|
|
lint:
src/index.ts#L14
The 'm' flag is unnecessary because the pattern does not contain start (^) or end ($) assertions
|
|
lint:
src/index.ts#L11
Expected "sources" to come before "WebpackPluginInstance"
|
|
lint:
src/index.ts#L11
Expected "Compilation" to come before "Compiler"
|
|
lint:
src/index.ts#L11
Replace `·Compiler,·Compilation,·WebpackPluginInstance,·sources·}·from·'webpack';` with `⏎··Compiler,⏎··Compilation,⏎··WebpackPluginInstance,⏎··sources,⏎}·from·'webpack'`
|