mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-06-04 20:05:38 +08:00
fix(eslint): update shared types pattern
This commit is contained in:
@@ -149,7 +149,7 @@ export default tseslint.config(
|
|||||||
"boundaries/elements": [
|
"boundaries/elements": [
|
||||||
{
|
{
|
||||||
type: "backend-shared-types", // shared backend type contract that modules may consume without creating runtime coupling
|
type: "backend-shared-types", // shared backend type contract that modules may consume without creating runtime coupling
|
||||||
pattern: ["server/shared/types.{js,ts}", "server/types.{js,ts}"], // support the current shared types path and the older top-level server/types file
|
pattern: ["server/shared/types.{js,ts}"], // support the current shared types path
|
||||||
mode: "file", // treat the types file itself as the boundary element instead of the whole folder
|
mode: "file", // treat the types file itself as the boundary element instead of the whole folder
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user