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): useTSEmptyBodyFunctionExpression for body-less nodes#1289

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 4 commits intotypescript-eslint:v3fromG-Rath:parse-FunctionExpression-nodes-with-no-body-as-TSEmptyBodyFunctionExpression
May 10, 2020
Merged

fix(typescript-estree): useTSEmptyBodyFunctionExpression for body-less nodes#1289

bradzacher merged 4 commits intotypescript-eslint:v3fromG-Rath:parse-FunctionExpression-nodes-with-no-body-as-TSEmptyBodyFunctionExpression
May 10, 2020

Conversation

G-Rath
Copy link
Contributor

@G-RathG-Rath commentedNov 30, 2019
edited by bradzacher
Loading

BREAKING CHANGE:

Fixes#734

@typescript-eslint
Copy link
Contributor

Thanks for the PR,@G-Rath!

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 added the bugSomething isn't working labelDec 1, 2019
@bradzacherbradzacher added this to the3.0.0 milestoneDec 3, 2019
@bradzacherbradzacher added the breaking changeThis change will require a new major version to be released labelDec 3, 2019
@bradzacher
Copy link
Member

This overall LGTM, but it is technically a breaking change for direct consumers ofts-estree (like prettier cc@thorn0).

I'm thinking we should probably look to doing a 3.0.0 release v soon, as the number of things is starting to reach a decent sized pile (see the milestone) cc@JamesHenry

G-Rath, thorn0, and armano2 reacted with thumbs up emoji

@G-Rath
Copy link
ContributorAuthor

G-Rath commentedDec 4, 2019
edited by bradzacher
Loading

@bradzacher not entirely sure what I can do about the diff coverage, as it doesn't seem to like the fact that I force pushed, and removed so many lines fromparser.

I can't find a nice chunk where I'm missing coverage that I can hit easily :/

@bradzacher
Copy link
Member

@G-Rath
https://codecov.io/gh/typescript-eslint/typescript-eslint/compare/b5a52a3aae85fce3bc45b39a2107a00d2655f5f9...732668047bfd2658fb3ad884a4732896974a973b/diff#D5-1140

Just one branch codecov doesn't think you've tested.

Also please be careful with your @ tagging. My username isn't the first "brad" username alphabetically, and github isn't smart enough to be contextually aware. (I've emailed them about it, but they are yet to fix it..)

@G-Rath
Copy link
ContributorAuthor

@bradzacher Turns out that wasn't actually needed - Let me know if there's any other changes you'd like made for this 😄

Also cheers for pointing out the wrong tagging 😬

@codecov
Copy link

codecovbot commentedJan 12, 2020
edited
Loading

Codecov Report

Merging#1289 intov3 willdecrease coverage by0.03%.
The diff coverage is87.17%.

@@            Coverage Diff             @@##               v3    #1289      +/-   ##==========================================- Coverage   93.91%   93.87%   -0.04%==========================================  Files         171      172       +1       Lines        7787     7805      +18       Branches     2238     2240       +2     ==========================================+ Hits         7313     7327      +14- Misses        217      221       +4  Partials      257      257
FlagCoverage Δ
#unittest93.87% <87.17%> (-0.04%)⬇️
Impacted FilesCoverage Δ
...xperimental-utils/src/eslint-utils/applyDefault.ts100.00% <ø> (ø)
.../experimental-utils/src/ts-eslint-scope/analyze.ts100.00% <ø> (ø)
...es/eslint-plugin/src/rules/no-unsafe-assignment.ts80.17% <50.00%> (+0.17%)⬆️
packages/eslint-plugin/src/util/objectIterators.ts66.66% <66.66%> (ø)
packages/eslint-plugin/src/rules/ban-types.ts100.00% <100.00%> (ø)
...nt-plugin/src/rules/indent-new-do-not-use/index.ts98.40% <100.00%> (ø)
...ackages/eslint-plugin/src/rules/member-ordering.ts98.46% <100.00%> (ø)
...slint-plugin/src/rules/no-unnecessary-condition.ts99.15% <100.00%> (ø)
.../eslint-plugin/src/util/explicitReturnTypeUtils.ts100.00% <100.00%> (ø)
packages/typescript-estree/src/convert.ts99.15% <100.00%> (+<0.01%)⬆️
... and2 more

@bradzacherbradzacher changed the base branch frommaster tov3May 9, 2020 23:41
@bradzacherbradzacher changed the titlefix(ts-estree): useTSEmptyBodyFunctionExpression for body-less nodesfix(typescript-estree): useTSEmptyBodyFunctionExpression for body-less nodesMay 9, 2020
@bradzacherbradzacher merged commit9493d13 intotypescript-eslint:v3May 10, 2020
bradzacher pushed a commit that referenced this pull requestMay 11, 2020
bradzacher pushed a commit that referenced this pull requestMay 14, 2020
bradzacher pushed a commit that referenced this pull requestMay 17, 2020
bradzacher pushed a commit that referenced this pull requestMay 21, 2020
@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsJun 9, 2020
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@thorn0thorn0thorn0 left review comments

@bradzacherbradzacherbradzacher left review comments

Assignees
No one assigned
Labels
breaking changeThis change will require a new major version to be releasedbugSomething isn't working
Projects
None yet
Milestone
3.0.0
Development

Successfully merging this pull request may close these issues.

When can body be undefined or null in vanilla espree?
3 participants
@G-Rath@bradzacher@thorn0

[8]ページ先頭

©2009-2025 Movatter.jp