How to extend from turbo? #10400
Replies: 1 comment
-
As per our discussion guidelines (which you ticked as having read): https://typescript-eslint.io/contributing/discussions/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Body
Please consider this eslint config:
It reports this error:
There's not much I can do about this. The
string
it complains about, happens to be'error'
, so I don't understand:So I can't just do
turbo as ConfigWithExtends
or whatever, because ESLint requires the config to be a javascript file. So in fact there's literally nothing I can add to make typescript understand what it's importing.And also, I'm not the author of
eslint-config-turbo
so I can't just add typings to it. But moreover, you can't expect every author of every eslint config package to provide their typings.Afaict, this is placing me between a rock and a hard place. What do I do?
Additional Info
Any additional info...
Before you submit your discussion, please confirm the following. If any of these required steps are not taken, we may not be able to review your RFC. Help us to help you!
Beta Was this translation helpful? Give feedback.
All reactions