Sha256: dc848a0514b7784fe87543230246eb2d15824a31bb5a5570ab9e64493fcdd43c

Contents?: true

Size: 1.07 KB

Versions: 2

Compression:

Stored size: 1.07 KB

Contents

#!/usr/bin/env bash

echo "*************************************************************************"
echo "Running Bundler Audit..."
bundle exec bundle-audit check --update
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi

echo ""
echo ""
echo "*************************************************************************"
echo "Running Rubocop..."
bundle exec rubocop
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi

yarn init -yp --silent

echo ""
echo ""
echo "*************************************************************************"
echo "Running ESLint..."
yarn add --silent --dev eslint@4.19.1 --loglevel error
yarn run eslint admin/app/**/*.js admin/**/test/**/*.js core/app/**/*.js core/**/test/**/*.js storefront/app/**/*.js storefront/**/test/**/*.js
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi

echo ""
echo "*************************************************************************"
echo "Running Stylelint..."
yarn add --silent --dev stylelint@9.2.1 stylelint-scss@3.1.0 stylelint-config-recommended-scss@3.2.0
yarn run stylelint admin/app/**/*.scss core/app/**/*.scss storefront/app/**/*.scss

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workarea-yotpo-1.0.1 script/static_analysis
workarea-yotpo-1.0.0 script/static_analysis