-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
tools: lint typescript files #55709
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
tools: lint typescript files #55709
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #55709 +/- ##
==========================================
- Coverage 88.40% 88.40% -0.01%
==========================================
Files 654 654
Lines 187746 187815 +69
Branches 36126 36134 +8
==========================================
+ Hits 165978 166038 +60
+ Misses 15009 15005 -4
- Partials 6759 6772 +13 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checkout on the pr, changed a typescript file with invalid format, and run make lint-js-fix
and it did not fix the format.
Where is the TypeScript file you edited? In my case, it appears to be correctly linting TypeScript files. Most places where TypeScript files exist aren't linted, for example, the test fixtures are excluded from linting entirely |
7fceacc
to
12877bf
Compare
|
Follow up would be better |
That folder contains a lot of lint errors (for example, unreachable code), as with most of the fixtures, and I think it's best to not lint.
I'll edit the config to lint that folder, now that there is typescript support.
IMO keeping it as |
@avivkeller are you still interested in landing this PR? |
It's been several months, and I no longer have the bandwidth to continue with this, apologies. |
Fixes #55702 by enabling
typescript-eslint
on TypeScript files.