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
Bug: [space-infix-ops] false positive since version 5.27.0 #5133
Comments
I had the same problem. It looks similar to #5115. The fix has been merged but the |
It looks like the latest alpha release now fixes the problem in most cases, but does not include those cases that contain type Foo<T> = T extends { bar: string } ? string : number
^ type Foo<T> = T extends (bar: string) => void ? string : number
^ |
Canary is released on npm ?
Le mer. 1 juin 2022, 14:27, Armano ***@***.***> a écrit :
… @paztis <https://github.com/paztis> fixed by #5113
<#5113>, can
you check canary 5.27.1-alpha.5
—
Reply to this email directly, view it on GitHub
<#5133 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABIKMMNQGRCACLZ2ENKZ7X3VM5JLVANCNFSM5XQIN3ZA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
As mentioned in our root readme |
Please use the issue search before filing an issue. Closed issues are a must when searching. |
Wait. I just discover this defect yesterday and was thinking it was due to this 2 days ago commit. Now even if the defect is closed it is still not released... When is it supposed to be released ? |
all commits that land on as for normal release, we usually have them at beginning of the week (~monday) |
This is explained in the link. Armano is correct - canary off every commit, stable every monday morning PST. |
Before You File a Bug Report Please Confirm You Have Done The Following...
Playground Link
https://typescript-eslint.io/play/#ts=4.7.2&sourceType=module&code=FAOwhgtgpgzgDmAxlABDANgS2QESgMxQG9gUUoAPOAewCcAXFTEeqW-JVASQGV6xWxFAF9go4ABMoidGFqpE1EDEaJ5AqDyjpp9OgC4UYEAE8A3MGCUaDFFI4BXdKtkwYKLTsR7a7kmQxsTW1dOgAKRAdaeRY+DUNA3AIAOl5+VgBKBKwk-FS4wSIUeXookBRI6KhY9KgzEUsyKH4AcxhPUNpDMJV4tByoPDy0jQyUAF4APhQAJWk6CQAeFVpmFoAaNHpVkBbp8dIyCvVWDu9w+gALTBhkxOCvH02egbGp-qDk5rA2jItRIA&eslintrc=N4KABGBEBOCuA2BTAzpAXGUEKWQBwEMBjRAWgEsA7AM3IA9SB7PVDSR66yAGnG0gACAFwCeeFEWjk8Q0inhUhAenzEyVWg2aswAbT7YoiaNEbQeB7FkP9FAZgBMACUXow1AvGSJLEAL6WALp8AX5AA&tsconfig=N4KABGBEDGD2C2AHAlgGwKYCcDyiAuysAdgM6QBcYoEEkJemy0eAcgK6qoDCAFutAGsylBm3TgwAXxCSgA
Repro Code
ESLint Config
tsconfig
Expected Result
no error
Actual Result
11:26 error Operator ':' must be spaced @typescript-eslint/space-infix-ops
Additional Info
No response
Versions
@typescript-eslint/eslint-plugin
5.27.0
@typescript-eslint/parser
5.27.0
TypeScript
4.7.2
ESLint
8.16.0
node
16.5.0
The text was updated successfully, but these errors were encountered: