@aiou/eslint-config 1.5.1 → 2.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/dist/index.cjs +328 -762
- package/dist/index.mjs +274 -737
- package/dts/configs/comments.d.ts +2 -2
- package/dts/configs/ignores.d.ts +2 -2
- package/dts/configs/imports.d.ts +2 -2
- package/dts/configs/javascript.d.ts +2 -2
- package/dts/configs/jsonc.d.ts +2 -2
- package/dts/configs/markdown.d.ts +2 -2
- package/dts/configs/next.d.ts +2 -2
- package/dts/configs/progress.d.ts +2 -2
- package/dts/configs/react.d.ts +3 -3
- package/dts/configs/regexp.d.ts +2 -2
- package/dts/configs/stylistic.d.ts +2 -2
- package/dts/configs/tailwindcss.d.ts +2 -2
- package/dts/configs/typescript.d.ts +2 -2
- package/dts/configs/unicorn.d.ts +2 -2
- package/dts/configs/yml.d.ts +2 -2
- package/dts/index.d.ts +6 -2
- package/dts/type.d.ts +10 -0
- package/dts/typegen.d.ts +7896 -0
- package/package.json +45 -30
package/package.json
CHANGED
|
@@ -1,11 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiou/eslint-config",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "eslint config for JW",
|
|
5
6
|
"keywords": [],
|
|
6
7
|
"license": "MIT",
|
|
7
8
|
"engines": {
|
|
8
|
-
"node": ">=
|
|
9
|
+
"node": ">=20"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/jiangweixian/eslint-config/packages/default#readme",
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+https://github.com/jiangweixian/eslint-config.git",
|
|
15
|
+
"directory": "packages/default"
|
|
16
|
+
},
|
|
17
|
+
"bugs": {
|
|
18
|
+
"url": "https://github.com/jiangweixian/eslint-config/issues",
|
|
19
|
+
"email": "jiangweixian1994@gmail.com"
|
|
9
20
|
},
|
|
10
21
|
"author": "JW <jiangweixian1994@gmail.com> (https://github.com/jiangweixian/)",
|
|
11
22
|
"files": [
|
|
@@ -26,36 +37,37 @@
|
|
|
26
37
|
"access": "public"
|
|
27
38
|
},
|
|
28
39
|
"peerDependencies": {
|
|
29
|
-
"eslint": ">=
|
|
40
|
+
"eslint": ">=9"
|
|
30
41
|
},
|
|
31
42
|
"dependencies": {
|
|
32
|
-
"@
|
|
43
|
+
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
44
|
+
"@eslint-react/eslint-plugin": "^1.53.0",
|
|
45
|
+
"@eslint/markdown": "^7.2.0",
|
|
46
|
+
"@next/eslint-plugin-next": "^15.5.2",
|
|
33
47
|
"@stylistic/eslint-plugin": "^1.4.1",
|
|
34
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
35
|
-
"@typescript-eslint/parser": "^
|
|
36
|
-
"eslint-
|
|
37
|
-
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
48
|
+
"@typescript-eslint/eslint-plugin": "^8.42.0",
|
|
49
|
+
"@typescript-eslint/parser": "^8.42.0",
|
|
50
|
+
"eslint-flat-config-utils": "^2.0.0",
|
|
38
51
|
"eslint-plugin-etc": "^2.0.3",
|
|
39
|
-
"eslint-plugin-
|
|
40
|
-
"eslint-plugin-import-
|
|
41
|
-
"eslint-plugin-jsonc": "^2.
|
|
42
|
-
"eslint-plugin-
|
|
43
|
-
"eslint-plugin-
|
|
44
|
-
"eslint-plugin-promise": "^
|
|
45
|
-
"eslint-plugin-react": "^
|
|
46
|
-
"eslint-plugin-react-
|
|
47
|
-
"eslint-plugin-
|
|
48
|
-
"eslint-plugin-
|
|
49
|
-
"eslint-plugin-
|
|
50
|
-
"eslint-plugin-
|
|
51
|
-
"eslint-plugin-
|
|
52
|
-
"eslint-plugin-
|
|
53
|
-
"eslint-plugin-
|
|
54
|
-
"
|
|
55
|
-
"globals": "^13.23.0",
|
|
52
|
+
"eslint-plugin-import-newlines": "^1.4.0",
|
|
53
|
+
"eslint-plugin-import-x": "^4.16.0",
|
|
54
|
+
"eslint-plugin-jsonc": "^2.20.0",
|
|
55
|
+
"eslint-plugin-n": "^17.21.0",
|
|
56
|
+
"eslint-plugin-node": "^11.1.0",
|
|
57
|
+
"eslint-plugin-promise": "^7.2.1",
|
|
58
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
59
|
+
"eslint-plugin-react-refresh": "^0.4.20",
|
|
60
|
+
"eslint-plugin-regexp": "^2.10.0",
|
|
61
|
+
"eslint-plugin-simple-import-sort": "^12.0.0",
|
|
62
|
+
"eslint-plugin-ssr-friendly": "^1.3.0",
|
|
63
|
+
"eslint-plugin-tailwindcss": "^3.18.0",
|
|
64
|
+
"eslint-plugin-unicorn": "^60.0.0",
|
|
65
|
+
"eslint-plugin-unused-imports": "^4.2.0",
|
|
66
|
+
"eslint-plugin-yml": "^1.18.0",
|
|
67
|
+
"globals": "^16.3.0",
|
|
56
68
|
"jsonc-eslint-parser": "^2.4.0",
|
|
57
69
|
"local-pkg": "^0.4.3",
|
|
58
|
-
"yaml-eslint-parser": "^1.
|
|
70
|
+
"yaml-eslint-parser": "^1.3.0",
|
|
59
71
|
"@aiou/eslint-ignore": "0.5.2",
|
|
60
72
|
"@aiou/eslint-plugin-progress": "0.3.1"
|
|
61
73
|
},
|
|
@@ -66,20 +78,23 @@
|
|
|
66
78
|
"@rollup/plugin-node-resolve": "15.0.1",
|
|
67
79
|
"@types/lodash-es": "^4.17.10",
|
|
68
80
|
"@types/node": "^20.8.7",
|
|
69
|
-
"eslint": "^
|
|
81
|
+
"eslint": "^9.34.0",
|
|
70
82
|
"eslint-config-standard": "17.1.0",
|
|
83
|
+
"eslint-typegen": "^2.3.0",
|
|
71
84
|
"lodash-es": "^4.17.21",
|
|
72
85
|
"publish-police": "^0.2.1",
|
|
73
86
|
"rollup": "3.19.1",
|
|
74
87
|
"rollup-plugin-condition-exports": "1.3.1",
|
|
75
88
|
"rollup-plugin-esbuild": "^5.0.0",
|
|
76
89
|
"rollup-plugin-filesize": "9.1.2",
|
|
77
|
-
"rollup-plugin-node-externals": "5.1.2"
|
|
90
|
+
"rollup-plugin-node-externals": "5.1.2",
|
|
91
|
+
"tsx": "^4.20.0"
|
|
78
92
|
},
|
|
79
93
|
"scripts": {
|
|
80
94
|
"dev": "rollup -c -w",
|
|
81
|
-
"build": "pnpm run build:lib && pnpm run build:dts",
|
|
95
|
+
"build": "pnpm run build:typegen && pnpm run build:lib && pnpm run build:dts",
|
|
82
96
|
"build:lib": "rollup -c",
|
|
97
|
+
"build:typegen": "tsx scripts/typegen.ts",
|
|
83
98
|
"build:dts": "tsc -p tsconfig.dts.json"
|
|
84
99
|
}
|
|
85
100
|
}
|