Thanks to visit codestin.com
Credit goes to github.com

Skip to content

๐Ÿ› Git ignored files getting checkedย #7803

@jakeleventhal

Description

@jakeleventhal

Environment information

โ–ถ pnpm biome rage
CLI:
  Version:                      2.2.6
  Color support:                true

Platform:
  CPU Architecture:             aarch64
  OS:                           macos

Environment:
  BIOME_LOG_PATH:               unset
  BIOME_LOG_PREFIX_NAME:        unset
  BIOME_CONFIG_PATH:            unset
  BIOME_THREADS:                unset
  NO_COLOR:                     unset
  TERM:                         xterm-256color
  JS_RUNTIME_VERSION:           v22.20.0
  JS_RUNTIME_NAME:              node
  NODE_PACKAGE_MANAGER:         pnpm/10.11.1

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

Workspace:
  Open Documents:               0

What happened?

It seems my gitignored files are slowing down the project, but aren't actually creating any lint issues.
biome check . --write --unsafe --error-on-warnings

This command takes 19s
After removing **/coverage it takes 17s. After removing **/.next, **/.vercel, **/.esbuild, and **/.serverless that number comes down to 14s.
After running rm -rf **/node_modules && pnpm install that number gets down to 11s.

I have this in my biome.json:

"vcs": {
	"clientKind": "git",
	"defaultBranch": "develop",
	"enabled": true,
	"useIgnoreFile": true
}

Expected result

Git ignored files should not affect check times.

Code of Conduct

  • I agree to follow Biome's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    S-Needs reproStatus: needs a reproductionS-Needs triageStatus: this issue needs to be triaged

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions