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

feat: tightentsconfigRootDir validation#11463

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

kirkwaiblinger
Copy link
Member

@kirkwaiblingerkirkwaiblinger commentedAug 6, 2025
edited
Loading

PR Checklist

Overview

This ensures that tsconfigRootDir must always be absolute if provided. Adds testing. Adjusts existing testing which used relative tsconfigRootDirs rather than absolute.

Handles normalization so that trailing path sep bug is also solved (test included)

@typescript-eslint
Copy link
Contributor

Thanks for the PR,@kirkwaiblinger!

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

Deploy Preview fortypescript-eslint ready!

NameLink
🔨 Latest commitc20f200
🔍 Latest deploy loghttps://app.netlify.com/projects/typescript-eslint/deploys/68a36c72c44fd80008af9dd7
😎 Deploy Previewhttps://deploy-preview-11463--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: 79 (🔴 down 15 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (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 commentedAug 6, 2025
edited
Loading

View yourCI Pipeline Execution ↗ for commitc20f200

CommandStatusDurationResult
nx test eslint-plugin --coverage=false✅ Succeeded5m 10sView ↗
nx run-many -t lint✅ Succeeded3m 17sView ↗
nx run-many -t typecheck✅ Succeeded2m 12sView ↗
nx test typescript-estree --coverage=false✅ Succeeded20sView ↗
nx test eslint-plugin-internal --coverage=false✅ Succeeded10sView ↗
nx run integration-tests:test✅ Succeeded4sView ↗
nx run types:build✅ Succeeded5sView ↗
nx run generate-configs✅ Succeeded6sView ↗
Additional runs (27)✅ Succeeded...View ↗

☁️Nx Cloud last updated this comment at2025-08-18 18:20:29 UTC

@codecovCodecov
Copy link

codecovbot commentedAug 6, 2025
edited
Loading

Codecov Report

❌ Patch coverage is93.75000% with2 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.88%. Comparing base (60c3b26) to head (7451eb5).

⚠️Current head7451eb5 differs from pull request most recent headc20f200

Pleaseupload reports for the commitc20f200 to get more accurate results.

Files with missing linesPatch %Lines
...pt-estree/src/parseSettings/createParseSettings.ts93.54%2 Missing⚠️
Additional details and impacted files
@@            Coverage Diff             @@##             main   #11463      +/-   ##==========================================+ Coverage   90.87%   90.88%   +0.01%==========================================  Files         505      505                Lines       51121    51142      +21       Branches     8415     8424       +9     ==========================================+ Hits        46455    46480      +25+ Misses       4652     4648       -4  Partials       14       14
FlagCoverage Δ
unittest90.88% <93.75%> (+0.01%)⬆️

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

Files with missing linesCoverage Δ
...ges/typescript-estree/src/create-program/shared.ts88.75% <100.00%> (+0.94%)⬆️
...pt-estree/src/parseSettings/createParseSettings.ts92.69% <93.54%> (+0.50%)⬆️

... and1 file with indirect coverage changes

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

@kirkwaiblingerkirkwaiblinger changed the titlefix:tsconfigRootDir bugsfix: tightentsconfigRootDir validationAug 11, 2025
@kirkwaiblingerkirkwaiblinger marked this pull request as ready for reviewAugust 11, 2025 22:27
Copy link
Member

@bradzacherbradzacher left a comment

Choose a reason for hiding this comment

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

ilikeit

kirkwaiblinger reacted with heart emoji
Comment on lines +72 to +73
(process.platform==='win32'&&
!/^[a-zA-Z]:/.test(userProvidedTsconfigRootDir))
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

This is tested but it doesn't get picked up in the coverage report, due to only being tested on windows. Tried to use anistanbul ignore comment, but vitest/esbuild/typescript has problems with coverage ignore comments due to comment stripping and I couldn't get it to work :(

@kirkwaiblingerkirkwaiblinger added the 1 approval>=1 team member has approved this PR; we're now leaving it open for more reviews before we merge labelAug 11, 2025
@kirkwaiblingerkirkwaiblinger changed the titlefix: tightentsconfigRootDir validationfeat: tightentsconfigRootDir validationAug 15, 2025
@kirkwaiblingerkirkwaiblingerenabled auto-merge (squash)August 18, 2025 15:11
@kirkwaiblingerkirkwaiblinger merged commit270fa59 intotypescript-eslint:mainAug 18, 2025
59 of 61 checks passed
@kirkwaiblingerkirkwaiblinger deleted the tsconfig-root-beer branchAugust 18, 2025 21:59
@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsAug 26, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@bradzacherbradzacherbradzacher 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
2 participants
@kirkwaiblinger@bradzacher

[8]ページ先頭

©2009-2025 Movatter.jp