You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Failed to parse JSON from 'config': Expected property name or '}' in JSON at position 1 (line 1 column 2)eslint
Link to Minimal Reproducible Example
none
Participation
I am willing to submit a pull request for this issue.
Additional comments
The issue is because the comment starts with "eslint" so it's considered as an eslint instruction, but it's not the case here. I've tracked the error to be from:
Environment
ESLint version: 9.16.0
@eslint/json version: 0.8.0
Node version: 22
Which language are you using?
jsonc
What did you do?
Configuration
jsonc file (it's a
settings.json
for vscode):What did you expect to happen?
No error
What actually happened?
Link to Minimal Reproducible Example
none
Participation
Additional comments
The issue is because the comment starts with "eslint" so it's considered as an eslint instruction, but it's not the case here. I've tracked the error to be from:
The text was updated successfully, but these errors were encountered: