-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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: @typescript-eslint/no-useless-constructor failed with Abstract Class + Inheritance #7996
Comments
Your playground doe snot reproduce the error. Please provide a MINIMAL reproduction that reproduces the error as described. |
The online playground can't select the latest version |
This would have been very useful information to file as part of the original issue! When you file a bug you should make sure to include a minimal reproduction case along with all the relevant information (eg "it works on version X but not on version Y"). |
You're extending So you're using v6 of our plugin with v5 of our parser. You can't mix and match like this. |
@bradzacher Thanks for your research! I have submitted an issue to Taro: NervJS/taro#14904 |
Before You File a Bug Report Please Confirm You Have Done The Following...
Playground Link
https://typescript-eslint.io/play/#ts=5.3.2&fileType=.ts&code=JYWwDg9gTgLgBAbzgIQIYGcCmAaOAZYdGAYQAsBXAOwGs4BfOAMyghDgHIABYAE01RCoANkID0PVDFQBaLFABuwAMaZ2AbgCwAKFCRYifIRgBZCHyG4AcpgDuAEUmp6TFm3YgIAIwAe0qJiJGciF1bV1oeABHckwoAE8AZRgoYEoAcxdWDmjYuNlk1LTQrW1Mbz14VE8iKFQleCUhDHQ4ABUqoUxTcwAebTg4OzgymExKHha0LGx%2BuAAxYe9R8Zbre0ceuwA%2BOABeODWHKU2t7R2RsYnDIm7MIU3cOZ2EWYw4yiU4IQhUHgAFVBpTAACjAgMwAElxmUAFxwSjkECeWK4MFAhLAABemDhCKRKKYwCEoygcLmAEpELMBkoIJQiAZPGY4s59qgbKhgPAYKRCAA6RrAMYwPlAmA9AhEMhUagnLbA6kDOAAAwAJAgefzPBhMABVABKELoAH51Tl4kkUuk%2BTVCsBGHFgS8tErXXA%2BR7GESSTMXW6BmjIdDvL7-QHwRjsYqBnRyXRlYryZo-QN-DByFBKAZA0dUHCmTw4gBCPlCIy4GAQKRCYgQKgwfPMku0%2Bv0ZMx7R0bRAA&eslintrc=N4KABGBECmAeAu0B2ATAzpAXGA2uCU8AhgE4D2A9CdEQMbyT4C6ANPpAA4A2ArgOYBLJBmx4CUNAIC23aAFppHMiXhy0yhszYRIJHl2giwocZEUaKAMwEk0DbJDKXLkbQUiSZBhTI1qL5ipGMCTkJK74Op6yPkoq-ioUcHHwwdChyhGmAALwAJ4chrQkAhyqhlxC8BRIZHI8aNAGaGhytGTC8Hr0mQ5OLm46uQVFJWVyFVU1dWgAFkQoZADuWFD9We7UdNXq8e0yq47OGzpb9BQAVmiw9Y2tZ-Zrx4NQD1Q09ApIclc3aO2FQ7rfAAXxAIKAA&tsconfig=N4KABGBEDGD2C2AHAlgGwKYCcDyiAuysAdgM6QBcYoEEkeAhpgObp4VTokBMADAIwB2SABpwNSPFgATAK4Z2MBJKIArMqJpRM6SQDd0AYSXoieMpQBm9VCXQbxibbcz6jpPAFEiM%2BObB5MGTsxWklZDAAlTlhUGQJiBSJpdBEQjgAPRCxkeBMGVAARdDhMejxYTD8AoPtaJIBJJFRkaGQ8AEEiAE92KxtgzUhrVFgAdwBlLtMAC1YWoqs5PEbECrN2aoHxWDiC5EwFZoAjVMGkgFVvWykAGVhoayrArbrYS5lrgAVGely8LCeNTSkBIARaeAAcnJUAZZtAANaAl5QEg7TDQdAAWXoiA2z1qUCO9Fs50wqAUADpTuJMLBYHg9gdKJAqQTIGp0gptPRoHgALQc6m0YZjABSSLZThi%2BnFxEx0jkKUomzZJHhyEQN2QR1hxXheKBgzwXSyETp60oAG00q8pOgAPphRUkAD0AAFjVl1DaoEwRkTUBSpBT1mkALpiAC%2B9kg6HS0FidvY1rOyUdCow3sGUmQoMgYjDMbgSDQ6GwRHG9H0vUe6BAkaAA&tokens=false
Repro Code
IdeaMall/mini-app@0ab7e17
ESLint Config
tsconfig
Expected Result
ESLint run with no crash in IdeaMall/mini-app#45.
Actual Result
Additional Info
If I turn off this rule, the error disappears:
May be related with #7721.
The text was updated successfully, but these errors were encountered: