wesbos/eslint-config-wesbos

Using together with typescript?

kiprasmel opened this issue ยท 8 comments

Hello,

I'm using typescript quite often & would love to use this same config for typescript projects aswell.

I thought maybe someone has already encountered & solved this use case & could share the solution - thanks!

So I managed to get typescript working with eslint myself!

I'll document precisely what you need to do to get it working yourself if you're using eslint-config-wesbos,
but in the meantime, you can explore the different between this repo & mine (click Files changed) - the most important is obviously the .eslintrc.js

https://github.com/typescript-eslint/typescript-eslint
& specifically https://github.com/typescript-eslint/typescript-eslint#how-do-i-configure-my-project-to-use-typescript-eslint helped a lot!

I did not look into it but I just saw this package on npmjs.com that extends the eslint-config-wesbos and also has typescript support: https://www.npmjs.com/package/eslint-config-gristow

I have rebuilt and tuned everything to export modules for javascript, react, node, and typescript

https://www.npmjs.com/package/@abhijithvijayan/eslint-config with eslint 7.x.x & typescript 4.x.x support

@abhijithvijayan Nice work!

@corysimmons Thanks. It's sort of a standalone pluggable fork.

Thanks everyone -super helpful. I've begun work on typescript support for this package.

You can check it out on this branch: https://github.com/wesbos/eslint-config-wesbos/tree/typescript

Still early WIP, so no docs but will update when its ready to try out

#68

Beta is out. Closing this issue