Skip to content

Commit

Permalink
Merge pull request #17 from StudyTube/ENIGMADS-464-disable-commit-wit…
Browse files Browse the repository at this point in the history
…h-palette-colors-in-stylelint

[ENIGMADS-464] add a report of the  comments without a description
  • Loading branch information
bolelamx authored Aug 29, 2022
2 parents 19ff973 + 2862b35 commit 1de0674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/pre-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ fi;

if [ -f "$STYLELINT_CONFIG" ] && [ -n "$stylesToLint" ]; then
echo "==> Checking Stylelint errors in staged files";
echo "$stylesToLint" | xargs ./node_modules/.bin/stylelint --fix
echo "$stylesToLint" | xargs ./node_modules/.bin/stylelint --fix --rdd

echo "==> Staging formatted .scss, .css files"
echo "$stylesToLint" | xargs git add
Expand Down

0 comments on commit 1de0674

Please sign in to comment.