-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Labels
StaleInactive for one year or moreInactive for one year or more
Description
#33016 introduced eslint rules that disallows certain cross directory file imports. Given these are now blocking lint checks, there is also an allowlist for this rule:
Lines 49 to 64 in b286342
| // Exclusions where imports are necessary or have not yet been migrated; | |
| // Do not add to this list | |
| 'overrides': [ | |
| { | |
| 'files': [ | |
| './preact/base-element.js', | |
| './preact/slot.js', | |
| './core/contextprops.js', | |
| './context/subscriber.js', | |
| './context/node.js', | |
| './context/prop.js', | |
| './context/scheduler.js', | |
| './context/values.js', | |
| ], | |
| 'rules': {'import/no-restricted-paths': isCiBuild() ? 0 : 1}, | |
| }, |
This is a tracking issue to centralize efforts to move files used in restricted and allowlisted ways so that they can be used correctly. Temporary additions to the allowlist should also refer to this issue so this work can stay up to date.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
StaleInactive for one year or moreInactive for one year or more