ESLint not working in VS CODE?

pixari

Raffaele Pizzari

Posted on April 4, 2019

ESLint not working in VS CODE?

(check out my blog)

Hi Raffaele,

this a note from your old self.

I know that ESLint is not working in VS Code.
You have already installed all the plugins, probably reinstalled VSCode, checked your VSCode Settings and double-checked your .eslintrc several times and perhaps you are sitting in a corner thinking about quitting your job.

I know how you feel, you have already been there but you won't die on this hill.

Just open VSCode Settings (./vscode/settings.json) and add this:

"eslint.validate":[  
    {  
        "language":"vue",
        "autoFix":true
    },
    {  
        "language":"html",
        "autoFix":true
    },
    {  
        "language":"javascript",
        "autoFix":true
    },
    {  
        "language":"typescript",
        "autoFix":true
    }
]
Enter fullscreen mode Exit fullscreen mode

Restart VSCode and enjoy.

Sincerely yours,
You.

💖 💪 🙅 🚩
pixari
Raffaele Pizzari

Posted on April 4, 2019

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

ESLint not working in VS CODE?
eslint ESLint not working in VS CODE?

April 4, 2019