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.

Is your feature request related to a problem? Please describe. I’m always frustrated when try to be the first one to use typescript with eslint-plugin-boundaries 😀

Describe the solution you’d like debugging eslint-plugin-boundaries I found it’s using const resolve = require("eslint-module-utils/resolve").default; to resolve import paths which lead me to typescript section https://github.com/benmosher/eslint-plugin-import#typescript

so long story short adding - plugin:import/typescript # this line does the trick to extends works!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
lindekaercommented, Aug 18, 2021

@javierbrea thanks a lot for your quick response! 🌟 I’m not sure I can help with the contribution, but I’ll share my example TS project that I’m unable to get working.

1reaction
Amareiscommented, Jun 10, 2021

I try to use this plugin with my typescript project, and it’s definitely not working with TS paths aliases. When I added https://www.npmjs.com/package/eslint-import-resolver-typescript, it starts throwing strange errors:

image

Can you document how to use this plugin with typescript?

Related: https://stackoverflow.com/questions/57032522/eslint-complains-about-typescripts-path-aliasing

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeScript: JavaScript With Syntax For Types.
TypeScript is a strongly typed programming language that builds on JavaScript, giving you better tooling at any scale. Try TypeScript Now. Online or...
Read more >
TypeScript - Wikipedia
TypeScript is a free and open source programming language developed and maintained by Microsoft. It is a strict syntactical superset of JavaScript and...
Read more >
TypeScript Introduction - W3Schools
TypeScript is a syntactic superset of JavaScript which adds static typing. This basically means that TypeScript adds syntax on top of JavaScript, ...
Read more >
TypeScript is a superset of JavaScript that compiles ... - GitHub
TypeScript is a language for application-scale JavaScript. TypeScript adds optional types to JavaScript that support tools for large-scale JavaScript ...
Read more >
Why You Should Use TypeScript - Serokell
What is TypeScript? ... In short, TypeScript is a superset of JavaScript that has optional typing and compiles to plain JavaScript. In simpler ......
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