-
Notifications
You must be signed in to change notification settings - Fork 507
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
Add eslint #7
Comments
Why not eslint? Even TS is migrating to it: microsoft/TypeScript#30553 |
Yeah made issue before the announcement |
I just started using tsdx and found the lack of linting surprising! I've added linting with Does that sound useful for a patch? |
we have a tsdx lint command that is a bit stale - #99 i havent been involved with the discussion tho and am not sure what @jaredpalmer's plan is here |
@jaredpalmer @skvale #99 was shipped, thank you! 🌟 But there are some issues with it...
Thanks for reading! |
Can you submit a PR with these changes? |
Sure thing. I pushed #189 to fix 3 and 4. 1 and 2 require some extra attention.
|
- Fixes the husky pre-commit hook not using the `tsdx lint` command - Fixes `tsdx lint` without any input files failing with a help message instead of silently appearing to succeed. Related to #7
In a basic tsdx project, to deal with 1. @bbugh mentioned
we have to directly call eslint rather than "lint": "eslint --fix \"./src/**/*.ts\"" Is there a way to override/ignore the tsdx eslint config? Or document this as a recommended option? |
No description provided.
The text was updated successfully, but these errors were encountered: