feat: compatible with eslint-webpack-plugin
- compatible with
eslint-webpack-plugin. it seems the plugin groupseslint-loader's errors asModule Errorbefore. So now groupingeslint-webpack-plugin's error astransformers/esLintError.jsat least.
eslint-loaderwill emit multi-errors according to the number of files with errors.eslint-webpack-pluginwill gather and throw only onecompilation.errors/warnings. It is caused by the difference between loader and plugin in some degree.
- change
1 errorsto1 error
when using eslint-loader:

When using eslint-webpack-plugin before this pr:

When using eslint-webpack-plugin after this pr: :

Is there any update on this PR? It would be nice to have support for eslint-webpack-plugin.
I've shipped this feature in my fork of this plugin: https://github.com/sodatea/friendly-errors-webpack-plugin/releases/tag/v1.8.0
I've shipped this feature in my fork of this plugin: https://github.com/sodatea/friendly-errors-webpack-plugin/releases/tag/v1.8.0
That's great! There are also a few features and necessary bugfixes in the next/2.0.0-beta.2 version that have been sitting in a beta release for a little over a year you might not want to miss.

I noticed there seem to be [some]* cases where certain rules emit an error that isn't parsed properly. Not exclusive to this branch- but another incompatibility between friendly-errors and the new eslint plugin.
*I think there are several but at least no-unused-vars
I have no idea, could you provide reproduction repo? @binury