@frabbit/eslint-config 1.5.15 → 7.4.5
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/LICENSE +1 -1
- package/README.md +39 -34
- package/dist/index.d.mts +14606 -0
- package/dist/index.mjs +1117 -0
- package/package.json +79 -57
- package/dist/index.cjs +0 -1409
- package/dist/index.d.cts +0 -107
- package/dist/index.d.ts +0 -107
- package/dist/index.js +0 -1303
package/package.json
CHANGED
|
@@ -1,83 +1,105 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frabbit/eslint-config",
|
|
3
|
-
"version": "
|
|
4
|
-
"packageManager": "npm@9.6.7",
|
|
3
|
+
"version": "7.4.5",
|
|
5
4
|
"description": "ESLint config for @frabbit.",
|
|
6
5
|
"type": "module",
|
|
6
|
+
"author": "Kevin Deng <sxzz@sxzz.moe>",
|
|
7
7
|
"license": "MIT",
|
|
8
|
-
"homepage": "https://github.com/
|
|
8
|
+
"homepage": "https://github.com/frabbit/eslint-config#readme",
|
|
9
9
|
"bugs": {
|
|
10
|
-
"url": "https://github.com/
|
|
10
|
+
"url": "https://github.com/frabbit/eslint-config/issues"
|
|
11
11
|
},
|
|
12
|
+
"funding": "https://github.com/sponsors/sxzz",
|
|
12
13
|
"repository": {
|
|
13
14
|
"type": "git",
|
|
14
15
|
"url": "git+https://github.com/frenchrabbit/eslint-config.git"
|
|
15
16
|
},
|
|
17
|
+
"exports": {
|
|
18
|
+
".": "./dist/index.mjs",
|
|
19
|
+
"./package.json": "./package.json"
|
|
20
|
+
},
|
|
21
|
+
"main": "./dist/index.mjs",
|
|
22
|
+
"module": "./dist/index.mjs",
|
|
23
|
+
"types": "./dist/index.d.mts",
|
|
16
24
|
"files": [
|
|
17
25
|
"dist"
|
|
18
26
|
],
|
|
19
|
-
"main": "./dist/index.js",
|
|
20
|
-
"module": "./dist/index.js",
|
|
21
|
-
"types": "./dist/index.d.ts",
|
|
22
|
-
"exports": {
|
|
23
|
-
"require": "./dist/index.cjs",
|
|
24
|
-
"import": "./dist/index.js"
|
|
25
|
-
},
|
|
26
27
|
"publishConfig": {
|
|
27
28
|
"access": "public"
|
|
28
29
|
},
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"lint": "eslint .",
|
|
32
|
-
"lint:fix": "npm run lint --fix",
|
|
33
|
-
"release": "npm publish",
|
|
34
|
-
"prepublishOnly": "npm run build"
|
|
30
|
+
"engines": {
|
|
31
|
+
"node": ">=20.0.0"
|
|
35
32
|
},
|
|
36
33
|
"peerDependencies": {
|
|
37
|
-
"eslint": "
|
|
34
|
+
"@unocss/eslint-plugin": ">=65.0.0",
|
|
35
|
+
"eslint": "^9.5.0"
|
|
36
|
+
},
|
|
37
|
+
"peerDependenciesMeta": {
|
|
38
|
+
"@unocss/eslint-plugin": {
|
|
39
|
+
"optional": true
|
|
40
|
+
}
|
|
38
41
|
},
|
|
39
42
|
"dependencies": {
|
|
40
|
-
"@
|
|
41
|
-
"@
|
|
42
|
-
"@
|
|
43
|
-
"eslint-config-
|
|
44
|
-
"eslint-
|
|
45
|
-
"eslint-
|
|
46
|
-
"eslint-plugin-
|
|
47
|
-
"eslint-plugin-
|
|
48
|
-
"eslint-plugin-
|
|
49
|
-
"eslint-plugin-
|
|
50
|
-
"eslint-plugin-
|
|
51
|
-
"eslint-plugin-
|
|
52
|
-
"eslint-plugin-
|
|
53
|
-
"eslint-plugin-
|
|
54
|
-
"eslint-plugin-
|
|
55
|
-
"eslint-plugin-
|
|
56
|
-
"eslint-plugin-
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
43
|
+
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
44
|
+
"@eslint/js": "^9.39.1",
|
|
45
|
+
"@eslint/markdown": "^7.5.1",
|
|
46
|
+
"eslint-config-flat-gitignore": "^2.1.0",
|
|
47
|
+
"eslint-config-prettier": "^10.1.8",
|
|
48
|
+
"eslint-flat-config-utils": "^2.1.4",
|
|
49
|
+
"eslint-plugin-antfu": "^3.1.1",
|
|
50
|
+
"eslint-plugin-baseline-js": "^0.4.2",
|
|
51
|
+
"eslint-plugin-command": "^3.3.1",
|
|
52
|
+
"eslint-plugin-de-morgan": "^2.0.0",
|
|
53
|
+
"eslint-plugin-import-x": "^4.16.1",
|
|
54
|
+
"eslint-plugin-jsdoc": "^61.4.1",
|
|
55
|
+
"eslint-plugin-jsonc": "^2.21.0",
|
|
56
|
+
"eslint-plugin-n": "^17.23.1",
|
|
57
|
+
"eslint-plugin-perfectionist": "^4.15.1",
|
|
58
|
+
"eslint-plugin-pnpm": "^1.3.0",
|
|
59
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
60
|
+
"eslint-plugin-regexp": "^2.10.0",
|
|
61
|
+
"eslint-plugin-security": "^3.0.1",
|
|
62
|
+
"eslint-plugin-sonarjs": "^3.0.5",
|
|
63
|
+
"eslint-plugin-sxzz": "^0.4.1",
|
|
64
|
+
"eslint-plugin-unicorn": "^62.0.0",
|
|
65
|
+
"eslint-plugin-unused-imports": "^4.3.0",
|
|
66
|
+
"eslint-plugin-vue": "^10.6.2",
|
|
67
|
+
"eslint-plugin-yml": "^1.19.0",
|
|
68
|
+
"globals": "^16.5.0",
|
|
69
|
+
"jsonc-eslint-parser": "^2.4.1",
|
|
70
|
+
"local-pkg": "^1.1.2",
|
|
71
|
+
"typescript-eslint": "^8.48.1",
|
|
72
|
+
"vue-eslint-parser": "^10.2.0",
|
|
73
|
+
"yaml-eslint-parser": "^1.3.1"
|
|
63
74
|
},
|
|
64
75
|
"devDependencies": {
|
|
76
|
+
"@eslint/config-inspector": "^1.4.2",
|
|
65
77
|
"@frabbit/prettier-config": "^2.0.0",
|
|
66
|
-
"@
|
|
67
|
-
"@
|
|
68
|
-
"@
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"typescript": "^5.3.3"
|
|
78
|
+
"@types/node": "^24.10.1",
|
|
79
|
+
"@typescript/native-preview": "7.0.0-dev.20251202.1",
|
|
80
|
+
"@unocss/eslint-plugin": "^66.5.10",
|
|
81
|
+
"bumpp": "^10.3.2",
|
|
82
|
+
"eslint": "^9.39.1",
|
|
83
|
+
"eslint-typegen": "^2.3.0",
|
|
84
|
+
"prettier": "^3.7.3",
|
|
85
|
+
"rolldown-plugin-require-cjs": "^0.3.2",
|
|
86
|
+
"tsdown": "^0.17.0-beta.5",
|
|
87
|
+
"typescript": "^5.9.3",
|
|
88
|
+
"unrun": "^0.2.15"
|
|
78
89
|
},
|
|
79
|
-
"
|
|
80
|
-
"
|
|
90
|
+
"resolutions": {
|
|
91
|
+
"@types/eslint": "-"
|
|
81
92
|
},
|
|
82
|
-
"prettier": "@frabbit/prettier-config"
|
|
83
|
-
|
|
93
|
+
"prettier": "@frabbit/prettier-config",
|
|
94
|
+
"scripts": {
|
|
95
|
+
"dev": "eslint-config-inspector --config eslint-inspector.config.ts",
|
|
96
|
+
"build": "pnpm run build:typegen && tsdown",
|
|
97
|
+
"build:typegen": "unrun scripts/typegen.ts",
|
|
98
|
+
"build:inspector": "eslint-config-inspector build --config eslint-inspector.config.ts",
|
|
99
|
+
"test": "echo Skip",
|
|
100
|
+
"lint": "eslint --max-warnings=0",
|
|
101
|
+
"lint:fix": "pnpm run lint --fix",
|
|
102
|
+
"release": "bumpp",
|
|
103
|
+
"typecheck": "tsgo --noEmit"
|
|
104
|
+
}
|
|
105
|
+
}
|