@tb-dev/eslint-config 1.3.10 → 1.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
@@ -740,6 +740,7 @@ async function vue(options) {
740
740
  'vue/no-template-target-blank': 'error',
741
741
  'vue/no-textarea-mustache': 'error',
742
742
  'vue/no-unused-components': 'error',
743
+ 'vue/no-unused-emit-declarations': 'error',
743
744
  'vue/no-unused-properties': 'error',
744
745
  'vue/no-unused-refs': 'error',
745
746
  'vue/no-unused-vars': [
@@ -772,7 +773,7 @@ async function vue(options) {
772
773
  'vue/prefer-true-attribute-shorthand': 'error',
773
774
  'vue/prop-name-casing': ['error', 'camelCase'],
774
775
  'vue/require-component-is': 'error',
775
- 'vue/require-default-prop': 'error',
776
+ 'vue/require-default-prop': 'off',
776
777
  'vue/require-explicit-emits': [
777
778
  'error',
778
779
  {
package/dist/index.mjs CHANGED
@@ -738,6 +738,7 @@ async function vue(options) {
738
738
  'vue/no-template-target-blank': 'error',
739
739
  'vue/no-textarea-mustache': 'error',
740
740
  'vue/no-unused-components': 'error',
741
+ 'vue/no-unused-emit-declarations': 'error',
741
742
  'vue/no-unused-properties': 'error',
742
743
  'vue/no-unused-refs': 'error',
743
744
  'vue/no-unused-vars': [
@@ -770,7 +771,7 @@ async function vue(options) {
770
771
  'vue/prefer-true-attribute-shorthand': 'error',
771
772
  'vue/prop-name-casing': ['error', 'camelCase'],
772
773
  'vue/require-component-is': 'error',
773
- 'vue/require-default-prop': 'error',
774
+ 'vue/require-default-prop': 'off',
774
775
  'vue/require-explicit-emits': [
775
776
  'error',
776
777
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tb-dev/eslint-config",
3
- "version": "1.3.10",
3
+ "version": "1.4.1",
4
4
  "description": "ESLint config",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -17,13 +17,23 @@
17
17
  "lint-staged": {
18
18
  "*.{?(c|m)@(j|t)s,css,vue,md,json}": "prettier --write"
19
19
  },
20
+ "scripts": {
21
+ "build": "rollup --config rollup.config.js",
22
+ "deps": "pnpm exec taze -w -f",
23
+ "format": "pnpm exec prettier . --write",
24
+ "format-check": "pnpm exec prettier . --check",
25
+ "lint": "eslint . --config eslint.config.js --cache",
26
+ "prepare": "husky install",
27
+ "release": "miho -l publish",
28
+ "typecheck": "tsc --noEmit"
29
+ },
20
30
  "dependencies": {
21
31
  "@typescript-eslint/eslint-plugin": "^6.13.1",
22
32
  "@typescript-eslint/parser": "^6.13.1",
23
33
  "eslint-config-prettier": "^9.0.0",
24
34
  "eslint-plugin-perfectionist": "^2.5.0",
25
35
  "eslint-plugin-unicorn": "^49.0.0",
26
- "eslint-plugin-vue": "^9.18.1",
36
+ "eslint-plugin-vue": "^9.19.2",
27
37
  "globals": "^13.23.0",
28
38
  "vue-eslint-parser": "^9.3.2"
29
39
  },
@@ -31,20 +41,20 @@
31
41
  "@octokit/core": "^5.0.2",
32
42
  "@rollup/plugin-typescript": "^11.1.5",
33
43
  "@types/eslint-config-prettier": "^6.11.3",
34
- "@types/node": "^20.10.0",
44
+ "@types/node": "^20.10.1",
35
45
  "eslint": "^8.54.0",
36
46
  "husky": "^8.0.3",
37
47
  "lint-staged": "^15.1.0",
38
- "miho": "^1.7.9",
48
+ "miho": "^1.7.11",
39
49
  "npm-run-all2": "^6.1.1",
40
50
  "prettier": "^3.1.0",
41
- "rollup": "^4.6.0",
42
- "taze": "^0.12.2",
51
+ "rollup": "^4.6.1",
52
+ "taze": "^0.13.0",
43
53
  "ts-node": "^10.9.1",
44
54
  "tslib": "^2.6.2",
45
55
  "typescript": "5.3.2",
46
- "vite": "^5.0.3",
47
- "vite-plugin-dts": "^3.6.3"
56
+ "vite": "^5.0.4",
57
+ "vite-plugin-dts": "^3.6.4"
48
58
  },
49
59
  "peerDependencies": {
50
60
  "eslint": "^8.0.0"
@@ -61,16 +71,5 @@
61
71
  "import": "./dist/index.mjs",
62
72
  "require": "./dist/index.cjs"
63
73
  }
64
- },
65
- "scripts": {
66
- "build": "pnpm rollup",
67
- "deps": "pnpm exec taze -w -f",
68
- "format": "pnpm exec prettier . --write",
69
- "format-check": "pnpm exec prettier . --check",
70
- "lint": "eslint . --config eslint.config.js --cache",
71
- "minify": "pnpm exec minify-it dist",
72
- "release": "miho -l publish",
73
- "rollup": "rollup --config rollup.config.js",
74
- "typecheck": "tsc --noEmit"
75
74
  }
76
- }
75
+ }