Skip to content

Instantly share code, notes, and snippets.

View cds's full-sized avatar
♾️
@csangale my another account

CDS cds

♾️
@csangale my another account
  • MH, India
View GitHub Profile
@imShara
imShara / eslint-nuxt-fix-on-save.md
Created August 24, 2019 10:36
ESlint automatically fix on file save with Nuxt

Old Way

Suggested by lcaprini

// nuxt.config.js
build: {
  extend(config, ctx) {
    if (ctx.dev && ctx.isClient) {
      config.module.rules.push({
 enforce : 'pre',