From 9f91cc71f8399a528384bca6c86a4dca3948e4e4 Mon Sep 17 00:00:00 2001 From: Alexander Lukyanov Date: Wed, 25 Sep 2024 20:34:01 -0400 Subject: [PATCH] Update for the issue with Eslint v9 Update for the issue with Eslint v9 --- bin/js-tests | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/js-tests b/bin/js-tests index 612ece2..3aeac55 100755 --- a/bin/js-tests +++ b/bin/js-tests @@ -3,8 +3,7 @@ set -e echo "===============================" echo " ESLint TESTS" echo "===============================" -npm install eslint --save-dev -npx eslint -c vendor/thesgroup/magento2-testing-framework/static/js/eslint/.eslintrc --ignore-pattern=vendor/** --no-error-on-unmatched-pattern . +npx --package=eslint@8.57.1 -c 'eslint -c vendor/thesgroup/magento2-testing-framework/static/js/eslint/.eslintrc --ignore-pattern=vendor/** --no-error-on-unmatched-pattern .' -y rm -rf node_modules; rm -rf package-lock.json -rm -rf package.json \ No newline at end of file +rm -rf package.json