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