test/fixtures/config-with-errors.js
import { join} from 'path'; Similar blocks of code found in 2 locations. Consider refactoring.export default { entry: 'index.js', resolve: { modules: [ __dirname ] }, output: { path: join(__dirname, 'tmp', 'config-with-errors') }, module: { rules: [{ test: /\.js$/, loader: 'eslint-loader', options: { emitError: true, rules: { quotes: [2, 'double'] } } }] }};