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: migrateeslint-plugin-import toeslint-plugin-import-x#11217

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

Open
JounQin wants to merge2 commits intotypescript-eslint:main
base:main
Choose a base branch
Loading
fromJounQin:chore/import-x

Conversation

JounQin
Copy link
Contributor

PR Checklist

Overview

Before:

 typescript-eslint on  main ❯ TIMING=1 y eslint .Rule                                               | Time (ms) | Relative:--------------------------------------------------|----------:|--------:@typescript-eslint/no-unsafe-assignment            |  5458.780 |    22.9%@typescript-eslint/internal/plugin-test-formatting |  3047.222 |    12.8%@typescript-eslint/no-floating-promises            |  2288.399 |     9.6%@typescript-eslint/no-misused-promises             |  2215.349 |     9.3%@typescript-eslint/no-unsafe-return                |  1609.052 |     6.8%@typescript-eslint/no-deprecated                   |  1049.075 |     4.4%@typescript-eslint/no-unsafe-argument              |   954.879 |     4.0%@typescript-eslint/no-unsafe-member-access         |   528.152 |     2.2%import/no-duplicates                               |   501.363 |     2.1%perfectionist/sort-objects                         |   373.923 |     1.6%via .NET via  v24.0.1 took 1m13s
 typescript-eslint on  chore/import-x [+] ❯ TIMING=1 y eslint .Rule                                               | Time (ms) | Relative:--------------------------------------------------|----------:|--------:@typescript-eslint/no-unsafe-assignment            |  3212.736 |    15.9%@typescript-eslint/internal/plugin-test-formatting |  3052.515 |    15.1%@typescript-eslint/no-floating-promises            |  2319.146 |    11.5%@typescript-eslint/no-misused-promises             |  2253.580 |    11.2%@typescript-eslint/no-unsafe-return                |  1785.357 |     8.9%@typescript-eslint/no-unsafe-argument              |   932.104 |     4.6%@typescript-eslint/no-deprecated                   |   906.925 |     4.5%@typescript-eslint/no-unsafe-member-access         |   528.508 |     2.6%@typescript-eslint/no-unnecessary-condition        |   321.524 |     1.6%perfectionist/sort-objects                         |   298.678 |     1.5%via .NET via  v24.0.1 took 1m8s

For a single ESLint plugin migration, I believe from 1m13s to 1m8s is already good enough, and it founds a false positive that@docusaurus/plugin-content-blog should be listed independencies forwebsite, becauseeslint-plugin-import-x is a TypeScript rewrite started atun-ts/eslint-plugin-import-x#42 and we fixed several hidden bugs thanks to TypeScript!

(I don't know whynx complains aboutreact-helmet-async version incompatible with@docusaurus/core's, see alsohttps://app.unpkg.com/@docusaurus/core@3.7.0/files/package.json#L63, so I'm locking it same way to makenx happy.)

cc@JoshuaKGoldberg

@typescript-eslint
Copy link
Contributor

Thanks for the PR,@JounQin!

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 14, 2025
edited
Loading

Deploy Preview fortypescript-eslint ready!

NameLink
🔨 Latest commit36cf5b1
🔍 Latest deploy loghttps://app.netlify.com/projects/typescript-eslint/deploys/683dafbc4dea81000810e7d5
😎 Deploy Previewhttps://deploy-preview-11217--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: 99 (🟢 up 2 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (🟢 up 2 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 14, 2025
edited
Loading

View yourCI Pipeline Execution ↗ for commit36cf5b1.

CommandStatusDurationResult
nx test eslint-plugin --coverage=false✅ Succeeded5m 1sView ↗
nx run-many -t typecheck✅ Succeeded2m 13sView ↗
nx run integration-tests:test✅ Succeeded45sView ↗
nx test typescript-estree --coverage=false✅ Succeeded19sView ↗
nx run-many -t lint✅ Succeeded12sView ↗
nx test eslint-plugin-internal --coverage=false✅ Succeeded7sView ↗
nx run types:build✅ Succeeded10sView ↗
nx run generate-configs✅ Succeeded12sView ↗
Additional runs (27)✅ Succeeded...View ↗

☁️Nx Cloud last updated this comment at2025-06-02 14:16:52 UTC

@JoshuaKGoldberg
Copy link
Member

@JounQin those statistics look surprising to me.All lint rules are slower in the second one. Why would that be the case?

I'm out traveling and can't do much testing at the moment, otherwise I'd post somehyperfine statistics.

@JounQin
Copy link
ContributorAuthor

I don't know,eslint-plugin-import-x is powered by@typescript-eslint/utils under the hood,eslint-plugin-import is wrote without top level tools.

@codecovCodecov
Copy link

codecovbot commentedMay 30, 2025
edited
Loading

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.91%. Comparing base(9d46857) to head(36cf5b1).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@##             main   #11217   +/-   ##=======================================  Coverage   90.91%   90.91%           =======================================  Files         501      501             Lines       50869    50869             Branches     8382     8382           =======================================  Hits        46248    46248             Misses       4606     4606             Partials       15       15
FlagCoverage Δ
unittest90.91% <ø> (ø)

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

🚀 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.

@JounQinJounQinforce-pushed thechore/import-x branch 3 times, most recently from1ba71ac tofc1ebc7CompareMay 31, 2025 06:46
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Repo: migrateeslint-plugin-import toeslint-plugin-import-x
2 participants
@JounQin@JoshuaKGoldberg

[8]ページ先頭

©2009-2025 Movatter.jp