@egy186/eslint-config 4.4.2 → 4.4.3
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/browser.d.ts +4 -0
- package/dist/vitest.d.ts +6 -4
- package/dist/vitest.js +1 -0
- package/package.json +10 -10
package/dist/browser.d.ts
CHANGED
|
@@ -110,6 +110,8 @@ declare const config: {
|
|
|
110
110
|
readonly CookieStore: false;
|
|
111
111
|
readonly CookieStoreManager: false;
|
|
112
112
|
readonly CountQueuingStrategy: false;
|
|
113
|
+
readonly crashReport: false;
|
|
114
|
+
readonly CrashReportContext: false;
|
|
113
115
|
readonly createImageBitmap: false;
|
|
114
116
|
readonly CreateMonitor: false;
|
|
115
117
|
readonly Credential: false;
|
|
@@ -698,6 +700,7 @@ declare const config: {
|
|
|
698
700
|
readonly Option: false;
|
|
699
701
|
readonly OrientationSensor: false;
|
|
700
702
|
readonly origin: false;
|
|
703
|
+
readonly Origin: false;
|
|
701
704
|
readonly originAgentCluster: false;
|
|
702
705
|
readonly OscillatorNode: false;
|
|
703
706
|
readonly OTPCredential: false;
|
|
@@ -737,6 +740,7 @@ declare const config: {
|
|
|
737
740
|
readonly PerformanceScriptTiming: false;
|
|
738
741
|
readonly PerformanceServerTiming: false;
|
|
739
742
|
readonly PerformanceTiming: false;
|
|
743
|
+
readonly PerformanceTimingConfidence: false;
|
|
740
744
|
readonly PeriodicSyncManager: false;
|
|
741
745
|
readonly PeriodicWave: false;
|
|
742
746
|
readonly Permissions: false;
|
package/dist/vitest.d.ts
CHANGED
|
@@ -46,10 +46,10 @@ declare const config: {
|
|
|
46
46
|
};
|
|
47
47
|
readonly rules: {
|
|
48
48
|
readonly "vitest/expect-expect": "error";
|
|
49
|
+
readonly "vitest/no-commented-out-tests": "error";
|
|
49
50
|
readonly "vitest/no-conditional-expect": "error";
|
|
50
51
|
readonly "vitest/no-disabled-tests": "warn";
|
|
51
52
|
readonly "vitest/no-focused-tests": "error";
|
|
52
|
-
readonly "vitest/no-commented-out-tests": "error";
|
|
53
53
|
readonly "vitest/no-identical-title": "error";
|
|
54
54
|
readonly "vitest/no-import-node-test": "error";
|
|
55
55
|
readonly "vitest/no-interpolation-in-snapshots": "error";
|
|
@@ -70,9 +70,9 @@ declare const config: {
|
|
|
70
70
|
readonly vitest: import("eslint").ESLint.Plugin;
|
|
71
71
|
};
|
|
72
72
|
readonly rules: {
|
|
73
|
+
readonly "vitest/consistent-each-for": "warn";
|
|
73
74
|
readonly "vitest/consistent-test-filename": "warn";
|
|
74
75
|
readonly "vitest/consistent-test-it": "warn";
|
|
75
|
-
readonly "vitest/consistent-each-for": "warn";
|
|
76
76
|
readonly "vitest/consistent-vitest-vi": "warn";
|
|
77
77
|
readonly "vitest/expect-expect": "warn";
|
|
78
78
|
readonly "vitest/hoisted-apis-on-top": "warn";
|
|
@@ -137,17 +137,18 @@ declare const config: {
|
|
|
137
137
|
readonly "vitest/prefer-to-have-length": "warn";
|
|
138
138
|
readonly "vitest/prefer-todo": "warn";
|
|
139
139
|
readonly "vitest/prefer-vi-mocked": "warn";
|
|
140
|
+
readonly "vitest/require-awaited-expect-poll": "warn";
|
|
140
141
|
readonly "vitest/require-hook": "warn";
|
|
141
142
|
readonly "vitest/require-local-test-context-for-concurrent-snapshots": "warn";
|
|
142
143
|
readonly "vitest/require-mock-type-parameters": "warn";
|
|
144
|
+
readonly "vitest/require-test-timeout": "off";
|
|
143
145
|
readonly "vitest/require-to-throw-message": "warn";
|
|
144
146
|
readonly "vitest/require-top-level-describe": "warn";
|
|
147
|
+
readonly "vitest/unbound-method": "warn";
|
|
145
148
|
readonly "vitest/valid-describe-callback": "warn";
|
|
146
149
|
readonly "vitest/valid-expect-in-promise": "warn";
|
|
147
150
|
readonly "vitest/valid-expect": "warn";
|
|
148
151
|
readonly "vitest/valid-title": "warn";
|
|
149
|
-
readonly "vitest/require-awaited-expect-poll": "warn";
|
|
150
|
-
readonly "vitest/require-test-timeout": "off";
|
|
151
152
|
};
|
|
152
153
|
};
|
|
153
154
|
readonly env: {
|
|
@@ -265,6 +266,7 @@ declare const config: {
|
|
|
265
266
|
readonly 'vitest/require-test-timeout': "off";
|
|
266
267
|
readonly 'vitest/require-to-throw-message': "error";
|
|
267
268
|
readonly 'vitest/require-top-level-describe': "error";
|
|
269
|
+
readonly 'vitest/unbound-method': "off";
|
|
268
270
|
readonly 'vitest/valid-describe-callback': "error";
|
|
269
271
|
readonly 'vitest/valid-expect': "error";
|
|
270
272
|
readonly 'vitest/valid-expect-in-promise': "error";
|
package/dist/vitest.js
CHANGED
|
@@ -94,6 +94,7 @@ const config = {
|
|
|
94
94
|
'vitest/require-test-timeout': 'off',
|
|
95
95
|
'vitest/require-to-throw-message': 'error',
|
|
96
96
|
'vitest/require-top-level-describe': 'error',
|
|
97
|
+
'vitest/unbound-method': 'off',
|
|
97
98
|
'vitest/valid-describe-callback': 'error',
|
|
98
99
|
'vitest/valid-expect': 'error',
|
|
99
100
|
'vitest/valid-expect-in-promise': 'error',
|
package/package.json
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@egy186/eslint-config",
|
|
3
3
|
"description": "Eslint shareable config",
|
|
4
|
-
"version": "4.4.
|
|
4
|
+
"version": "4.4.3",
|
|
5
5
|
"author": "egy186",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/egy186/eslint-config/issues"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@stylistic/eslint-plugin": "~5.
|
|
10
|
+
"@stylistic/eslint-plugin": "~5.10.0",
|
|
11
11
|
"eslint-plugin-import": "~2.32.0",
|
|
12
|
-
"eslint-plugin-jsdoc": "~62.
|
|
12
|
+
"eslint-plugin-jsdoc": "~62.8.1",
|
|
13
13
|
"eslint-plugin-n": "~17.24.0",
|
|
14
|
-
"globals": "^17.
|
|
14
|
+
"globals": "^17.4.0"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@eslint/js": "~9.39.
|
|
18
|
-
"@types/node": "^25.
|
|
19
|
-
"@vitest/eslint-plugin": "~1.6.
|
|
20
|
-
"eslint": "~9.39.
|
|
17
|
+
"@eslint/js": "~9.39.4",
|
|
18
|
+
"@types/node": "^25.5.0",
|
|
19
|
+
"@vitest/eslint-plugin": "~1.6.13",
|
|
20
|
+
"eslint": "~9.39.4",
|
|
21
21
|
"eslint-import-resolver-typescript": "~4.4.4",
|
|
22
22
|
"eslint-plugin-react": "~7.37.5",
|
|
23
23
|
"eslint-plugin-react-hooks": "~7.0.1",
|
|
24
24
|
"husky": "^9.1.7",
|
|
25
25
|
"jiti": "^2.6.1",
|
|
26
26
|
"typescript": "~5.9.3",
|
|
27
|
-
"typescript-eslint": "~8.
|
|
27
|
+
"typescript-eslint": "~8.57.2"
|
|
28
28
|
},
|
|
29
29
|
"engines": {
|
|
30
30
|
"node": ">=20.19.2"
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"license": "MIT",
|
|
67
67
|
"main": "./dist/index.js",
|
|
68
68
|
"peerDependencies": {
|
|
69
|
-
"@vitest/eslint-plugin": "^1.6.
|
|
69
|
+
"@vitest/eslint-plugin": "^1.6.13",
|
|
70
70
|
"eslint": "^9.35.0",
|
|
71
71
|
"eslint-import-resolver-typescript": "^4.2.2",
|
|
72
72
|
"eslint-plugin-react": "^7.36.1",
|