Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yarn ignoring .yarnrc in parent directories #5370

Open
cchamberlain opened this issue Feb 16, 2018 · 1 comment
Open

Yarn ignoring .yarnrc in parent directories #5370

cchamberlain opened this issue Feb 16, 2018 · 1 comment
Assignees
Labels

Comments

@cchamberlain
Copy link

Do you want to request a feature or report a bug?
Report a bug.

What is the current behavior?
Yarn does not merge .yarnrc files up the file tree.

If the current behavior is a bug, please provide the steps to reproduce.

  1. Create a .yarnrc in a parent directory (on Windows 10) with the following content:
version-git-tag false
  1. Run .yarnrc from a child directory.
  2. Note the setting is ignored.

What is the expected behavior?
.yarnrc documentation claims that config files are merged all the way up the file tree. I'd expect the output to show 'version-git-tag': false

https://yarnpkg.com/lang/en/docs/yarnrc/
image

Please mention your node.js, yarn and operating system version.
yarn: 1.4.0
node: 9.4.0
OS: Win 10 x64 Enterprise

@ghost ghost assigned arcanis Feb 16, 2018
@ghost ghost added the triaged label Feb 16, 2018
@givanse
Copy link

givanse commented May 1, 2019

Relevant update: #5371 (comment)

lnewson added a commit to tinymce/tinymce that referenced this issue Jul 30, 2019
…kage

Note: The .yarnrc file is needed in each module dir due to this yarn bug: yarnpkg/yarn#5370
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants