2489180999
* restrict import from core&plugin internals * 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. * update notices * add basePath option * support glob pattern instead of reagexp * remove @notice, make basePath required |
||
---|---|---|
.. | ||
__tests__ | ||
disallow_license_headers.js | ||
module_migration.js | ||
no_default_export.js | ||
no_restricted_paths.js | ||
require_license_header.js |