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

Prettier + TSLint + ESLint #7

Closed
azdanov opened this issue Jun 2, 2018 · 6 comments
Closed

Prettier + TSLint + ESLint #7

azdanov opened this issue Jun 2, 2018 · 6 comments

Comments

@azdanov
Copy link
Contributor

azdanov commented Jun 2, 2018

I have been playing around with this idea for some time. Why? I miss some of the plugins and functionality of eslint in typescript (ay11, import, airbnb, unicorn with some other plugins and configs.)

Here's my gist with settings: https://gist.github.com/azdanov/7e74ed6ce41536b08277f4121a4f5218

And a working repo:
https://github.com/azdanov/tslint-eslint-crats

What is important:

Issues:

@tsiq-swyx
Copy link
Contributor

wow... ok i would say that this is not a common usecase, but i understand why you want the eslint plugins. want to PR in a section under the Prettier + TSLint section? i dont use eslint so i can't really help unfortunately.

@azdanov
Copy link
Contributor Author

azdanov commented Jun 2, 2018

Sure thing. Will be sending one. 👍

@gyandeeps
Copy link

I had always used eslint in my projects. But recently when i started using typescript and i ended up not using any lint tool but use typescript in strict mode.
Here is my thought: https://dev.to/gyandeeps/coding-with-typescript-prettier-and---1m1

Wanted to know your thoughts. thanks

@tsiq-swyx
Copy link
Contributor

yeah prettier + tslint is good for most people. but @azdanov has valid reasons to add in eslint plugins for his needs. happy to include it in this cheatsheet for people who may not know it is possible.

@jingkeke
Copy link

jingkeke commented Apr 7, 2019

2019年官方推荐是用eslint而不是tslint了吧...https://dev.to/robertcoopercode/using-eslint-and-prettier-in-a-typescript-project-53jb

@swyxio
Copy link
Collaborator

swyxio commented Apr 8, 2019

thanks @jingkeke - that section does need an update.

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