@ntnyq/eslint-config 4.0.0-beta.9 → 4.0.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/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@ntnyq/eslint-config",
3
3
  "type": "module",
4
- "version": "4.0.0-beta.9",
5
- "packageManager": "pnpm@10.5.2",
4
+ "version": "4.0.0",
5
+ "packageManager": "pnpm@10.6.1",
6
6
  "description": "An opinionated ESLint config preset of ntnyq",
7
7
  "keywords": [
8
8
  "eslint",
@@ -23,13 +23,13 @@
23
23
  "exports": {
24
24
  "./package.json": "./package.json",
25
25
  ".": {
26
- "types": "./dist/index.d.ts",
27
- "default": "./dist/index.js"
26
+ "types": "./dist/index.d.mts",
27
+ "default": "./dist/index.mjs"
28
28
  }
29
29
  },
30
- "main": "./dist/index.js",
31
- "module": "./dist/index.js",
32
- "types": "./dist/index.d.ts",
30
+ "main": "./dist/index.mjs",
31
+ "module": "./dist/index.mjs",
32
+ "types": "./dist/index.d.mts",
33
33
  "files": [
34
34
  "dist"
35
35
  ],
@@ -39,62 +39,70 @@
39
39
  "scripts": {
40
40
  "build": "run-s generate:type build:lib",
41
41
  "build:inspector": "pnpm dlx @eslint/config-inspector build --config eslint-inspector.config.ts",
42
- "build:lib": "tsup",
43
- "dev": "tsup --watch src",
42
+ "build:lib": "unbuild",
43
+ "dev": "unbuild --watch",
44
44
  "docs:build": "pnpm -C docs run build",
45
45
  "docs:dev": "pnpm -C docs run dev",
46
46
  "generate:site": "run-s generate:type build:lib build:inspector",
47
47
  "generate:type": "tsx scripts/generateType.ts",
48
- "lint": "eslint .",
48
+ "lint": "eslint --cache",
49
49
  "prepare": "husky",
50
50
  "release": "run-s release:check release:version",
51
51
  "release:check": "run-s build lint typecheck",
52
52
  "release:version": "bumpp && npm publish --tag next",
53
+ "stub": "unbuild --stub",
53
54
  "test": "vitest",
54
55
  "typecheck": "tsc --noEmit"
55
56
  },
56
57
  "peerDependencies": {
57
58
  "eslint": "^9.20.0",
58
- "eslint-plugin-eslint-plugin": "^6.4.0"
59
+ "eslint-plugin-eslint-plugin": "^6.4.0",
60
+ "eslint-plugin-format": "^1.0.1",
61
+ "eslint-plugin-unused-imports": "^4.1.4"
59
62
  },
60
63
  "peerDependenciesMeta": {
61
64
  "eslint-plugin-eslint-plugin": {
62
65
  "optional": true
66
+ },
67
+ "eslint-plugin-format": {
68
+ "optional": true
69
+ },
70
+ "eslint-plugin-unused-imports": {
71
+ "optional": true
63
72
  }
64
73
  },
65
74
  "dependencies": {
66
75
  "@antfu/install-pkg": "^1.0.0",
67
76
  "@clack/prompts": "^0.10.0",
68
77
  "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
69
- "@eslint/js": "^9.21.0",
70
- "@eslint/markdown": "^6.2.2",
71
- "@unocss/eslint-plugin": "^66.0.0",
78
+ "@eslint/js": "^9.22.0",
79
+ "@eslint/markdown": "^6.3.0",
80
+ "@unocss/eslint-plugin": "^66.1.0-beta.3",
72
81
  "@vitest/eslint-plugin": "^1.1.36",
73
82
  "eslint-config-flat-gitignore": "^2.1.0",
74
83
  "eslint-flat-config-utils": "^2.0.1",
75
84
  "eslint-import-resolver-typescript": "^3.8.3",
76
85
  "eslint-merge-processors": "^2.0.0",
77
- "eslint-plugin-antfu": "^3.1.0",
86
+ "eslint-plugin-antfu": "^3.1.1",
78
87
  "eslint-plugin-command": "^3.1.0",
79
88
  "eslint-plugin-de-morgan": "^1.2.0",
80
89
  "eslint-plugin-depend": "^0.12.0",
81
- "eslint-plugin-format": "^1.0.1",
82
90
  "eslint-plugin-github-action": "^0.0.14",
83
91
  "eslint-plugin-import-x": "^4.6.1",
84
92
  "eslint-plugin-jsdoc": "^50.6.3",
85
93
  "eslint-plugin-jsonc": "^2.19.1",
86
- "eslint-plugin-n": "^17.16.1",
94
+ "eslint-plugin-n": "^17.16.2",
87
95
  "eslint-plugin-no-only-tests": "^3.3.0",
88
- "eslint-plugin-ntnyq": "^0.9.2",
89
- "eslint-plugin-perfectionist": "^4.9.0",
96
+ "eslint-plugin-ntnyq": "^0.10.0",
97
+ "eslint-plugin-perfectionist": "^4.10.1",
90
98
  "eslint-plugin-pinia": "^0.4.1",
99
+ "eslint-plugin-pnpm": "^0.1.2",
91
100
  "eslint-plugin-prettier": "^5.2.3",
92
101
  "eslint-plugin-regexp": "^2.7.0",
93
102
  "eslint-plugin-svgo": "^0.6.0",
94
103
  "eslint-plugin-toml": "^0.12.0",
95
104
  "eslint-plugin-unicorn": "^57.0.0",
96
- "eslint-plugin-unused-imports": "^4.1.4",
97
- "eslint-plugin-vue": "^9.32.0",
105
+ "eslint-plugin-vue": "^10.0.0",
98
106
  "eslint-plugin-yml": "^1.17.0",
99
107
  "eslint-processor-vue-blocks": "^2.0.0",
100
108
  "globals": "^16.0.0",
@@ -103,14 +111,14 @@
103
111
  "prettier": "^3.5.3",
104
112
  "toml-eslint-parser": "^0.10.0",
105
113
  "typescript-eslint": "^8.26.0",
106
- "vue-eslint-parser": "^9.4.3",
114
+ "vue-eslint-parser": "^10.1.1",
107
115
  "yaml-eslint-parser": "^1.3.0"
108
116
  },
109
117
  "devDependencies": {
110
118
  "@ntnyq/prettier-config": "^2.0.0",
111
- "@types/node": "^22.13.9",
119
+ "@types/node": "^22.13.10",
112
120
  "bumpp": "^10.0.3",
113
- "eslint": "^9.21.0",
121
+ "eslint": "^9.22.0",
114
122
  "eslint-plugin-eslint-plugin": "^6.4.0",
115
123
  "eslint-typegen": "^2.0.0",
116
124
  "husky": "^9.1.7",
@@ -118,20 +126,15 @@
118
126
  "nano-staged": "^0.8.0",
119
127
  "npm-run-all2": "^7.0.2",
120
128
  "tinyglobby": "^0.2.12",
121
- "tsup": "^8.4.0",
122
129
  "tsx": "^4.19.3",
123
130
  "typescript": "^5.8.2",
131
+ "unbuild": "^3.5.0",
124
132
  "uncase": "^0.0.4",
125
- "vitest": "^3.0.7"
133
+ "vitest": "^3.0.8"
126
134
  },
127
135
  "engines": {
128
136
  "node": ">=18.18.0"
129
137
  },
130
- "pnpm": {
131
- "onlyBuiltDependencies": [
132
- "esbuild"
133
- ]
134
- },
135
138
  "resolutions": {
136
139
  "@shikijs/core": "^3.1.0",
137
140
  "@shikijs/markdown-it": "^3.1.0",
@@ -142,7 +145,7 @@
142
145
  "shiki": "^3.1.0"
143
146
  },
144
147
  "nano-staged": {
145
- "*.{js,ts,mjs,cjs,md,vue,svg,yml,yaml,json}": "eslint --fix",
148
+ "*.{js,ts,mjs,cjs,md,vue,svg,yml,yaml,toml,json}": "eslint --fix",
146
149
  "*.{css,scss,html}": "prettier -uw"
147
150
  }
148
151
  }