Open zzzgit opened 10 months ago
Eventhough, I added "eslint.probe"=[..., "css"]
.
Are eslint errors detected in css
files when you run eslint in the terminal. If that works can you please provide me with a GitHub repository with minimal setup I can clone that demos that it doesn't work in VS Code.
I didn't enable it as a formator in settings.json
{
"eslint.format.enable": true,
"eslint.probe": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"html",
"vue",
"markdown",
"css"
],
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"[css]": {
// "editor.defaultFormatter": "vscode.css-language-features",
"editor.defaultFormatter": "aeschli.vscode-css-formatter",
},
}
Even though I've set it like this, the tool won't lint .css
files at all.
@zzzgit can you please provide me with a minimal GitHub repository I can clone that demos that. Very hard to say what is causing this without being able to reproduce.
@zzzgit Finally fixed by set eslint.validate
"eslint.validate": [
"css",
"scss"
],