@ntnyq/eslint-config 3.12.3 → 4.0.0-beta.10
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 +22 -23
- package/dist/index.d.ts +15462 -18228
- package/dist/index.js +1598 -1545
- package/package.json +71 -66
- package/dist/index.cjs +0 -3562
- package/dist/index.d.cts +0 -18565
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ntnyq/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "
|
|
5
|
-
"packageManager": "pnpm@
|
|
4
|
+
"version": "4.0.0-beta.10",
|
|
5
|
+
"packageManager": "pnpm@10.5.2",
|
|
6
6
|
"description": "An opinionated ESLint config preset of ntnyq",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"eslint",
|
|
@@ -15,18 +15,16 @@
|
|
|
15
15
|
"name": "ntnyq",
|
|
16
16
|
"email": "ntnyq13@gmail.com"
|
|
17
17
|
},
|
|
18
|
+
"homepage": "https://eslint-config.ntnyq.com",
|
|
18
19
|
"repository": "ntnyq/eslint-config",
|
|
20
|
+
"bugs": {
|
|
21
|
+
"url": "https://github.com/ntnyq/eslint-config/issues"
|
|
22
|
+
},
|
|
19
23
|
"exports": {
|
|
20
24
|
"./package.json": "./package.json",
|
|
21
25
|
".": {
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
"default": "./dist/index.js"
|
|
25
|
-
},
|
|
26
|
-
"require": {
|
|
27
|
-
"types": "./dist/index.d.cts",
|
|
28
|
-
"default": "./dist/index.cjs"
|
|
29
|
-
}
|
|
26
|
+
"types": "./dist/index.d.ts",
|
|
27
|
+
"default": "./dist/index.js"
|
|
30
28
|
}
|
|
31
29
|
},
|
|
32
30
|
"main": "./dist/index.js",
|
|
@@ -39,105 +37,112 @@
|
|
|
39
37
|
"access": "public"
|
|
40
38
|
},
|
|
41
39
|
"scripts": {
|
|
42
|
-
"build": "
|
|
40
|
+
"build": "run-s generate:type build:lib",
|
|
41
|
+
"build:inspector": "pnpm dlx @eslint/config-inspector build --config eslint-inspector.config.ts",
|
|
42
|
+
"build:lib": "tsup",
|
|
43
43
|
"dev": "tsup --watch src",
|
|
44
44
|
"docs:build": "pnpm -C docs run build",
|
|
45
45
|
"docs:dev": "pnpm -C docs run dev",
|
|
46
|
-
"generate:site": "
|
|
46
|
+
"generate:site": "run-s generate:type build:lib build:inspector",
|
|
47
47
|
"generate:type": "tsx scripts/generateType.ts",
|
|
48
48
|
"lint": "eslint .",
|
|
49
49
|
"prepare": "husky",
|
|
50
50
|
"release": "run-s release:check release:version",
|
|
51
51
|
"release:check": "run-s build lint typecheck",
|
|
52
|
-
"release:version": "bumpp && npm publish",
|
|
52
|
+
"release:version": "bumpp && npm publish --tag next",
|
|
53
53
|
"test": "vitest",
|
|
54
54
|
"typecheck": "tsc --noEmit"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
|
-
"
|
|
58
|
-
"eslint": "^9.5.0",
|
|
59
|
-
"eslint-plugin-es-x": "^8.4.1",
|
|
57
|
+
"eslint": "^9.20.0",
|
|
60
58
|
"eslint-plugin-eslint-plugin": "^6.4.0"
|
|
61
59
|
},
|
|
62
60
|
"peerDependenciesMeta": {
|
|
63
|
-
"@stylistic/eslint-plugin": {
|
|
64
|
-
"optional": true
|
|
65
|
-
},
|
|
66
|
-
"eslint-plugin-es-x": {
|
|
67
|
-
"optional": true
|
|
68
|
-
},
|
|
69
61
|
"eslint-plugin-eslint-plugin": {
|
|
70
62
|
"optional": true
|
|
71
63
|
}
|
|
72
64
|
},
|
|
73
65
|
"dependencies": {
|
|
74
66
|
"@antfu/install-pkg": "^1.0.0",
|
|
75
|
-
"@clack/prompts": "^0.
|
|
67
|
+
"@clack/prompts": "^0.10.0",
|
|
76
68
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
|
77
|
-
"@eslint/js": "^9.
|
|
78
|
-
"@eslint/markdown": "^6.2.
|
|
79
|
-
"@unocss/eslint-plugin": "^
|
|
80
|
-
"@vitest/eslint-plugin": "^1.1.
|
|
81
|
-
"eslint-config-flat-gitignore": "^1.0
|
|
82
|
-
"eslint-flat-config-utils": "^
|
|
83
|
-
"eslint-import-resolver-typescript": "^3.
|
|
84
|
-
"eslint-merge-processors": "^
|
|
85
|
-
"eslint-plugin-antfu": "^
|
|
86
|
-
"eslint-plugin-command": "^
|
|
69
|
+
"@eslint/js": "^9.21.0",
|
|
70
|
+
"@eslint/markdown": "^6.2.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
|
+
"eslint-flat-config-utils": "^2.0.1",
|
|
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",
|
|
87
80
|
"eslint-plugin-depend": "^0.12.0",
|
|
88
81
|
"eslint-plugin-format": "^1.0.1",
|
|
89
|
-
"eslint-plugin-github-action": "^0.0.
|
|
82
|
+
"eslint-plugin-github-action": "^0.0.14",
|
|
90
83
|
"eslint-plugin-import-x": "^4.6.1",
|
|
91
|
-
"eslint-plugin-jsdoc": "^50.6.
|
|
92
|
-
"eslint-plugin-jsonc": "^2.
|
|
93
|
-
"eslint-plugin-n": "^17.
|
|
94
|
-
"eslint-plugin-
|
|
95
|
-
"eslint-plugin-
|
|
84
|
+
"eslint-plugin-jsdoc": "^50.6.3",
|
|
85
|
+
"eslint-plugin-jsonc": "^2.19.1",
|
|
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",
|
|
96
90
|
"eslint-plugin-pinia": "^0.4.1",
|
|
97
|
-
"eslint-plugin-prettier": "^5.2.
|
|
91
|
+
"eslint-plugin-prettier": "^5.2.3",
|
|
98
92
|
"eslint-plugin-regexp": "^2.7.0",
|
|
99
|
-
"eslint-plugin-svgo": "^0.
|
|
93
|
+
"eslint-plugin-svgo": "^0.6.0",
|
|
100
94
|
"eslint-plugin-toml": "^0.12.0",
|
|
101
|
-
"eslint-plugin-unicorn": "^
|
|
95
|
+
"eslint-plugin-unicorn": "^57.0.0",
|
|
102
96
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
103
|
-
"eslint-plugin-vue": "^
|
|
104
|
-
"eslint-plugin-yml": "^1.
|
|
105
|
-
"eslint-processor-vue-blocks": "^
|
|
106
|
-
"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",
|
|
107
101
|
"jsonc-eslint-parser": "^2.4.0",
|
|
108
|
-
"local-pkg": "^1.
|
|
109
|
-
"prettier": "^3.
|
|
102
|
+
"local-pkg": "^1.1.1",
|
|
103
|
+
"prettier": "^3.5.3",
|
|
110
104
|
"toml-eslint-parser": "^0.10.0",
|
|
111
|
-
"typescript-eslint": "^8.
|
|
112
|
-
"vue-eslint-parser": "^
|
|
113
|
-
"yaml-eslint-parser": "^1.
|
|
105
|
+
"typescript-eslint": "^8.26.0",
|
|
106
|
+
"vue-eslint-parser": "^10.1.0",
|
|
107
|
+
"yaml-eslint-parser": "^1.3.0"
|
|
114
108
|
},
|
|
115
109
|
"devDependencies": {
|
|
116
|
-
"@ntnyq/prettier-config": "^
|
|
117
|
-
"@types/node": "^22.
|
|
118
|
-
"bumpp": "^
|
|
119
|
-
"eslint": "^9.
|
|
120
|
-
"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",
|
|
121
116
|
"husky": "^9.1.7",
|
|
122
117
|
"jiti": "^2.4.2",
|
|
123
118
|
"nano-staged": "^0.8.0",
|
|
124
119
|
"npm-run-all2": "^7.0.2",
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
"
|
|
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"
|
|
130
126
|
},
|
|
131
127
|
"engines": {
|
|
132
128
|
"node": ">=18.18.0"
|
|
133
129
|
},
|
|
134
130
|
"pnpm": {
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
|
|
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"
|
|
138
143
|
},
|
|
139
144
|
"nano-staged": {
|
|
140
|
-
"*.{js,ts,mjs,cjs,vue,svg,
|
|
141
|
-
"*.css": "prettier
|
|
145
|
+
"*.{js,ts,mjs,cjs,md,vue,svg,yml,yaml,json}": "eslint --fix",
|
|
146
|
+
"*.{css,scss,html}": "prettier -uw"
|
|
142
147
|
}
|
|
143
148
|
}
|