@ntnyq/eslint-config 3.11.0 → 3.12.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/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@ntnyq/eslint-config",
3
3
  "type": "module",
4
- "version": "3.11.0",
5
- "packageManager": "pnpm@9.15.2",
4
+ "version": "3.12.1",
5
+ "packageManager": "pnpm@9.15.3",
6
6
  "description": "An opinionated ESLint config preset of ntnyq",
7
7
  "keywords": [
8
8
  "eslint",
@@ -41,9 +41,11 @@
41
41
  "scripts": {
42
42
  "build": "pnpm run generate:type && tsup",
43
43
  "dev": "tsup --watch src",
44
+ "docs:build": "pnpm -C docs run build",
45
+ "docs:dev": "pnpm -C docs run dev",
44
46
  "generate:site": "tsx scripts/generateSite.ts",
45
47
  "generate:type": "tsx scripts/generateType.ts",
46
- "lint": "eslint --flag unstable_ts_config .",
48
+ "lint": "eslint .",
47
49
  "prepare": "husky",
48
50
  "release": "run-s release:check release:version",
49
51
  "release:check": "run-s build lint typecheck",
@@ -52,64 +54,78 @@
52
54
  "typecheck": "tsc --noEmit"
53
55
  },
54
56
  "peerDependencies": {
55
- "eslint": "^9.5.0"
57
+ "@stylistic/eslint-plugin": "^2.12.1",
58
+ "eslint": "^9.5.0",
59
+ "eslint-plugin-es-x": "^8.4.1",
60
+ "eslint-plugin-eslint-plugin": "^6.4.0"
61
+ },
62
+ "peerDependenciesMeta": {
63
+ "@stylistic/eslint-plugin": {
64
+ "optional": true
65
+ },
66
+ "eslint-plugin-es-x": {
67
+ "optional": true
68
+ },
69
+ "eslint-plugin-eslint-plugin": {
70
+ "optional": true
71
+ }
56
72
  },
57
73
  "dependencies": {
74
+ "@antfu/install-pkg": "^1.0.0",
75
+ "@clack/prompts": "^0.9.1",
58
76
  "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
59
- "@eslint/js": "^9.17.0",
77
+ "@eslint/js": "^9.18.0",
60
78
  "@eslint/markdown": "^6.2.1",
61
- "@stylistic/eslint-plugin": "^2.12.1",
62
- "@unocss/eslint-plugin": "^0.65.3",
63
- "@vitest/eslint-plugin": "^1.1.22",
64
- "eslint-config-flat-gitignore": "^0.3.0",
65
- "eslint-flat-config-utils": "^0.4.0",
79
+ "@unocss/eslint-plugin": "^65.4.0",
80
+ "@vitest/eslint-plugin": "^1.1.24",
81
+ "eslint-config-flat-gitignore": "^1.0.0",
82
+ "eslint-flat-config-utils": "^1.0.0",
66
83
  "eslint-import-resolver-typescript": "^3.7.0",
67
- "eslint-merge-processors": "^0.1.0",
84
+ "eslint-merge-processors": "^1.0.0",
68
85
  "eslint-plugin-antfu": "^2.7.0",
69
- "eslint-plugin-command": "^0.2.7",
86
+ "eslint-plugin-command": "^2.1.0",
70
87
  "eslint-plugin-depend": "^0.12.0",
71
- "eslint-plugin-es-x": "^8.4.1",
72
- "eslint-plugin-format": "^0.1.3",
88
+ "eslint-plugin-format": "^1.0.1",
73
89
  "eslint-plugin-github-action": "^0.0.12",
74
90
  "eslint-plugin-import-x": "^4.6.1",
75
91
  "eslint-plugin-jsdoc": "^50.6.1",
76
92
  "eslint-plugin-jsonc": "^2.18.2",
77
93
  "eslint-plugin-n": "^17.15.1",
78
- "eslint-plugin-ntnyq": "^0.8.2",
79
- "eslint-plugin-perfectionist": "^4.4.0",
94
+ "eslint-plugin-ntnyq": "^0.9.2",
95
+ "eslint-plugin-perfectionist": "^4.6.0",
80
96
  "eslint-plugin-pinia": "^0.4.1",
81
97
  "eslint-plugin-prettier": "^5.2.1",
82
98
  "eslint-plugin-regexp": "^2.7.0",
83
- "eslint-plugin-svgo": "^0.3.1",
99
+ "eslint-plugin-svgo": "^0.4.0",
84
100
  "eslint-plugin-toml": "^0.12.0",
85
101
  "eslint-plugin-unicorn": "^56.0.1",
86
102
  "eslint-plugin-unused-imports": "^4.1.4",
87
103
  "eslint-plugin-vue": "^9.32.0",
88
104
  "eslint-plugin-yml": "^1.16.0",
89
- "eslint-processor-vue-blocks": "^0.1.2",
105
+ "eslint-processor-vue-blocks": "^1.0.0",
90
106
  "globals": "^15.14.0",
91
107
  "jsonc-eslint-parser": "^2.4.0",
92
- "local-pkg": "^0.5.1",
108
+ "local-pkg": "^1.0.0",
93
109
  "prettier": "^3.4.2",
94
110
  "toml-eslint-parser": "^0.10.0",
95
- "typescript-eslint": "^8.19.0",
111
+ "typescript-eslint": "^8.19.1",
96
112
  "vue-eslint-parser": "^9.4.3",
97
113
  "yaml-eslint-parser": "^1.2.3"
98
114
  },
99
115
  "devDependencies": {
100
- "@ntnyq/prettier-config": "^1.22.0",
101
- "@types/node": "^22.10.2",
102
- "bumpp": "^9.9.2",
103
- "eslint": "^9.17.0",
104
- "eslint-typegen": "^0.3.2",
116
+ "@ntnyq/prettier-config": "^1.22.1",
117
+ "@types/node": "^22.10.5",
118
+ "bumpp": "^9.10.0",
119
+ "eslint": "^9.18.0",
120
+ "eslint-typegen": "^1.0.0",
105
121
  "husky": "^9.1.7",
106
122
  "jiti": "^2.4.2",
107
123
  "nano-staged": "^0.8.0",
108
124
  "npm-run-all2": "^7.0.2",
109
125
  "tsup": "^8.3.5",
110
126
  "tsx": "^4.19.2",
111
- "typescript": "^5.7.2",
112
- "vitest": "^3.0.0-beta.3",
127
+ "typescript": "^5.7.3",
128
+ "vitest": "^3.0.0-beta.4",
113
129
  "zx": "^8.3.0"
114
130
  },
115
131
  "engines": {
@@ -121,6 +137,6 @@
121
137
  }
122
138
  },
123
139
  "nano-staged": {
124
- "*.{js,ts,mjs,cjs,json,jsonc,md,yaml,yml}": "eslint --flag unstable_ts_config --fix"
140
+ "*.{js,ts,mjs,cjs,vue,svg,json,jsonc,md,yaml,yml}": "eslint --fix"
125
141
  }
126
142
  }