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-var-requires] report problems within NewExpression #3884

merged 1 commit into from Sep 20, 2021


Copy link

Fixes #3883.

Copy link

Thanks for the PR, @rafaelss95!

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.

Copy link

codecov bot commented Sep 14, 2021

Codecov Report

Merging #3884 (c9b53f2) into master (b1df817) will increase coverage by 0.82%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3884      +/-   ##
+ Coverage   92.70%   93.53%   +0.82%     
  Files         329      149     -180     
  Lines       11534     8043    -3491     
  Branches     3257     2550     -707     
- Hits        10693     7523    -3170     
+ Misses        368      164     -204     
+ Partials      473      356     -117     
Flag Coverage Δ
unittest 93.53% <ø> (+0.82%) ⬆️

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

Impacted Files Coverage Δ
...ackages/eslint-plugin/src/rules/no-var-requires.ts 88.88% <ø> (ø)
... and 171 more

@bradzacher bradzacher added the bug Something isn't working label Sep 14, 2021
Copy link

@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.

thanks for fixing this!

@bradzacher bradzacher merged commit ed5e459 into typescript-eslint:master Sep 20, 2021
11 checks passed
@rafaelss95 rafaelss95 deleted the fix/3883 branch September 20, 2021 23:35
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
bug Something isn't working
None yet

Successfully merging this pull request may close these issues.

[@typescript-eslint/no-var-requires] Error as function arg, but not as constructor arg
2 participants