added INPUT to pass a configuration; added stylelint.json as stylelint configuration; updated README.

This commit is contained in:
Serhiy Mytrovtsiy 2019-11-11 12:59:45 +01:00
parent ae40a8223c
commit 25e478115b

View file

@ -21,7 +21,7 @@ if [ ! -e stylelint_path ]; then
yarn add stylelint stylelint-config-standard --silent yarn add stylelint stylelint-config-standard --silent
fi fi
if [ ! -e "${configPath}.stylelintrc" ] && [ ! -e "${configPath}.stylelint.json" ]; then if [ ! -e "${configPath}.stylelintrc" ] && [ ! -e "${configPath}stylelint.json" ]; then
echo "{ echo "{
\"extends\": \"stylelint-config-standard\", \"extends\": \"stylelint-config-standard\",
\"rules\": { \"rules\": {