@lntvow/eslint-config 9.4.0 → 9.4.1

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.
package/dist/index.cjs CHANGED
@@ -360,7 +360,7 @@ async function javascript(options = {}) {
360
360
  reportUnusedDisableDirectives: true
361
361
  },
362
362
  rules: {
363
- // Update to eslint-plugin-vue v9.3.0
363
+ // Update to eslint-plugin-vue v9.4.0
364
364
  ...import_js.default.configs.all.rules,
365
365
  // Possible Problems
366
366
  // 禁止未使用过的变量
@@ -592,7 +592,9 @@ async function stylistic(options = {}) {
592
592
  "error",
593
593
  { blankLine: "always", prev: "*", next: "cjs-export" },
594
594
  { blankLine: "always", prev: "*", next: "export" },
595
- { blankLine: "always", prev: "*", next: "function" }
595
+ { blankLine: "always", prev: "*", next: "function" },
596
+ { blankLine: "always", prev: "*", next: ["interface", "type"] },
597
+ { blankLine: "never", prev: "function-overload", next: "function" }
596
598
  ],
597
599
  // overrides
598
600
  ...overrides
package/dist/index.mjs CHANGED
@@ -279,7 +279,7 @@ async function javascript(options = {}) {
279
279
  reportUnusedDisableDirectives: true
280
280
  },
281
281
  rules: {
282
- // Update to eslint-plugin-vue v9.3.0
282
+ // Update to eslint-plugin-vue v9.4.0
283
283
  ...js.configs.all.rules,
284
284
  // Possible Problems
285
285
  // 禁止未使用过的变量
@@ -511,7 +511,9 @@ async function stylistic(options = {}) {
511
511
  "error",
512
512
  { blankLine: "always", prev: "*", next: "cjs-export" },
513
513
  { blankLine: "always", prev: "*", next: "export" },
514
- { blankLine: "always", prev: "*", next: "function" }
514
+ { blankLine: "always", prev: "*", next: "function" },
515
+ { blankLine: "always", prev: "*", next: ["interface", "type"] },
516
+ { blankLine: "never", prev: "function-overload", next: "function" }
515
517
  ],
516
518
  // overrides
517
519
  ...overrides
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lntvow/eslint-config",
3
- "version": "9.4.0",
3
+ "version": "9.4.1",
4
4
  "author": "lntvow",
5
5
  "description": "eslint-config",
6
6
  "type": "module",
@@ -54,7 +54,7 @@
54
54
  "tslib": "^2.6.2",
55
55
  "typescript": "^5.4.5",
56
56
  "vue-eslint-parser": "^9.4.2",
57
- "@lntvow/eslint-plugin": "^9.4.0"
57
+ "@lntvow/eslint-plugin": "^9.4.1"
58
58
  },
59
59
  "scripts": {
60
60
  "dev": "pnpm build --format esm --watch",