Skip to content

feat: support TS syntax in no-loss-of-precision #19560

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

Merged
merged 2 commits into from
Mar 25, 2025

Conversation

snitin315
Copy link
Contributor

@snitin315 snitin315 commented Mar 22, 2025

Prerequisites checklist

What is the purpose of this pull request? (put an "X" next to an item)

[ ] Documentation update
[ ] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofix to a rule
[ ] Add a CLI option
[ ] Add something to the core
[ ] Other, please explain:

What changes did you make? (Give an overview)

@typescript-eslint/no-loss-of-precision/ is already deprecated in favor of the core rule, just added test cases and updated the rule meta.

Is there anything you'd like reviewers to focus on?

@eslint-github-bot eslint-github-bot bot added the feature This change adds a new feature to ESLint label Mar 22, 2025
@github-project-automation github-project-automation bot moved this to Needs Triage in Triage Mar 22, 2025
@github-actions github-actions bot added the rule Relates to ESLint's core rules label Mar 22, 2025
@snitin315 snitin315 changed the base branch from ts/max-parens to main March 22, 2025 18:25
@snitin315 snitin315 marked this pull request as ready for review March 22, 2025 18:26
@snitin315 snitin315 requested a review from a team as a code owner March 22, 2025 18:26
@snitin315 snitin315 closed this Mar 22, 2025
@github-project-automation github-project-automation bot moved this from Needs Triage to Complete in Triage Mar 22, 2025
@snitin315 snitin315 reopened this Mar 22, 2025
@github-project-automation github-project-automation bot moved this from Complete to Evaluating in Triage Mar 22, 2025
Copy link

netlify bot commented Mar 23, 2025

Deploy Preview for docs-eslint canceled.

Name Link
🔨 Latest commit 788dfae
🔍 Latest deploy log https://app.netlify.com/sites/docs-eslint/deploys/67df90bed0b078000868a6db

Copy link
Member

@mdjermanovic mdjermanovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@mdjermanovic mdjermanovic merged commit 2a81578 into main Mar 25, 2025
30 checks passed
@mdjermanovic mdjermanovic deleted the ts/no-loss-of-precision branch March 25, 2025 15:36
@github-project-automation github-project-automation bot moved this from Evaluating to Complete in Triage Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This change adds a new feature to ESLint rule Relates to ESLint's core rules
Projects
Status: Complete
Development

Successfully merging this pull request may close these issues.

2 participants