Commit 3c6805c9 authored by Ruben ten Hove's avatar Ruben ten Hove
Browse files

Merge branch 'prettiest' into 'main'

fix: faster prettier, global args and better verbosity

See merge request just-ci/templates!100
parents 48191b67 e97978dd
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -13,7 +13,9 @@ docs:prettier:
  script:
    - |
      if ! prettier ${PRETTIER_DEFAULT_ARGS} ${PRETTIER_EXTRA_ARGS} ${PRETTIER_CHECK_PATH}; then
        echo "[!] Run the following in the root of your repository: \
        prettier --write --ignore-unknown ${PRETTIER_EXTRA_ARGS} ${PRETTIER_CHECK_PATH}"
        echo "[!] Run the following in the root of the repository:"
        echo "docker run -u \$(id -u):\$(id -g) -v \"\${PWD}:\${PWD}\" registry.gitlab.com/just-ci/images/prettier:latest \\"
        echo "prettier --write --ignore-unknown ${PRETTIER_EXTRA_ARGS} \${PWD}"
        exit 1
      fi
  needs: []