Skip to content
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

no-irregular-whitespace gets reported in strings #197

Closed
privatenumber opened this issue Oct 21, 2022 · 1 comment · Fixed by #199
Closed

no-irregular-whitespace gets reported in strings #197

privatenumber opened this issue Oct 21, 2022 · 1 comment · Fixed by #199
Labels
enhancement New feature or request

Comments

@privatenumber
Copy link

no-irregular-whitespace gets reported even when the irregular whitespace is in a string.

The default option should ignore strings:

"skipStrings": true (default) allows any whitespace characters in string literals

Reproduction

https://ota-meshi.github.io/eslint-plugin-jsonc/playground/#eJyrVkrOT0lVslKqjslTAIIYpbT8/BglKyDj0IIYpZi8WqVaAMnkC1o=

@ota-meshi
Copy link
Owner

Thank you for reporting the issue!
I think we need to add a new extension rule for JSONC in this plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants