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.

Still getting linting errors when importing with `.ts` extension.

See original GitHub issue

I’m still getting error from tsserver when importing .ts files, and top level await. Is there an option I should set or something?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:6
  • Comments:35 (11 by maintainers)

github_iconTop GitHub Comments

5reactions
fannheywardcommented, May 29, 2020

@alextes yes, disable doesn’t work. I’ll look into this.

4reactions
fannheywardcommented, Feb 20, 2021

try v3.0.0, use deno lsp.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[import/extensions] 2.20.0 still shows errors for importing TS ...
utilities/cookies" import/extensions This is the same error I was getting on 2.19.1 (as seen in #1558). The error does not appear in 2.18.3....
Read more >
Typescript eslint - Missing file extension "ts" import/extensions
Solution 2: If the error still persists, then probably you must have opened the project in another directory other than the root directory...
Read more >
An import path cannot end with a '.ts' extension in TS
The error "An import path cannot end with a '.ts' extension" occurs when we include the extension when importing TypeScript files. To solve...
Read more >
eslint-plugin-import - npm
This plugin intends to support linting of ES2015+ (ES6+) import/export syntax, and prevent issues with misspelling of file paths and import ...
Read more >
How to use ESLint with TypeScript | Khalil Stemmler
ESLint is a JavaScript linter that you can use to lint either TypeScript or JavaScript code. In this post, we'll walk through how...
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