The import-index
is marked as deprecated in the documentation but it seems it has been removed in version 57.0.0:
This rule is outdated. JavaScript modules (ESM) do not support importing a directory.
Attempting to use it will produce an error:
rules: {
"unicorn/import-index": "error"
}
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too