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): [no-throw-literal] false positive with logical expressions #2645

merged 2 commits into from Oct 11, 2020


Copy link

@jsone-studios jsone-studios commented Oct 7, 2020

Fixes #2642

Copy link

@typescript-eslint typescript-eslint bot commented Oct 7, 2020

Thanks for the PR, @jsone-studios!

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

@jsone-studios jsone-studios force-pushed the jsone-studios:issue-2642 branch from 7fc3717 to 0a8b727 Oct 7, 2020
Copy link

@codecov codecov bot commented Oct 7, 2020

Codecov Report

Merging #2645 into master will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #2645      +/-   ##
+ Coverage   92.80%   92.84%   +0.03%     
  Files         293      294       +1     
  Lines        9604     9653      +49     
  Branches     2711     2707       -4     
+ Hits         8913     8962      +49     
  Misses        326      326              
  Partials      365      365              
Flag Coverage Δ
#unittest 92.84% <100.00%> (+0.03%) ⬆️

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

Impacted Files Coverage Δ
...ckages/eslint-plugin/src/rules/no-throw-literal.ts 95.00% <100.00%> (-1.08%) ⬇️
packages/scope-manager/src/lib/index.ts 100.00% <0.00%> (ø)
@bradzacher bradzacher added the bug label Oct 7, 2020
Copy link

@bradzacher bradzacher left a comment

LGTM! Thanks for your contribution

@bradzacher bradzacher merged commit 57aa6c7 into typescript-eslint:master Oct 11, 2020
10 checks passed
10 checks passed
Unit tests Unit tests
Code style and lint
Run integration tests on primary Node.js version
Run unit tests on other Node.js versions (10.x)
Run unit tests on other Node.js versions (14.x)
Publish the latest code as a canary version
Semantic Pull Request ready to be squashed
codecov/patch 100.00% of diff hit (target 90.00%)
codecov/project 92.84% (+0.03%) compared to 03886d7
@jsone-studios jsone-studios deleted the jsone-studios:issue-2642 branch Oct 12, 2020
@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.
None yet
Linked issues

Successfully merging this pull request may close these issues.

2 participants
You can’t perform that action at this time.