Skip to content

Commit

Permalink
Uncomment rubocop quality check
Browse files Browse the repository at this point in the history
  • Loading branch information
waliid committed Nov 19, 2024
1 parent 699851a commit 8c269de
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Scripts/check-quality.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e

eval "$(pkgx --shellcode)"
env +swiftlint +shellcheck +markdownlint +yamllint
env +swiftlint +rubocop +shellcheck +markdownlint +yamllint

echo "... checking Swift code..."
if [ $# -eq 0 ]; then
Expand All @@ -12,8 +12,7 @@ elif [[ "$1" == "only-changes" ]]; then
git diff --staged --name-only | grep ".swift$" | xargs swiftlint lint --quiet --strict
fi
echo "... checking Ruby scripts..."
echo "... UNCOMMENT ..."
#rubocop --format quiet
rubocop --format quiet
echo "... checking Shell scripts..."
shellcheck Scripts/*.sh hooks/* Artifacts/**/*.sh
echo "... checking Markdown documentation..."
Expand Down

0 comments on commit 8c269de

Please sign in to comment.