@ntnyq/eslint-config 4.0.0-beta.9 → 4.0.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/README.md +40 -8
- package/dist/{index.d.ts → index.d.mts} +469 -255
- package/dist/{index.js → index.mjs} +517 -554
- package/package.json +42 -47
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ntnyq/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.0.
|
|
5
|
-
"packageManager": "pnpm@10.
|
|
4
|
+
"version": "4.0.1",
|
|
5
|
+
"packageManager": "pnpm@10.6.2",
|
|
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,62 +39,71 @@
|
|
|
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
|
-
"release": "run-s release:check release:version",
|
|
50
|
+
"release": "run-s release:check release:version release:publish",
|
|
51
51
|
"release:check": "run-s build lint typecheck",
|
|
52
|
-
"release:
|
|
52
|
+
"release:publish": "npm publish",
|
|
53
|
+
"release:version": "bumpp",
|
|
54
|
+
"stub": "unbuild --stub",
|
|
53
55
|
"test": "vitest",
|
|
54
56
|
"typecheck": "tsc --noEmit"
|
|
55
57
|
},
|
|
56
58
|
"peerDependencies": {
|
|
57
59
|
"eslint": "^9.20.0",
|
|
58
|
-
"eslint-plugin-eslint-plugin": "^6.4.0"
|
|
60
|
+
"eslint-plugin-eslint-plugin": "^6.4.0",
|
|
61
|
+
"eslint-plugin-format": "^1.0.1",
|
|
62
|
+
"eslint-plugin-unused-imports": "^4.1.4"
|
|
59
63
|
},
|
|
60
64
|
"peerDependenciesMeta": {
|
|
61
65
|
"eslint-plugin-eslint-plugin": {
|
|
62
66
|
"optional": true
|
|
67
|
+
},
|
|
68
|
+
"eslint-plugin-format": {
|
|
69
|
+
"optional": true
|
|
70
|
+
},
|
|
71
|
+
"eslint-plugin-unused-imports": {
|
|
72
|
+
"optional": true
|
|
63
73
|
}
|
|
64
74
|
},
|
|
65
75
|
"dependencies": {
|
|
66
76
|
"@antfu/install-pkg": "^1.0.0",
|
|
67
77
|
"@clack/prompts": "^0.10.0",
|
|
68
78
|
"@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.
|
|
79
|
+
"@eslint/js": "^9.22.0",
|
|
80
|
+
"@eslint/markdown": "^6.3.0",
|
|
81
|
+
"@unocss/eslint-plugin": "^66.1.0-beta.3",
|
|
82
|
+
"@vitest/eslint-plugin": "^1.1.37",
|
|
73
83
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
74
84
|
"eslint-flat-config-utils": "^2.0.1",
|
|
75
|
-
"eslint-import-resolver-typescript": "^3.8.
|
|
85
|
+
"eslint-import-resolver-typescript": "^3.8.4",
|
|
76
86
|
"eslint-merge-processors": "^2.0.0",
|
|
77
|
-
"eslint-plugin-antfu": "^3.1.
|
|
87
|
+
"eslint-plugin-antfu": "^3.1.1",
|
|
78
88
|
"eslint-plugin-command": "^3.1.0",
|
|
79
89
|
"eslint-plugin-de-morgan": "^1.2.0",
|
|
80
90
|
"eslint-plugin-depend": "^0.12.0",
|
|
81
|
-
"eslint-plugin-format": "^1.0.1",
|
|
82
91
|
"eslint-plugin-github-action": "^0.0.14",
|
|
83
92
|
"eslint-plugin-import-x": "^4.6.1",
|
|
84
|
-
"eslint-plugin-jsdoc": "^50.6.
|
|
93
|
+
"eslint-plugin-jsdoc": "^50.6.6",
|
|
85
94
|
"eslint-plugin-jsonc": "^2.19.1",
|
|
86
|
-
"eslint-plugin-n": "^17.16.
|
|
95
|
+
"eslint-plugin-n": "^17.16.2",
|
|
87
96
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
88
|
-
"eslint-plugin-ntnyq": "^0.
|
|
89
|
-
"eslint-plugin-perfectionist": "^4.
|
|
97
|
+
"eslint-plugin-ntnyq": "^0.10.0",
|
|
98
|
+
"eslint-plugin-perfectionist": "^4.10.1",
|
|
90
99
|
"eslint-plugin-pinia": "^0.4.1",
|
|
100
|
+
"eslint-plugin-pnpm": "^0.1.2",
|
|
91
101
|
"eslint-plugin-prettier": "^5.2.3",
|
|
92
102
|
"eslint-plugin-regexp": "^2.7.0",
|
|
93
103
|
"eslint-plugin-svgo": "^0.6.0",
|
|
94
104
|
"eslint-plugin-toml": "^0.12.0",
|
|
95
105
|
"eslint-plugin-unicorn": "^57.0.0",
|
|
96
|
-
"eslint-plugin-
|
|
97
|
-
"eslint-plugin-vue": "^9.32.0",
|
|
106
|
+
"eslint-plugin-vue": "^10.0.0",
|
|
98
107
|
"eslint-plugin-yml": "^1.17.0",
|
|
99
108
|
"eslint-processor-vue-blocks": "^2.0.0",
|
|
100
109
|
"globals": "^16.0.0",
|
|
@@ -102,15 +111,15 @@
|
|
|
102
111
|
"local-pkg": "^1.1.1",
|
|
103
112
|
"prettier": "^3.5.3",
|
|
104
113
|
"toml-eslint-parser": "^0.10.0",
|
|
105
|
-
"typescript-eslint": "^8.26.
|
|
106
|
-
"vue-eslint-parser": "^
|
|
114
|
+
"typescript-eslint": "^8.26.1",
|
|
115
|
+
"vue-eslint-parser": "^10.1.1",
|
|
107
116
|
"yaml-eslint-parser": "^1.3.0"
|
|
108
117
|
},
|
|
109
118
|
"devDependencies": {
|
|
110
119
|
"@ntnyq/prettier-config": "^2.0.0",
|
|
111
|
-
"@types/node": "^22.13.
|
|
120
|
+
"@types/node": "^22.13.10",
|
|
112
121
|
"bumpp": "^10.0.3",
|
|
113
|
-
"eslint": "^9.
|
|
122
|
+
"eslint": "^9.22.0",
|
|
114
123
|
"eslint-plugin-eslint-plugin": "^6.4.0",
|
|
115
124
|
"eslint-typegen": "^2.0.0",
|
|
116
125
|
"husky": "^9.1.7",
|
|
@@ -118,31 +127,17 @@
|
|
|
118
127
|
"nano-staged": "^0.8.0",
|
|
119
128
|
"npm-run-all2": "^7.0.2",
|
|
120
129
|
"tinyglobby": "^0.2.12",
|
|
121
|
-
"tsup": "^8.4.0",
|
|
122
130
|
"tsx": "^4.19.3",
|
|
123
131
|
"typescript": "^5.8.2",
|
|
132
|
+
"unbuild": "^3.5.0",
|
|
124
133
|
"uncase": "^0.0.4",
|
|
125
|
-
"vitest": "^3.0.
|
|
134
|
+
"vitest": "^3.0.8"
|
|
126
135
|
},
|
|
127
136
|
"engines": {
|
|
128
137
|
"node": ">=18.18.0"
|
|
129
138
|
},
|
|
130
|
-
"pnpm": {
|
|
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"
|
|
143
|
-
},
|
|
144
139
|
"nano-staged": {
|
|
145
|
-
"*.{js,ts,mjs,cjs,md,vue,svg,yml,yaml,json}": "eslint --fix",
|
|
140
|
+
"*.{js,ts,mjs,cjs,md,vue,svg,yml,yaml,toml,json}": "eslint --fix",
|
|
146
141
|
"*.{css,scss,html}": "prettier -uw"
|
|
147
142
|
}
|
|
148
143
|
}
|