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(website): [playground] correct issues with libs#5162

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
bradzacher merged 12 commits intomainfromfix/default-lib-import-5142
Jun 13, 2022

Conversation

armano2
Copy link
Collaborator

@armano2armano2 commentedJun 8, 2022
edited
Loading

PR Checklist

Overview

Correct issue with loading libs between editor and code, "lib" resolution imitates to behavior

Changes

  • editor and linting is using now exact copy of typescript definitions.
    there is no additional calls to cdn to retrieve type definitions, unless sandbox is not exposing types (old ts versions)

  • lib, options can be provided in tsconfig and its going to be properly used

  • parsing and validation of tsconfig is done by typescript utils

  • ctrl+click on types defined in libs is now working correctly

    lib: es6
    image
    lib: esnext
    image

Test cases

@armano2armano2 added bugSomething isn't working package: websiteIssues related to the @typescript-eslint website labelsJun 8, 2022
@nx-cloud
Copy link

nx-cloudbot commentedJun 8, 2022
edited
Loading

☁️ Nx Cloud Report

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

📂 See all runs for this branch


✅ Successfully ran 47 targets

Sent with 💌 fromNxCloud.

@typescript-eslint
Copy link
Contributor

Thanks for the PR,@armano2!

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. As a thank you, your profile/company logo will be added to our main README which receives thousands of unique visitorsper day.

@netlify
Copy link

netlifybot commentedJun 8, 2022
edited
Loading

Deploy Preview fortypescript-eslint ready!

NameLink
🔨 Latest commit036f13c
🔍 Latest deploy loghttps://app.netlify.com/sites/typescript-eslint/deploys/62a51e5e216f6d0009a77a23
😎 Deploy Previewhttps://deploy-preview-5162--typescript-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to yourNetlify site settings.

@armano2armano2 changed the titlechore(website): [playground] correct issues with changing default libchore(website): [playground] correct issues with libsJun 8, 2022
@armano2
Copy link
CollaboratorAuthor

armano2 commentedJun 10, 2022
edited
Loading

@bradzacher suggested change applied

@codecov
Copy link

codecovbot commentedJun 10, 2022
edited
Loading

Codecov Report

Merging#5162 (036f13c) intomain (dc1f930) willdecrease coverage by0.22%.
The diff coverage isn/a.

@@            Coverage Diff             @@##             main    #5162      +/-   ##==========================================- Coverage   91.55%   91.33%   -0.23%==========================================  Files         344      132     -212       Lines       10801     1488    -9313       Branches     3164      224    -2940     ==========================================- Hits         9889     1359    -8530+ Misses        589       65     -524+ Partials      323       64     -259
FlagCoverage Δ
unittest91.33% <ø> (-0.23%)⬇️

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

Impacted FilesCoverage Δ
packages/eslint-plugin/src/rules/typedef.ts
...rc/rules/indent-new-do-not-use/BinarySearchTree.ts
...plugin/src/rules/no-unnecessary-type-constraint.ts
...plugin-internal/src/rules/prefer-ast-types-enum.ts
...lugin/src/rules/prefer-readonly-parameter-types.ts
...nt-plugin/src/rules/indent-new-do-not-use/index.ts
...nt-plugin/src/rules/lines-between-class-members.ts
...internal/src/rules/no-typescript-default-import.ts
.../eslint-plugin/src/rules/prefer-ts-expect-error.ts
...slint-plugin/src/rules/no-unnecessary-qualifier.ts
... and202 more

@armano2armano2 removed the request for review fromJoshuaKGoldbergJune 10, 2022 22:41
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.

looks-good-to-me

@bradzacherbradzacher merged commit6b17ad0 intomainJun 13, 2022
@bradzacherbradzacher deleted the fix/default-lib-import-5142 branchJune 13, 2022 01:13
@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsJul 14, 2022
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
bugSomething isn't workingpackage: websiteIssues related to the @typescript-eslint websitewebsite: playground
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Docs: Playground not emitting some type-aware lint errors
2 participants
@armano2@bradzacher

[8]ページ先頭

©2009-2025 Movatter.jp