question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Built-in support for TypeScript

See original GitHub issue

Issuehunt badges

Now 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 pvdlg has been rewarded.

Backers (Total: $200.00)

Submitted pull Requests


Tips


IssueHunt has been backed by the following sponsors. Become a sponsor

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:14
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
issuehunt-app[bot]commented, Feb 24, 2020

@sindresorhus has rewarded $180.00 to @pvdlg. See it on IssueHunt

  • 💰 Total deposit: $200.00
  • 🎉 Repository reward(0%): $0.00
  • 🔧 Service fee(10%): $20.00
4reactions
pvdlgcommented, Feb 13, 2020

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 from eslint-config-xo-typescript

Read more comments on GitHub >

github_iconTop Results From Across the Web

Documentation - Utility Types - TypeScript
TypeScript provides several utility types to facilitate common type transformations. These utilities are available globally. Awaited<Type>. Released: 4.5. This ...
Read more >
Using built-in utility types in TypeScript - LogRocket Blog
In this post, you can learn about the many built-in utility types that come with TypeScript and why/how to use them.
Read more >
TypeScript Builtin Types. Part III | Alex Vasilyev | Geek Culture
This knowledge provides you the full picture of TypeScript language, it's the foundation which will help you to solve any tricky task.
Read more >
What Is TypeScript? (Definition, How-To, vs. JavaScript) | Built In
TypeScript is a programming language that's a superset of JavaScript, which means it understands all of JavaScript's syntax and capabilities ...
Read more >
Built in Types | TypeScript Tutorial - YouTube
Access 7000+ courses for 60 days FREE: https://pluralsight.pxf.io/c/1291657/424552/7490 "We will check out the built-in types in Typescript.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found