We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ESLint version: HEAD @eslint/json version: HEAD Node version: npm version: Operating System:
The JSON plugin currently does not support configuration comments.
Implement configuration comments using the ConfigCommentParser utility. These would only apply in JSONC and JSON5, but we should support all of these:
ConfigCommentParser
/* eslint rule: off */ /* eslint-disable rule */ /* eslint-enable rule */ /* eslint-disable-line rule */ /* eslint-disable-next-line rule */
The logic should be similar to the JS logic
Looking for a volunteer to implement this.
The text was updated successfully, but these errors were encountered:
I'd like to work on this.
Sorry, something went wrong.
node.value
Working on this now.
/* eslint rule: off */
Just off or any rule configuration comments? E.g., /* eslint json/no-duplicate-keys: "error" */
off
/* eslint json/no-duplicate-keys: "error" */
Any rule configuration comments. I was just too lazy to provide more examples. 😄
mdjermanovic
Successfully merging a pull request may close this issue.
Environment
ESLint version: HEAD
@eslint/json version: HEAD
Node version:
npm version:
Operating System:
What problem do you want to solve?
The JSON plugin currently does not support configuration comments.
What do you think is the correct solution?
Implement configuration comments using the
ConfigCommentParser
utility. These would only apply in JSONC and JSON5, but we should support all of these:The logic should be similar to the JS logic
Participation
Additional comments
Looking for a volunteer to implement this.
The text was updated successfully, but these errors were encountered: