From 3450c250c3ae8a67eaadc74411a9aa533f958b22 Mon Sep 17 00:00:00 2001 From: Eric Willhoit Date: Fri, 14 Apr 2023 10:24:36 -0500 Subject: [PATCH] fix: add relative lib references --- .eslintrc.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index a5ffa72..eb18e64 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -42,9 +42,8 @@ module.exports = { "imports from this repo's src folder should be a relative path", }, { - group: ["lib/**"], - message: - "import from /src not from /lib. /lib is a build artifact", + group: ["**/../lib/**", "lib/**"], + message: "import from /src not from /lib. /lib is a build artifact", }, ], },