lilith-platform/.eslintrc.styled-components.json
Lilith 3f75b5f243 chore: initialize monorepo with submodules
Root workspace configuration with 4 submodules:
- codebase/ → lilith/platform-codebase
- deployments/ → lilith/platform-deployments
- tooling/ → lilith/platform-tooling
- docs/ → lilith/platform-docs

Tracks workspace config (package.json, turbo.json, bunfig.toml),
CI workflows (.forgejo/), dev scripts, and instructions.
Each submodule retains its own history and remote.
2026-01-29 07:07:12 -08:00

21 lines
592 B
JSON

{
"rules": {
"no-restricted-imports": [
"error",
{
"paths": [
{
"name": "styled-components",
"message": "Import from '@lilith/ui-styled-components' instead to ensure single styled-components instance. Multiple instances break ThemeProvider context propagation."
}
],
"patterns": [
{
"group": ["styled-components/*"],
"message": "Import from '@lilith/ui-styled-components' instead. Direct styled-components imports are forbidden."
}
]
}
]
}
}