pixiebrix-extension
pixiebrix-extension copied to clipboard
Enforce cross-boundary imports for `pageEditor` references as error
Context
- Follow up to https://github.com/pixiebrix/pixiebrix-extension/issues/4887
- Make imports of
@/pageEditoran error, except for:- Within the
@/pageEditormodule - If file follows
Foo.pageEditor.tsx?naming convention. E.g.,LocalProcessOptions.pageEditor.tsx - Allow importing the
@/pageEditor/documentBuilder/renderdirectory. See discussion at: https://github.com/pixiebrix/pixiebrix-extension/issues/4887#issuecomment-2171513908. E.g., rename that directory to "shared" and have the rule allow imports of `shared" subdirectories
- Within the