Fitbit/webpack-cluster

View on GitHub
test/fixtures/config-with-errors.js

Summary

Maintainability
A
2 hrs
Test Coverage
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']
}
}
}]
}
};