Closed saneef closed 3 years ago
Install LSP-json and it’ll guide you to the misconfiguration in your LSP-css.sublime-settings
I installed LSP-json, and it's not showing any errors or warning. :(
If you noticed any, could you point me the mistake?
In short, it should be
{
"settings": {
"css.lint.validProperties": [
"accent-color"
],
"scss.lint.validProperties": [
"accent-color"
]
}
}
I installed LSP-json, and it's not showing any errors or warning. :(
LSP-json doesn't provide errors for this. Weird...
Ah! 🙈
Thanks @jfcherng and @rwols!
I installed LSP-json, and it's not showing any errors or warning. :(
LSP-json doesn't provide errors for this. Weird...
I think it's a limitation of the JSON schema where when using allOf
we can't also use additionalProperties: false
I'm not able to override "Unknown property" warning using settings.
This is what I set in
LSP-css.sublime-settings
: