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(typescript-estree): correct warnings reported by sonarlint#100

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 8 commits intotypescript-eslint:masterfromarmano2:code-smell
Jan 22, 2019

Conversation

armano2
Copy link
Collaborator

This PR fixes issues found in code by static code analysis by SonarLint.

@@ -11,11 +11,11 @@ import { convertTokens } from './node-utils';
import ts from 'typescript';
import { Extra } from './temp-types-based-on-js-source';

export default (
export defaultfunction astConverter(
Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

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

its easier to profile named functions

@armano2
Copy link
CollaboratorAuthor

armano2 commentedJan 21, 2019
edited
Loading

Codecov doesn't like my change (even if it's just refactoring)

@j-f1

This comment has been minimized.

@JamesHenry

This comment has been minimized.

@armano2

This comment has been minimized.

@JamesHenry
Copy link
Member

@armano2 loggerFn is needed - prettier and some others use it

@armano2
Copy link
CollaboratorAuthor

ohh, i used bad wording, there is no tests if it's actually working

@codecov
Copy link

codecovbot commentedJan 21, 2019

Codecov Report

Merging#100 intomaster willincrease coverage by0.15%.
The diff coverage is100%.

@@            Coverage Diff             @@##           master     #100      +/-   ##==========================================+ Coverage   94.83%   94.99%   +0.15%==========================================  Files          48       48                Lines        2480     2479       -1       Branches      381      381              ==========================================+ Hits         2352     2355       +3+ Misses         77       75       -2+ Partials       51       49       -2
Impacted FilesCoverage Δ
packages/typescript-estree/src/ast-converter.ts100% <100%> (ø)⬆️
packages/typescript-estree/src/convert.ts94.59% <100%> (ø)⬆️
packages/typescript-estree/src/parser.ts81.9% <100%> (+3.6%)⬆️

@JamesHenryJamesHenry merged commit857cdc0 intotypescript-eslint:masterJan 22, 2019
@armano2armano2 deleted the code-smell branchJanuary 22, 2019 00:09
armanio123 pushed a commit to armanio123/typescript-eslint that referenced this pull requestJan 24, 2019
@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
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@armano2@j-f1@JamesHenry

[8]ページ先頭

©2009-2025 Movatter.jp