import { App } from "@/components/app"; // ⤸ There is no space between groups.
import "@/styles/globals.css";
ESLint version
v8.49.0
ESLint Plugin Perfectionist version
v2.1.0
Additional comments
Starting from the idea of the plugin, I think that the current behavior is not quite correct, because there is a group for side-effect imports and therefore something like this is not very aesthetically?
import { EvenLongerNameComponent } from "@/components";
import { LongNameComponent } from "@/components";
import { AnotherComponent } from "@/components";
import { Component } from "@/components";
import "@/styles/globals.css";
import { s } from "@/css";
import "./styles.css";
import "./base.css";
Describe the bug
If a side-effect import starts with an internal pattern, then it will be defined as an internal module and not a side-effect.
Code example
IN CONFIG:
IN CODE:
ESLint version
v8.49.0
ESLint Plugin Perfectionist version
v2.1.0
Additional comments
Starting from the idea of the plugin, I think that the current behavior is not quite correct, because there is a group for side-effect imports and therefore something like this is not very aesthetically?
Validations