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

refactor(ts-estree): simplify calculation of method location#152

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
JamesHenry merged 2 commits intotypescript-eslint:masterfromarmano2:function-expression-loc
Jan 27, 2019
Merged

refactor(ts-estree): simplify calculation of method location#152

JamesHenry merged 2 commits intotypescript-eslint:masterfromarmano2:function-expression-loc
Jan 27, 2019

Conversation

armano2
Copy link
Collaborator

@armano2armano2 commentedJan 27, 2019
edited
Loading

range and location ofFunctionExpression inMethodDeclaration,SetAccessor,GetAccessor was calculated in different way, this change unifies this calculation and removes no longer used helper functionfindFirstMatchingToken.

we have already test cases for this code, and this change doesn't changes to AST.

@codecov
Copy link

codecovbot commentedJan 27, 2019
edited
Loading

Codecov Report

Merging#152 intomaster willincrease coverage by0.09%.
The diff coverage is100%.

@@            Coverage Diff            @@##           master    #152      +/-   ##=========================================+ Coverage    95.1%   95.2%   +0.09%=========================================  Files          49      49                Lines        2493    2480      -13       Branches      373     371       -2     =========================================- Hits         2371    2361      -10+ Misses         73      71       -2+ Partials       49      48       -1
Impacted FilesCoverage Δ
packages/typescript-estree/src/convert.ts94.63% <100%> (+0.2%)⬆️
packages/typescript-estree/src/node-utils.ts96.46% <100%> (+0.4%)⬆️

@armano2armano2 self-assigned thisJan 27, 2019
@armano2armano2 changed the titlerefactor(ts-estree): simplify methods location calculationrefactor(ts-estree): simplify calculation of method locationJan 27, 2019
@JamesHenryJamesHenry merged commit4954ed2 intotypescript-eslint:masterJan 27, 2019
@armano2armano2 deleted the function-expression-loc branchJanuary 27, 2019 17:18
@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsApr 21, 2020
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@JamesHenryJamesHenryJamesHenry approved these changes

Assignees

@armano2armano2

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@armano2@JamesHenry

[8]ページ先頭

©2009-2025 Movatter.jp