eslint.workingDirectories being ignored
See original GitHub issueThe eslint.workingDirectories option is now being ignored - unsure if an update to this plugin or our eslint caused this issue:
"eslint.workingDirectories": [
{
"directory" : "./packages/user-interface",
"changeProcessCWD": true
}
],
We expect the plugin import/resolver
to point to our webpack config in packages/user-interface
not at the root /
level.
Error resolving webpackConfig Error: Cannot find module '/Users/dancooke/Projects/my-project-root/next.config.js'
Require stack:`
It should be resolving the path from the package, as i’ve set changeProcessCWD
to true
eslint version: 6.0.1 vscode-eslint version: 1.9.0
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
vscode eslint not ignoring directory? - Stack Overflow
My solutions is: Source map root/.vscode/settings.json. Script { "eslint.workingDirectories": [{ "mode": "auto" }], }.
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 | PyCharm Documentation - JetBrains
In the Working directories field, specify the working directories for the ESLint process. By default the field is empty and PyCharm detects ...
Read more >Eslint - LSP Mode - LSP support for Emacs
Controls whether a warning should be emitted when a file is ignored. lsp-eslint-working-directories #. Type: lsp-string-vector. Default: [].
Read more >ESLint - Open VSX Registry
lintTask.options": "-c C:/mydirectory/.eslintrc.json --ignore-path ... workingDirectories - specifies how the working directories ESLint is using are ...
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
@johnnyreilly have you upgraded to ESLint 6.0. If so you might want to look at: https://github.com/microsoft/vscode-eslint/issues/696
Thanks, that helped me figure out what I was doing wrong.