@ntnyq/eslint-config 3.0.0-beta.18 → 3.0.0-beta.19
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 +6 -0
- package/dist/index.d.cts +154 -138
- package/dist/index.d.ts +154 -138
- package/dist/index.js +6 -0
- package/package.json +15 -15
package/dist/index.js
CHANGED
|
@@ -1064,6 +1064,10 @@ var unicorn = (options = {}) => [
|
|
|
1064
1064
|
"unicorn/prefer-top-level-await": "off",
|
|
1065
1065
|
"unicorn/explicit-length-check": "off",
|
|
1066
1066
|
"unicorn/no-array-callback-reference": "off",
|
|
1067
|
+
/**
|
|
1068
|
+
* @see https://caniuse.com/?search=globalThis
|
|
1069
|
+
*/
|
|
1070
|
+
"unicorn/prefer-global-this": "off",
|
|
1067
1071
|
"unicorn/error-message": "error",
|
|
1068
1072
|
"unicorn/escape-case": "error",
|
|
1069
1073
|
"unicorn/no-new-buffer": "error",
|
|
@@ -1093,6 +1097,8 @@ var unicorn = (options = {}) => [
|
|
|
1093
1097
|
"unicorn/prefer-optional-catch-binding": "error",
|
|
1094
1098
|
"unicorn/prefer-prototype-methods": "error",
|
|
1095
1099
|
"unicorn/prefer-reflect-apply": "error",
|
|
1100
|
+
"unicorn/prefer-math-min-max": "error",
|
|
1101
|
+
"unicorn/consistent-existence-index-check": "error",
|
|
1096
1102
|
"unicorn/catch-error-name": [
|
|
1097
1103
|
"error",
|
|
1098
1104
|
{
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ntnyq/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.0.0-beta.
|
|
5
|
-
"packageManager": "pnpm@9.
|
|
4
|
+
"version": "3.0.0-beta.19",
|
|
5
|
+
"packageManager": "pnpm@9.12.1",
|
|
6
6
|
"description": "An opinionated ESLint config preset of ntnyq",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"eslint",
|
|
@@ -56,18 +56,18 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
|
|
59
|
-
"@eslint/js": "^9.
|
|
60
|
-
"@eslint/markdown": "^6.
|
|
59
|
+
"@eslint/js": "^9.12.0",
|
|
60
|
+
"@eslint/markdown": "^6.2.0",
|
|
61
61
|
"@types/eslint__js": "^8.42.3",
|
|
62
|
-
"@unocss/eslint-plugin": "^0.63.
|
|
63
|
-
"@vitest/eslint-plugin": "^1.1.
|
|
62
|
+
"@unocss/eslint-plugin": "^0.63.4",
|
|
63
|
+
"@vitest/eslint-plugin": "^1.1.7",
|
|
64
64
|
"eslint-config-flat-gitignore": "^0.3.0",
|
|
65
65
|
"eslint-flat-config-utils": "^0.4.0",
|
|
66
66
|
"eslint-merge-processors": "^0.1.0",
|
|
67
67
|
"eslint-plugin-antfu": "^2.7.0",
|
|
68
68
|
"eslint-plugin-command": "^0.2.6",
|
|
69
69
|
"eslint-plugin-import-x": "^4.3.1",
|
|
70
|
-
"eslint-plugin-jsdoc": "^50.3.
|
|
70
|
+
"eslint-plugin-jsdoc": "^50.3.1",
|
|
71
71
|
"eslint-plugin-jsonc": "^2.16.0",
|
|
72
72
|
"eslint-plugin-n": "^17.10.3",
|
|
73
73
|
"eslint-plugin-ntnyq": "^0.5.0",
|
|
@@ -75,34 +75,34 @@
|
|
|
75
75
|
"eslint-plugin-prettier": "^5.2.1",
|
|
76
76
|
"eslint-plugin-regexp": "^2.6.0",
|
|
77
77
|
"eslint-plugin-toml": "^0.11.1",
|
|
78
|
-
"eslint-plugin-unicorn": "^
|
|
78
|
+
"eslint-plugin-unicorn": "^56.0.0",
|
|
79
79
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
80
80
|
"eslint-plugin-vue": "^9.28.0",
|
|
81
81
|
"eslint-plugin-yml": "^1.14.0",
|
|
82
|
-
"globals": "^15.
|
|
82
|
+
"globals": "^15.10.0",
|
|
83
83
|
"jsonc-eslint-parser": "^2.4.0",
|
|
84
84
|
"local-pkg": "^0.5.0",
|
|
85
85
|
"prettier": "^3.3.3",
|
|
86
86
|
"toml-eslint-parser": "^0.10.0",
|
|
87
|
-
"typescript-eslint": "^8.8.
|
|
87
|
+
"typescript-eslint": "^8.8.1",
|
|
88
88
|
"vue-eslint-parser": "^9.4.3",
|
|
89
89
|
"yaml-eslint-parser": "^1.2.3"
|
|
90
90
|
},
|
|
91
91
|
"devDependencies": {
|
|
92
92
|
"@ntnyq/prettier-config": "^1.21.3",
|
|
93
|
-
"@types/node": "^22.7.
|
|
93
|
+
"@types/node": "^22.7.5",
|
|
94
94
|
"bumpp": "^9.6.1",
|
|
95
|
-
"eslint": "^9.
|
|
95
|
+
"eslint": "^9.12.0",
|
|
96
96
|
"eslint-typegen": "^0.3.2",
|
|
97
97
|
"husky": "^9.1.6",
|
|
98
|
-
"jiti": "^2.
|
|
98
|
+
"jiti": "^2.3.3",
|
|
99
99
|
"nano-staged": "^0.8.0",
|
|
100
100
|
"npm-run-all2": "^6.2.3",
|
|
101
101
|
"rimraf": "^6.0.1",
|
|
102
102
|
"tsup": "^8.3.0",
|
|
103
103
|
"tsx": "^4.19.1",
|
|
104
|
-
"typescript": "^5.6.
|
|
105
|
-
"zx": "^8.1.
|
|
104
|
+
"typescript": "^5.6.3",
|
|
105
|
+
"zx": "^8.1.9"
|
|
106
106
|
},
|
|
107
107
|
"engines": {
|
|
108
108
|
"node": ">=18.18.0"
|