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

feat(eslint-plugin): [restrict-template-expressions] add option to allow RegExp #3709

merged 2 commits into from Sep 3, 2021


Copy link

@a-tarasyuk a-tarasyuk commented Aug 4, 2021

Fixes #3671

Copy link

@typescript-eslint typescript-eslint bot commented Aug 4, 2021

Thanks for the PR, @a-tarasyuk!

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 codecov bot commented Aug 4, 2021

Codecov Report

Merging #3709 (2f95917) into master (db78642) will increase coverage by 0.89%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #3709      +/-   ##
+ Coverage   92.68%   93.58%   +0.89%     
  Files         327      147     -180     
  Lines       11351     7867    -3484     
  Branches     3201     2492     -709     
- Hits        10521     7362    -3159     
+ Misses        369      161     -208     
+ Partials      461      344     -117     
Flag Coverage Δ
unittest 93.58% <100.00%> (+0.89%) ⬆️

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

Impacted Files Coverage Δ
...-plugin/src/rules/restrict-template-expressions.ts 100.00% <100.00%> (ø)
... and 171 more


Copy link

@bradzacher bradzacher left a comment

thanks for this!


@bradzacher bradzacher merged commit 363b3dc into typescript-eslint:master Sep 3, 2021
11 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 4, 2021
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.

3 participants