Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use linting to prevent server code from leaking into the client #2017

Open
kumar303 opened this issue Aug 18, 2016 · 1 comment
Open

Use linting to prevent server code from leaking into the client #2017

kumar303 opened this issue Aug 18, 2016 · 1 comment
Labels
repository:addons-frontend Issue relating to addons-frontend

Comments

@kumar303
Copy link
Contributor

kumar303 commented Aug 18, 2016

After #9804 we can use the no-restricted-paths rule to prevent client code from importing any sensitive server modules. To make this effective we'll probably also need to restructure the folder layout so that the restricted module zone is well defined.

For example, we could probably use this to prevent server config modules from being imported into the client code accidentally.

┆Issue is synchronized with this Jira Task

@KevinMind
Copy link
Contributor

@KevinMind KevinMind added repository:addons-frontend Issue relating to addons-frontend migration:2024 labels May 3, 2024
@KevinMind KevinMind transferred this issue from mozilla/addons-frontend May 3, 2024
@diox diox removed triaged labels May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
repository:addons-frontend Issue relating to addons-frontend
Projects
None yet
Development

No branches or pull requests

7 participants