GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 🐛 vcs.useIgnoreFile: couldn't find an ignore file in the following folder (since v2.1.2) · Issue #6964 · biomejs/biome

🐛 vcs.useIgnoreFile: couldn't find an ignore file in the following folder (since v2.1.2) #6964

New issue
Copy link
New issue
Copy link
Closed
Bug
#9517
#9514
Closed
🐛 vcs.useIgnoreFile: couldn't find an ignore file in the following folder (since v2.1.2)#6964
Bug
#9517
#9514
Copy link
Assignees
ematipico
Labels
A-CoreArea: coreS-Bug-confirmedStatus: report has been confirmed as a valid bug

Description

@awoimbee
awoimbee
opened on Jul 21, 2025
Issue body actions

Environment information

CLI:
  Version:                      2.1.2
  Color support:                true

Platform:
  CPU Architecture:             x86_64
  OS:                           linux

Environment:
  BIOME_LOG_PATH:               unset
  BIOME_LOG_PREFIX_NAME:        unset
  BIOME_CONFIG_PATH:            unset
  BIOME_THREADS:                unset
  NO_COLOR:                     unset
  TERM:                         xterm-kitty
  JS_RUNTIME_VERSION:           v22.15.1
  JS_RUNTIME_NAME:              node
  NODE_PACKAGE_MANAGER:         unset

Biome Configuration:
  Status:                       Loaded successfully
  Path:                         biome.json
  Formatter enabled:            true
  Linter enabled:               true
  Assist enabled:               true
  VCS enabled:                  true

Workspace:
  Open Documents:               0

What happened?

I have a pnpm/biome workspace located at myrepo/subdir/myworkspace/.
I have this config:

  "vcs": {
    "enabled": true,
    "clientKind": "git",
    "useIgnoreFile": true,
    "root": "../.."
  }

Whatever I put as root, I get Biome couldn't find an ignore file in the following folder: /home/username/Documents/stuff/myrepo/subdir/myworkspace

EDIT: this issue does not appear in my similar project, it seems to be triggered by the fact that I'm in a workspace.

Expected result

Biome finds the ignore file.
This issue doesn't happen on v2.1.1, appeared on v2.1.2

Workaround

Just add an empty .gitignore in the workspace dir (where the biome config lives).

Code of Conduct

  • I agree to follow Biome's Code of Conduct
Reacted by Miyata Jumpei, Sumanth Chinthagunta, Ray Peters, Bruno Quaresma, koh-satoh-wpg, Ruslan, Christopher Watford, Vojta Staněk, Bryan Hoang, Riya Amemiya and 3 more

Activity

  1. awoimbee
    added
    S-Needs triageStatus: this issue needs to be triaged
    on Jul 21, 2025
  2. awoimbee
    added the
    Bug
    issue type on Jul 21, 2025
  3. ematipico
    added
    S-Needs reproStatus: needs a reproduction
    and removed
    S-Needs triageStatus: this issue needs to be triaged
    on Jul 21, 2025
  4. github-actions commented on Jul 21, 2025

    @github-actions
    github-actionsBot
    on Jul 21, 2025 – with GitHub Actions
    Contributor
    More actions

    Hello @awoimbee, please provide a minimal reproduction. You can use one of the following options:

    • Provide a link to our playground, if it's applicable.
    • Provide a link to GitHub repository. To easily create a reproduction, you can use our interactive CLI via npm create @biomejs/biome-reproduction

    Issues marked with S-Needs repro will be closed if they have no activity within 3 days.

  5. awoimbee commented on Jul 21, 2025

    @awoimbee
    awoimbee
    on Jul 21, 2025
    Author
    More actions

    Reproducible @ https://github.com/awoimbee/biome-2.1.2-bug-repro

    git clone [email protected]:awoimbee/biome-2.1.2-bug-repro.git
    cd biome-2.1.2-bug-repro/subdir/myworkspace/
    pnpm i
    pnpm run fix
    # ✖ Biome couldn't find an ignore file in the following folder: /[...]/biome-repro/subdir/myworkspace

    Setting root to: "../", ../.., ../../, ../../../, or not setting it will generate the same error

    Reacted by Sumanth Chinthagunta, Ray Peters and Bruno Quaresma
  6. ematipico
    added
    S-Needs triageStatus: this issue needs to be triaged
    and removed
    S-Needs reproStatus: needs a reproduction
    on Jul 21, 2025
  7. ray-peters commented on Aug 12, 2025

    @ray-peters
    ray-peters
    on Aug 12, 2025
    More actions

    My team is seeing the same issue after upgrading from [email protected] -> [email protected]. Our project does not use workspaces, but we see the same error running biome from a docker container in our github ci/cd workflow. I haven't spent much time on debugging, and figure I missed something about updating the configuration with the upgrade, but wanted to mention in case it's helpful.

    Image Image
    Reacted by Ruslan
  8. akkadaya commented on Aug 14, 2025

    @akkadaya
    akkadaya
    on Aug 14, 2025
    More actions

    It should use .gitignore only if it exists. As a workaround, create empty .gitignore at the same level of biome.json file.

    Reacted by Ruslan and Christopher Watford
    Reacted by Arthur Woimbée
    Reacted by Ray Peters
  9. BrunoQuaresma commented on Aug 14, 2025

    @BrunoQuaresma
    BrunoQuaresma
    on Aug 14, 2025
    More actions

    I'm having the same issue when using with 2.2.0

    Reacted by Ev Haus, Ruslan and Brandon Casey
  10. D3Pheonix commented on Sep 5, 2025

    @D3Pheonix
    D3Pheonix
    on Sep 5, 2025
    More actions

    Same 2.2.3

    Reacted by Brandon Casey
  11. xcariba commented on Nov 10, 2025

    @xcariba
    xcariba
    on Nov 10, 2025
    More actions

    Im having this issue as well. Version 2.3.2. My .gitignore is located in parent folder, if i set "root": "../"` or with other variations, even with absolute path it exits with same error.

  12. awoimbee
    changed the title [-]🐛 v2.1.2 vcs.useIgnoreFile & vcs.root: couldn't find an ignore file in the following folde[/-] [+]🐛 vcs.useIgnoreFile: couldn't find an ignore file in the following folder (since v2.1.2)[/+] on Nov 10, 2025
  13. ematipico
    added
    A-CoreArea: core
    S-Bug-confirmedStatus: report has been confirmed as a valid bug
    on Nov 10, 2025
  14. github-actions
    removed
    S-Needs triageStatus: this issue needs to be triaged
    on Nov 10, 2025
  15. mmikhan commented on Nov 18, 2025

    @mmikhan
    mmikhan
    on Nov 18, 2025 · Hidden as duplicate
    show commentMore actions
  16. YutaUra
    added a commit that references this issue on Nov 22, 2025

    fix renovate

    29db48c
  17. jakub-msqt commented on Dec 6, 2025

    @jakub-msqt
    jakub-msqt
    on Dec 6, 2025 · Hidden as duplicate
    show commentMore actions
  18. ematipico
    self-assigned this
    on Dec 7, 2025
  19. hugopino commented on Jan 11, 2026

    @hugopino
    hugopino
    on Jan 11, 2026
    More actions

    In my case, I have a Turborepo monorepo. The issue was in one of the packages, and it was fixed by adding a .gitignore file

    Reacted by Andriy Halyasovskyy
  20. TheBit commented on Mar 8, 2026

    @TheBit
    TheBit
    on Mar 8, 2026
    More actions

    Hi, are there any plans for this issue? Copy-pasting the same .gitignore is not good :(

  21. neilime commented on Mar 12, 2026

    @neilime
    neilime
    on Mar 12, 2026
    More actions

    Hi, this issue is annoying, it forces to implement workarounds that pollutes our repos.

    Hope we will have a fix.

    Thanks

  22. ematipico commented on Mar 16, 2026

    @ematipico
    ematipico
    on Mar 16, 2026
    Member
    More actions

    Looking into it.

    Reacted by Andriy Halyasovskyy and Ruslan
  23. ematipico
    closed this as completedin #9514on Mar 18, 2026
  24. jazzathedev commented on Apr 20, 2026

    @jazzathedev
    jazzathedev
    on Apr 20, 2026
    More actions

    Having this issue in

    $ biome --version
    Version: 2.4.10
    

    I have a .gitignore file in the project root yet it wants one in my home folder?

    jazza@DOMINATOR MINGW64 ~/Documents/Code shit/boot.offline (main)
    $ ls .gitignore
    .gitignore
    
    jazza@DOMINATOR MINGW64 ~/Documents/Code shit/boot.offline (main)
    $ which biome
    /c/Users/jazza/AppData/Local/pnpm/biome
    
    jazza@DOMINATOR MINGW64 ~/Documents/Code shit/boot.offline (main)
    $ biome check
    C:\Users\jazza internalError/fs 
      × Biome couldn't find an ignore file in the following folder: C:\Users\jazza
    
    configuration 
      × Biome exited because the configuration resulted in errors. Please fix them.
    

    my config file:
    biome.json

  25. ematipico commented on Apr 20, 2026

    @ematipico
    ematipico
    on Apr 20, 2026
    Member
    More actions

    Please open a new issue, with a valid reproduction

  26. biomejs
    locked as resolved and limited conversation to collaborators on Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @ematipico
    ematipico

Labels

A-CoreArea: coreS-Bug-confirmedStatus: report has been confirmed as a valid bug

Type

Bug

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402792 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.