Built-in support for TypeScript
See original GitHub issueNow that the TypeScript project is officially committed to using and supporting ESLint, I would like to explore adding built-in support for TypeScript in XO. You can already use TypeScript with XO, but I would like to make it just work.
I have already updated the shareable TS config for the new plugin: https://github.com/xojs/eslint-config-xo-typescript/commit/1161b418bebab5511d8dddf4cba98a71bb1311e5
XO will add TypeScript and the TypeScript ESLint plugin as a dependency.
We still need to discuss how it will exactly work. Can we manage to do it without any setting?
Note to self: Should lint foo.d.ts
(TS definition files) in non-TS projects automatically.
This issue requires you to have extensive JS knowledge. It’s not an easy issue. Only undertake it if you are confident you can handle it and you intend to see it through.
IssueHunt Summary
pvdlg has been rewarded.
Backers (Total: $200.00)
issuehunt ($200.00)
Submitted pull Requests
Tips
- Checkout the Issuehunt explorer to discover more funded issues.
- Need some help from other developers? Add your repositories on IssueHunt to raise funds.
IssueHunt has been backed by the following sponsors. Become a sponsor
Issue Analytics
- State:
- Created 5 years ago
- Reactions:14
- Comments:6 (2 by maintainers)
@sindresorhus has rewarded $180.00 to @pvdlg. See it on IssueHunt
I’ll start working on this issue soon. I need to experiment but I think I can make it work without an option. Every
.ts
/.tsx
would be linted with the xo config + the config fromeslint-config-xo-typescript