@ntnyq/eslint-config 4.3.0 → 5.0.0-beta.2
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 +7 -0
- package/dist/{index.d.mts → index.d.ts} +8737 -8803
- package/dist/index.js +3032 -0
- package/package.json +35 -25
- package/dist/index.mjs +0 -3612
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ntnyq/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "5.0.0-beta.2",
|
|
5
5
|
"description": "An opinionated ESLint config preset of ntnyq",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"eslint",
|
|
@@ -22,26 +22,36 @@
|
|
|
22
22
|
"exports": {
|
|
23
23
|
"./package.json": "./package.json",
|
|
24
24
|
".": {
|
|
25
|
-
"types": "./dist/index.d.
|
|
26
|
-
"default": "./dist/index.
|
|
25
|
+
"types": "./dist/index.d.ts",
|
|
26
|
+
"default": "./dist/index.js"
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
|
-
"main": "./dist/index.
|
|
30
|
-
"
|
|
31
|
-
"types": "./dist/index.d.mts",
|
|
29
|
+
"main": "./dist/index.js",
|
|
30
|
+
"types": "./dist/index.d.ts",
|
|
32
31
|
"files": [
|
|
33
32
|
"dist"
|
|
34
33
|
],
|
|
35
34
|
"publishConfig": {
|
|
36
|
-
"access": "public"
|
|
35
|
+
"access": "public",
|
|
36
|
+
"tag": "next"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
+
"@html-eslint/eslint-plugin": "^0.40.3",
|
|
40
|
+
"@html-eslint/parser": "^0.40.0",
|
|
41
|
+
"astro-eslint-parser": "^1.2.2",
|
|
39
42
|
"eslint": "^9.20.0",
|
|
43
|
+
"eslint-plugin-astro": "^1.3.1",
|
|
40
44
|
"eslint-plugin-eslint-plugin": "^6.4.0",
|
|
41
45
|
"eslint-plugin-format": "^1.0.1",
|
|
42
46
|
"eslint-plugin-unused-imports": "^4.1.4"
|
|
43
47
|
},
|
|
44
48
|
"peerDependenciesMeta": {
|
|
49
|
+
"@html-eslint/eslint-plugin": {
|
|
50
|
+
"optional": true
|
|
51
|
+
},
|
|
52
|
+
"@html-eslint/parser": {
|
|
53
|
+
"optional": true
|
|
54
|
+
},
|
|
45
55
|
"eslint-plugin-eslint-plugin": {
|
|
46
56
|
"optional": true
|
|
47
57
|
},
|
|
@@ -56,26 +66,27 @@
|
|
|
56
66
|
"@antfu/install-pkg": "^1.1.0",
|
|
57
67
|
"@clack/prompts": "^0.10.1",
|
|
58
68
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
59
|
-
"@eslint/js": "^9.
|
|
69
|
+
"@eslint/js": "^9.27.0",
|
|
60
70
|
"@eslint/markdown": "^6.4.0",
|
|
61
|
-
"@unocss/eslint-plugin": "^66.1.
|
|
62
|
-
"@vitest/eslint-plugin": "^1.
|
|
71
|
+
"@unocss/eslint-plugin": "^66.1.2",
|
|
72
|
+
"@vitest/eslint-plugin": "^1.2.0",
|
|
63
73
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
64
74
|
"eslint-flat-config-utils": "^2.0.1",
|
|
65
|
-
"eslint-import-resolver-typescript": "^4.3.
|
|
75
|
+
"eslint-import-resolver-typescript": "^4.3.5",
|
|
66
76
|
"eslint-merge-processors": "^2.0.0",
|
|
77
|
+
"eslint-parser-plain": "^0.1.1",
|
|
67
78
|
"eslint-plugin-antfu": "^3.1.1",
|
|
68
79
|
"eslint-plugin-command": "^3.2.0",
|
|
69
80
|
"eslint-plugin-de-morgan": "^1.2.1",
|
|
70
81
|
"eslint-plugin-depend": "^1.2.0",
|
|
71
82
|
"eslint-plugin-github-action": "^0.0.16",
|
|
72
|
-
"eslint-plugin-import-x": "^4.
|
|
73
|
-
"eslint-plugin-jsdoc": "^50.6.
|
|
74
|
-
"eslint-plugin-jsonc": "^2.20.
|
|
83
|
+
"eslint-plugin-import-x": "^4.12.2",
|
|
84
|
+
"eslint-plugin-jsdoc": "^50.6.17",
|
|
85
|
+
"eslint-plugin-jsonc": "^2.20.1",
|
|
75
86
|
"eslint-plugin-n": "^17.18.0",
|
|
76
87
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
77
88
|
"eslint-plugin-ntnyq": "^0.11.0",
|
|
78
|
-
"eslint-plugin-perfectionist": "^4.
|
|
89
|
+
"eslint-plugin-perfectionist": "^4.13.0",
|
|
79
90
|
"eslint-plugin-pinia": "^0.4.1",
|
|
80
91
|
"eslint-plugin-pnpm": "^0.3.1",
|
|
81
92
|
"eslint-plugin-prettier": "^5.4.0",
|
|
@@ -97,25 +108,24 @@
|
|
|
97
108
|
},
|
|
98
109
|
"devDependencies": {
|
|
99
110
|
"@ntnyq/prettier-config": "^2.0.0",
|
|
100
|
-
"@types/node": "^22.15.
|
|
101
|
-
"bumpp": "^10.1.
|
|
102
|
-
"eslint": "^9.
|
|
103
|
-
"eslint-parser-plain": "^0.1.1",
|
|
111
|
+
"@types/node": "^22.15.18",
|
|
112
|
+
"bumpp": "^10.1.1",
|
|
113
|
+
"eslint": "^9.27.0",
|
|
104
114
|
"eslint-plugin-eslint-plugin": "^6.4.0",
|
|
105
115
|
"eslint-typegen": "^2.2.0",
|
|
106
116
|
"husky": "^9.1.7",
|
|
107
117
|
"jiti": "^2.4.2",
|
|
108
118
|
"nano-staged": "^0.8.0",
|
|
109
|
-
"npm-run-all2": "^8.0.
|
|
119
|
+
"npm-run-all2": "^8.0.2",
|
|
110
120
|
"tinyglobby": "^0.2.13",
|
|
121
|
+
"tsdown": "^0.11.11",
|
|
111
122
|
"tsx": "^4.19.4",
|
|
112
123
|
"typescript": "^5.8.3",
|
|
113
|
-
"unbuild": "^3.5.0",
|
|
114
124
|
"uncase": "^0.1.0",
|
|
115
125
|
"vitest": "^3.1.3"
|
|
116
126
|
},
|
|
117
127
|
"engines": {
|
|
118
|
-
"node": ">=
|
|
128
|
+
"node": ">=20.11.0"
|
|
119
129
|
},
|
|
120
130
|
"nano-staged": {
|
|
121
131
|
"*.{js,ts,mjs,cjs,md,vue,svg,yml,yaml,toml,json}": "eslint --fix",
|
|
@@ -124,8 +134,8 @@
|
|
|
124
134
|
"scripts": {
|
|
125
135
|
"build": "run-s generate:type build:lib",
|
|
126
136
|
"build:inspector": "pnpm dlx @eslint/config-inspector build --config eslint-inspector.config.ts",
|
|
127
|
-
"build:lib": "
|
|
128
|
-
"dev": "
|
|
137
|
+
"build:lib": "tsdown",
|
|
138
|
+
"dev": "tsdown --watch",
|
|
129
139
|
"docs:build": "pnpm -C docs run build",
|
|
130
140
|
"docs:dev": "pnpm -C docs run dev",
|
|
131
141
|
"generate:site": "run-s generate:type build:lib build:inspector",
|
|
@@ -133,7 +143,7 @@
|
|
|
133
143
|
"lint": "eslint --cache",
|
|
134
144
|
"release": "run-s release:check release:version release:publish",
|
|
135
145
|
"release:check": "run-s build lint test typecheck",
|
|
136
|
-
"release:publish": "pnpm publish",
|
|
146
|
+
"release:publish": "pnpm publish --tag next",
|
|
137
147
|
"release:version": "bumpp",
|
|
138
148
|
"test": "vitest",
|
|
139
149
|
"typecheck": "tsc --noEmit"
|