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): [dot-notation] false positive with optional chaining #3711

Merged
merged 1 commit into from Aug 30, 2021

Conversation

djcsdy
Copy link
Contributor

@djcsdy djcsdy commented Aug 5, 2021

fixes #3510

@typescript-eslint
Copy link
Contributor

Thanks for the PR, @djcsdy!

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 Aug 5, 2021

Codecov Report

Merging #3711 (7756865) into master (4d3ae13) will increase coverage by 0.89%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #3711      +/-   ##
==========================================
+ Coverage   92.68%   93.57%   +0.89%     
==========================================
  Files         327      147     -180     
  Lines       11351     7864    -3487     
  Branches     3201     2490     -711     
==========================================
- Hits        10521     7359    -3162     
+ Misses        369      161     -208     
+ Partials      461      344     -117     
Flag Coverage Δ
unittest 93.57% <100.00%> (+0.89%) ⬆️

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

Impacted Files Coverage Δ
packages/eslint-plugin/src/rules/dot-notation.ts 92.30% <100.00%> (ø)
packages/scope-manager/src/referencer/Reference.ts
...ackages/scope-manager/src/scope/MappedTypeScope.ts
...cope-manager/src/definition/ClassNameDefinition.ts
packages/experimental-utils/src/ts-eslint/Scope.ts
packages/scope-manager/src/lib/es2015.symbol.ts
packages/scope-manager/src/scope/FunctionScope.ts
...s/experimental-utils/src/eslint-utils/deepMerge.ts
...ages/scope-manager/src/referencer/ImportVisitor.ts
...ckages/scope-manager/src/lib/webworker.iterable.ts
... and 171 more

@bradzacher bradzacher added the bug Something isn't working label Aug 5, 2021
@bradzacher bradzacher changed the title fix(eslint-plugin): dot-notation: false positive with optional chaining fix(eslint-plugin): [dot-notation] false positive with optional chaining Aug 30, 2021
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.

thanks for fixing this!

@bradzacher bradzacher merged commit c19fc6e into typescript-eslint:master Aug 30, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 30, 2021
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.

[dot-notation] False positive with optional chaining and allowIndexSignaturePropertyAccess: true
2 participants