Skip to content
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

Using together with typescript? #33

Closed
kiprasmel opened this issue Oct 4, 2019 · 8 comments
Closed

Using together with typescript? #33

kiprasmel opened this issue Oct 4, 2019 · 8 comments

Comments

@kiprasmel
Copy link

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!

@kiprasmel
Copy link
Author

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!

@herzkoenig
Copy link

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

@kiprasmel
Copy link
Author

@thousandknives Yeah that's cool.
Btw, mine's available @ https://www.npmjs.com/package/eslint-config-sarpik (https://github.com/sarpik/eslint-config-sarpik)

@abhijithvijayan
Copy link

abhijithvijayan commented Feb 3, 2020

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

@corysimmons
Copy link

@abhijithvijayan Nice work!

@abhijithvijayan
Copy link

abhijithvijayan commented Jun 4, 2020

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

@wesbos
Copy link
Owner

wesbos commented Oct 16, 2020

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

@wesbos
Copy link
Owner

wesbos commented Nov 26, 2020

#68

Beta is out. Closing this issue

@wesbos wesbos closed this as completed Nov 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants