Skip to content
Discussion options

You must be logged in to vote

Thanks for reporting this, and sorry for the slow reply.

Some background: bit writes IDE config files (tsconfig.json, .eslintrc.json, .prettierrc.cjs) into the workspace so your IDE picks up the env configuration of each component. The gap was that when such a file was already in the workspace, bit treated it as its own and rewrote it. A file that you wrote should stay yours — and now it does. I reproduced what you saw before fixing it.

A few things worth knowing:

  • A PR merged the same day you opened this discussion (#9824) added the componentsRootDir and useDefaultDirectory options. When you set a default directory for your components, bit writes its config files no higher than that dire…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by davidfirst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants