mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
fix
fix lint workaround to remove remove some unused dependencies fix flex import Signed-off-by: eromano <eugenioromano16@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user