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

fix(lint/useNumericLiterals): handle signed numbers #398

Merged
merged 1 commit into from
Sep 25, 2023

Conversation

Conaclos
Copy link
Member

Summary

Fix #397.

I also take the opportunity to

  • improve docs
  • improve diagnostics
  • ignore leading and trailing white-spaces

Test Plan

New tests included.

@Conaclos Conaclos temporarily deployed to Website deployment September 23, 2023 14:45 — with GitHub Actions Inactive
@github-actions github-actions bot added A-Linter Area: linter A-Website Area: website L-JavaScript Language: JavaScript and super languages A-Changelog Area: changelog labels Sep 23, 2023
@Conaclos Conaclos force-pushed the conaclos/lint/useNumericLiterals/397 branch 2 times, most recently from 07ae57f to fec8746 Compare September 23, 2023 14:45
@Conaclos Conaclos temporarily deployed to Website deployment September 23, 2023 14:45 — with GitHub Actions Inactive
@Conaclos Conaclos force-pushed the conaclos/lint/useNumericLiterals/397 branch from fec8746 to 2f1ccc2 Compare September 23, 2023 14:46
@Conaclos Conaclos temporarily deployed to Website deployment September 23, 2023 14:47 — with GitHub Actions Inactive
@Conaclos Conaclos requested a review from a team September 23, 2023 14:49
@Conaclos Conaclos force-pushed the conaclos/lint/useNumericLiterals/397 branch from 2f1ccc2 to 582209b Compare September 25, 2023 14:42
@Conaclos Conaclos temporarily deployed to Website deployment September 25, 2023 14:42 — with GitHub Actions Inactive
@Conaclos Conaclos merged commit 7f9e391 into main Sep 25, 2023
@Conaclos Conaclos deleted the conaclos/lint/useNumericLiterals/397 branch September 25, 2023 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Changelog Area: changelog A-Linter Area: linter A-Website Area: website L-JavaScript Language: JavaScript and super languages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛 lint/useNumericLiterals code fix doesn't handle signed numbers
2 participants