@tb-dev/eslint-config 1.7.0 → 1.8.0

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
@@ -469,6 +469,7 @@ async function typescript(options) {
469
469
  "@typescript-eslint/non-nullable-type-assertion-style": "error",
470
470
  "@typescript-eslint/prefer-as-const": "error",
471
471
  "@typescript-eslint/prefer-enum-initializers": "error",
472
+ "@typescript-eslint/prefer-find": "error",
472
473
  "@typescript-eslint/prefer-for-of": "error",
473
474
  "@typescript-eslint/prefer-function-type": "error",
474
475
  "@typescript-eslint/prefer-includes": "error",
@@ -840,7 +841,7 @@ async function vue(options) {
840
841
  allowProps: false
841
842
  }
842
843
  ],
843
- "vue/require-explicit-slots": "error",
844
+ "vue/require-explicit-slots": "off",
844
845
  "vue/require-macro-variable-name": [
845
846
  "error",
846
847
  {
package/dist/index.js CHANGED
@@ -446,6 +446,7 @@ async function typescript(options) {
446
446
  "@typescript-eslint/non-nullable-type-assertion-style": "error",
447
447
  "@typescript-eslint/prefer-as-const": "error",
448
448
  "@typescript-eslint/prefer-enum-initializers": "error",
449
+ "@typescript-eslint/prefer-find": "error",
449
450
  "@typescript-eslint/prefer-for-of": "error",
450
451
  "@typescript-eslint/prefer-function-type": "error",
451
452
  "@typescript-eslint/prefer-includes": "error",
@@ -817,7 +818,7 @@ async function vue(options) {
817
818
  allowProps: false
818
819
  }
819
820
  ],
820
- "vue/require-explicit-slots": "error",
821
+ "vue/require-explicit-slots": "off",
821
822
  "vue/require-macro-variable-name": [
822
823
  "error",
823
824
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tb-dev/eslint-config",
3
- "version": "1.7.0",
3
+ "version": "1.8.0",
4
4
  "description": "ESLint config",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -18,11 +18,11 @@
18
18
  "*.{?(c|m)@(j|t)s,css,vue,md,json}": "prettier --write"
19
19
  },
20
20
  "dependencies": {
21
- "@typescript-eslint/eslint-plugin": "^6.20.0",
22
- "@typescript-eslint/parser": "^6.20.0",
21
+ "@typescript-eslint/eslint-plugin": "^6.21.0",
22
+ "@typescript-eslint/parser": "^6.21.0",
23
23
  "eslint-config-prettier": "^9.1.0",
24
24
  "eslint-plugin-perfectionist": "^2.5.0",
25
- "eslint-plugin-unicorn": "^50.0.1",
25
+ "eslint-plugin-unicorn": "^51.0.0",
26
26
  "eslint-plugin-vitest": "^0.3.21",
27
27
  "eslint-plugin-vue": "^9.21.1",
28
28
  "globals": "^13.24.0",
@@ -30,12 +30,12 @@
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/eslint-config-prettier": "^6.11.3",
33
- "@types/node": "^20.11.15",
33
+ "@types/node": "^20.11.16",
34
34
  "eslint": "^8.56.0",
35
- "husky": "^8.0.3",
36
- "lint-staged": "^15.2.1",
37
- "prettier": "^3.2.4",
38
- "taze": "^0.13.2",
35
+ "husky": "^9.0.10",
36
+ "lint-staged": "^15.2.2",
37
+ "prettier": "^3.2.5",
38
+ "taze": "^0.13.3",
39
39
  "tslib": "^2.6.2",
40
40
  "typescript": "5.3.3",
41
41
  "vite": "^5.0.12",
@@ -59,11 +59,10 @@
59
59
  },
60
60
  "scripts": {
61
61
  "build": "vite build",
62
- "bump": "miho bump -k --add .",
63
62
  "format": "prettier . --write",
64
63
  "format-check": "prettier . --check",
65
64
  "lint": "eslint . --config eslint.config.js --cache",
66
- "release": "pnpm run build && pnpm run bump && pnpm publish",
65
+ "release": "pnpm run build && pnpm publish",
67
66
  "type-check": "tsc --noEmit"
68
67
  }
69
68
  }