@jiakun-zhao/eslint-config 4.1.8 → 4.3.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.d.mts +10 -10
- package/dist/index.mjs +1057 -1002
- package/generated-rules.d.ts +15716 -0
- package/oxfmt.mjs +7 -0
- package/package.json +54 -50
- package/dist/index.d.ts +0 -14
package/oxfmt.mjs
ADDED
package/package.json
CHANGED
|
@@ -1,26 +1,65 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jiakun-zhao/eslint-config",
|
|
3
|
-
"
|
|
4
|
-
"version": "4.1.8",
|
|
3
|
+
"version": "4.3.0",
|
|
5
4
|
"description": "Jiakun Zhao's ESLint config.",
|
|
6
|
-
"author": "Jiakun Zhao <hi@zhaojiakun.com>",
|
|
7
|
-
"license": "MIT",
|
|
8
|
-
"homepage": "https://github.com/jiakun-zhao/eslint-config",
|
|
9
5
|
"keywords": [
|
|
10
6
|
"eslint-config"
|
|
11
7
|
],
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
8
|
+
"homepage": "https://github.com/jiakun-zhao/eslint-config",
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"author": "Jiakun Zhao <hi@zhaojiakun.com>",
|
|
11
|
+
"files": [
|
|
12
|
+
"dist",
|
|
13
|
+
"generated-rules.d.ts",
|
|
14
|
+
"oxfmt.mjs"
|
|
15
|
+
],
|
|
16
|
+
"type": "module",
|
|
18
17
|
"main": "./dist/index.mjs",
|
|
19
18
|
"module": "./dist/index.mjs",
|
|
20
19
|
"types": "./dist/index.d.ts",
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"import": "./dist/index.mjs"
|
|
24
|
+
},
|
|
25
|
+
"./oxfmt": "./oxfmt.mjs"
|
|
26
|
+
},
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@stylistic/eslint-plugin": "^5.7.1",
|
|
29
|
+
"@typescript-eslint/eslint-plugin": "^8.54.0",
|
|
30
|
+
"@unocss/eslint-plugin": "66.1.0-beta.12",
|
|
31
|
+
"eslint-config-flat-gitignore": "^2.1.0",
|
|
32
|
+
"eslint-flat-config-utils": "^3.0.0",
|
|
33
|
+
"eslint-formatting-reporter": "^0.0.0",
|
|
34
|
+
"eslint-parser-plain": "^0.1.1",
|
|
35
|
+
"eslint-plugin-antfu": "^3.1.3",
|
|
36
|
+
"eslint-plugin-command": "^3.4.0",
|
|
37
|
+
"eslint-plugin-import-x": "^4.16.1",
|
|
38
|
+
"eslint-plugin-perfectionist": "^5.4.0",
|
|
39
|
+
"eslint-plugin-regexp": "^3.0.0",
|
|
40
|
+
"eslint-plugin-unicorn": "^62.0.0",
|
|
41
|
+
"eslint-plugin-unused-imports": "^4.3.0",
|
|
42
|
+
"globals": "^17.3.0",
|
|
43
|
+
"oxfmt": "^0.28.0",
|
|
44
|
+
"synckit": "^0.11.12"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@eslint/config-inspector": "^1.4.2",
|
|
48
|
+
"@eslint/core": "^1.1.0",
|
|
49
|
+
"@jiakun-zhao/utils": "^1.4.5",
|
|
50
|
+
"@types/node": "^25.2.0",
|
|
51
|
+
"@typescript-eslint/types": "^8.54.0",
|
|
52
|
+
"bumpp": "^10.4.0",
|
|
53
|
+
"eslint": "^9.39.2",
|
|
54
|
+
"eslint-plugin-astro": "^1.5.0",
|
|
55
|
+
"eslint-plugin-vue": "^10.7.0",
|
|
56
|
+
"eslint-typegen": "^2.3.0",
|
|
57
|
+
"eslint-vitest-rule-tester": "^3.0.1",
|
|
58
|
+
"tsdown": "^0.20.1",
|
|
59
|
+
"tsx": "^4.21.0",
|
|
60
|
+
"typescript": "^5.9.3",
|
|
61
|
+
"vitest": "^4.0.18"
|
|
62
|
+
},
|
|
24
63
|
"peerDependencies": {
|
|
25
64
|
"eslint": "^9.0.0",
|
|
26
65
|
"eslint-plugin-astro": "^1.3.1",
|
|
@@ -34,45 +73,10 @@
|
|
|
34
73
|
"optional": true
|
|
35
74
|
}
|
|
36
75
|
},
|
|
37
|
-
"dependencies": {
|
|
38
|
-
"@stylistic/eslint-plugin": "^4.4.1",
|
|
39
|
-
"@typescript-eslint/eslint-plugin": "^8.34.1",
|
|
40
|
-
"@unocss/eslint-plugin": "66.1.0-beta.12",
|
|
41
|
-
"eslint-config-flat-gitignore": "^2.1.0",
|
|
42
|
-
"eslint-flat-config-utils": "^2.1.0",
|
|
43
|
-
"eslint-plugin-antfu": "^3.1.1",
|
|
44
|
-
"eslint-plugin-command": "^3.2.1",
|
|
45
|
-
"eslint-plugin-import-x": "^4.15.2",
|
|
46
|
-
"eslint-plugin-jsonc": "^2.20.1",
|
|
47
|
-
"eslint-plugin-oxlint": "^1.1.0",
|
|
48
|
-
"eslint-plugin-perfectionist": "^4.15.0",
|
|
49
|
-
"eslint-plugin-regexp": "^2.9.0",
|
|
50
|
-
"eslint-plugin-unicorn": "^59.0.1",
|
|
51
|
-
"eslint-plugin-unused-imports": "^4.1.4",
|
|
52
|
-
"globals": "^16.2.0"
|
|
53
|
-
},
|
|
54
|
-
"devDependencies": {
|
|
55
|
-
"@eslint/config-inspector": "^1.1.0",
|
|
56
|
-
"@eslint/core": "^0.15.0",
|
|
57
|
-
"@jiakun-zhao/utils": "^1.3.2",
|
|
58
|
-
"@types/node": "^24.0.3",
|
|
59
|
-
"@typescript-eslint/types": "^8.34.1",
|
|
60
|
-
"bumpp": "^10.1.1",
|
|
61
|
-
"eslint": "^9.29.0",
|
|
62
|
-
"eslint-plugin-astro": "^1.3.1",
|
|
63
|
-
"eslint-plugin-vue": "^10.2.0",
|
|
64
|
-
"eslint-typegen": "^2.2.0",
|
|
65
|
-
"eslint-vitest-rule-tester": "^2.2.0",
|
|
66
|
-
"tsx": "^4.20.3",
|
|
67
|
-
"typescript": "^5.8.3",
|
|
68
|
-
"unbuild": "^3.5.0",
|
|
69
|
-
"vitest": "^3.2.4"
|
|
70
|
-
},
|
|
71
76
|
"scripts": {
|
|
72
|
-
"build": "
|
|
77
|
+
"build": "tsdown",
|
|
73
78
|
"dev": "config-inspector --open=false",
|
|
74
79
|
"release": "bumpp && pnpm publish && npx cnpm sync @jiakun-zhao/eslint-config",
|
|
75
|
-
"stub": "unbuild --stub",
|
|
76
80
|
"test": "vitest",
|
|
77
81
|
"typegen": "tsx ./scripts/typegen.ts"
|
|
78
82
|
}
|
package/dist/index.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { FlatConfigComposer } from 'eslint-flat-config-utils';
|
|
2
|
-
import { FlatGitignoreOptions } from 'eslint-config-flat-gitignore';
|
|
3
|
-
|
|
4
|
-
interface Options {
|
|
5
|
-
ignores?: string[];
|
|
6
|
-
gitignore?: FlatGitignoreOptions;
|
|
7
|
-
oxlint?: {
|
|
8
|
-
enable?: boolean;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
declare function export_default(options?: Options): FlatConfigComposer;
|
|
13
|
-
|
|
14
|
-
export { export_default as default };
|