ChainSafe / ChainSafe/lodestar

Restrict relative imports with biomejs

Open
#7,137 1 comment 0 reactions 0 assignees View on GitHub
meta-feature-request
Dominant language
TypeScript
Stars
1.4k
Forks
483
Avg merge
1d 16h
Merged PRs (30d)
150

Description

### Problem description

We need to restrict the relative imports, as these may break production code. It was available in the eslint via `import/no-relative-packages`

### Solution description

It was working earlier with `eslint-import` plugin, but have not yet available with the Biomejs.

### Additional context

There must be a workaround for it to restrict import with some regular expressions.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.