diff --git a/Makefile b/Makefile index 700ba6f1..045484a8 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,4 @@ BIOME_BASE_CMD := $(if $(shell which biome),biome,npx @biomejs/biome@2.2.2) -BIOME_CONFIG_PATH := --config-path="biome.json" WRITE_FLAG := --write .PHONY: list help @@ -26,11 +25,11 @@ ifeq ($(BIOME_ARGS), write) endif biome-format: - $(BIOME_BASE_CMD) format $(BIOME_CONFIG_PATH) $(FLAG) + $(BIOME_BASE_CMD) format $(FLAG) biome-lint: - $(BIOME_BASE_CMD) lint $(BIOME_CONFIG_PATH) $(FLAG) + $(BIOME_BASE_CMD) lint $(FLAG) biome-all: - $(BIOME_BASE_CMD) check $(BIOME_CONFIG_PATH) $(FLAG) + $(BIOME_BASE_CMD) check $(FLAG) setup-pre-commit: @if ! command -v pre-commit &> /dev/null; then \ diff --git a/biome.json b/biome.json index 263e8cbb..9e77ecd6 100644 --- a/biome.json +++ b/biome.json @@ -1,6 +1,6 @@ { "$schema": "https://biomejs.dev/schemas/2.2.2/schema.json", - "root": false, + "root": true, "vcs": { "enabled": true, "clientKind": "git",