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: support ESTree optional chaining representation#2308

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 intov4fromnew-optional-chain
Jul 28, 2020

Conversation

bradzacher
Copy link
Member

@bradzacherbradzacher commentedJul 19, 2020
edited
Loading

BREAKING CHANGE:
This changes the AST structure to the new ESTree representation for optional chaining.

  • Updatetypes
  • Updatevisitor-keys
  • Updatescope-manager
  • Updatetypescript-estree
  • Updateparser
  • Updateexperimental-utils
  • Updateeslint-plugin
  • Updateeslint-plugin-internal

I also ran a quick sanity "integration test" by linking@typescript-eslint/parser into a checkout of theeslint repo to ensure that tests were passing fine there.

Fixes#2204

@bradzacherbradzacher added enhancementNew feature or request breaking changeThis change will require a new major version to be released labelsJul 19, 2020
@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. As a thank you, your profile/company logo will be added to our main README which receives thousands of unique visitorsper day.

@bradzacherbradzacher changed the titlefeat:feat: support ESTree optional chaining representationJul 19, 2020
@bradzacherbradzacher added this to the4.0.0 milestoneJul 26, 2020
@codecov
Copy link

codecovbot commentedJul 26, 2020
edited
Loading

Codecov Report

Merging#2308 intov4 willdecrease coverage by0.04%.
The diff coverage is89.56%.

@@            Coverage Diff             @@##               v4    #2308      +/-   ##==========================================- Coverage   93.09%   93.05%   -0.05%==========================================  Files         284      285       +1       Lines        9097     9109      +12       Branches     2499     2503       +4     ==========================================+ Hits         8469     8476       +7- Misses        302      303       +1- Partials      326      330       +4
FlagCoverage Δ
#unittest93.05% <89.56%> (-0.05%)⬇️

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

Impacted FilesCoverage Δ
...gin-internal/src/rules/no-poorly-typed-ts-props.ts88.88% <ø> (ø)
...int-plugin/src/rules/consistent-type-assertions.ts86.48% <ø> (ø)
...es/eslint-plugin/src/rules/no-array-constructor.ts100.00% <ø> (ø)
...nt-plugin/src/rules/no-extra-non-null-assertion.ts100.00% <ø> (ø)
...ges/eslint-plugin/src/rules/no-misused-promises.ts100.00% <ø> (ø)
...ages/eslint-plugin/src/rules/no-require-imports.ts100.00% <ø> (ø)
packages/eslint-plugin/src/rules/no-unsafe-call.ts100.00% <ø> (ø)
packages/eslint-plugin/src/rules/prefer-for-of.ts90.14% <ø> (ø)
...t-plugin/src/rules/prefer-reduce-type-parameter.ts100.00% <ø> (ø)
...int-plugin/src/rules/require-array-sort-compare.ts88.23% <ø> (ø)
... and24 more

@bradzacherbradzacher marked this pull request as ready for reviewJuly 27, 2020 00:56
@bradzacherbradzacher changed the base branch frommaster tov4July 27, 2020 14:19
@bradzacherbradzacher merged commita4bd2a8 intov4Jul 28, 2020
@bradzacherbradzacher deleted the new-optional-chain branchJuly 28, 2020 00:19
@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsAug 27, 2020
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers
No reviews
Assignees
No one assigned
Labels
breaking changeThis change will require a new major version to be releasedenhancementNew feature or request
Projects
None yet
Milestone
4.0.0
Development

Successfully merging this pull request may close these issues.

Update optional chaining representation to match ESTree spec
1 participant
@bradzacher

[8]ページ先頭

©2009-2025 Movatter.jp