@ntnyq/eslint-config 3.12.2 → 4.0.0-beta.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 +7 -13
- package/dist/index.d.ts +5272 -9187
- package/dist/index.js +267 -504
- package/package.json +30 -39
- package/dist/index.cjs +0 -3561
- 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@9.15.
|
|
4
|
+
"version": "4.0.0-beta.1",
|
|
5
|
+
"packageManager": "pnpm@9.15.5",
|
|
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,33 +37,27 @@
|
|
|
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",
|
|
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
|
-
"@stylistic/eslint-plugin": "^2.12.1",
|
|
58
57
|
"eslint": "^9.5.0",
|
|
59
|
-
"eslint-plugin-es-x": "^8.4.1",
|
|
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
|
}
|
|
@@ -74,27 +66,27 @@
|
|
|
74
66
|
"@antfu/install-pkg": "^1.0.0",
|
|
75
67
|
"@clack/prompts": "^0.9.1",
|
|
76
68
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
|
77
|
-
"@eslint/js": "^9.
|
|
78
|
-
"@eslint/markdown": "^6.2.
|
|
79
|
-
"@unocss/eslint-plugin": "^65.4.
|
|
69
|
+
"@eslint/js": "^9.19.0",
|
|
70
|
+
"@eslint/markdown": "^6.2.2",
|
|
71
|
+
"@unocss/eslint-plugin": "^65.4.3",
|
|
80
72
|
"@vitest/eslint-plugin": "^1.1.25",
|
|
81
|
-
"eslint-config-flat-gitignore": "^
|
|
82
|
-
"eslint-flat-config-utils": "^
|
|
73
|
+
"eslint-config-flat-gitignore": "^2.0.0",
|
|
74
|
+
"eslint-flat-config-utils": "^2.0.1",
|
|
83
75
|
"eslint-import-resolver-typescript": "^3.7.0",
|
|
84
76
|
"eslint-merge-processors": "^1.0.0",
|
|
85
|
-
"eslint-plugin-antfu": "^
|
|
86
|
-
"eslint-plugin-command": "^
|
|
77
|
+
"eslint-plugin-antfu": "^3.0.0",
|
|
78
|
+
"eslint-plugin-command": "^3.0.0",
|
|
87
79
|
"eslint-plugin-depend": "^0.12.0",
|
|
88
80
|
"eslint-plugin-format": "^1.0.1",
|
|
89
81
|
"eslint-plugin-github-action": "^0.0.13",
|
|
90
82
|
"eslint-plugin-import-x": "^4.6.1",
|
|
91
|
-
"eslint-plugin-jsdoc": "^50.6.
|
|
92
|
-
"eslint-plugin-jsonc": "^2.
|
|
83
|
+
"eslint-plugin-jsdoc": "^50.6.3",
|
|
84
|
+
"eslint-plugin-jsonc": "^2.19.1",
|
|
93
85
|
"eslint-plugin-n": "^17.15.1",
|
|
94
86
|
"eslint-plugin-ntnyq": "^0.9.2",
|
|
95
|
-
"eslint-plugin-perfectionist": "^4.
|
|
87
|
+
"eslint-plugin-perfectionist": "^4.8.0",
|
|
96
88
|
"eslint-plugin-pinia": "^0.4.1",
|
|
97
|
-
"eslint-plugin-prettier": "^5.2.
|
|
89
|
+
"eslint-plugin-prettier": "^5.2.3",
|
|
98
90
|
"eslint-plugin-regexp": "^2.7.0",
|
|
99
91
|
"eslint-plugin-svgo": "^0.4.0",
|
|
100
92
|
"eslint-plugin-toml": "^0.12.0",
|
|
@@ -108,25 +100,24 @@
|
|
|
108
100
|
"local-pkg": "^1.0.0",
|
|
109
101
|
"prettier": "^3.4.2",
|
|
110
102
|
"toml-eslint-parser": "^0.10.0",
|
|
111
|
-
"typescript-eslint": "^8.
|
|
103
|
+
"typescript-eslint": "^8.23.0",
|
|
112
104
|
"vue-eslint-parser": "^9.4.3",
|
|
113
105
|
"yaml-eslint-parser": "^1.2.3"
|
|
114
106
|
},
|
|
115
107
|
"devDependencies": {
|
|
116
108
|
"@ntnyq/prettier-config": "^1.22.1",
|
|
117
|
-
"@types/node": "^22.
|
|
118
|
-
"bumpp": "^
|
|
119
|
-
"eslint": "^9.
|
|
109
|
+
"@types/node": "^22.13.1",
|
|
110
|
+
"bumpp": "^10.0.1",
|
|
111
|
+
"eslint": "^9.19.0",
|
|
120
112
|
"eslint-typegen": "^1.0.0",
|
|
121
113
|
"husky": "^9.1.7",
|
|
122
114
|
"jiti": "^2.4.2",
|
|
123
115
|
"nano-staged": "^0.8.0",
|
|
124
116
|
"npm-run-all2": "^7.0.2",
|
|
125
|
-
"tsup": "^8.3.
|
|
117
|
+
"tsup": "^8.3.6",
|
|
126
118
|
"tsx": "^4.19.2",
|
|
127
119
|
"typescript": "^5.7.3",
|
|
128
|
-
"vitest": "^3.0.
|
|
129
|
-
"zx": "^8.3.0"
|
|
120
|
+
"vitest": "^3.0.5"
|
|
130
121
|
},
|
|
131
122
|
"engines": {
|
|
132
123
|
"node": ">=18.18.0"
|