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

fix(typescript-estree): specific error for parserOptions.project not including a file#9584

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

Conversation

@JoshuaKGoldberg
Copy link
Member

@JoshuaKGoldbergJoshuaKGoldberg commentedJul 18, 2024
edited
Loading

PR Checklist

Overview

WhenparseSettings.projects is populated,useProvidedPrograms nows refer toparserOptions.project andproject(s) instead ofparserOptions.programs andprogram(s).

Also applies a mild refactor to reduce nesting in the function.

I think after this I'd like to holistically revamp the error messages around invalid

💖

@typescript-eslint
Copy link
Contributor

Thanks for the PR,@JoshuaKGoldberg!

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.

@netlify
Copy link

netlifybot commentedJul 18, 2024
edited
Loading

Deploy Preview fortypescript-eslint ready!

NameLink
🔨 Latest commitc201b6c
🔍 Latest deploy loghttps://app.netlify.com/sites/typescript-eslint/deploys/669910a32b9d5a00088032eb
😎 Deploy Previewhttps://deploy-preview-9584--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 5 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 yourNetlify site configuration.


astAndProgram.program.getTypeChecker();// ensure parent pointers are set in source files
constrelativeFilePath=path.relative(
parseSettings.tsconfigRootDir,
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

This used to betsconfigRootDir || process.cwd(), but I'm pretty sure that's unnecessary.createParseSettings already defaultstsconfigRootDir toprocess.cwd().

@nx-cloud
Copy link

nx-cloudbot commentedJul 18, 2024
edited
Loading

☁️ Nx Cloud Report

CI is running/has finished running commands for commitc201b6c. 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 💌 fromNxCloud.

@JoshuaKGoldbergJoshuaKGoldberg marked this pull request as ready for reviewJuly 18, 2024 11:51
@JoshuaKGoldbergJoshuaKGoldberg requested a review froma teamJuly 18, 2024 11:51
@JoshuaKGoldbergJoshuaKGoldberg marked this pull request as draftJuly 18, 2024 11:52
@JoshuaKGoldbergJoshuaKGoldberg removed the request for review froma teamJuly 18, 2024 11:52
@JoshuaKGoldbergJoshuaKGoldbergforce-pushed theproject-programs-not-found-error branch from0ac9fb4 tob58de4bCompareJuly 18, 2024 11:53
@codecov
Copy link

codecovbot commentedJul 18, 2024
edited
Loading

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.92%. Comparing base(c365664) to head(c201b6c).
Report is 6 commits behind head on v8.

Additional details and impacted files
@@           Coverage Diff           @@##               v8    #9584   +/-   ##=======================================  Coverage   87.91%   87.92%           =======================================  Files         397      397             Lines       13556    13556             Branches     3936     3936           =======================================+ Hits        11918    11919    +1  Misses       1325     1325+ Partials      313      312    -1
FlagCoverage Δ
unittest87.92% <100.00%> (+<0.01%)⬆️

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

FilesCoverage Δ
...t-estree/src/create-program/useProvidedPrograms.ts87.87% <100.00%> (+3.03%)⬆️

constcopy=useCallback(
()=>
voidnavigator.clipboard.writeText(code()).then(()=>{
navigator.clipboard.writeText(code()).then(()=>{
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 also in thev8 branch. GitHub just isn't updating...

@JoshuaKGoldbergJoshuaKGoldberg marked this pull request as ready for reviewJuly 18, 2024 13:15
@JoshuaKGoldbergJoshuaKGoldberg requested a review froma teamJuly 18, 2024 13:15
@JoshuaKGoldbergJoshuaKGoldberg added this to the8.0.0 milestoneJul 18, 2024
@JoshuaKGoldbergJoshuaKGoldberg added the 1 approval>=1 team member has approved this PR; we're now leaving it open for more reviews before we merge labelJul 19, 2024
@JoshuaKGoldbergJoshuaKGoldberg merged commit97cb1a3 intotypescript-eslint:v8Jul 21, 2024
@JoshuaKGoldbergJoshuaKGoldberg deleted the project-programs-not-found-error branchJuly 21, 2024 13:29
@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsJul 29, 2024
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

8.0.0

Development

Successfully merging this pull request may close these issues.

2 participants

@JoshuaKGoldberg@bradzacher

[8]ページ先頭

©2009-2025 Movatter.jp