mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user