Skip to content

Instantly share code, notes, and snippets.

@rafaelrinaldi
Created July 24, 2019 18:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rafaelrinaldi/0015c34b344c620db47ad412df22bf02 to your computer and use it in GitHub Desktop.
Save rafaelrinaldi/0015c34b344c620db47ad412df22bf02 to your computer and use it in GitHub Desktop.
echo "\ncommon"
for file in libraries/epic-diesel-common/i18n/*.json
do
cat $file | jq empty
jsonlint-cli $file
done
echo "\nfeed"
for file in libraries/epic-diesel-feed/i18n/*.json
do
cat $file | jq empty
jsonlint-cli $file
done
echo "\nlibrary"
for file in libraries/epic-diesel-library/i18n/*.json
do
cat $file | jq empty
jsonlint-cli $file
done
echo "\nproducts"
for file in libraries/epic-diesel-products/i18n/*.json
do
cat $file | jq empty
jsonlint-cli $file
done
echo "\nstore"
for file in libraries/epic-diesel-store/i18n/*.json
do
cat $file | jq empty
jsonlint-cli $file
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment