We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28f813b commit 370300fCopy full SHA for 370300f
.githooks/pre-commit-rubocop
@@ -5,7 +5,7 @@ length=${#files}
5
6
# Run rubocop hook only when analyzable files are present
7
if [[ $length -ne 0 ]]; then
8
- ./bin/rubocop $files
+ ./bin/rubocop --only-recognized-file-types $files
9
else
10
echo "No files to analyze"
11
fi
0 commit comments