From 1fc76e0c4eb7de2fc31eef6fe1bec083e2f96a40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=A4fer?= Date: Fri, 12 Apr 2019 22:45:23 +0200 Subject: [PATCH] Get rid of annoying lint error screen @appinteractive we have `yarn run lint` on our build server. I would say this is enough to enforce linting. I get slowed down a little during development. Instead of runing `yarn run lint --fix` every time I save, I would like to `yarn run lint --fix` all in one before I commit. --- webapp/nuxt.config.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/webapp/nuxt.config.js b/webapp/nuxt.config.js index 6cac26ea1..9d0ae0fc3 100644 --- a/webapp/nuxt.config.js +++ b/webapp/nuxt.config.js @@ -196,15 +196,6 @@ module.exports = { ** You can extend webpack config here */ extend(config, ctx) { - // Run ESLint on save - if (ctx.isDev && ctx.isClient) { - config.module.rules.push({ - enforce: 'pre', - test: /\.(js|vue)$/, - loader: 'eslint-loader', - exclude: /(node_modules)/ - }) - } if (process.env.STYLEGUIDE_DEV) { const path = require('path') config.resolve.alias['@@'] = path.resolve(