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(eslint-plugin): [no-inferrable-types] apply also for parameter properties #7288

Merged
merged 4 commits into from Jul 28, 2023

Conversation

auvred
Copy link
Member

@auvred auvred commented Jul 21, 2023

PR Checklist

Overview

TSParameterProperty just may contain AssignmentPattern in parameter

@typescript-eslint
Copy link
Contributor

Thanks for the PR, @auvred!

typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community.

The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately.

Thanks again!


🙏 Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently on https://opencollective.com/typescript-eslint.

@netlify
Copy link

netlify bot commented Jul 21, 2023

Deploy Preview for typescript-eslint ready!

Name Link
🔨 Latest commit 6bb4d5b
🔍 Latest deploy log https://app.netlify.com/sites/typescript-eslint/deploys/64c13d361ed5920008143ed8
😎 Deploy Preview https://deploy-preview-7288--typescript-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@nx-cloud
Copy link

nx-cloud bot commented Jul 21, 2023

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 6bb4d5b. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 35 targets

Sent with 💌 from NxCloud.

@codecov
Copy link

codecov bot commented Jul 21, 2023

Codecov Report

Merging #7288 (6bb4d5b) into main (c79fec7) will increase coverage by 0.00%.
Report is 14 commits behind head on main.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7288   +/-   ##
=======================================
  Coverage   87.40%   87.40%           
=======================================
  Files         381      381           
  Lines       13313    13316    +3     
  Branches     3934     3936    +2     
=======================================
+ Hits        11636    11639    +3     
  Misses       1292     1292           
  Partials      385      385           
Flag Coverage Δ
unittest 87.40% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
...ges/eslint-plugin/src/rules/no-inferrable-types.ts 95.23% <100.00%> (+0.23%) ⬆️

... and 1 file with indirect coverage changes

Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

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

A very good start, thanks! 🚀

@JoshuaKGoldberg JoshuaKGoldberg added the awaiting response Issues waiting for a reply from the OP or another party label Jul 26, 2023
Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

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

💯

@bradzacher bradzacher added bug Something isn't working and removed awaiting response Issues waiting for a reply from the OP or another party labels Jul 28, 2023
@bradzacher bradzacher merged commit 67f93b1 into typescript-eslint:main Jul 28, 2023
47 of 49 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: [no-inferrable-types] False negative for parameter properties
3 participants