From aeba1acaf7dcb70f107500047741e86e121fe595 Mon Sep 17 00:00:00 2001 From: Tom Scholten Date: Sun, 4 Aug 2024 22:00:00 +0200 Subject: [PATCH] Replace prettier with biome --- .pre-commit-config.yaml | 8 +++++--- .prettierignore | 1 - 2 files changed, 5 insertions(+), 4 deletions(-) delete mode 100644 .prettierignore diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5838a3d94..166e7a799 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -92,10 +92,12 @@ repos: entry: /usr/bin/env bash -c 'exec env GITHUB_ACTIONS="1" scripts/tests_and_coverage.sh test_and_coverage' language: script pass_filenames: false - - repo: https://github.com/pre-commit/mirrors-prettier - rev: v4.0.0-alpha.8 + - repo: https://github.com/biomejs/pre-commit + rev: v0.4.0 hooks: - - id: prettier + - id: biome-lint + additional_dependencies: ["@biomejs/biome@1.8.3"] + name: "Verifying/updating code with biome (improved prettier)" - repo: https://github.com/igorshubovych/markdownlint-cli rev: v0.41.0 hooks: diff --git a/.prettierignore b/.prettierignore deleted file mode 100644 index dd449725e..000000000 --- a/.prettierignore +++ /dev/null @@ -1 +0,0 @@ -*.md