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

Skip to content

πŸ“Ž Add support for more configuration file pathsΒ #8559

@ematipico

Description

@ematipico

Description

At the moment, Biome supports biome.json and biome.jsonc. It resolves these files from the current working directory. If it can't find any, it traverses the parent directories upwards, always looking for those two files.

This issue is to add support for

Hidden files

Support for .biome.json and .biome.jsonc.

The priority should be as follow:

  1. biome.json
  2. biome.jsonc
  3. .biome.json
  4. .biome.jsonc

More known locations

Other than the current project, and the parent directories, we want to add support for discovering the configuration files from the following directories:

  • $XDG_CONFIG_HOME/biome/
  • ~/.config/biome/
  • ~/Library/Application Support/biome/ (macOS),
  • %APPDATA%\biome\ (Windows)
  • /etc/biome/ (Linux)

The priority should be as follow:

  1. current project
  2. parent directories
  3. $XDG_CONFIG_HOME/biome/
  4. ~/.config/biome/
  5. OS folders

Metadata

Metadata

Assignees

Labels

A-CoreArea: coreS-Help-wantedStatus: you're familiar with the code base and want to help the project

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions