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

Add new rules #61

Merged
merged 5 commits into from
Feb 27, 2021
Merged

Add new rules #61

merged 5 commits into from
Feb 27, 2021

Conversation

ota-meshi
Copy link
Owner

@ota-meshi ota-meshi commented Feb 26, 2021

  • Add jsonc/no-octal rule that disallow legacy octal literals.
  • Add jsonc/no-binary-numeric-literals rule that disallow binary numeric literals.
  • Add jsonc/no-octal-numeric-literals rule that disallow octal numeric literals.
  • Add jsonc/no-hexadecimal-numeric-literals rule that disallow hexadecimal numeric literals.
  • Add jsonc/no-unicode-codepoint-escapes rule that disallow Unicode code point escape sequences.
  • Add jsonc/no-escape-sequence-in-identifier rule that disallow escape sequences in identifiers.
  • Add jsonc/no-nan rule that disallow NaN.
  • Add jsonc/no-infinity rule that disallow Infinity.
  • Add jsonc/no-plus-sign rule that disallow plus sign.

- Add `jsonc/no-octal` rule that disallow legacy octal literals.
- Add `jsonc/no-binary-numeric-literals` rule that disallow binary numeric literals.
- Add `jsonc/no-octal-numeric-literals` rule that disallow octal numeric literals.
- Add `jsonc/no-hexadecimal-numeric-literals` rule that disallow hexadecimal numeric literals.
- Add `jsonc/no-unicode-codepoint-escapes` rule that disallow Unicode code point escape sequences.
- Add `jsonc/no-escape-sequence-in-identifier` rule that disallow escape sequences in identifiers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants