From 0fcf4e2dab6ad506a53844ee43b05f142880c191 Mon Sep 17 00:00:00 2001 From: Richard R Date: Fri, 22 May 2026 02:01:52 -0600 Subject: [PATCH] style(config): update eslint import rules for compute-core/types subpath Allow '@openreader/compute-core/types' as a permitted subpath in ESLint import rules. Update the lint message to reflect the new allowed subpath, ensuring consistency with recent type centralization efforts. --- eslint.config.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index dffc73c..06ee366 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -21,9 +21,10 @@ const eslintConfig = [ group: [ "@openreader/compute-core/*", "!@openreader/compute-core/local-runtime", + "!@openreader/compute-core/types", ], message: - "Use '@openreader/compute-core' root imports for light APIs. The only allowed subpath is '@openreader/compute-core/local-runtime'.", + "Use '@openreader/compute-core' root imports for light APIs. Allowed subpaths are '@openreader/compute-core/local-runtime' and '@openreader/compute-core/types'.", }, ], },