royriojas / eslint-friendly-formatter

A simple formatter/reporter for ESLint that's friendly with Sublime Text and iterm2 "click to open file" functionality
MIT License
198 stars 28 forks source link

Usage with webpack #27

Closed jensfranke closed 7 years ago

jensfranke commented 7 years ago

Is there an option to use eslint-friendly-formatter together with eslint-loader in webpack?

jensfranke commented 7 years ago

Found it:

test: /\.js$/,
enforce: 'pre',
loader: 'eslint-loader',
exclude: /node_modules/,
options: {
  emitWarning: true,
  formatter: require('eslint-friendly-formatter'),
}