Welcome to mirror list, hosted at ThFree Co, Russian Federation.

run-stylelint.sh - github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 974ef67d13f6a60481f7df015dfd25ae313a9582 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
set -e

STYLELINT=$(which stylelint || true)
if [ -z "$STYLELINT" ]; then
    echo "Can't find command \"stylelint\" in $PATH"
    exit 1
fi

echo Checking stylesheets with $STYLELINT ...
find -name "*.css" -print0 | xargs -0 $STYLELINT