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(eslint-plugin): [consistent-type-assertions] check type assertion in jsx props #2653

Merged
merged 1 commit into from Oct 11, 2020

Conversation

yeonjuan
Copy link
Contributor

@yeonjuan yeonjuan commented Oct 8, 2020

fixes #2587

@typescript-eslint
Copy link
Contributor

Thanks for the PR, @yeonjuan!

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 on https://opencollective.com/typescript-eslint. As a thank you, your profile/company logo will be added to our main README which receives thousands of unique visitors per day.

@codecov
Copy link

codecov bot commented Oct 8, 2020

Codecov Report

Merging #2653 into master will decrease coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2653      +/-   ##
==========================================
- Coverage   92.84%   92.80%   -0.05%     
==========================================
  Files         294      293       -1     
  Lines        9664     9604      -60     
  Branches     2711     2711              
==========================================
- Hits         8973     8913      -60     
  Misses        326      326              
  Partials      365      365              
Flag Coverage Δ
#unittest 92.80% <ø> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...int-plugin/src/rules/consistent-type-assertions.ts 86.48% <ø> (ø)
packages/scope-manager/src/lib/index.ts

@bradzacher bradzacher added the bug Something isn't working label Oct 8, 2020
Copy link
Member

@bradzacher bradzacher left a comment

Choose a reason for hiding this comment

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

ezpz. LGTM - thanks for your contribution!

@bradzacher bradzacher changed the title fix(eslint-plugin): [consistent-type-assertions] allow type assertion in jsx props fix(eslint-plugin): [consistent-type-assertions] check type assertion in jsx props Oct 11, 2020
@bradzacher bradzacher merged commit 393e925 into typescript-eslint:master Oct 11, 2020
@fregante
Copy link
Contributor

Thank you!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[consistent-type-assertions] allow-as-parameter doesn't work in JSX
3 participants