@cuiqg/eslint-config 2.1.27 → 2.2.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.js +1116 -1082
- package/package.json +29 -41
- package/dist/index.cjs +0 -1196
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cuiqg/eslint-config",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "ESLint config preset for @cuiqg",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -14,60 +14,48 @@
|
|
|
14
14
|
],
|
|
15
15
|
"main": "./dist/index.js",
|
|
16
16
|
"exports": {
|
|
17
|
-
".":
|
|
18
|
-
"require": "./dist/index.cjs",
|
|
19
|
-
"import": "./dist/index.js"
|
|
20
|
-
}
|
|
17
|
+
".": "./dist/index.js"
|
|
21
18
|
},
|
|
22
19
|
"publishConfig": {
|
|
23
20
|
"registry": "https://registry.npmjs.org",
|
|
24
21
|
"access": "public"
|
|
25
22
|
},
|
|
26
23
|
"scripts": {
|
|
27
|
-
"build": "
|
|
28
|
-
"build:inspector": "npx @eslint/config-inspector build
|
|
29
|
-
"dev": "
|
|
24
|
+
"build": "tsdown",
|
|
25
|
+
"build:inspector": "npx @eslint/config-inspector build",
|
|
26
|
+
"dev": "npx @eslint/config-inspector --open false",
|
|
30
27
|
"lint": "eslint .",
|
|
31
|
-
"lint:
|
|
32
|
-
"
|
|
33
|
-
"release": "bumpp && npm publish"
|
|
34
|
-
"prepare": "simple-git-hooks"
|
|
28
|
+
"lint:fix": "eslint . --fix",
|
|
29
|
+
"prepublishOnly": "npm run build",
|
|
30
|
+
"release": "bumpp && npm publish"
|
|
35
31
|
},
|
|
36
32
|
"dependencies": {
|
|
37
|
-
"@stylistic/eslint-plugin": "^
|
|
38
|
-
"@unocss/eslint-plugin": "^66.
|
|
39
|
-
"eslint-config-flat-gitignore": "^
|
|
40
|
-
"eslint-flat-config-utils": "^
|
|
33
|
+
"@stylistic/eslint-plugin": "^4.4.0",
|
|
34
|
+
"@unocss/eslint-plugin": "^66.1.2",
|
|
35
|
+
"eslint-config-flat-gitignore": "^2.1.0",
|
|
36
|
+
"eslint-flat-config-utils": "^2.1.0",
|
|
41
37
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
42
|
-
"eslint-plugin-import-x": "^4.
|
|
43
|
-
"eslint-plugin-jsdoc": "^50.
|
|
44
|
-
"eslint-plugin-jsonc": "^2.
|
|
45
|
-
"eslint-plugin-n": "^17.
|
|
46
|
-
"eslint-plugin-
|
|
47
|
-
"eslint-plugin-
|
|
38
|
+
"eslint-plugin-import-x": "^4.13.2",
|
|
39
|
+
"eslint-plugin-jsdoc": "^50.6.17",
|
|
40
|
+
"eslint-plugin-jsonc": "^2.20.1",
|
|
41
|
+
"eslint-plugin-n": "^17.18.0",
|
|
42
|
+
"eslint-plugin-pnpm": "^0.3.1",
|
|
43
|
+
"eslint-plugin-prettier": "^5.4.0",
|
|
48
44
|
"eslint-plugin-toml": "^0.12.0",
|
|
49
|
-
"eslint-plugin-unicorn": "^
|
|
50
|
-
"eslint-plugin-vue": "^
|
|
51
|
-
"eslint-plugin-yml": "^1.
|
|
52
|
-
"globals": "^
|
|
45
|
+
"eslint-plugin-unicorn": "^59.0.1",
|
|
46
|
+
"eslint-plugin-vue": "^10.1.0",
|
|
47
|
+
"eslint-plugin-yml": "^1.18.0",
|
|
48
|
+
"globals": "^16.2.0",
|
|
53
49
|
"jsonc-eslint-parser": "^2.4.0",
|
|
54
|
-
"local-pkg": "^
|
|
50
|
+
"local-pkg": "^1.1.1",
|
|
55
51
|
"toml-eslint-parser": "^0.10.0",
|
|
56
|
-
"unconfig": "^
|
|
57
|
-
"vue-eslint-parser": "^
|
|
58
|
-
"yaml-eslint-parser": "^1.
|
|
52
|
+
"unconfig": "^7.3.2",
|
|
53
|
+
"vue-eslint-parser": "^10.1.3",
|
|
54
|
+
"yaml-eslint-parser": "^1.3.0"
|
|
59
55
|
},
|
|
60
56
|
"devDependencies": {
|
|
61
|
-
"bumpp": "^
|
|
62
|
-
"eslint": "^9.
|
|
63
|
-
"
|
|
64
|
-
"simple-git-hooks": "^2.11.1",
|
|
65
|
-
"tsup": "^8.3.0"
|
|
66
|
-
},
|
|
67
|
-
"lint-staged": {
|
|
68
|
-
"*": "eslint --fix"
|
|
69
|
-
},
|
|
70
|
-
"simple-git-hooks": {
|
|
71
|
-
"pre-commit": "npx lint-staged"
|
|
57
|
+
"bumpp": "^10.1.1",
|
|
58
|
+
"eslint": "^9.27.0",
|
|
59
|
+
"tsdown": "^0.12.3"
|
|
72
60
|
}
|
|
73
61
|
}
|