-
Notifications
You must be signed in to change notification settings - Fork 342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Questions on probe vs validate #1736
Comments
The difference is as follows:
Since we don't have autodetection / probing for Hope that helps. |
@dbaeumer Thanks for your quick reply! So why should I use probe at all if validate can work regardless of probing support? |
Probing ensures that the right plugins are installed. With validate you force the validation of the file. So you could force the validation of a |
I'm learning eslint and settings in vscode. As I try to understand what files does vscode-eslint validate, I came across these two settings which made me confused.
From what I understand,
validate
is a legacy so we only need to setprobe
to enable a new language (in normal cases)But as I try to setup validation for json, with the
eslint-plugin-jsonc
, addingjson
toeslint.probe
simply doesn't work. I have to set ineslint.validate
as the plugin doc suggested. So is this a abnormal case?I don't know if I understand this correctly. Can someone shed some light on this?
The text was updated successfully, but these errors were encountered: