mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
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.
This commit is contained in:
parent
faf25f5e45
commit
1fc76e0c4e
@ -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(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user