Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: updateeslint-plugin-perfectionist tov4#11185

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

hugop95
Copy link
Contributor

@hugop95hugop95 commentedMay 7, 2025
edited by kirkwaiblinger
Loading

PR Checklist

Overview

Updatingperfectionist from V3 to V4 requires a couple of changes in the Eslint configuration.

This PR updates the config in order to have the minimal amount of changes in the codebase.

- `perfectionist` v4 uses RegExp to match, and `type` will match `typeSomething`, unlike in v3 which used `minimatch` by default.
- The default `groups` option was updated in v4 (azat-io/eslint-plugin-perfectionist#320). Forcing back to v3 default option.
@typescript-eslint
Copy link
Contributor

Thanks for the PR,@hugop95!

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 onhttps://opencollective.com/typescript-eslint.

@netlifyNetlify
Copy link

netlifybot commentedMay 7, 2025
edited
Loading

Deploy Preview fortypescript-eslint ready!

NameLink
🔨 Latest commit15260e5
🔍 Latest deploy loghttps://app.netlify.com/projects/typescript-eslint/deploys/68274357a5c95f000874a90d
😎 Deploy Previewhttps://deploy-preview-11185--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: 84 (🔴 down 15 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 98 (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 yourNetlify project configuration.

@nx-cloudNx Cloud
Copy link

nx-cloudbot commentedMay 7, 2025
edited
Loading

View yourCI Pipeline Execution ↗ for commit15260e5.

CommandStatusDurationResult
nx test eslint-plugin✅ Succeeded6m 27sView ↗
nx test typescript-estree✅ Succeeded45sView ↗
nx run eslint-plugin:test -- --coverage✅ Succeeded6m 27sView ↗
nx test type-utils✅ Succeeded23sView ↗
nx run types:build✅ Succeeded1sView ↗
nx test scope-manager✅ Succeeded19sView ↗
nx typecheck ast-spec✅ Succeeded2sView ↗
nx test utils✅ Succeeded12sView ↗
Additional runs (26)✅ Succeeded...View ↗

☁️Nx Cloud last updated this comment at2025-05-16 14:13:04 UTC

@hugop95hugop95force-pushed thefeat/perfectionist-v4 branch from48d140b to1a1ba0dCompareMay 7, 2025 11:13
@hugop95hugop95 changed the titlechore: updateperfectionist tov4chore: updateeslint-plugin-perfectionist tov4May 7, 2025
@codecovCodecov
Copy link

codecovbot commentedMay 7, 2025
edited
Loading

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.92%. Comparing base(d2dfe73) to head(15260e5).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@##             main   #11185   +/-   ##=======================================  Coverage   90.92%   90.92%           =======================================  Files         499      499             Lines       50845    50845             Branches     8384     8384           =======================================  Hits        46231    46231             Misses       4599     4599             Partials       15       15
FlagCoverage Δ
unittest90.92% <100.00%> (ø)

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

Files with missing linesCoverage Δ
...ges/eslint-plugin/src/rules/no-restricted-types.ts93.98% <100.00%> (ø)
...lint-plugin/src/rules/prefer-nullish-coalescing.ts98.26% <ø> (ø)
...s/eslint-plugin/src/util/collectUnusedVariables.ts96.19% <ø> (ø)
...ackages/scope-manager/src/referencer/Referencer.ts97.94% <ø> (ø)
packages/type-utils/src/isUnsafeAssignment.ts90.54% <100.00%> (ø)
packages/utils/src/ts-eslint/SourceCode.ts100.00% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

kirkwaiblinger
kirkwaiblinger previously approved these changesMay 14, 2025
@kirkwaiblinger
Copy link
Member

Thanks for sending this in! Looks good to me! I've gone ahead and reviewed/approved this since I'm guessing it was only drafted due to waiting on the "accepting PRs" label, but we'll wait for you to undraft it in case there's anything else that needs to be done before merging. Also, would you mind merging in from main and resolving the merge conflicts when you undraft? Thanks!

hugop95 reacted with thumbs up emoji

@kirkwaiblingerkirkwaiblinger added the 1 approval>=1 team member has approved this PR; we're now leaving it open for more reviews before we merge labelMay 14, 2025
@hugop95hugop95 marked this pull request as ready for reviewMay 14, 2025 21:03
@github-actionsgithub-actionsbot removed the 1 approval>=1 team member has approved this PR; we're now leaving it open for more reviews before we merge labelMay 14, 2025
kirkwaiblinger
kirkwaiblinger previously approved these changesMay 14, 2025
Copy link
Member

@kirkwaiblingerkirkwaiblinger left a comment

Choose a reason for hiding this comment

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

❤️

@kirkwaiblingerkirkwaiblinger added the 1 approval>=1 team member has approved this PR; we're now leaving it open for more reviews before we merge labelMay 14, 2025
@kirkwaiblingerkirkwaiblinger merged commit220c38c intotypescript-eslint:mainMay 16, 2025
59 checks passed
@hugop95hugop95 deleted the feat/perfectionist-v4 branchMay 16, 2025 17:11
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@kirkwaiblingerkirkwaiblingerkirkwaiblinger approved these changes

Assignees
No one assigned
Labels
1 approval>=1 team member has approved this PR; we're now leaving it open for more reviews before we merge
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Repo: updateeslint-plugin-perfectionist tov4
3 participants
@hugop95@kirkwaiblinger@JoshuaKGoldberg

[8]ページ先頭

©2009-2025 Movatter.jp