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.

eslint warnings and IDE intellisense.

See original GitHub issue

Are there ways how to say eslint, WebStorm, VS Code, about my @root so as eslint will stop warn about unresolved paths, and VSCode autocompletion started to work with such paths started with @root and Go to definition started to work for such require(‘@root/bla/bla1’). ?

Related to https://github.com/ilearnio/module-alias/issues/19

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:11
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
ilearniocommented, Mar 1, 2019
1reaction
cdichiaracommented, Mar 1, 2019

Thanks, I’ll go look … I just assumed there’d be some way that you would register your require() syntax with eslint so that it understood it and was able to verify it. I’ll check out the packages you suggested, thanks. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

ESLint | IntelliJ IDEA Documentation - JetBrains
IntelliJ IDEA shows warnings and errors reported by ESLint right in the editor, as you type. With ESLint, you can also use JavaScript...
Read more >
VS Code ESLint extension - Visual Studio Marketplace
Integrates ESLint into VS Code. If you are new to ESLint check the documentation. The extension uses the ESLint library installed in the...
Read more >
How To Lint and Format Code with ESLint in Visual Studio Code
You can use a linter to do this. Linters check your code for syntax errors and highlight errors to make sure you can...
Read more >
ESLint not working in VSCode? Help build a troubleshooting ...
Open the command palette by pressing Ctrl / Cmd + Shift + P and select 'ESLint: Show Output Channel'. If ESLint throws any...
Read more >
Working with Rules - ESLint - Pluggable JavaScript Linter
This allows you to avoid retyping error messages. It also prevents errors reported in different sections of your rule from having out-of-date messages....
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