diff --git a/.circleci/config.yml b/.circleci/config.yml index 43ca9c38d..e4acc483b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -164,7 +164,7 @@ jobs: command: fvm flutter pub get - run: name: Check Formatting - command: fvm flutter format -l 120 -o none --set-exit-if-changed . + command: fvm dart format -l 120 -o none --set-exit-if-changed . - run: name: Build Runner command: | diff --git a/.github/hooks/pre-commit b/.github/hooks/pre-commit index 32d604ef3..67da91a69 100755 --- a/.github/hooks/pre-commit +++ b/.github/hooks/pre-commit @@ -14,7 +14,7 @@ if [ ! -x "$(command -v fvm)" ]; then fi # Prettify all selected files -echo "$FILES" | xargs fvm flutter format -l 120 +echo "$FILES" | xargs fvm dart format -l 120 # Add back the modified/prettified files to staging echo "$FILES" | xargs git add diff --git a/.idea/runConfigurations/Format_frontend.xml b/.idea/runConfigurations/Format_frontend.xml index edf0b2fcf..4ea012225 100644 --- a/.idea/runConfigurations/Format_frontend.xml +++ b/.idea/runConfigurations/Format_frontend.xml @@ -1,6 +1,6 @@ -