Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(parser): add visiting of type parameters in JSXOpeningElement #150

Merged
merged 4 commits into from
Jan 27, 2019
Merged

fix(parser): add visiting of type parameters in JSXOpeningElement #150

merged 4 commits into from
Jan 27, 2019

Conversation

armano2
Copy link
Member

@armano2 armano2 commented Jan 27, 2019

This PR adds missing visitor keys to parser, and missing parameter into JSXOpeningElement

fixes: #141

cc: @claneo

@codecov
Copy link

codecov bot commented Jan 27, 2019

Codecov Report

Merging #150 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #150      +/-   ##
=========================================
+ Coverage    95.1%   95.1%   +<.01%     
=========================================
  Files          49      49              
  Lines        2490    2493       +3     
  Branches      373     373              
=========================================
+ Hits         2368    2371       +3     
  Misses         73      73              
  Partials       49      49
Impacted Files Coverage Δ
packages/parser/src/visitor-keys.ts 100% <ø> (ø) ⬆️
packages/parser/src/analyze-scope.ts 93.3% <100%> (+0.07%) ⬆️

@armano2 armano2 self-assigned this Jan 27, 2019
@JamesHenry JamesHenry merged commit 5e16003 into typescript-eslint:master Jan 27, 2019
@armano2 armano2 deleted the visitor-keys branch January 27, 2019 17:06
uniqueiniquity pushed a commit to uniqueiniquity/typescript-eslint that referenced this pull request Jan 28, 2019
…escript-eslint#173)

Fixes typescript-eslint#150

Whilst `TSParameterProperty`s are arguments, they are also technically class properties.
`no-unused-vars` has no handling for class properties, so just mark them as used.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[no-unused-vars] false positive when use imported type in JSX generic component
2 participants