DEV Community

Discussion on: ESLint not working in VS CODE?

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt • Edited

I got this warning, Auto Fix is enabled by default. Use the single string form.

So, I changed it to,

"eslint.validate": [
        "vue",
        "html",
        "javascript",
        "typescript",
        "javascriptreact",
        "typescriptreact"
    ]
Enter fullscreen mode Exit fullscreen mode

However, according to github.com/Microsoft/vscode-eslint..., mixed form or autofix: false should work as well.

Also, my .eslintignore, for extra fun!

!**/.eslintrc*
node_modules*
dist
*.svg
*.ico
*.json
.gitignore
*.md
*.log
*.lock
Enter fullscreen mode Exit fullscreen mode
Collapse
 
dutradotdev profile image
lucas

this helped me too, tks!