@ntnyq/eslint-config 4.0.0-beta.8 → 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/README.md +48 -9
- package/dist/{index.d.ts → index.d.mts} +476 -243
- package/dist/{index.js → index.mjs} +519 -552
- package/package.json +54 -49
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
|
|
5
|
-
"packageManager": "pnpm@10.
|
|
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.
|
|
27
|
-
"default": "./dist/index.
|
|
26
|
+
"types": "./dist/index.d.mts",
|
|
27
|
+
"default": "./dist/index.mjs"
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
|
-
"main": "./dist/index.
|
|
31
|
-
"module": "./dist/index.
|
|
32
|
-
"types": "./dist/index.d.
|
|
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,108 +39,113 @@
|
|
|
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": "
|
|
43
|
-
"dev": "
|
|
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.
|
|
70
|
-
"@eslint/markdown": "^6.
|
|
71
|
-
"@unocss/eslint-plugin": "^66.0.
|
|
72
|
-
"@vitest/eslint-plugin": "^1.1.
|
|
78
|
+
"@eslint/js": "^9.22.0",
|
|
79
|
+
"@eslint/markdown": "^6.3.0",
|
|
80
|
+
"@unocss/eslint-plugin": "^66.1.0-beta.3",
|
|
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
|
-
"eslint-import-resolver-typescript": "^3.8.
|
|
84
|
+
"eslint-import-resolver-typescript": "^3.8.3",
|
|
76
85
|
"eslint-merge-processors": "^2.0.0",
|
|
77
|
-
"eslint-plugin-antfu": "^3.1.
|
|
86
|
+
"eslint-plugin-antfu": "^3.1.1",
|
|
78
87
|
"eslint-plugin-command": "^3.1.0",
|
|
79
|
-
"eslint-plugin-de-morgan": "^1.0
|
|
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.
|
|
94
|
+
"eslint-plugin-n": "^17.16.2",
|
|
87
95
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
88
|
-
"eslint-plugin-ntnyq": "^0.
|
|
89
|
-
"eslint-plugin-perfectionist": "^4.
|
|
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
|
-
"eslint-plugin-svgo": "^0.
|
|
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-
|
|
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
|
-
"globals": "^
|
|
108
|
+
"globals": "^16.0.0",
|
|
101
109
|
"jsonc-eslint-parser": "^2.4.0",
|
|
102
|
-
"local-pkg": "^1.
|
|
103
|
-
"prettier": "^3.5.
|
|
110
|
+
"local-pkg": "^1.1.1",
|
|
111
|
+
"prettier": "^3.5.3",
|
|
104
112
|
"toml-eslint-parser": "^0.10.0",
|
|
105
|
-
"typescript-eslint": "^8.
|
|
106
|
-
"vue-eslint-parser": "^
|
|
107
|
-
"yaml-eslint-parser": "^1.
|
|
113
|
+
"typescript-eslint": "^8.26.0",
|
|
114
|
+
"vue-eslint-parser": "^10.1.1",
|
|
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.
|
|
119
|
+
"@types/node": "^22.13.10",
|
|
112
120
|
"bumpp": "^10.0.3",
|
|
113
|
-
"eslint": "^9.
|
|
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",
|
|
117
125
|
"jiti": "^2.4.2",
|
|
118
126
|
"nano-staged": "^0.8.0",
|
|
119
127
|
"npm-run-all2": "^7.0.2",
|
|
120
|
-
"
|
|
121
|
-
"tsx": "^4.19.
|
|
122
|
-
"typescript": "^5.
|
|
123
|
-
"
|
|
128
|
+
"tinyglobby": "^0.2.12",
|
|
129
|
+
"tsx": "^4.19.3",
|
|
130
|
+
"typescript": "^5.8.2",
|
|
131
|
+
"unbuild": "^3.5.0",
|
|
132
|
+
"uncase": "^0.0.4",
|
|
133
|
+
"vitest": "^3.0.8"
|
|
124
134
|
},
|
|
125
135
|
"engines": {
|
|
126
136
|
"node": ">=18.18.0"
|
|
127
137
|
},
|
|
128
|
-
"pnpm": {
|
|
129
|
-
"onlyBuiltDependencies": [
|
|
130
|
-
"esbuild"
|
|
131
|
-
]
|
|
132
|
-
},
|
|
133
138
|
"resolutions": {
|
|
134
|
-
"@shikijs/core": "^3.
|
|
135
|
-
"@shikijs/markdown-it": "^3.
|
|
136
|
-
"@shikijs/rehype": "^3.
|
|
137
|
-
"@shikijs/transformers": "^3.
|
|
138
|
-
"@shikijs/types": "^3.
|
|
139
|
+
"@shikijs/core": "^3.1.0",
|
|
140
|
+
"@shikijs/markdown-it": "^3.1.0",
|
|
141
|
+
"@shikijs/rehype": "^3.1.0",
|
|
142
|
+
"@shikijs/transformers": "^3.1.0",
|
|
143
|
+
"@shikijs/types": "^3.1.0",
|
|
139
144
|
"esbuild": "^0.25.0",
|
|
140
|
-
"shiki": "^3.
|
|
145
|
+
"shiki": "^3.1.0"
|
|
141
146
|
},
|
|
142
147
|
"nano-staged": {
|
|
143
|
-
"*.{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",
|
|
144
149
|
"*.{css,scss,html}": "prettier -uw"
|
|
145
150
|
}
|
|
146
151
|
}
|