-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
Were added by #82 for import/order rule by @Krakazybik
Should be merged with base config, or deleted at all
Why experimental?
Variant 1: import-order/experimental
With spaces and reverted order ("from abstract - to specific")
import axios from "axios"; // 1) external libs
import { debounce } from "shared/lib/fp"; // 2.1) Layers: shared
import { Button } from "shared/ui"; // 2.1) Layers: shared
import { authModel } from "entities/auth"; // 2.2) Layers: entities
import { commentModel } from "entities/comment"; // 2.2) Layers: entities
import { postModel } from "entities/post"; // 2.2) Layers: entities
import { LoginForm } from "features/login-form"; // 2.3) Layers: features
import { Header } from "widgets/header"; // 2.4) Layers: widgets
import { data } from "../fixtures"; // 3) parent
import { getSmth } from "./lib"; // 4) siblingVariant 2: import-order (base)
import axios from "axios"; // 1) external libs
import { Header } from "widgets/header"; // 2.1) Layers: widgets
import { LoginForm } from "features/login-form"; // 2.2) Layers: features
import { authModel } from "entities/auth"; // 2.3) Layers: entities
import { commentModel } from "entities/comment"; // 2.2) Layers: entities
import { postModel } from "entities/post"; // 2.3) Layers: entities
import { Button } from "shared/ui"; // 2.4) Layers: shared
import { debounce } from "shared/lib/fp"; // 2.4) Layers: shared
import { data } from "../fixtures"; // 3) parent
import { getSmth } from "./lib"; // 4) siblingPlease, leave your vote below:
"👍" - if you prefer to use import-order/experimental at stable config
"👎" - if you prefer to use import-order at stable config
"👀" - if you aren't sure
Feel free leave below your comments
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed