@egy186/eslint-config 4.2.1 → 4.3.1

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/base.d.ts CHANGED
@@ -221,6 +221,7 @@ declare const config: {
221
221
  readonly '@stylistic/curly-newline': ["error", "always"];
222
222
  readonly '@stylistic/dot-location': ["error", "property"];
223
223
  readonly '@stylistic/eol-last': "error";
224
+ readonly '@stylistic/exp-jsx-props-style': "off";
224
225
  readonly '@stylistic/exp-list-style': "off";
225
226
  readonly '@stylistic/function-call-argument-newline': ["error", "consistent"];
226
227
  readonly '@stylistic/function-call-spacing': ["error", "never"];
@@ -251,7 +252,6 @@ declare const config: {
251
252
  readonly '@stylistic/jsx-pascal-case': "error";
252
253
  readonly '@stylistic/jsx-quotes': ["error", "prefer-double"];
253
254
  readonly '@stylistic/jsx-self-closing-comp': "error";
254
- readonly '@stylistic/jsx-sort-props': "error";
255
255
  readonly '@stylistic/jsx-tag-spacing': ["error", {
256
256
  readonly beforeClosing: "never";
257
257
  }];
package/dist/browser.d.ts CHANGED
@@ -38,9 +38,7 @@ declare const config: {
38
38
  readonly AudioScheduledSourceNode: false;
39
39
  readonly AudioSinkInfo: false;
40
40
  readonly AudioWorklet: false;
41
- readonly AudioWorkletGlobalScope: false;
42
41
  readonly AudioWorkletNode: false;
43
- readonly AudioWorkletProcessor: false;
44
42
  readonly AuthenticatorAssertionResponse: false;
45
43
  readonly AuthenticatorAttestationResponse: false;
46
44
  readonly AuthenticatorResponse: false;
@@ -174,6 +172,7 @@ declare const config: {
174
172
  readonly CSSSkewY: false;
175
173
  readonly CSSStartingStyleRule: false;
176
174
  readonly CSSStyleDeclaration: false;
175
+ readonly CSSStyleProperties: false;
177
176
  readonly CSSStyleRule: false;
178
177
  readonly CSSStyleSheet: false;
179
178
  readonly CSSStyleValue: false;
@@ -186,8 +185,6 @@ declare const config: {
186
185
  readonly CSSUnparsedValue: false;
187
186
  readonly CSSVariableReferenceValue: false;
188
187
  readonly CSSViewTransitionRule: false;
189
- readonly currentFrame: false;
190
- readonly currentTime: false;
191
188
  readonly CustomElementRegistry: false;
192
189
  readonly customElements: false;
193
190
  readonly CustomEvent: false;
@@ -373,6 +370,7 @@ declare const config: {
373
370
  readonly HTMLFormElement: false;
374
371
  readonly HTMLFrameElement: false;
375
372
  readonly HTMLFrameSetElement: false;
373
+ readonly HTMLGeolocationElement: false;
376
374
  readonly HTMLHeadElement: false;
377
375
  readonly HTMLHeadingElement: false;
378
376
  readonly HTMLHRElement: false;
@@ -784,7 +782,6 @@ declare const config: {
784
782
  readonly ReadableStreamBYOBRequest: false;
785
783
  readonly ReadableStreamDefaultController: false;
786
784
  readonly ReadableStreamDefaultReader: false;
787
- readonly registerProcessor: false;
788
785
  readonly RelativeOrientationSensor: false;
789
786
  readonly RemotePlayback: false;
790
787
  readonly removeEventListener: false;
@@ -824,7 +821,6 @@ declare const config: {
824
821
  readonly RTCSessionDescription: false;
825
822
  readonly RTCStatsReport: false;
826
823
  readonly RTCTrackEvent: false;
827
- readonly sampleRate: false;
828
824
  readonly scheduler: false;
829
825
  readonly Scheduler: false;
830
826
  readonly Scheduling: false;
@@ -1009,6 +1005,7 @@ declare const config: {
1009
1005
  readonly TaskController: false;
1010
1006
  readonly TaskPriorityChangeEvent: false;
1011
1007
  readonly TaskSignal: false;
1008
+ readonly Temporal: false;
1012
1009
  readonly TEMPORARY: false;
1013
1010
  readonly Text: false;
1014
1011
  readonly TextDecoder: false;
@@ -1120,7 +1117,6 @@ declare const config: {
1120
1117
  readonly WindowControlsOverlayGeometryChangeEvent: false;
1121
1118
  readonly Worker: false;
1122
1119
  readonly Worklet: false;
1123
- readonly WorkletGlobalScope: false;
1124
1120
  readonly WritableStream: false;
1125
1121
  readonly WritableStreamDefaultController: false;
1126
1122
  readonly WritableStreamDefaultWriter: false;
@@ -1167,6 +1163,7 @@ declare const config: {
1167
1163
  readonly XRView: false;
1168
1164
  readonly XRViewerPose: false;
1169
1165
  readonly XRViewport: false;
1166
+ readonly XRVisibilityMaskChangeEvent: false;
1170
1167
  readonly XRWebGLBinding: false;
1171
1168
  readonly XRWebGLDepthInformation: false;
1172
1169
  readonly XRWebGLLayer: false;
@@ -1265,6 +1262,7 @@ declare const config: {
1265
1262
  readonly '@stylistic/curly-newline': ["error", "always"];
1266
1263
  readonly '@stylistic/dot-location': ["error", "property"];
1267
1264
  readonly '@stylistic/eol-last': "error";
1265
+ readonly '@stylistic/exp-jsx-props-style': "off";
1268
1266
  readonly '@stylistic/exp-list-style': "off";
1269
1267
  readonly '@stylistic/function-call-argument-newline': ["error", "consistent"];
1270
1268
  readonly '@stylistic/function-call-spacing': ["error", "never"];
@@ -1295,7 +1293,6 @@ declare const config: {
1295
1293
  readonly '@stylistic/jsx-pascal-case': "error";
1296
1294
  readonly '@stylistic/jsx-quotes': ["error", "prefer-double"];
1297
1295
  readonly '@stylistic/jsx-self-closing-comp': "error";
1298
- readonly '@stylistic/jsx-sort-props': "error";
1299
1296
  readonly '@stylistic/jsx-tag-spacing': ["error", {
1300
1297
  readonly beforeClosing: "never";
1301
1298
  }];
@@ -175,6 +175,7 @@ declare const config: {
175
175
  readonly '@stylistic/curly-newline': ["error", "always"];
176
176
  readonly '@stylistic/dot-location': ["error", "property"];
177
177
  readonly '@stylistic/eol-last': "error";
178
+ readonly '@stylistic/exp-jsx-props-style': "off";
178
179
  readonly '@stylistic/exp-list-style': "off";
179
180
  readonly '@stylistic/function-call-argument-newline': ["error", "consistent"];
180
181
  readonly '@stylistic/function-call-spacing': ["error", "never"];
@@ -205,7 +206,6 @@ declare const config: {
205
206
  readonly '@stylistic/jsx-pascal-case': "error";
206
207
  readonly '@stylistic/jsx-quotes': ["error", "prefer-double"];
207
208
  readonly '@stylistic/jsx-self-closing-comp': "error";
208
- readonly '@stylistic/jsx-sort-props': "error";
209
209
  readonly '@stylistic/jsx-tag-spacing': ["error", {
210
210
  readonly beforeClosing: "never";
211
211
  }];
package/dist/react.d.ts CHANGED
@@ -377,7 +377,7 @@ declare const config: {
377
377
  readonly 'react/jsx-props-no-multi-spaces': "off";
378
378
  readonly 'react/jsx-props-no-spread-multi': "error";
379
379
  readonly 'react/jsx-props-no-spreading': "off";
380
- readonly 'react/jsx-sort-props': "off";
380
+ readonly 'react/jsx-sort-props': "error";
381
381
  readonly 'react/jsx-tag-spacing': "off";
382
382
  readonly 'react/jsx-uses-react': "off";
383
383
  readonly 'react/jsx-uses-vars': "error";
package/dist/react.js CHANGED
@@ -131,8 +131,7 @@ const config = {
131
131
  'react/jsx-props-no-multi-spaces': 'off',
132
132
  'react/jsx-props-no-spread-multi': 'error',
133
133
  'react/jsx-props-no-spreading': 'off',
134
- // Migrated to @stylistic/jsx-sort-props
135
- 'react/jsx-sort-props': 'off',
134
+ 'react/jsx-sort-props': 'error',
136
135
  // Migrated to @stylistic/jsx-tag-spacing
137
136
  'react/jsx-tag-spacing': 'off',
138
137
  'react/jsx-uses-react': 'off',
@@ -24,6 +24,7 @@ declare const rules: {
24
24
  readonly '@stylistic/curly-newline': ["error", "always"];
25
25
  readonly '@stylistic/dot-location': ["error", "property"];
26
26
  readonly '@stylistic/eol-last': "error";
27
+ readonly '@stylistic/exp-jsx-props-style': "off";
27
28
  readonly '@stylistic/exp-list-style': "off";
28
29
  readonly '@stylistic/function-call-argument-newline': ["error", "consistent"];
29
30
  readonly '@stylistic/function-call-spacing': ["error", "never"];
@@ -54,7 +55,6 @@ declare const rules: {
54
55
  readonly '@stylistic/jsx-pascal-case': "error";
55
56
  readonly '@stylistic/jsx-quotes': ["error", "prefer-double"];
56
57
  readonly '@stylistic/jsx-self-closing-comp': "error";
57
- readonly '@stylistic/jsx-sort-props': "error";
58
58
  readonly '@stylistic/jsx-tag-spacing': ["error", {
59
59
  readonly beforeClosing: "never";
60
60
  }];
@@ -36,6 +36,7 @@ const rules = {
36
36
  '@stylistic/curly-newline': ['error', 'always'],
37
37
  '@stylistic/dot-location': ['error', 'property'],
38
38
  '@stylistic/eol-last': 'error',
39
+ '@stylistic/exp-jsx-props-style': 'off',
39
40
  '@stylistic/exp-list-style': 'off',
40
41
  '@stylistic/function-call-argument-newline': ['error', 'consistent'],
41
42
  '@stylistic/function-call-spacing': ['error', 'never'],
@@ -75,7 +76,6 @@ const rules = {
75
76
  '@stylistic/jsx-pascal-case': 'error',
76
77
  '@stylistic/jsx-quotes': ['error', 'prefer-double'],
77
78
  '@stylistic/jsx-self-closing-comp': 'error',
78
- '@stylistic/jsx-sort-props': 'error',
79
79
  '@stylistic/jsx-tag-spacing': ['error', { beforeClosing: 'never' }],
80
80
  '@stylistic/jsx-wrap-multilines': 'error',
81
81
  '@stylistic/key-spacing': [
@@ -173,6 +173,7 @@ declare const config: {
173
173
  readonly '@typescript-eslint/restrict-template-expressions': "error";
174
174
  readonly '@typescript-eslint/return-await': ["error", "always"];
175
175
  readonly '@typescript-eslint/strict-boolean-expressions': "error";
176
+ readonly '@typescript-eslint/strict-void-return': "error";
176
177
  readonly '@typescript-eslint/switch-exhaustiveness-check': "error";
177
178
  readonly '@typescript-eslint/triple-slash-reference': "error";
178
179
  readonly '@typescript-eslint/unbound-method': "error";
@@ -180,6 +180,7 @@ const config = {
180
180
  '@typescript-eslint/restrict-template-expressions': 'error',
181
181
  '@typescript-eslint/return-await': ['error', 'always'],
182
182
  '@typescript-eslint/strict-boolean-expressions': 'error',
183
+ '@typescript-eslint/strict-void-return': 'error',
183
184
  '@typescript-eslint/switch-exhaustiveness-check': 'error',
184
185
  '@typescript-eslint/triple-slash-reference': 'error',
185
186
  '@typescript-eslint/unbound-method': 'error',
package/dist/vitest.d.ts CHANGED
@@ -147,6 +147,7 @@ declare const config: {
147
147
  readonly "vitest/valid-expect": "warn";
148
148
  readonly "vitest/valid-title": "warn";
149
149
  readonly "vitest/require-awaited-expect-poll": "warn";
150
+ readonly "vitest/require-test-timeout": "off";
150
151
  };
151
152
  };
152
153
  readonly env: {
@@ -261,6 +262,7 @@ declare const config: {
261
262
  readonly 'vitest/require-hook': "error";
262
263
  readonly 'vitest/require-local-test-context-for-concurrent-snapshots': "error";
263
264
  readonly 'vitest/require-mock-type-parameters': "error";
265
+ readonly 'vitest/require-test-timeout': "off";
264
266
  readonly 'vitest/require-to-throw-message': "error";
265
267
  readonly 'vitest/require-top-level-describe': "error";
266
268
  readonly 'vitest/valid-describe-callback': "error";
package/dist/vitest.js CHANGED
@@ -91,6 +91,7 @@ const config = {
91
91
  'vitest/require-hook': 'error',
92
92
  'vitest/require-local-test-context-for-concurrent-snapshots': 'error',
93
93
  'vitest/require-mock-type-parameters': 'error',
94
+ 'vitest/require-test-timeout': 'off',
94
95
  'vitest/require-to-throw-message': 'error',
95
96
  'vitest/require-top-level-describe': 'error',
96
97
  'vitest/valid-describe-callback': 'error',
package/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "@egy186/eslint-config",
3
3
  "description": "Eslint shareable config",
4
- "version": "4.2.1",
4
+ "version": "4.3.1",
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.6.1",
10
+ "@stylistic/eslint-plugin": "~5.8.0",
11
11
  "eslint-plugin-import": "~2.32.0",
12
- "eslint-plugin-jsdoc": "~61.5.0",
13
- "eslint-plugin-n": "~17.23.1",
14
- "globals": "^16.5.0"
12
+ "eslint-plugin-jsdoc": "~62.5.4",
13
+ "eslint-plugin-n": "~17.23.2",
14
+ "globals": "^17.3.0"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@eslint/js": "~9.39.2",
18
- "@types/node": "^25.0.3",
19
- "@vitest/eslint-plugin": "~1.6.4",
18
+ "@types/node": "^25.2.3",
19
+ "@vitest/eslint-plugin": "~1.6.7",
20
20
  "eslint": "~9.39.2",
21
21
  "eslint-import-resolver-typescript": "~4.4.4",
22
22
  "eslint-plugin-react": "~7.37.5",
@@ -24,7 +24,7 @@
24
24
  "husky": "^9.1.7",
25
25
  "jiti": "^2.6.1",
26
26
  "typescript": "~5.9.3",
27
- "typescript-eslint": "~8.50.1"
27
+ "typescript-eslint": "~8.55.0"
28
28
  },
29
29
  "engines": {
30
30
  "node": ">=20.19.2"
@@ -45,7 +45,8 @@
45
45
  "./vitest": {
46
46
  "types": "./dist/vitest.d.ts",
47
47
  "default": "./dist/vitest.js"
48
- }
48
+ },
49
+ "./package.json": "./package.json"
49
50
  },
50
51
  "files": [
51
52
  "dist",
@@ -61,13 +62,13 @@
61
62
  "license": "MIT",
62
63
  "main": "./dist/index.js",
63
64
  "peerDependencies": {
64
- "@vitest/eslint-plugin": "^1.6.4",
65
+ "@vitest/eslint-plugin": "^1.6.6",
65
66
  "eslint": "^9.35.0",
66
67
  "eslint-import-resolver-typescript": "^4.2.2",
67
68
  "eslint-plugin-react": "^7.36.1",
68
69
  "eslint-plugin-react-hooks": "^7.0.0",
69
70
  "typescript": "^5.0.4",
70
- "typescript-eslint": "^8.50.0"
71
+ "typescript-eslint": "^8.53.0"
71
72
  },
72
73
  "peerDependenciesMeta": {
73
74
  "@vitest/eslint-plugin": {