From 13132673d326edf0b91f3b23b41dc2241a312d46 Mon Sep 17 00:00:00 2001 From: jld3103 Date: Tue, 3 Oct 2023 16:48:58 +0200 Subject: [PATCH] refactor(tool): Rename melos script format-check to format:check for consistency Signed-off-by: jld3103 --- .github/workflows/dart.yml | 2 +- .husky/pre-commit | 2 +- melos.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index a796fa75..f0efa3f4 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -40,7 +40,7 @@ jobs: run: ./tool/setup.sh - name: Check formatting - run: melos run format-check + run: melos run format:check - name: Lint code run: melos run analyze - name: Run tests diff --git a/.husky/pre-commit b/.husky/pre-commit index 4c9952ca..7223c85c 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -melos run format-check +melos run format:check diff --git a/melos.yaml b/melos.yaml index 22aaa372..0d812d87 100644 --- a/melos.yaml +++ b/melos.yaml @@ -20,7 +20,7 @@ ide: scripts: format: dart format --fix --line-length 120 . - format-check: dart format --output=none --set-exit-if-changed --line-length 120 . + format:check: dart format --output=none --set-exit-if-changed --line-length 120 . analyze: dart analyze --fatal-infos . test: melos exec --concurrency=1 --fail-fast --dir-exists=test -- "flutter test --concurrency=$(nproc --all)" generate:neon:build_runner: melos exec --scope="neon*" --file-exists="build.yaml" -- dart run build_runner build --delete-conflicting-outputs && melos run format