-
Notifications
You must be signed in to change notification settings - Fork 99
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
Improve error message when tslint is not recognized #738
Comments
👋 @marcusjwhelan, thanks for using npm i -g tslint That being said, I think $ tslint-to-eslint-config --comments tsconfig.json
Error: could not find the 'tslint' package. Do you need to install it?
npm i -g tslint |
@JoshuaKGoldberg I found that my IDE(Webstorm) did not have the node interpreter targeting my local npm. I did not have to install globally just locally as dev. I rather not install global packages unless absolutely necassary, but it would be nice to not have to have an install of tlsint to do this. Also, I have seen this fix on many other issues and wonder why it doesn't get placed on default if it fixes many issues. In .eslintrc.js inside "parserOptions" placing 'createDefaultProgram': true Seems to fix a lot of eslint issues with my IDE. Also the error message for the error shown here typescript-eslint/typescript-eslint#967 can be fixed with this and the combination of fixing the includes from "include": [
"/src"
] to "include": [
"**/src/**/*.ts"
] If that helps any I just wanted to state the things I had to do to update this project to work with this project. Thanks for the help it looks like things are working now. |
Solved in #837. 🚀 |
🐛 Bug Report
tslint-to-eslint-config
version: 1.5.0Actual Behavior
I run the command
Just like in my other project and get this output instead of conversion. All the same versions in my other project except it works
Expected Behavior
Converts just like my other project using all the same versions
Reproduction
base.json - is the base for the tsconfig
tsconfig
tslint
Or check out the package npm clone tedb-utils https://github.com/tedb-org/tedb-utils
The text was updated successfully, but these errors were encountered: