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

Skip to content

deww400/biome-repro-8488

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Biome Plugin Relative Path Bug Reproduction

Reproduces #8488: Plugin relative paths fail with "Cannot read file" in monorepo setups.

The Bug

When a child config extends a root config that has a relative plugin path, Biome fails to resolve the plugin.

Structure

├── biome.json                    # plugins: ["./biome/my-plugin.grit"]
├── biome/
│   └── my-plugin.grit
└── packages/
    └── app/
        ├── biome.json            # extends: ["../../biome.json"]
        └── src/
            └── index.ts

Reproduce

pnpm lint

Expected: Plugin loads and warns about new Date() usage.

Actual:

Error(s) during loading of plugins:
Cannot read file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published