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

chore: enable prefer-object-spread #9541

Merged
merged 5 commits into from
Jul 20, 2024

Conversation

abrahamguo
Copy link
Contributor

@abrahamguo abrahamguo commented Jul 11, 2024

PR Checklist

Overview

Enable prefer-object-spread. All reports were auto-fixable. (docs)

@typescript-eslint
Copy link
Contributor

Thanks for the PR, @abrahamguo!

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.

Copy link

netlify bot commented Jul 11, 2024

Deploy Preview for typescript-eslint ready!

Name Link
🔨 Latest commit 88ecc41
🔍 Latest deploy log https://app.netlify.com/sites/typescript-eslint/deploys/669c13419f0c9b0008c8305d
😎 Deploy Preview https://deploy-preview-9541--typescript-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 97 (🟢 up 3 from production)
Accessibility: 100 (no change from production)
Best Practices: 92 (no change from production)
SEO: 90 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports

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

@@ -317,7 +320,7 @@ export default createRule<Options, MessageIds>({
});
},

TSIndexedAccessType(node: TSESTree.TSIndexedAccessType) {
TSIndexedAccessType(node: TSESTree.TSIndexedAccessType): void {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@typescript-eslint/explicit-function-return-type began reporting on these once we stopped using Object.assign.

Copy link

nx-cloud bot commented Jul 11, 2024

☁️ Nx Cloud Report

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

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

Copy link

codecov bot commented Jul 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.45%. Comparing base (9baf5ce) to head (88ecc41).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #9541   +/-   ##
=======================================
  Coverage   88.44%   88.45%           
=======================================
  Files         422      422           
  Lines       14692    14694    +2     
  Branches     4299     4299           
=======================================
+ Hits        12995    12997    +2     
  Misses       1372     1372           
  Partials      325      325           
Flag Coverage Δ
unittest 88.45% <100.00%> (+<0.01%) ⬆️

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

Files Coverage Δ
packages/eslint-plugin/src/rules/ban-types.ts 100.00% <100.00%> (ø)
packages/eslint-plugin/src/rules/indent.ts 87.80% <100.00%> (ø)
...ackages/eslint-plugin/src/rules/no-extra-parens.ts 97.26% <100.00%> (ø)
...kages/eslint-plugin/src/util/getFunctionHeadLoc.ts 96.66% <ø> (ø)

kirkwaiblinger
kirkwaiblinger previously approved these changes Jul 13, 2024
@JoshuaKGoldberg
Copy link
Member

👋 @abrahamguo you've sent us a lot of great PRs recently and we want to send you some money as thanks (https://typescript-eslint.io/maintenance/contributor-tiers#community-reimbursements). I can't for the life of me find a personal email for you. Could you please email me at the email on my profile? 😄

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.

heck yes

Josh-Cena
Josh-Cena previously approved these changes Jul 20, 2024
Copy link
Member

@Josh-Cena Josh-Cena left a comment

Choose a reason for hiding this comment

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

Awesome work

@Josh-Cena Josh-Cena dismissed stale reviews from JoshuaKGoldberg and themself via 88ecc41 July 20, 2024 19:42
@Josh-Cena Josh-Cena merged commit 58be99f into typescript-eslint:main Jul 20, 2024
63 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants