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-use-before-define] allow class references if they're within a class decorator #2827

Merged
merged 1 commit into from Nov 29, 2020

Conversation

bradzacher
Copy link
Member

@bradzacher bradzacher commented Nov 29, 2020

Fixes #2824

@bradzacher bradzacher added the bug Something isn't working label Nov 29, 2020
@typescript-eslint
Copy link
Contributor

Thanks for the PR, @bradzacher!

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 Nov 29, 2020

Codecov Report

Merging #2827 (504f94e) into master (bf904ec) will decrease coverage by 0.01%.
The diff coverage is 80.00%.

@@            Coverage Diff             @@
##           master    #2827      +/-   ##
==========================================
- Coverage   92.74%   92.72%   -0.02%     
==========================================
  Files         309      309              
  Lines       10317    10327      +10     
  Branches     2920     2925       +5     
==========================================
+ Hits         9568     9576       +8     
- Misses        346      347       +1     
- Partials      403      404       +1     
Flag Coverage Δ
unittest 92.72% <80.00%> (-0.02%) ⬇️

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

Impacted Files Coverage Δ
...es/eslint-plugin/src/rules/no-use-before-define.ts 91.11% <80.00%> (-1.39%) ⬇️

@bradzacher bradzacher merged commit 050023a into master Nov 29, 2020
@bradzacher bradzacher deleted the 2824-nubd-deco branch November 29, 2020 21:39
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 30, 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.

[no-use-before-define] class reference in its decorator reports error even if with option classes: false
1 participant