@open-turo/eslint-config-react 24.0.19 → 24.0.21
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/.github/renovate.json
CHANGED
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
24.
|
|
1
|
+
24.18.0
|
package/.pre-commit-config.yaml
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
"description": "Turo eslint configuration for react",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@open-turo/eslint-config-typescript": "23.1.
|
|
6
|
+
"@open-turo/eslint-config-typescript": "23.1.8",
|
|
7
7
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
8
8
|
"eslint-plugin-react": "7.37.5",
|
|
9
9
|
"eslint-plugin-react-hooks": "7.1.1",
|
|
10
|
-
"globals": "17.
|
|
11
|
-
"typescript-eslint": "8.
|
|
10
|
+
"globals": "17.7.0",
|
|
11
|
+
"typescript-eslint": "8.62.1"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"@types/react": "19.2.17",
|
|
15
15
|
"eslint": "9.39.4",
|
|
16
16
|
"jest": "30.4.2",
|
|
17
|
-
"prettier": "3.
|
|
17
|
+
"prettier": "3.9.4",
|
|
18
18
|
"react": "19.2.7"
|
|
19
19
|
},
|
|
20
20
|
"engines": {
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
49
|
"repository": "https://github.com/open-turo/eslint-config-react",
|
|
50
|
-
"version": "24.0.
|
|
50
|
+
"version": "24.0.21"
|
|
51
51
|
}
|
|
@@ -2240,6 +2240,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
2240
2240
|
},
|
|
2241
2241
|
],
|
|
2242
2242
|
"sonarjs/assertions-in-tests": [
|
|
2243
|
+
0,
|
|
2244
|
+
],
|
|
2245
|
+
"sonarjs/async-test-assertions": [
|
|
2243
2246
|
2,
|
|
2244
2247
|
],
|
|
2245
2248
|
"sonarjs/aws-apigateway-public-api": [
|
|
@@ -2284,9 +2287,6 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
2284
2287
|
"sonarjs/aws-s3-bucket-public-access": [
|
|
2285
2288
|
2,
|
|
2286
2289
|
],
|
|
2287
|
-
"sonarjs/aws-s3-bucket-server-encryption": [
|
|
2288
|
-
0,
|
|
2289
|
-
],
|
|
2290
2290
|
"sonarjs/aws-s3-bucket-versioning": [
|
|
2291
2291
|
2,
|
|
2292
2292
|
],
|
|
@@ -2311,9 +2311,6 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
2311
2311
|
"sonarjs/call-argument-line": [
|
|
2312
2312
|
2,
|
|
2313
2313
|
],
|
|
2314
|
-
"sonarjs/certificate-transparency": [
|
|
2315
|
-
0,
|
|
2316
|
-
],
|
|
2317
2314
|
"sonarjs/chai-determinate-assertion": [
|
|
2318
2315
|
2,
|
|
2319
2316
|
],
|
|
@@ -2351,7 +2348,7 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
2351
2348
|
0,
|
|
2352
2349
|
],
|
|
2353
2350
|
"sonarjs/confidential-information-logging": [
|
|
2354
|
-
|
|
2351
|
+
0,
|
|
2355
2352
|
],
|
|
2356
2353
|
"sonarjs/constructor-for-side-effects": [
|
|
2357
2354
|
2,
|
|
@@ -2369,9 +2366,6 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
2369
2366
|
"sonarjs/cookie-no-httponly": [
|
|
2370
2367
|
2,
|
|
2371
2368
|
],
|
|
2372
|
-
"sonarjs/cookies": [
|
|
2373
|
-
0,
|
|
2374
|
-
],
|
|
2375
2369
|
"sonarjs/cors": [
|
|
2376
2370
|
2,
|
|
2377
2371
|
],
|
|
@@ -2405,9 +2399,6 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
2405
2399
|
"sonarjs/disabled-timeout": [
|
|
2406
2400
|
2,
|
|
2407
2401
|
],
|
|
2408
|
-
"sonarjs/dns-prefetching": [
|
|
2409
|
-
0,
|
|
2410
|
-
],
|
|
2411
2402
|
"sonarjs/dompurify-unsafe-config": [
|
|
2412
2403
|
2,
|
|
2413
2404
|
],
|
|
@@ -2423,9 +2414,6 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
2423
2414
|
"sonarjs/empty-string-repetition": [
|
|
2424
2415
|
2,
|
|
2425
2416
|
],
|
|
2426
|
-
"sonarjs/encryption": [
|
|
2427
|
-
0,
|
|
2428
|
-
],
|
|
2429
2417
|
"sonarjs/encryption-secure-mode": [
|
|
2430
2418
|
2,
|
|
2431
2419
|
],
|
|
@@ -2464,7 +2452,7 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
2464
2452
|
2,
|
|
2465
2453
|
],
|
|
2466
2454
|
"sonarjs/frame-ancestors": [
|
|
2467
|
-
|
|
2455
|
+
0,
|
|
2468
2456
|
],
|
|
2469
2457
|
"sonarjs/function-inside-loop": [
|
|
2470
2458
|
2,
|
|
@@ -2491,6 +2479,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
2491
2479
|
2,
|
|
2492
2480
|
],
|
|
2493
2481
|
"sonarjs/hidden-files": [
|
|
2482
|
+
0,
|
|
2483
|
+
],
|
|
2484
|
+
"sonarjs/hooks-before-test-cases": [
|
|
2494
2485
|
2,
|
|
2495
2486
|
],
|
|
2496
2487
|
"sonarjs/in-operator-type-error": [
|
|
@@ -2600,7 +2591,7 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
2600
2591
|
2,
|
|
2601
2592
|
],
|
|
2602
2593
|
"sonarjs/no-commented-code": [
|
|
2603
|
-
|
|
2594
|
+
0,
|
|
2604
2595
|
],
|
|
2605
2596
|
"sonarjs/no-control-regex": [
|
|
2606
2597
|
2,
|
|
@@ -2621,6 +2612,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
2621
2612
|
"threshold": 3,
|
|
2622
2613
|
},
|
|
2623
2614
|
],
|
|
2615
|
+
"sonarjs/no-duplicate-test-title": [
|
|
2616
|
+
2,
|
|
2617
|
+
],
|
|
2624
2618
|
"sonarjs/no-duplicated-branches": [
|
|
2625
2619
|
2,
|
|
2626
2620
|
],
|
|
@@ -2645,6 +2639,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
2645
2639
|
"sonarjs/no-empty-test-file": [
|
|
2646
2640
|
2,
|
|
2647
2641
|
],
|
|
2642
|
+
"sonarjs/no-empty-test-title": [
|
|
2643
|
+
2,
|
|
2644
|
+
],
|
|
2648
2645
|
"sonarjs/no-equals-in-for-termination": [
|
|
2649
2646
|
2,
|
|
2650
2647
|
],
|
|
@@ -2657,9 +2654,15 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
2657
2654
|
"sonarjs/no-fallthrough": [
|
|
2658
2655
|
2,
|
|
2659
2656
|
],
|
|
2657
|
+
"sonarjs/no-floating-point-equality": [
|
|
2658
|
+
0,
|
|
2659
|
+
],
|
|
2660
2660
|
"sonarjs/no-for-in-iterable": [
|
|
2661
2661
|
0,
|
|
2662
2662
|
],
|
|
2663
|
+
"sonarjs/no-forced-browser-interaction": [
|
|
2664
|
+
2,
|
|
2665
|
+
],
|
|
2663
2666
|
"sonarjs/no-function-declaration-in-block": [
|
|
2664
2667
|
0,
|
|
2665
2668
|
],
|
|
@@ -2724,6 +2727,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
2724
2727
|
"sonarjs/no-in-misuse": [
|
|
2725
2728
|
2,
|
|
2726
2729
|
],
|
|
2730
|
+
"sonarjs/no-incompatible-assertion-types": [
|
|
2731
|
+
2,
|
|
2732
|
+
],
|
|
2727
2733
|
"sonarjs/no-incomplete-assertions": [
|
|
2728
2734
|
2,
|
|
2729
2735
|
],
|
|
@@ -2737,7 +2743,7 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
2737
2743
|
2,
|
|
2738
2744
|
],
|
|
2739
2745
|
"sonarjs/no-intrusive-permissions": [
|
|
2740
|
-
|
|
2746
|
+
0,
|
|
2741
2747
|
{
|
|
2742
2748
|
"permissions": [
|
|
2743
2749
|
"geolocation",
|
|
@@ -2754,7 +2760,7 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
2754
2760
|
2,
|
|
2755
2761
|
],
|
|
2756
2762
|
"sonarjs/no-ip-forward": [
|
|
2757
|
-
|
|
2763
|
+
0,
|
|
2758
2764
|
],
|
|
2759
2765
|
"sonarjs/no-labels": [
|
|
2760
2766
|
2,
|
|
@@ -2772,7 +2778,7 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
2772
2778
|
2,
|
|
2773
2779
|
],
|
|
2774
2780
|
"sonarjs/no-mixed-content": [
|
|
2775
|
-
|
|
2781
|
+
0,
|
|
2776
2782
|
],
|
|
2777
2783
|
"sonarjs/no-nested-assignment": [
|
|
2778
2784
|
2,
|
|
@@ -2861,6 +2867,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
2861
2867
|
"sonarjs/no-table-as-layout": [
|
|
2862
2868
|
2,
|
|
2863
2869
|
],
|
|
2870
|
+
"sonarjs/no-trivial-assertions": [
|
|
2871
|
+
2,
|
|
2872
|
+
],
|
|
2864
2873
|
"sonarjs/no-try-promise": [
|
|
2865
2874
|
2,
|
|
2866
2875
|
],
|
|
@@ -2915,9 +2924,6 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
2915
2924
|
"sonarjs/no-variable-usage-before-declaration": [
|
|
2916
2925
|
0,
|
|
2917
2926
|
],
|
|
2918
|
-
"sonarjs/no-vue-bypass-sanitization": [
|
|
2919
|
-
0,
|
|
2920
|
-
],
|
|
2921
2927
|
"sonarjs/no-weak-cipher": [
|
|
2922
2928
|
2,
|
|
2923
2929
|
],
|
|
@@ -2943,7 +2949,7 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
2943
2949
|
0,
|
|
2944
2950
|
],
|
|
2945
2951
|
"sonarjs/os-command": [
|
|
2946
|
-
|
|
2952
|
+
0,
|
|
2947
2953
|
],
|
|
2948
2954
|
"sonarjs/post-message": [
|
|
2949
2955
|
2,
|
|
@@ -2975,15 +2981,15 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
2975
2981
|
"sonarjs/prefer-single-boolean-return": [
|
|
2976
2982
|
2,
|
|
2977
2983
|
],
|
|
2984
|
+
"sonarjs/prefer-specific-assertions": [
|
|
2985
|
+
0,
|
|
2986
|
+
],
|
|
2978
2987
|
"sonarjs/prefer-type-guard": [
|
|
2979
2988
|
2,
|
|
2980
2989
|
],
|
|
2981
2990
|
"sonarjs/prefer-while": [
|
|
2982
2991
|
2,
|
|
2983
2992
|
],
|
|
2984
|
-
"sonarjs/process-argv": [
|
|
2985
|
-
0,
|
|
2986
|
-
],
|
|
2987
2993
|
"sonarjs/production-debug": [
|
|
2988
2994
|
2,
|
|
2989
2995
|
],
|
|
@@ -3008,9 +3014,6 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
3008
3014
|
"threshold": 20,
|
|
3009
3015
|
},
|
|
3010
3016
|
],
|
|
3011
|
-
"sonarjs/regular-expr": [
|
|
3012
|
-
0,
|
|
3013
|
-
],
|
|
3014
3017
|
"sonarjs/review-blockchain-mnemonic": [
|
|
3015
3018
|
2,
|
|
3016
3019
|
],
|
|
@@ -3029,18 +3032,12 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
3029
3032
|
"sonarjs/slow-regex": [
|
|
3030
3033
|
2,
|
|
3031
3034
|
],
|
|
3032
|
-
"sonarjs/sockets": [
|
|
3033
|
-
0,
|
|
3034
|
-
],
|
|
3035
3035
|
"sonarjs/sql-queries": [
|
|
3036
3036
|
2,
|
|
3037
3037
|
],
|
|
3038
3038
|
"sonarjs/stable-tests": [
|
|
3039
3039
|
2,
|
|
3040
3040
|
],
|
|
3041
|
-
"sonarjs/standard-input": [
|
|
3042
|
-
0,
|
|
3043
|
-
],
|
|
3044
3041
|
"sonarjs/stateful-regex": [
|
|
3045
3042
|
2,
|
|
3046
3043
|
],
|
|
@@ -3050,6 +3047,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
3050
3047
|
"sonarjs/strings-comparison": [
|
|
3051
3048
|
0,
|
|
3052
3049
|
],
|
|
3050
|
+
"sonarjs/super-linear-regex": [
|
|
3051
|
+
2,
|
|
3052
|
+
],
|
|
3053
3053
|
"sonarjs/table-header": [
|
|
3054
3054
|
2,
|
|
3055
3055
|
],
|
|
@@ -3116,9 +3116,6 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
3116
3116
|
"sonarjs/xml-parser-xxe": [
|
|
3117
3117
|
2,
|
|
3118
3118
|
],
|
|
3119
|
-
"sonarjs/xpath": [
|
|
3120
|
-
0,
|
|
3121
|
-
],
|
|
3122
3119
|
"space-after-function-name": [
|
|
3123
3120
|
0,
|
|
3124
3121
|
],
|
|
Binary file
|