You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have several TS projects that refer to each other via project references. Running eslint on any individual project works, but every time I open a file in a new project, vscode-eslint tries to lint that one as well, and quickly runs out of memory and crashes.
I tried the solution outlined in the issue above (one big tsconfig fed to eslint) but OOMs when I run eslint, since all of my projects together are too big to lint at once. Any small subset of the projects wouldn't be so big, but there are some big projects that are shared among them which I think are getting linted in every process.
Is there any way to
limit eslint to only lint one project at a time
turn up the max_old_space_size for the node process run by vscode
solve this in some other way?
Unfortunately this repo is closed-source but I'm happy to share any other information that you think would be helpful.
I'm running vscode remotely but the same issue is easily replicable on my laptop. If helpful, I've copied one of the (many many) crash logs below.
I think the right solution is to be able to specify max_old_space_size which makes it a dup of #733. There is also a nice workaround described here #733 (comment) until we have first level support for this.
This is similar to typescript-eslint/typescript-eslint#1192, but is especially pernicious when I'm using vscode-eslint.
I have several TS projects that refer to each other via project references. Running eslint on any individual project works, but every time I open a file in a new project, vscode-eslint tries to lint that one as well, and quickly runs out of memory and crashes.
I tried the solution outlined in the issue above (one big tsconfig fed to eslint) but OOMs when I run eslint, since all of my projects together are too big to lint at once. Any small subset of the projects wouldn't be so big, but there are some big projects that are shared among them which I think are getting linted in every process.
Is there any way to
Unfortunately this repo is closed-source but I'm happy to share any other information that you think would be helpful.
I'm running vscode remotely but the same issue is easily replicable on my laptop. If helpful, I've copied one of the (many many) crash logs below.
Thanks for your help!
The text was updated successfully, but these errors were encountered: