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

[New platform] Restrict import from core&plugin internals for js files #33697

Merged
merged 8 commits into from
Mar 29, 2019

Commits on Mar 25, 2019

  1. Configuration menu
    Copy the full SHA
    5e8cde7 View commit details
    Browse the repository at this point in the history
  2. Fork import/no-restricted-paths and add allowSameFolder option

    Our use case requires to restrict imports from plugin folders, which names are unknown for us yet. We cannot use 'import/no-restricted-paths' in the current state, because if we define 'from: plugins/*/server/' the rule will report all relative imports in the same folder as well. To fix this problem we added another option 'allowSameFolder' that makes the rule to ignore imports in the same folder.
    mshustov committed Mar 25, 2019
    Configuration menu
    Copy the full SHA
    5e1510a View commit details
    Browse the repository at this point in the history
  3. update notices

    mshustov committed Mar 25, 2019
    Configuration menu
    Copy the full SHA
    f0a89b6 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2019

  1. add basePath option

    mshustov committed Mar 26, 2019
    Configuration menu
    Copy the full SHA
    8c0d2b5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cdaf22e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6c9c965 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2019

  1. Configuration menu
    Copy the full SHA
    253a96f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    328c122 View commit details
    Browse the repository at this point in the history