Typescript!
See original GitHub issueIs 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:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@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.
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:
Can you document how to use this plugin with typescript?
Related: https://stackoverflow.com/questions/57032522/eslint-complains-about-typescripts-path-aliasing