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.

The linter is not picking up project's eslintrc files

See original GitHub issue

I have a folder structure like this:

| ParentProject
---| JSProject1
    ---| .eslintrc
---| JSProject2
    ---| .eslintrc
--- somefile.go
--- server.go

The parent project is golang, and has several child folders each being a ES6 project. Now, each project has it’s own .eslintrc file, and a local installation of eslint in it’s node_modules folder. VSCode doesn’t seem to pick up the config files when I have opened a file in the child folders. This works flawlessly and very fast in Atom.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
kumarharshcommented, Mar 9, 2016

Yes, I realised later that I had to necessarily add the jsconfig.json alongside each of my .eslintrc file, then it started picking it up. But yes it’s not picking up the local eslint package itself. Will this be fixed by the proposed move to revive the javascript.validate.enable setting?

0reactions
dbaeumercommented, Nov 4, 2016

Issue was closed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configuration Files - ESLint - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Read more >
ESLint not working in VSCode? Help build a troubleshooting ...
I recently encountered a project where the lint script in the package.json was missing the dot at the very end which tells ESLint...
Read more >
ESLint not working in VS Code? - Stack Overflow
ESLint is going to look for your configuration file first in your project and if it can't find a .eslintrc.json there it will...
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 >
VS Code ESLint extension - Visual Studio Marketplace
Extension for Visual Studio Code - Integrates ESLint JavaScript ... or the file location (if no workspace folder is open) as the working...
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