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): [typedef] support "for..in", "for..of" #787

Merged
merged 2 commits into from Aug 2, 2019

Conversation

octogonz
Copy link
Contributor

@octogonz octogonz commented Aug 1, 2019

Fixes #783

@typescript-eslint
Copy link
Contributor

Thanks for the PR, @octogonz!

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

@bradzacher bradzacher changed the title fix(eslint-plugin): [typedef] fix "variableDeclaration" to work with "for..in" and "for..of" fix(eslint-plugin): [typedef] support "for..in", "for..of", "try..catch" Aug 2, 2019
@bradzacher bradzacher changed the title fix(eslint-plugin): [typedef] support "for..in", "for..of", "try..catch" fix(eslint-plugin): [typedef] support "for..in", "for..of" Aug 2, 2019
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.

LGTM - thanks for fixing this

@codecov
Copy link

codecov bot commented Aug 2, 2019

Codecov Report

Merging #787 into master will decrease coverage by <.01%.
The diff coverage is 92.85%.

@@            Coverage Diff             @@
##           master     #787      +/-   ##
==========================================
- Coverage   94.21%   94.21%   -0.01%     
==========================================
  Files         112      112              
  Lines        4808     4821      +13     
  Branches     1334     1336       +2     
==========================================
+ Hits         4530     4542      +12     
  Misses        159      159              
- Partials      119      120       +1
Impacted Files Coverage Δ
packages/eslint-plugin/src/rules/typedef.ts 95.91% <92.85%> (-1.31%) ⬇️

@bradzacher bradzacher merged commit 39e41b5 into typescript-eslint:master Aug 2, 2019
@bradzacher bradzacher added the bug Something isn't working label Aug 2, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 21, 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.

[@typescript-eslint/typedef] variableDeclaration broken with for..of loops
2 participants