Skip to content

Files

Latest commit

 

History

History
21 lines (13 loc) · 376 Bytes

no-relative-import.md

File metadata and controls

21 lines (13 loc) · 376 Bytes

Pattern: Use of relative import

Issue: -

Description

Forbids importing other packages from the monorepo with a relative path.

Examples

// Bad
import module from '../module';

// Good
import module from 'module';

Further Reading