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(eslint-plugin): fix crash in no-unnecessary-type-assertion#212

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

Closed
armano2 wants to merge1 commit intotypescript-eslint:masterfromarmano2:no-unnecessary-type-assertion
Closed

fix(eslint-plugin): fix crash in no-unnecessary-type-assertion#212

armano2 wants to merge1 commit intotypescript-eslint:masterfromarmano2:no-unnecessary-type-assertion

Conversation

armano2
Copy link
Collaborator

@armano2armano2 commentedFeb 5, 2019
edited
Loading

Rule crashes when i try to use it in this project

@codecov
Copy link

codecovbot commentedFeb 5, 2019

Codecov Report

Merging#212 intomaster willincrease coverage by<.01%.
The diff coverage is100%.

@@            Coverage Diff             @@##           master     #212      +/-   ##==========================================+ Coverage   96.37%   96.37%   +<.01%==========================================  Files          51       51                Lines        2455     2457       +2       Branches      370      370              ==========================================+ Hits         2366     2368       +2  Misses         46       46                Partials       43       43
Impacted FilesCoverage Δ
...-plugin/lib/rules/no-unnecessary-type-assertion.js100% <100%> (ø)⬆️

@uniqueiniquity
Copy link
Contributor

This seems representative of a parse/conversion error. I’m fine with this as a fix but I want to take a look at your test cases and figure out what’s going wrong.

armano2 reacted with thumbs up emoji

@armano2
Copy link
CollaboratorAuthor

@uniqueiniquity i tried to setup this rule inside this project and i got a lot of false-positives withany, than i tried to disable any by using option and its started crashing.

((Syntax as any).ArrayExpression = 'foo')

Syntax has no type in this case

@JamesHenry
Copy link
Member

@uniqueiniquity Shall I wait to approve this so that you can look into it? I imagine that will make it easier to track?

@uniqueiniquity
Copy link
Contributor

@JamesHenry looking now

armano2 reacted with hooray emoji

@uniqueiniquity
Copy link
Contributor

@armano2@JamesHenry I've addressed the issue in in#226; it was an issue in convert after all :)

armano2 reacted with thumbs up emoji

@armano2armano2 closed thisFeb 7, 2019
@armano2armano2 deleted the no-unnecessary-type-assertion branchFebruary 7, 2019 19:00
kaicataldo pushed a commit to kaicataldo/typescript-eslint that referenced this pull requestAug 27, 2019
…pescript-eslint#227)- correct url in no-misused-new- add tslint addontation to no-namespace- enable rules: eslint-plugin/no-deprecated-context-methods, eslint-plugin/prefer-output-nullfixes:typescript-eslint#213fixes:typescript-eslint#212
@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

@uniqueiniquityuniqueiniquityAwaiting requested review from uniqueiniquity

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@uniqueiniquity@JamesHenry

[8]ページ先頭

©2009-2025 Movatter.jp