You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We introduced it to avoid issues importing code in contexts (contentScript, options page, etc.) that is not allowed by the Web Extension API model
We can also use it to enforce separation of concerns between code modules
Steps to Reproduce
npm run lint -- --rule '{"import/no-restricted-paths": 2}'
Main sources of violations
@/pageEditor/slices/editorSlice and related code
@/contentScript/elementReference and related code
@/pageScript/framework and related code
@/pageEditor/testHelpers when used to test components in the context of a Page Editor form state
Proposed solution: allow use of @/pageEditor/testHelpers in .test.tsx files
Analysis folder references Page Editor state. Ideally analysis folder is independent. (In future will want to run on server outside of extension context)
The text was updated successfully, but these errors were encountered:
Context
pixiebrix-extension/.eslintrc.js
Line 8 in aa92de4
Steps to Reproduce
Main sources of violations
@/pageEditor/slices/editorSlice
and related code@/contentScript/elementReference
and related code@/pageScript/framework
and related code@/pageEditor/testHelpers
when used to test components in the context of a Page Editor form state@/pageEditor/testHelpers
in.test.tsx
filesThe text was updated successfully, but these errors were encountered: