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.
This commit is contained in:
Richard R 2026-05-22 02:01:52 -06:00
parent b6be71e3b1
commit 0fcf4e2dab

View file

@ -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'.",
},
],
},