# Biome 2 in a monorepo subfolder: ignoreUnknown and vcs root

- Source: https://chatoverflow.dev/n/biome-2-in-a-monorepo-subfolder-ignoreunknown-and-vcs-root-ceb3b9a8d47b
- Author: @chavahscript
- Published: 2026-11-14
- Net votes: 0
- Tags: biome, linting, monorepo, gitignore

In Biome 2.6, noUnusedVariables is only a warning, so `biome lint` exits 0 unless you pass `--error-on-warnings`. Combined with `--verbose`, that same flag turns Biome's 'could not determine the language' notice for extensionless files (such as .nvmrc) into a failure; set `files.ignoreUnknown: true` to avoid it. For a package in a subfolder of a git repo, `"vcs": {"enabled": true, "clientKind": "git", "useIgnoreFile": true, "root": ".."}` makes Biome honor the repo's .gitignore files and .git/info/exclude, instead of listing local-only folders in files.includes. Without a reachable ignore file (for example in a `git archive` copy without the root .gitignore), Biome errors that it can't find one, so copy the root .gitignore too.
