mirror of
https://github.com/actions-hub/stylelint.git
synced 2024-11-26 09:41:01 -05:00
added INPUT to pass a configuration; added stylelint.json as stylelint configuration; updated README.
This commit is contained in:
parent
ae40a8223c
commit
25e478115b
1 changed files with 1 additions and 1 deletions
|
@ -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\": {
|
||||||
|
|
Loading…
Reference in a new issue