@flarian/frontend-preset 2.0.3 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,14 +21,14 @@ const esLintImportsRules = {
21
21
  ["^node:"],
22
22
  // 2. Внешние npm-пакеты (unscoped + @-scoped)
23
23
  ["^[^.~@]", "^@(?!/)"],
24
- // 3. Parent-relative (../xxx)
25
- ["^\\.\\./"],
26
- // 4. Same-dir relative (./xxx)
27
- ["^\\.(?!\\.)"],
28
- // 5. @/ global path aliases
24
+ // 3. @/ global path aliases
29
25
  ["^@/"],
30
- // 6. ~/ src path aliases
26
+ // 4. ~/ src path aliases
31
27
  ["^~/"],
28
+ // 5. Parent-relative (../xxx)
29
+ ["^\\.\\./"],
30
+ // 6. Same-dir relative (./xxx)
31
+ ["^\\.(?!\\.)"],
32
32
  // 7. Vue SFC / JSX / TSX компоненты
33
33
  ["^.+\\.(vue|jsx|tsx)$"],
34
34
  // 8. CSS modules
@@ -15,14 +15,14 @@ const esLintImportsRules = {
15
15
  ["^node:"],
16
16
  // 2. Внешние npm-пакеты (unscoped + @-scoped)
17
17
  ["^[^.~@]", "^@(?!/)"],
18
- // 3. Parent-relative (../xxx)
19
- ["^\\.\\./"],
20
- // 4. Same-dir relative (./xxx)
21
- ["^\\.(?!\\.)"],
22
- // 5. @/ global path aliases
18
+ // 3. @/ global path aliases
23
19
  ["^@/"],
24
- // 6. ~/ src path aliases
20
+ // 4. ~/ src path aliases
25
21
  ["^~/"],
22
+ // 5. Parent-relative (../xxx)
23
+ ["^\\.\\./"],
24
+ // 6. Same-dir relative (./xxx)
25
+ ["^\\.(?!\\.)"],
26
26
  // 7. Vue SFC / JSX / TSX компоненты
27
27
  ["^.+\\.(vue|jsx|tsx)$"],
28
28
  // 8. CSS modules
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flarian/frontend-preset",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "license": "MIT",
5
5
  "description": "Frontend preset with ESLint 9 flat config and Stylelint",
6
6
  "author": "FlarianWeb",