From 27c1e0227ae1844a510f84f183476ea55910a670 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen.haas@lakedrops.com>
Date: Sat, 28 Sep 2024 17:53:39 +0200
Subject: [PATCH] Fix eslint test to be the same as on drupal.org

---
 ahoy.test.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ahoy.test.yml b/ahoy.test.yml
index fe1baea..1f64c5e 100644
--- a/ahoy.test.yml
+++ b/ahoy.test.yml
@@ -94,7 +94,9 @@ commands:
       module=$1
       shift
       cd web/modules/contrib/$module
-      test -e .prettierrc.json || ln -s /drupal/web/core/.prettierrc.json .
+      test -e .eslintrc.json || ln -s ../../../core/.eslintrc.passing.json .eslintrc.json
+      test -e .eslintrc.jquery.json || ln -s ../../../core/.eslintrc.jquery.json .eslintrc.jquery.json
+      test -e .prettierrc.json || ln -s ../../../core/.prettierrc.json .prettierrc.json
       test -e .prettierignore || echo '*.yml' > .prettierignore
       /drupal/web/core/node_modules/.bin/eslint --no-error-on-unmatched-pattern --ignore-pattern="*.es6.js" --resolve-plugins-relative-to=/drupal/web/core --ext=.js,.yml . $@
     usage: Eslint tests by module
-- 
GitLab