-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
accepting prsGo ahead, send a pull request that resolves this issueGo ahead, send a pull request that resolves this issuebugSomething isn't workingSomething isn't workingpackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin
Description
Repro
{
"rules": {
"@typescript-eslint/prefer-optional-chain": "warn"
}
}
foo && foo.a && bar && bar.a
Expected Result
foo?.a && bar?.a
Actual Result
foo?.a && bar && bar.a
Additional Info
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin |
2.16.0 |
@typescript-eslint/parser |
2.16.0 |
TypeScript |
3.7.4 |
ESLint |
6.8.0 |
node |
13.5.0 |
npm |
6.13.4 |
armano2
Metadata
Metadata
Assignees
Labels
accepting prsGo ahead, send a pull request that resolves this issueGo ahead, send a pull request that resolves this issuebugSomething isn't workingSomething isn't workingpackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin