Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LINT: Add import aliases support #58

Open
3 tasks
azinit opened this issue Dec 25, 2021 · 2 comments
Open
3 tasks

LINT: Add import aliases support #58

azinit opened this issue Dec 25, 2021 · 2 comments

Comments

@azinit
Copy link
Member

azinit commented Dec 25, 2021

Description

Should work for each rule

  • imports-order
  • layers-slices
  • public-api

Reference

// Pass
import { ... } from "entities/user";
import { ... } from "@/entities/user";
import { ... } from "@root/entities/user";
import { ... } from "@root/src/entities/user";
import { ... } from "~/entities/user";
@Krakazybik
Copy link
Member

А у нас алиасы разве не работают? Мне казалось это работа резолвера их разрулить... 🤔

@azinit
Copy link
Member Author

azinit commented Dec 25, 2021

Мне казалось это работа резолвера их разрулить... 🤔

Надо убедиться вот, по идее - да)

Это пока драфт задачки только, там надо прям уточнять все возможные траблы с альясами, чтобы в тесты вогнать

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants