-
Notifications
You must be signed in to change notification settings - Fork 101
Unclear error message when tslint.json doesn't exist #823
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
Comments
Documentations are not clear, i have tried below listed doc - nothing works |
my appplicatoin - https://github.com/kumaresan-subramani/ESlint-tester please share steps to switch from TS-lint to Es-lint |
Hi @kumaresan-subramani! Per this repository's README, tslint-to-eslint-config requires Node >=10. You're running Node 8. Please update your version of Node. Given that both Closing this issue for housekeeping, but if you update to Node >=10 (I recommend the latest versions, 14 or 15), and the issue persists, please do feel free to post here again and we can take another look. Thanks! |
HI @JoshuaKGoldberg , Same issue after upgrading node version too. Can you please proper docs to switch tslint to eslint |
HI @JoshuaKGoldberg , Replication steps
|
The main issue I see is the lack of |
Hi @KingDarBoja , thank for reply. that will refer from here https://github.com/kumaresan-subramani/ESlint-tester/blob/main/gulpfile.js#L1 i have |
Yup, there's your issue! I can reproduce the latest error you posted as-is in the repository after running FWIW not having a |
Hi @JoshuaKGoldberg , I have also tried to add |
FYI https://github.com/kumaresan-subramani/ESlint-tester/blob/main/tslint.json i have added that now but still same issue |
@JoshuaKGoldberg , any update on this |
Hey again @kumaresan-subramani -- I've sent a PR (#827) to improve the error message for when the It's great that you're excited to switch from TSLint to ESLint, so if this issue that appears to be only happening for your specific repository is blocking your switch, I'd encourage you to take a look at debugging through We should also note that |
i found my issue i have tslint version at 4.0.2 |
🐛 Bug Report
tslint-to-eslint-config
version: X.X.XWhen i run these commands one by one, i am facing below issue
Docs - https://eslint.org/docs/user-guide/getting-started#installation-and-usage
The text was updated successfully, but these errors were encountered: