-
-
Notifications
You must be signed in to change notification settings - Fork 9
test: add tests for JSON5 parsing in JSONLanguage
#114
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
test: add tests for JSON5 parsing in JSONLanguage
#114
Conversation
@@ -1,5 +1,5 @@ | |||
/** | |||
* @filedescription Functions to fix up rules to provide missing methods on the `context` object. | |||
* @fileoverview The JSONLanguage class. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @fileoverview The JSONLanguage class. | |
* @fileoverview The JSONLanguage class. |
I think the previous description was somewhat incorrect. FYI, CSS Language uses a similar description as well.
https://github.com/eslint/css/blob/main/src/languages/css-language.js#L2
@mdjermanovic Thanks for your suggestion. I've added a new commit 272ebb4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Prerequisites checklist
What is the purpose of this pull request?
Hello,
In this PR, I've added tests for JSON5 parsing in
JSONLanguage
.I noticed that test cases for JSON5 parsing were missing, so I added them.
Additionally, I fixed some typos and removed unnecessary empty spaces for style formatting.
What changes did you make? (Give an overview)
Related Issues
Is there anything you'd like reviewers to focus on?