feature-sliced / eslint-config

🍰 Lint feature-sliced concepts by existing eslint plugins
https://npmjs.com/@feature-sliced/eslint-config
MIT License
120 stars 5 forks source link

LINT: import boundaries (between layers) #10

Closed azinit closed 2 years ago

azinit commented 3 years ago
// Fail
// features/auth-form/index.ts
import { getRoute } from "pages/auth";
import { getStore } from "app/store";

// Pass
// features/auth-form/index.ts
import { sessionModel } from "entities/session";
import { Form, Button } from "shared/ui";