The linter is not picking up project's eslintrc files
See original GitHub issueI 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:
- Created 8 years ago
- Comments:10 (6 by maintainers)
Top 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 >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 FreeTop 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
Top GitHub Comments
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 localeslint
package itself. Will this be fixed by the proposed move to revive thejavascript.validate.enable
setting?Issue was closed.