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: stricter parent types for the AST#9560

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 3 commits intov8fromv8-6225-stricter-parents
Jul 14, 2024

Conversation

bradzacher
Copy link
Member

PR Checklist

Overview

Adds all the parent types specified in#6225 and fixes the resulting type and linting errors.
Pretty straightforward here!

@bradzacherbradzacher added the breaking changeThis change will require a new major version to be released labelJul 14, 2024
@bradzacherbradzacher added this to the8.0.0 milestoneJul 14, 2024
@typescript-eslint
Copy link
Contributor

Thanks for the PR,@bradzacher!

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

Deploy Preview fortypescript-eslint ready!

NameLink
🔨 Latest commit70edf59
🔍 Latest deploy loghttps://app.netlify.com/sites/typescript-eslint/deploys/6694564551a07f00081a3ff3
😎 Deploy Previewhttps://deploy-preview-9560--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: 96 (🔴 down 2 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.

@bradzacherbradzacher removed the breaking changeThis change will require a new major version to be released labelJul 14, 2024
@nx-cloudNx Cloud
Copy link

nx-cloudbot commentedJul 14, 2024
edited
Loading

☁️ Nx Cloud Report

CI is running/has finished running commands for commit70edf59. 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 31 targets

Sent with 💌 fromNxCloud.

@codecovCodecov
Copy link

codecovbot commentedJul 14, 2024
edited
Loading

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.90%. Comparing base(6bd4211) to head(70edf59).
Report is 1 commits behind head on v8.

Additional details and impacted files
@@            Coverage Diff             @@##               v8    #9560      +/-   ##==========================================- Coverage   87.91%   87.90%   -0.02%==========================================  Files         397      397                Lines       13558    13554       -4       Branches     3939     3936       -3     ==========================================- Hits        11920    11915       -5- Misses       1324     1326       +2+ Partials      314      313       -1
FlagCoverage Δ
unittest87.90% <100.00%> (-0.02%)⬇️

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

FilesCoverage Δ
...internal/src/rules/no-typescript-default-import.ts86.66% <100.00%> (ø)
...t-plugin/src/rules/class-literal-property-style.ts100.00% <100.00%> (ø)
.../eslint-plugin/src/rules/class-methods-use-this.ts86.95% <ø> (ø)
.../eslint-plugin/src/rules/method-signature-style.ts88.88% <ø> (+1.08%)⬆️
...ges/eslint-plugin/src/rules/no-extraneous-class.ts97.36% <100.00%> (ø)
packages/eslint-plugin/src/rules/no-misused-new.ts100.00% <100.00%> (ø)
...s/eslint-plugin/src/rules/no-restricted-imports.ts94.87% <100.00%> (ø)
...slint-plugin/src/rules/no-unnecessary-qualifier.ts100.00% <100.00%> (ø)
...lint-plugin/src/rules/no-unsafe-enum-comparison.ts100.00% <100.00%> (ø)
.../eslint-plugin/src/rules/no-useless-constructor.ts100.00% <100.00%> (ø)

... and1 file with indirect coverage changes

@bradzacherbradzacher linked an issueJul 14, 2024 that may beclosed by this pull request
37 tasks
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.

smart

@kirkwaiblingerkirkwaiblinger added the 1 approval>=1 team member has approved this PR; we're now leaving it open for more reviews before we merge labelJul 14, 2024
Copy link
Member

@Josh-CenaJosh-Cena left a comment

Choose a reason for hiding this comment

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

Do you know how we can keep this exhaustive into the future, or is it just do-it-as-you-please?

@bradzacher
Copy link
MemberAuthor

I think that it's probably going to be very difficult to keep it exhaustive.
We can probably write a script which scans the AST declaration to find the best parent lists though?

Once we've declared it to a great extent once it should be trivial to keep it updated with any future AST changes.

Josh-Cena reacted with thumbs up emoji

@bradzacherbradzacher merged commit78fd2f4 intov8Jul 14, 2024
61 of 63 checks passed
@bradzacherbradzacher deleted the v8-6225-stricter-parents branchJuly 14, 2024 23:55
@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsJul 23, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@kirkwaiblingerkirkwaiblingerkirkwaiblinger approved these changes

@Josh-CenaJosh-CenaJosh-Cena 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.

Enhancement: add strictparent types for nodes that have well-defined parents
3 participants
@bradzacher@kirkwaiblinger@Josh-Cena

[8]ページ先頭

©2009-2025 Movatter.jp