zirka 0.0.29 → 0.0.30

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.
@@ -463,6 +463,22 @@ var init_import = __esm({
463
463
  * Source: Vercel Style Guide → https://github.com/vercel/style-guide
464
464
  */
465
465
  "import/no-extraneous-dependencies": ["error", { includeTypes: true }],
466
+ /**
467
+ * Disallow relative imports that reach into src when alias imports are available.
468
+ * 🚫 Not fixable - https://eslint.org/docs/latest/rules/no-restricted-imports
469
+ * Source: Added by bredansky → https://github.com/bredansky
470
+ */
471
+ "no-restricted-imports": [
472
+ "error",
473
+ {
474
+ patterns: [
475
+ {
476
+ group: ["./src/**", "../src/**", "../../src/**", "../../../src/**", "../../../../src/**"],
477
+ message: "Use the @/ alias for imports from src."
478
+ }
479
+ ]
480
+ }
481
+ ],
466
482
  /**
467
483
  * Disallow mutable exports.
468
484
  * 🚫 Not fixable - https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-mutable-exports.md
@@ -447,6 +447,22 @@ var init_import = __esm({
447
447
  * Source: Vercel Style Guide → https://github.com/vercel/style-guide
448
448
  */
449
449
  "import/no-extraneous-dependencies": ["error", { includeTypes: true }],
450
+ /**
451
+ * Disallow relative imports that reach into src when alias imports are available.
452
+ * 🚫 Not fixable - https://eslint.org/docs/latest/rules/no-restricted-imports
453
+ * Source: Added by bredansky → https://github.com/bredansky
454
+ */
455
+ "no-restricted-imports": [
456
+ "error",
457
+ {
458
+ patterns: [
459
+ {
460
+ group: ["./src/**", "../src/**", "../../src/**", "../../../src/**", "../../../../src/**"],
461
+ message: "Use the @/ alias for imports from src."
462
+ }
463
+ ]
464
+ }
465
+ ],
450
466
  /**
451
467
  * Disallow mutable exports.
452
468
  * 🚫 Not fixable - https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-mutable-exports.md
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zirka",
3
- "version": "0.0.29",
3
+ "version": "0.0.30",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",
@@ -70,6 +70,6 @@
70
70
  "typescript": "^5.8.3"
71
71
  },
72
72
  "engines": {
73
- "node": ">=22.16"
73
+ "node": ">=22"
74
74
  }
75
75
  }