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): [prefer-optional-chain] handle cases where the first operands are unrelated to the rest of the chain and add type info #6397

Merged
merged 32 commits into from
Jul 7, 2023

configs

4c36891
Select commit
Failed to load commit list.
Codecov / codecov/project succeeded Jul 7, 2023 in 1s

87.48% (-0.03%) compared to 1366ae1

View this Pull Request on Codecov

87.48% (-0.03%) compared to 1366ae1

Details

Codecov Report

Merging #6397 (4c36891) into v6 (1366ae1) will decrease coverage by 0.03%.
The diff coverage is 93.46%.

Additional details and impacted files
@@            Coverage Diff             @@
##               v6    #6397      +/-   ##
==========================================
- Coverage   87.50%   87.48%   -0.03%     
==========================================
  Files         376      375       -1     
  Lines       12937    13140     +203     
  Branches     3821     3892      +71     
==========================================
+ Hits        11321    11495     +174     
- Misses       1231     1264      +33     
+ Partials      385      381       -4     
Impacted Files Coverage Δ
...lugin-internal/src/rules/plugin-test-formatting.ts 79.76% <ø> (ø)
packages/eslint-plugin-tslint/src/rules/config.ts 97.72% <ø> (ø)
...t-plugin/src/rules/adjacent-overload-signatures.ts 95.34% <ø> (ø)
packages/eslint-plugin/src/rules/array-type.ts 97.14% <ø> (ø)
packages/eslint-plugin/src/rules/ban-ts-comment.ts 96.96% <ø> (ø)
...ages/eslint-plugin/src/rules/ban-tslint-comment.ts 100.00% <ø> (ø)
packages/eslint-plugin/src/rules/brace-style.ts 95.34% <ø> (ø)
...t-plugin/src/rules/class-literal-property-style.ts 100.00% <ø> (ø)
packages/eslint-plugin/src/rules/comma-dangle.ts 93.33% <ø> (ø)
packages/eslint-plugin/src/rules/comma-spacing.ts 100.00% <ø> (ø)
... and 92 more

... and 24 files with indirect coverage changes