Remove eslint loader

After using the webpack set up a bit more, having linting block compiles in
dev is more annoying than helpful. Linting pre commit is more valuable
This commit is contained in:
Alasdair Smith
2018-03-06 11:18:40 +00:00
parent f94105b1e9
commit 2453e55ebb
4 changed files with 1 additions and 73 deletions
-7
View File
@@ -31,13 +31,6 @@ module.exports = {
// Define how file types are handled by webpack
module: {
rules: [{
// Ensure eslint is run before compilation with babel
enforce: 'pre',
test: /\.js$/,
// Only compile application files (dependencies are in ES5 already)
exclude: /node_modules/,
loader: 'eslint-loader'
}, {
// Pass application JS files through babel-loader, compiling to ES5
test: /\.js$/,
// Only compile application files (dependencies are in ES5 already)