fix lint

workaround to remove
remove some unused dependencies

fix flex import

Signed-off-by: eromano <eugenioromano16@gmail.com>
This commit is contained in:
eromano
2022-03-03 16:10:15 +00:00
parent 548e5c4fae
commit dfc0e05890
9 changed files with 100 additions and 9 deletions

View File

@@ -3,13 +3,15 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$DIR/../"
if grep "envalfresco" . -R --exclude-dir={node_modules,.history,.idea,scripts,dist,e2e-output,.git} --exclude={.env,.env.*}; then
echo "Check envs"
if grep "envalfresco" . -R --exclude-dir={.angular,.lib,.coverage,node_modules,.history,.idea,scripts,dist,e2e-output,.git} --exclude={.env,.env.*}; then
echo not permitted word
exit 1
fi
echo "Lint"
nx affected:lint --parallel --all --maxParallel=9 || exit 1
nx affected:lint --parallel=5 --all || exit 1
echo "Style Lint"
npm run stylelint || exit 1