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:
parent
b6be71e3b1
commit
0fcf4e2dab
1 changed files with 2 additions and 1 deletions
|
|
@ -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'.",
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue