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
Hi there, thank you for making and maintaining this extension 🤩
I have a question about monorepo setup - what I'm trying to accomplish is to override config file name in a monorepo, but only for some packages. You can see this repo for a reproducible case: https://github.com/dangmai/vscode-eslint-monorepo-issue
In that repo, I'd like to use .eslintrc.js for package a, and .eslintrc.custom.js for package b.
In the settings.json file, if you uncomment the overrideConfigFile, ESLint stops working altogether because it can't find that file in package a.
Is there an option that I'm overlooking her that can accomplish this? Thanks again in advance!
The text was updated successfully, but these errors were encountered:
I did find a workaround for this issue:
I basically have a .eslintrc.vscode.js in every subdir, and in it I do export require('./eslintrc.custom.js') or export require('./eslintrc.js') based on the correct file this extension should use for that subdir. Then in settings.json I specify overrideConfigFile as .eslintrc-vscode.js. It's not pretty but it does the job.
I'll leave this open in case it's something you want to support in the future, if not feel free to close it 👍 Thanks again!
Hi there, thank you for making and maintaining this extension 🤩
I have a question about monorepo setup - what I'm trying to accomplish is to override config file name in a monorepo, but only for some packages. You can see this repo for a reproducible case: https://github.com/dangmai/vscode-eslint-monorepo-issue
In that repo, I'd like to use
.eslintrc.js
for packagea
, and.eslintrc.custom.js
for packageb
.In the
settings.json
file, if you uncomment theoverrideConfigFile
, ESLint stops working altogether because it can't find that file in packagea
.Is there an option that I'm overlooking her that can accomplish this? Thanks again in advance!
The text was updated successfully, but these errors were encountered: