@ntnyq/eslint-config 4.0.0-beta.1 → 4.0.0-beta.11
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/README.md +51 -13
- package/dist/index.d.ts +15462 -14302
- package/dist/index.js +1483 -1172
- package/package.json +56 -42
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.
|
|
5
|
-
"packageManager": "pnpm@
|
|
4
|
+
"version": "4.0.0-beta.11",
|
|
5
|
+
"packageManager": "pnpm@10.5.2",
|
|
6
6
|
"description": "An opinionated ESLint config preset of ntnyq",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"eslint",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "run-s generate:type build:lib",
|
|
41
|
-
"build:inspector": "pnpm dlx @eslint/config-inspector build",
|
|
41
|
+
"build:inspector": "pnpm dlx @eslint/config-inspector build --config eslint-inspector.config.ts",
|
|
42
42
|
"build:lib": "tsup",
|
|
43
43
|
"dev": "tsup --watch src",
|
|
44
44
|
"docs:build": "pnpm -C docs run build",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"typecheck": "tsc --noEmit"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
|
-
"eslint": "^9.
|
|
57
|
+
"eslint": "^9.20.0",
|
|
58
58
|
"eslint-plugin-eslint-plugin": "^6.4.0"
|
|
59
59
|
},
|
|
60
60
|
"peerDependenciesMeta": {
|
|
@@ -64,71 +64,85 @@
|
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
66
|
"@antfu/install-pkg": "^1.0.0",
|
|
67
|
-
"@clack/prompts": "^0.
|
|
67
|
+
"@clack/prompts": "^0.10.0",
|
|
68
68
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
|
69
|
-
"@eslint/js": "^9.
|
|
69
|
+
"@eslint/js": "^9.21.0",
|
|
70
70
|
"@eslint/markdown": "^6.2.2",
|
|
71
|
-
"@unocss/eslint-plugin": "^
|
|
72
|
-
"@vitest/eslint-plugin": "^1.1.
|
|
73
|
-
"eslint-config-flat-gitignore": "^2.
|
|
71
|
+
"@unocss/eslint-plugin": "^66.1.0-beta.3",
|
|
72
|
+
"@vitest/eslint-plugin": "^1.1.36",
|
|
73
|
+
"eslint-config-flat-gitignore": "^2.1.0",
|
|
74
74
|
"eslint-flat-config-utils": "^2.0.1",
|
|
75
|
-
"eslint-import-resolver-typescript": "^3.
|
|
76
|
-
"eslint-merge-processors": "^
|
|
77
|
-
"eslint-plugin-antfu": "^3.
|
|
78
|
-
"eslint-plugin-command": "^3.
|
|
75
|
+
"eslint-import-resolver-typescript": "^3.8.3",
|
|
76
|
+
"eslint-merge-processors": "^2.0.0",
|
|
77
|
+
"eslint-plugin-antfu": "^3.1.0",
|
|
78
|
+
"eslint-plugin-command": "^3.1.0",
|
|
79
|
+
"eslint-plugin-de-morgan": "^1.2.0",
|
|
79
80
|
"eslint-plugin-depend": "^0.12.0",
|
|
80
81
|
"eslint-plugin-format": "^1.0.1",
|
|
81
|
-
"eslint-plugin-github-action": "^0.0.
|
|
82
|
+
"eslint-plugin-github-action": "^0.0.14",
|
|
82
83
|
"eslint-plugin-import-x": "^4.6.1",
|
|
83
84
|
"eslint-plugin-jsdoc": "^50.6.3",
|
|
84
85
|
"eslint-plugin-jsonc": "^2.19.1",
|
|
85
|
-
"eslint-plugin-n": "^17.
|
|
86
|
-
"eslint-plugin-
|
|
87
|
-
"eslint-plugin-
|
|
86
|
+
"eslint-plugin-n": "^17.16.2",
|
|
87
|
+
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
88
|
+
"eslint-plugin-ntnyq": "^0.10.0",
|
|
89
|
+
"eslint-plugin-perfectionist": "^4.9.0",
|
|
88
90
|
"eslint-plugin-pinia": "^0.4.1",
|
|
89
91
|
"eslint-plugin-prettier": "^5.2.3",
|
|
90
92
|
"eslint-plugin-regexp": "^2.7.0",
|
|
91
|
-
"eslint-plugin-svgo": "^0.
|
|
93
|
+
"eslint-plugin-svgo": "^0.6.0",
|
|
92
94
|
"eslint-plugin-toml": "^0.12.0",
|
|
93
|
-
"eslint-plugin-unicorn": "^
|
|
95
|
+
"eslint-plugin-unicorn": "^57.0.0",
|
|
94
96
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
95
|
-
"eslint-plugin-vue": "^
|
|
96
|
-
"eslint-plugin-yml": "^1.
|
|
97
|
-
"eslint-processor-vue-blocks": "^
|
|
98
|
-
"globals": "^
|
|
97
|
+
"eslint-plugin-vue": "^10.0.0",
|
|
98
|
+
"eslint-plugin-yml": "^1.17.0",
|
|
99
|
+
"eslint-processor-vue-blocks": "^2.0.0",
|
|
100
|
+
"globals": "^16.0.0",
|
|
99
101
|
"jsonc-eslint-parser": "^2.4.0",
|
|
100
|
-
"local-pkg": "^1.
|
|
101
|
-
"prettier": "^3.
|
|
102
|
+
"local-pkg": "^1.1.1",
|
|
103
|
+
"prettier": "^3.5.3",
|
|
102
104
|
"toml-eslint-parser": "^0.10.0",
|
|
103
|
-
"typescript-eslint": "^8.
|
|
104
|
-
"vue-eslint-parser": "^
|
|
105
|
-
"yaml-eslint-parser": "^1.
|
|
105
|
+
"typescript-eslint": "^8.26.0",
|
|
106
|
+
"vue-eslint-parser": "^10.1.1",
|
|
107
|
+
"yaml-eslint-parser": "^1.3.0"
|
|
106
108
|
},
|
|
107
109
|
"devDependencies": {
|
|
108
|
-
"@ntnyq/prettier-config": "^
|
|
109
|
-
"@types/node": "^22.13.
|
|
110
|
-
"bumpp": "^10.0.
|
|
111
|
-
"eslint": "^9.
|
|
112
|
-
"eslint-
|
|
110
|
+
"@ntnyq/prettier-config": "^2.0.0",
|
|
111
|
+
"@types/node": "^22.13.9",
|
|
112
|
+
"bumpp": "^10.0.3",
|
|
113
|
+
"eslint": "^9.21.0",
|
|
114
|
+
"eslint-plugin-eslint-plugin": "^6.4.0",
|
|
115
|
+
"eslint-typegen": "^2.0.0",
|
|
113
116
|
"husky": "^9.1.7",
|
|
114
117
|
"jiti": "^2.4.2",
|
|
115
118
|
"nano-staged": "^0.8.0",
|
|
116
119
|
"npm-run-all2": "^7.0.2",
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"
|
|
120
|
+
"tinyglobby": "^0.2.12",
|
|
121
|
+
"tsup": "^8.4.0",
|
|
122
|
+
"tsx": "^4.19.3",
|
|
123
|
+
"typescript": "^5.8.2",
|
|
124
|
+
"uncase": "^0.0.4",
|
|
125
|
+
"vitest": "^3.0.7"
|
|
121
126
|
},
|
|
122
127
|
"engines": {
|
|
123
128
|
"node": ">=18.18.0"
|
|
124
129
|
},
|
|
125
130
|
"pnpm": {
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
|
|
131
|
+
"onlyBuiltDependencies": [
|
|
132
|
+
"esbuild"
|
|
133
|
+
]
|
|
134
|
+
},
|
|
135
|
+
"resolutions": {
|
|
136
|
+
"@shikijs/core": "^3.1.0",
|
|
137
|
+
"@shikijs/markdown-it": "^3.1.0",
|
|
138
|
+
"@shikijs/rehype": "^3.1.0",
|
|
139
|
+
"@shikijs/transformers": "^3.1.0",
|
|
140
|
+
"@shikijs/types": "^3.1.0",
|
|
141
|
+
"esbuild": "^0.25.0",
|
|
142
|
+
"shiki": "^3.1.0"
|
|
129
143
|
},
|
|
130
144
|
"nano-staged": {
|
|
131
|
-
"*.{js,ts,mjs,cjs,vue,svg,
|
|
132
|
-
"*.css": "prettier
|
|
145
|
+
"*.{js,ts,mjs,cjs,md,vue,svg,yml,yaml,toml,json}": "eslint --fix",
|
|
146
|
+
"*.{css,scss,html}": "prettier -uw"
|
|
133
147
|
}
|
|
134
148
|
}
|