@open-turo/eslint-config-typescript 23.1.1 → 23.1.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/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
24.
|
|
1
|
+
24.17.0
|
package/index.js
CHANGED
|
@@ -249,6 +249,12 @@ const jestTestConfig = (options) => {
|
|
|
249
249
|
* @param {boolean} options.typescript Whether to include typescript rules
|
|
250
250
|
*/
|
|
251
251
|
const vitestTestConfig = (options) => {
|
|
252
|
+
const typescriptRules = options.typescript
|
|
253
|
+
? /** @type {const} */ ({
|
|
254
|
+
"@typescript-eslint/unbound-method": "off",
|
|
255
|
+
"vitest/unbound-method": "error",
|
|
256
|
+
})
|
|
257
|
+
: {};
|
|
252
258
|
return eslintConfig.defineConfig({
|
|
253
259
|
extends: [vitestPlugin.configs.recommended],
|
|
254
260
|
files: FILES_TEST,
|
|
@@ -257,6 +263,10 @@ const vitestTestConfig = (options) => {
|
|
|
257
263
|
...(options.typescript ? typescriptLanguageOptions() : {}),
|
|
258
264
|
},
|
|
259
265
|
plugins: { vitest: vitestPlugin },
|
|
266
|
+
rules: {
|
|
267
|
+
...vitestPlugin.configs.recommended.rules,
|
|
268
|
+
...typescriptRules,
|
|
269
|
+
},
|
|
260
270
|
});
|
|
261
271
|
};
|
|
262
272
|
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"eslint-plugin-n": "18.1.0",
|
|
16
16
|
"eslint-plugin-perfectionist": "5.9.1",
|
|
17
17
|
"eslint-plugin-prettier": "5.5.6",
|
|
18
|
-
"eslint-plugin-sonarjs": "4.0
|
|
18
|
+
"eslint-plugin-sonarjs": "4.1.0",
|
|
19
19
|
"eslint-plugin-unicorn": "56.0.1",
|
|
20
20
|
"typescript-eslint": "8.61.1"
|
|
21
21
|
},
|
|
@@ -55,6 +55,6 @@
|
|
|
55
55
|
"access": "public"
|
|
56
56
|
},
|
|
57
57
|
"repository": "https://github.com/open-turo/eslint-config-typescript",
|
|
58
|
-
"version": "23.1.
|
|
58
|
+
"version": "23.1.3",
|
|
59
59
|
"packageManager": "npm@11.17.0"
|
|
60
60
|
}
|
|
@@ -1850,6 +1850,9 @@ exports[`validate config the flat config is correct for index.js 1`] = `
|
|
|
1850
1850
|
"sonarjs/assertions-in-tests": [
|
|
1851
1851
|
2,
|
|
1852
1852
|
],
|
|
1853
|
+
"sonarjs/async-test-assertions": [
|
|
1854
|
+
2,
|
|
1855
|
+
],
|
|
1853
1856
|
"sonarjs/aws-apigateway-public-api": [
|
|
1854
1857
|
2,
|
|
1855
1858
|
],
|
|
@@ -1892,9 +1895,6 @@ exports[`validate config the flat config is correct for index.js 1`] = `
|
|
|
1892
1895
|
"sonarjs/aws-s3-bucket-public-access": [
|
|
1893
1896
|
2,
|
|
1894
1897
|
],
|
|
1895
|
-
"sonarjs/aws-s3-bucket-server-encryption": [
|
|
1896
|
-
0,
|
|
1897
|
-
],
|
|
1898
1898
|
"sonarjs/aws-s3-bucket-versioning": [
|
|
1899
1899
|
2,
|
|
1900
1900
|
],
|
|
@@ -1919,9 +1919,6 @@ exports[`validate config the flat config is correct for index.js 1`] = `
|
|
|
1919
1919
|
"sonarjs/call-argument-line": [
|
|
1920
1920
|
2,
|
|
1921
1921
|
],
|
|
1922
|
-
"sonarjs/certificate-transparency": [
|
|
1923
|
-
0,
|
|
1924
|
-
],
|
|
1925
1922
|
"sonarjs/chai-determinate-assertion": [
|
|
1926
1923
|
2,
|
|
1927
1924
|
],
|
|
@@ -1959,7 +1956,7 @@ exports[`validate config the flat config is correct for index.js 1`] = `
|
|
|
1959
1956
|
0,
|
|
1960
1957
|
],
|
|
1961
1958
|
"sonarjs/confidential-information-logging": [
|
|
1962
|
-
|
|
1959
|
+
0,
|
|
1963
1960
|
],
|
|
1964
1961
|
"sonarjs/constructor-for-side-effects": [
|
|
1965
1962
|
2,
|
|
@@ -1977,9 +1974,6 @@ exports[`validate config the flat config is correct for index.js 1`] = `
|
|
|
1977
1974
|
"sonarjs/cookie-no-httponly": [
|
|
1978
1975
|
2,
|
|
1979
1976
|
],
|
|
1980
|
-
"sonarjs/cookies": [
|
|
1981
|
-
0,
|
|
1982
|
-
],
|
|
1983
1977
|
"sonarjs/cors": [
|
|
1984
1978
|
2,
|
|
1985
1979
|
],
|
|
@@ -2013,9 +2007,6 @@ exports[`validate config the flat config is correct for index.js 1`] = `
|
|
|
2013
2007
|
"sonarjs/disabled-timeout": [
|
|
2014
2008
|
2,
|
|
2015
2009
|
],
|
|
2016
|
-
"sonarjs/dns-prefetching": [
|
|
2017
|
-
0,
|
|
2018
|
-
],
|
|
2019
2010
|
"sonarjs/dompurify-unsafe-config": [
|
|
2020
2011
|
2,
|
|
2021
2012
|
],
|
|
@@ -2031,9 +2022,6 @@ exports[`validate config the flat config is correct for index.js 1`] = `
|
|
|
2031
2022
|
"sonarjs/empty-string-repetition": [
|
|
2032
2023
|
2,
|
|
2033
2024
|
],
|
|
2034
|
-
"sonarjs/encryption": [
|
|
2035
|
-
0,
|
|
2036
|
-
],
|
|
2037
2025
|
"sonarjs/encryption-secure-mode": [
|
|
2038
2026
|
2,
|
|
2039
2027
|
],
|
|
@@ -2072,7 +2060,7 @@ exports[`validate config the flat config is correct for index.js 1`] = `
|
|
|
2072
2060
|
2,
|
|
2073
2061
|
],
|
|
2074
2062
|
"sonarjs/frame-ancestors": [
|
|
2075
|
-
|
|
2063
|
+
0,
|
|
2076
2064
|
],
|
|
2077
2065
|
"sonarjs/function-inside-loop": [
|
|
2078
2066
|
2,
|
|
@@ -2099,6 +2087,9 @@ exports[`validate config the flat config is correct for index.js 1`] = `
|
|
|
2099
2087
|
2,
|
|
2100
2088
|
],
|
|
2101
2089
|
"sonarjs/hidden-files": [
|
|
2090
|
+
0,
|
|
2091
|
+
],
|
|
2092
|
+
"sonarjs/hooks-before-test-cases": [
|
|
2102
2093
|
2,
|
|
2103
2094
|
],
|
|
2104
2095
|
"sonarjs/in-operator-type-error": [
|
|
@@ -2202,7 +2193,7 @@ exports[`validate config the flat config is correct for index.js 1`] = `
|
|
|
2202
2193
|
2,
|
|
2203
2194
|
],
|
|
2204
2195
|
"sonarjs/no-commented-code": [
|
|
2205
|
-
|
|
2196
|
+
0,
|
|
2206
2197
|
],
|
|
2207
2198
|
"sonarjs/no-control-regex": [
|
|
2208
2199
|
2,
|
|
@@ -2223,6 +2214,9 @@ exports[`validate config the flat config is correct for index.js 1`] = `
|
|
|
2223
2214
|
"threshold": 3,
|
|
2224
2215
|
},
|
|
2225
2216
|
],
|
|
2217
|
+
"sonarjs/no-duplicate-test-title": [
|
|
2218
|
+
2,
|
|
2219
|
+
],
|
|
2226
2220
|
"sonarjs/no-duplicated-branches": [
|
|
2227
2221
|
2,
|
|
2228
2222
|
],
|
|
@@ -2247,6 +2241,9 @@ exports[`validate config the flat config is correct for index.js 1`] = `
|
|
|
2247
2241
|
"sonarjs/no-empty-test-file": [
|
|
2248
2242
|
2,
|
|
2249
2243
|
],
|
|
2244
|
+
"sonarjs/no-empty-test-title": [
|
|
2245
|
+
2,
|
|
2246
|
+
],
|
|
2250
2247
|
"sonarjs/no-equals-in-for-termination": [
|
|
2251
2248
|
2,
|
|
2252
2249
|
],
|
|
@@ -2259,9 +2256,15 @@ exports[`validate config the flat config is correct for index.js 1`] = `
|
|
|
2259
2256
|
"sonarjs/no-fallthrough": [
|
|
2260
2257
|
2,
|
|
2261
2258
|
],
|
|
2259
|
+
"sonarjs/no-floating-point-equality": [
|
|
2260
|
+
2,
|
|
2261
|
+
],
|
|
2262
2262
|
"sonarjs/no-for-in-iterable": [
|
|
2263
2263
|
0,
|
|
2264
2264
|
],
|
|
2265
|
+
"sonarjs/no-forced-browser-interaction": [
|
|
2266
|
+
2,
|
|
2267
|
+
],
|
|
2265
2268
|
"sonarjs/no-function-declaration-in-block": [
|
|
2266
2269
|
0,
|
|
2267
2270
|
],
|
|
@@ -2326,6 +2329,9 @@ exports[`validate config the flat config is correct for index.js 1`] = `
|
|
|
2326
2329
|
"sonarjs/no-in-misuse": [
|
|
2327
2330
|
2,
|
|
2328
2331
|
],
|
|
2332
|
+
"sonarjs/no-incompatible-assertion-types": [
|
|
2333
|
+
2,
|
|
2334
|
+
],
|
|
2329
2335
|
"sonarjs/no-incomplete-assertions": [
|
|
2330
2336
|
2,
|
|
2331
2337
|
],
|
|
@@ -2339,7 +2345,7 @@ exports[`validate config the flat config is correct for index.js 1`] = `
|
|
|
2339
2345
|
2,
|
|
2340
2346
|
],
|
|
2341
2347
|
"sonarjs/no-intrusive-permissions": [
|
|
2342
|
-
|
|
2348
|
+
0,
|
|
2343
2349
|
{
|
|
2344
2350
|
"permissions": [
|
|
2345
2351
|
"geolocation",
|
|
@@ -2356,7 +2362,7 @@ exports[`validate config the flat config is correct for index.js 1`] = `
|
|
|
2356
2362
|
2,
|
|
2357
2363
|
],
|
|
2358
2364
|
"sonarjs/no-ip-forward": [
|
|
2359
|
-
|
|
2365
|
+
0,
|
|
2360
2366
|
],
|
|
2361
2367
|
"sonarjs/no-labels": [
|
|
2362
2368
|
2,
|
|
@@ -2374,7 +2380,7 @@ exports[`validate config the flat config is correct for index.js 1`] = `
|
|
|
2374
2380
|
2,
|
|
2375
2381
|
],
|
|
2376
2382
|
"sonarjs/no-mixed-content": [
|
|
2377
|
-
|
|
2383
|
+
0,
|
|
2378
2384
|
],
|
|
2379
2385
|
"sonarjs/no-nested-assignment": [
|
|
2380
2386
|
2,
|
|
@@ -2463,6 +2469,9 @@ exports[`validate config the flat config is correct for index.js 1`] = `
|
|
|
2463
2469
|
"sonarjs/no-table-as-layout": [
|
|
2464
2470
|
2,
|
|
2465
2471
|
],
|
|
2472
|
+
"sonarjs/no-trivial-assertions": [
|
|
2473
|
+
2,
|
|
2474
|
+
],
|
|
2466
2475
|
"sonarjs/no-try-promise": [
|
|
2467
2476
|
2,
|
|
2468
2477
|
],
|
|
@@ -2511,9 +2520,6 @@ exports[`validate config the flat config is correct for index.js 1`] = `
|
|
|
2511
2520
|
"sonarjs/no-variable-usage-before-declaration": [
|
|
2512
2521
|
0,
|
|
2513
2522
|
],
|
|
2514
|
-
"sonarjs/no-vue-bypass-sanitization": [
|
|
2515
|
-
0,
|
|
2516
|
-
],
|
|
2517
2523
|
"sonarjs/no-weak-cipher": [
|
|
2518
2524
|
2,
|
|
2519
2525
|
],
|
|
@@ -2539,7 +2545,7 @@ exports[`validate config the flat config is correct for index.js 1`] = `
|
|
|
2539
2545
|
0,
|
|
2540
2546
|
],
|
|
2541
2547
|
"sonarjs/os-command": [
|
|
2542
|
-
|
|
2548
|
+
0,
|
|
2543
2549
|
],
|
|
2544
2550
|
"sonarjs/post-message": [
|
|
2545
2551
|
2,
|
|
@@ -2571,15 +2577,15 @@ exports[`validate config the flat config is correct for index.js 1`] = `
|
|
|
2571
2577
|
"sonarjs/prefer-single-boolean-return": [
|
|
2572
2578
|
2,
|
|
2573
2579
|
],
|
|
2580
|
+
"sonarjs/prefer-specific-assertions": [
|
|
2581
|
+
2,
|
|
2582
|
+
],
|
|
2574
2583
|
"sonarjs/prefer-type-guard": [
|
|
2575
2584
|
2,
|
|
2576
2585
|
],
|
|
2577
2586
|
"sonarjs/prefer-while": [
|
|
2578
2587
|
2,
|
|
2579
2588
|
],
|
|
2580
|
-
"sonarjs/process-argv": [
|
|
2581
|
-
0,
|
|
2582
|
-
],
|
|
2583
2589
|
"sonarjs/production-debug": [
|
|
2584
2590
|
2,
|
|
2585
2591
|
],
|
|
@@ -2604,9 +2610,6 @@ exports[`validate config the flat config is correct for index.js 1`] = `
|
|
|
2604
2610
|
"threshold": 20,
|
|
2605
2611
|
},
|
|
2606
2612
|
],
|
|
2607
|
-
"sonarjs/regular-expr": [
|
|
2608
|
-
0,
|
|
2609
|
-
],
|
|
2610
2613
|
"sonarjs/review-blockchain-mnemonic": [
|
|
2611
2614
|
2,
|
|
2612
2615
|
],
|
|
@@ -2625,18 +2628,12 @@ exports[`validate config the flat config is correct for index.js 1`] = `
|
|
|
2625
2628
|
"sonarjs/slow-regex": [
|
|
2626
2629
|
2,
|
|
2627
2630
|
],
|
|
2628
|
-
"sonarjs/sockets": [
|
|
2629
|
-
0,
|
|
2630
|
-
],
|
|
2631
2631
|
"sonarjs/sql-queries": [
|
|
2632
2632
|
2,
|
|
2633
2633
|
],
|
|
2634
2634
|
"sonarjs/stable-tests": [
|
|
2635
2635
|
2,
|
|
2636
2636
|
],
|
|
2637
|
-
"sonarjs/standard-input": [
|
|
2638
|
-
0,
|
|
2639
|
-
],
|
|
2640
2637
|
"sonarjs/stateful-regex": [
|
|
2641
2638
|
2,
|
|
2642
2639
|
],
|
|
@@ -2646,6 +2643,9 @@ exports[`validate config the flat config is correct for index.js 1`] = `
|
|
|
2646
2643
|
"sonarjs/strings-comparison": [
|
|
2647
2644
|
0,
|
|
2648
2645
|
],
|
|
2646
|
+
"sonarjs/super-linear-regex": [
|
|
2647
|
+
2,
|
|
2648
|
+
],
|
|
2649
2649
|
"sonarjs/table-header": [
|
|
2650
2650
|
2,
|
|
2651
2651
|
],
|
|
@@ -2712,9 +2712,6 @@ exports[`validate config the flat config is correct for index.js 1`] = `
|
|
|
2712
2712
|
"sonarjs/xml-parser-xxe": [
|
|
2713
2713
|
2,
|
|
2714
2714
|
],
|
|
2715
|
-
"sonarjs/xpath": [
|
|
2716
|
-
0,
|
|
2717
|
-
],
|
|
2718
2715
|
"space-after-function-name": [
|
|
2719
2716
|
0,
|
|
2720
2717
|
],
|
|
@@ -5140,6 +5137,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
5140
5137
|
"sonarjs/assertions-in-tests": [
|
|
5141
5138
|
2,
|
|
5142
5139
|
],
|
|
5140
|
+
"sonarjs/async-test-assertions": [
|
|
5141
|
+
2,
|
|
5142
|
+
],
|
|
5143
5143
|
"sonarjs/aws-apigateway-public-api": [
|
|
5144
5144
|
2,
|
|
5145
5145
|
],
|
|
@@ -5182,9 +5182,6 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
5182
5182
|
"sonarjs/aws-s3-bucket-public-access": [
|
|
5183
5183
|
2,
|
|
5184
5184
|
],
|
|
5185
|
-
"sonarjs/aws-s3-bucket-server-encryption": [
|
|
5186
|
-
0,
|
|
5187
|
-
],
|
|
5188
5185
|
"sonarjs/aws-s3-bucket-versioning": [
|
|
5189
5186
|
2,
|
|
5190
5187
|
],
|
|
@@ -5209,9 +5206,6 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
5209
5206
|
"sonarjs/call-argument-line": [
|
|
5210
5207
|
2,
|
|
5211
5208
|
],
|
|
5212
|
-
"sonarjs/certificate-transparency": [
|
|
5213
|
-
0,
|
|
5214
|
-
],
|
|
5215
5209
|
"sonarjs/chai-determinate-assertion": [
|
|
5216
5210
|
2,
|
|
5217
5211
|
],
|
|
@@ -5249,7 +5243,7 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
5249
5243
|
0,
|
|
5250
5244
|
],
|
|
5251
5245
|
"sonarjs/confidential-information-logging": [
|
|
5252
|
-
|
|
5246
|
+
0,
|
|
5253
5247
|
],
|
|
5254
5248
|
"sonarjs/constructor-for-side-effects": [
|
|
5255
5249
|
2,
|
|
@@ -5267,9 +5261,6 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
5267
5261
|
"sonarjs/cookie-no-httponly": [
|
|
5268
5262
|
2,
|
|
5269
5263
|
],
|
|
5270
|
-
"sonarjs/cookies": [
|
|
5271
|
-
0,
|
|
5272
|
-
],
|
|
5273
5264
|
"sonarjs/cors": [
|
|
5274
5265
|
2,
|
|
5275
5266
|
],
|
|
@@ -5303,9 +5294,6 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
5303
5294
|
"sonarjs/disabled-timeout": [
|
|
5304
5295
|
2,
|
|
5305
5296
|
],
|
|
5306
|
-
"sonarjs/dns-prefetching": [
|
|
5307
|
-
0,
|
|
5308
|
-
],
|
|
5309
5297
|
"sonarjs/dompurify-unsafe-config": [
|
|
5310
5298
|
2,
|
|
5311
5299
|
],
|
|
@@ -5321,9 +5309,6 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
5321
5309
|
"sonarjs/empty-string-repetition": [
|
|
5322
5310
|
2,
|
|
5323
5311
|
],
|
|
5324
|
-
"sonarjs/encryption": [
|
|
5325
|
-
0,
|
|
5326
|
-
],
|
|
5327
5312
|
"sonarjs/encryption-secure-mode": [
|
|
5328
5313
|
2,
|
|
5329
5314
|
],
|
|
@@ -5362,7 +5347,7 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
5362
5347
|
2,
|
|
5363
5348
|
],
|
|
5364
5349
|
"sonarjs/frame-ancestors": [
|
|
5365
|
-
|
|
5350
|
+
0,
|
|
5366
5351
|
],
|
|
5367
5352
|
"sonarjs/function-inside-loop": [
|
|
5368
5353
|
2,
|
|
@@ -5389,6 +5374,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
5389
5374
|
2,
|
|
5390
5375
|
],
|
|
5391
5376
|
"sonarjs/hidden-files": [
|
|
5377
|
+
0,
|
|
5378
|
+
],
|
|
5379
|
+
"sonarjs/hooks-before-test-cases": [
|
|
5392
5380
|
2,
|
|
5393
5381
|
],
|
|
5394
5382
|
"sonarjs/in-operator-type-error": [
|
|
@@ -5492,7 +5480,7 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
5492
5480
|
2,
|
|
5493
5481
|
],
|
|
5494
5482
|
"sonarjs/no-commented-code": [
|
|
5495
|
-
|
|
5483
|
+
0,
|
|
5496
5484
|
],
|
|
5497
5485
|
"sonarjs/no-control-regex": [
|
|
5498
5486
|
2,
|
|
@@ -5513,6 +5501,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
5513
5501
|
"threshold": 3,
|
|
5514
5502
|
},
|
|
5515
5503
|
],
|
|
5504
|
+
"sonarjs/no-duplicate-test-title": [
|
|
5505
|
+
2,
|
|
5506
|
+
],
|
|
5516
5507
|
"sonarjs/no-duplicated-branches": [
|
|
5517
5508
|
2,
|
|
5518
5509
|
],
|
|
@@ -5537,6 +5528,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
5537
5528
|
"sonarjs/no-empty-test-file": [
|
|
5538
5529
|
2,
|
|
5539
5530
|
],
|
|
5531
|
+
"sonarjs/no-empty-test-title": [
|
|
5532
|
+
2,
|
|
5533
|
+
],
|
|
5540
5534
|
"sonarjs/no-equals-in-for-termination": [
|
|
5541
5535
|
2,
|
|
5542
5536
|
],
|
|
@@ -5549,9 +5543,15 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
5549
5543
|
"sonarjs/no-fallthrough": [
|
|
5550
5544
|
2,
|
|
5551
5545
|
],
|
|
5546
|
+
"sonarjs/no-floating-point-equality": [
|
|
5547
|
+
2,
|
|
5548
|
+
],
|
|
5552
5549
|
"sonarjs/no-for-in-iterable": [
|
|
5553
5550
|
0,
|
|
5554
5551
|
],
|
|
5552
|
+
"sonarjs/no-forced-browser-interaction": [
|
|
5553
|
+
2,
|
|
5554
|
+
],
|
|
5555
5555
|
"sonarjs/no-function-declaration-in-block": [
|
|
5556
5556
|
0,
|
|
5557
5557
|
],
|
|
@@ -5616,6 +5616,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
5616
5616
|
"sonarjs/no-in-misuse": [
|
|
5617
5617
|
2,
|
|
5618
5618
|
],
|
|
5619
|
+
"sonarjs/no-incompatible-assertion-types": [
|
|
5620
|
+
2,
|
|
5621
|
+
],
|
|
5619
5622
|
"sonarjs/no-incomplete-assertions": [
|
|
5620
5623
|
2,
|
|
5621
5624
|
],
|
|
@@ -5629,7 +5632,7 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
5629
5632
|
2,
|
|
5630
5633
|
],
|
|
5631
5634
|
"sonarjs/no-intrusive-permissions": [
|
|
5632
|
-
|
|
5635
|
+
0,
|
|
5633
5636
|
{
|
|
5634
5637
|
"permissions": [
|
|
5635
5638
|
"geolocation",
|
|
@@ -5646,7 +5649,7 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
5646
5649
|
2,
|
|
5647
5650
|
],
|
|
5648
5651
|
"sonarjs/no-ip-forward": [
|
|
5649
|
-
|
|
5652
|
+
0,
|
|
5650
5653
|
],
|
|
5651
5654
|
"sonarjs/no-labels": [
|
|
5652
5655
|
2,
|
|
@@ -5664,7 +5667,7 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
5664
5667
|
2,
|
|
5665
5668
|
],
|
|
5666
5669
|
"sonarjs/no-mixed-content": [
|
|
5667
|
-
|
|
5670
|
+
0,
|
|
5668
5671
|
],
|
|
5669
5672
|
"sonarjs/no-nested-assignment": [
|
|
5670
5673
|
2,
|
|
@@ -5753,6 +5756,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
5753
5756
|
"sonarjs/no-table-as-layout": [
|
|
5754
5757
|
2,
|
|
5755
5758
|
],
|
|
5759
|
+
"sonarjs/no-trivial-assertions": [
|
|
5760
|
+
2,
|
|
5761
|
+
],
|
|
5756
5762
|
"sonarjs/no-try-promise": [
|
|
5757
5763
|
2,
|
|
5758
5764
|
],
|
|
@@ -5801,9 +5807,6 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
5801
5807
|
"sonarjs/no-variable-usage-before-declaration": [
|
|
5802
5808
|
0,
|
|
5803
5809
|
],
|
|
5804
|
-
"sonarjs/no-vue-bypass-sanitization": [
|
|
5805
|
-
0,
|
|
5806
|
-
],
|
|
5807
5810
|
"sonarjs/no-weak-cipher": [
|
|
5808
5811
|
2,
|
|
5809
5812
|
],
|
|
@@ -5829,7 +5832,7 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
5829
5832
|
0,
|
|
5830
5833
|
],
|
|
5831
5834
|
"sonarjs/os-command": [
|
|
5832
|
-
|
|
5835
|
+
0,
|
|
5833
5836
|
],
|
|
5834
5837
|
"sonarjs/post-message": [
|
|
5835
5838
|
2,
|
|
@@ -5861,15 +5864,15 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
5861
5864
|
"sonarjs/prefer-single-boolean-return": [
|
|
5862
5865
|
2,
|
|
5863
5866
|
],
|
|
5867
|
+
"sonarjs/prefer-specific-assertions": [
|
|
5868
|
+
2,
|
|
5869
|
+
],
|
|
5864
5870
|
"sonarjs/prefer-type-guard": [
|
|
5865
5871
|
2,
|
|
5866
5872
|
],
|
|
5867
5873
|
"sonarjs/prefer-while": [
|
|
5868
5874
|
2,
|
|
5869
5875
|
],
|
|
5870
|
-
"sonarjs/process-argv": [
|
|
5871
|
-
0,
|
|
5872
|
-
],
|
|
5873
5876
|
"sonarjs/production-debug": [
|
|
5874
5877
|
2,
|
|
5875
5878
|
],
|
|
@@ -5894,9 +5897,6 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
5894
5897
|
"threshold": 20,
|
|
5895
5898
|
},
|
|
5896
5899
|
],
|
|
5897
|
-
"sonarjs/regular-expr": [
|
|
5898
|
-
0,
|
|
5899
|
-
],
|
|
5900
5900
|
"sonarjs/review-blockchain-mnemonic": [
|
|
5901
5901
|
2,
|
|
5902
5902
|
],
|
|
@@ -5915,18 +5915,12 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
5915
5915
|
"sonarjs/slow-regex": [
|
|
5916
5916
|
2,
|
|
5917
5917
|
],
|
|
5918
|
-
"sonarjs/sockets": [
|
|
5919
|
-
0,
|
|
5920
|
-
],
|
|
5921
5918
|
"sonarjs/sql-queries": [
|
|
5922
5919
|
2,
|
|
5923
5920
|
],
|
|
5924
5921
|
"sonarjs/stable-tests": [
|
|
5925
5922
|
2,
|
|
5926
5923
|
],
|
|
5927
|
-
"sonarjs/standard-input": [
|
|
5928
|
-
0,
|
|
5929
|
-
],
|
|
5930
5924
|
"sonarjs/stateful-regex": [
|
|
5931
5925
|
2,
|
|
5932
5926
|
],
|
|
@@ -5936,6 +5930,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
5936
5930
|
"sonarjs/strings-comparison": [
|
|
5937
5931
|
0,
|
|
5938
5932
|
],
|
|
5933
|
+
"sonarjs/super-linear-regex": [
|
|
5934
|
+
2,
|
|
5935
|
+
],
|
|
5939
5936
|
"sonarjs/table-header": [
|
|
5940
5937
|
2,
|
|
5941
5938
|
],
|
|
@@ -6002,9 +5999,6 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
|
|
|
6002
5999
|
"sonarjs/xml-parser-xxe": [
|
|
6003
6000
|
2,
|
|
6004
6001
|
],
|
|
6005
|
-
"sonarjs/xpath": [
|
|
6006
|
-
0,
|
|
6007
|
-
],
|
|
6008
6002
|
"space-after-function-name": [
|
|
6009
6003
|
0,
|
|
6010
6004
|
],
|
|
@@ -8430,6 +8424,9 @@ exports[`validate config the flat config with vitest is correct for index.js 1`]
|
|
|
8430
8424
|
"sonarjs/assertions-in-tests": [
|
|
8431
8425
|
2,
|
|
8432
8426
|
],
|
|
8427
|
+
"sonarjs/async-test-assertions": [
|
|
8428
|
+
2,
|
|
8429
|
+
],
|
|
8433
8430
|
"sonarjs/aws-apigateway-public-api": [
|
|
8434
8431
|
2,
|
|
8435
8432
|
],
|
|
@@ -8472,9 +8469,6 @@ exports[`validate config the flat config with vitest is correct for index.js 1`]
|
|
|
8472
8469
|
"sonarjs/aws-s3-bucket-public-access": [
|
|
8473
8470
|
2,
|
|
8474
8471
|
],
|
|
8475
|
-
"sonarjs/aws-s3-bucket-server-encryption": [
|
|
8476
|
-
0,
|
|
8477
|
-
],
|
|
8478
8472
|
"sonarjs/aws-s3-bucket-versioning": [
|
|
8479
8473
|
2,
|
|
8480
8474
|
],
|
|
@@ -8499,9 +8493,6 @@ exports[`validate config the flat config with vitest is correct for index.js 1`]
|
|
|
8499
8493
|
"sonarjs/call-argument-line": [
|
|
8500
8494
|
2,
|
|
8501
8495
|
],
|
|
8502
|
-
"sonarjs/certificate-transparency": [
|
|
8503
|
-
0,
|
|
8504
|
-
],
|
|
8505
8496
|
"sonarjs/chai-determinate-assertion": [
|
|
8506
8497
|
2,
|
|
8507
8498
|
],
|
|
@@ -8539,7 +8530,7 @@ exports[`validate config the flat config with vitest is correct for index.js 1`]
|
|
|
8539
8530
|
0,
|
|
8540
8531
|
],
|
|
8541
8532
|
"sonarjs/confidential-information-logging": [
|
|
8542
|
-
|
|
8533
|
+
0,
|
|
8543
8534
|
],
|
|
8544
8535
|
"sonarjs/constructor-for-side-effects": [
|
|
8545
8536
|
2,
|
|
@@ -8557,9 +8548,6 @@ exports[`validate config the flat config with vitest is correct for index.js 1`]
|
|
|
8557
8548
|
"sonarjs/cookie-no-httponly": [
|
|
8558
8549
|
2,
|
|
8559
8550
|
],
|
|
8560
|
-
"sonarjs/cookies": [
|
|
8561
|
-
0,
|
|
8562
|
-
],
|
|
8563
8551
|
"sonarjs/cors": [
|
|
8564
8552
|
2,
|
|
8565
8553
|
],
|
|
@@ -8593,9 +8581,6 @@ exports[`validate config the flat config with vitest is correct for index.js 1`]
|
|
|
8593
8581
|
"sonarjs/disabled-timeout": [
|
|
8594
8582
|
2,
|
|
8595
8583
|
],
|
|
8596
|
-
"sonarjs/dns-prefetching": [
|
|
8597
|
-
0,
|
|
8598
|
-
],
|
|
8599
8584
|
"sonarjs/dompurify-unsafe-config": [
|
|
8600
8585
|
2,
|
|
8601
8586
|
],
|
|
@@ -8611,9 +8596,6 @@ exports[`validate config the flat config with vitest is correct for index.js 1`]
|
|
|
8611
8596
|
"sonarjs/empty-string-repetition": [
|
|
8612
8597
|
2,
|
|
8613
8598
|
],
|
|
8614
|
-
"sonarjs/encryption": [
|
|
8615
|
-
0,
|
|
8616
|
-
],
|
|
8617
8599
|
"sonarjs/encryption-secure-mode": [
|
|
8618
8600
|
2,
|
|
8619
8601
|
],
|
|
@@ -8652,7 +8634,7 @@ exports[`validate config the flat config with vitest is correct for index.js 1`]
|
|
|
8652
8634
|
2,
|
|
8653
8635
|
],
|
|
8654
8636
|
"sonarjs/frame-ancestors": [
|
|
8655
|
-
|
|
8637
|
+
0,
|
|
8656
8638
|
],
|
|
8657
8639
|
"sonarjs/function-inside-loop": [
|
|
8658
8640
|
2,
|
|
@@ -8679,6 +8661,9 @@ exports[`validate config the flat config with vitest is correct for index.js 1`]
|
|
|
8679
8661
|
2,
|
|
8680
8662
|
],
|
|
8681
8663
|
"sonarjs/hidden-files": [
|
|
8664
|
+
0,
|
|
8665
|
+
],
|
|
8666
|
+
"sonarjs/hooks-before-test-cases": [
|
|
8682
8667
|
2,
|
|
8683
8668
|
],
|
|
8684
8669
|
"sonarjs/in-operator-type-error": [
|
|
@@ -8782,7 +8767,7 @@ exports[`validate config the flat config with vitest is correct for index.js 1`]
|
|
|
8782
8767
|
2,
|
|
8783
8768
|
],
|
|
8784
8769
|
"sonarjs/no-commented-code": [
|
|
8785
|
-
|
|
8770
|
+
0,
|
|
8786
8771
|
],
|
|
8787
8772
|
"sonarjs/no-control-regex": [
|
|
8788
8773
|
2,
|
|
@@ -8803,6 +8788,9 @@ exports[`validate config the flat config with vitest is correct for index.js 1`]
|
|
|
8803
8788
|
"threshold": 3,
|
|
8804
8789
|
},
|
|
8805
8790
|
],
|
|
8791
|
+
"sonarjs/no-duplicate-test-title": [
|
|
8792
|
+
2,
|
|
8793
|
+
],
|
|
8806
8794
|
"sonarjs/no-duplicated-branches": [
|
|
8807
8795
|
2,
|
|
8808
8796
|
],
|
|
@@ -8827,6 +8815,9 @@ exports[`validate config the flat config with vitest is correct for index.js 1`]
|
|
|
8827
8815
|
"sonarjs/no-empty-test-file": [
|
|
8828
8816
|
2,
|
|
8829
8817
|
],
|
|
8818
|
+
"sonarjs/no-empty-test-title": [
|
|
8819
|
+
2,
|
|
8820
|
+
],
|
|
8830
8821
|
"sonarjs/no-equals-in-for-termination": [
|
|
8831
8822
|
2,
|
|
8832
8823
|
],
|
|
@@ -8839,9 +8830,15 @@ exports[`validate config the flat config with vitest is correct for index.js 1`]
|
|
|
8839
8830
|
"sonarjs/no-fallthrough": [
|
|
8840
8831
|
2,
|
|
8841
8832
|
],
|
|
8833
|
+
"sonarjs/no-floating-point-equality": [
|
|
8834
|
+
2,
|
|
8835
|
+
],
|
|
8842
8836
|
"sonarjs/no-for-in-iterable": [
|
|
8843
8837
|
0,
|
|
8844
8838
|
],
|
|
8839
|
+
"sonarjs/no-forced-browser-interaction": [
|
|
8840
|
+
2,
|
|
8841
|
+
],
|
|
8845
8842
|
"sonarjs/no-function-declaration-in-block": [
|
|
8846
8843
|
0,
|
|
8847
8844
|
],
|
|
@@ -8906,6 +8903,9 @@ exports[`validate config the flat config with vitest is correct for index.js 1`]
|
|
|
8906
8903
|
"sonarjs/no-in-misuse": [
|
|
8907
8904
|
2,
|
|
8908
8905
|
],
|
|
8906
|
+
"sonarjs/no-incompatible-assertion-types": [
|
|
8907
|
+
2,
|
|
8908
|
+
],
|
|
8909
8909
|
"sonarjs/no-incomplete-assertions": [
|
|
8910
8910
|
2,
|
|
8911
8911
|
],
|
|
@@ -8919,7 +8919,7 @@ exports[`validate config the flat config with vitest is correct for index.js 1`]
|
|
|
8919
8919
|
2,
|
|
8920
8920
|
],
|
|
8921
8921
|
"sonarjs/no-intrusive-permissions": [
|
|
8922
|
-
|
|
8922
|
+
0,
|
|
8923
8923
|
{
|
|
8924
8924
|
"permissions": [
|
|
8925
8925
|
"geolocation",
|
|
@@ -8936,7 +8936,7 @@ exports[`validate config the flat config with vitest is correct for index.js 1`]
|
|
|
8936
8936
|
2,
|
|
8937
8937
|
],
|
|
8938
8938
|
"sonarjs/no-ip-forward": [
|
|
8939
|
-
|
|
8939
|
+
0,
|
|
8940
8940
|
],
|
|
8941
8941
|
"sonarjs/no-labels": [
|
|
8942
8942
|
2,
|
|
@@ -8954,7 +8954,7 @@ exports[`validate config the flat config with vitest is correct for index.js 1`]
|
|
|
8954
8954
|
2,
|
|
8955
8955
|
],
|
|
8956
8956
|
"sonarjs/no-mixed-content": [
|
|
8957
|
-
|
|
8957
|
+
0,
|
|
8958
8958
|
],
|
|
8959
8959
|
"sonarjs/no-nested-assignment": [
|
|
8960
8960
|
2,
|
|
@@ -9043,6 +9043,9 @@ exports[`validate config the flat config with vitest is correct for index.js 1`]
|
|
|
9043
9043
|
"sonarjs/no-table-as-layout": [
|
|
9044
9044
|
2,
|
|
9045
9045
|
],
|
|
9046
|
+
"sonarjs/no-trivial-assertions": [
|
|
9047
|
+
2,
|
|
9048
|
+
],
|
|
9046
9049
|
"sonarjs/no-try-promise": [
|
|
9047
9050
|
2,
|
|
9048
9051
|
],
|
|
@@ -9091,9 +9094,6 @@ exports[`validate config the flat config with vitest is correct for index.js 1`]
|
|
|
9091
9094
|
"sonarjs/no-variable-usage-before-declaration": [
|
|
9092
9095
|
0,
|
|
9093
9096
|
],
|
|
9094
|
-
"sonarjs/no-vue-bypass-sanitization": [
|
|
9095
|
-
0,
|
|
9096
|
-
],
|
|
9097
9097
|
"sonarjs/no-weak-cipher": [
|
|
9098
9098
|
2,
|
|
9099
9099
|
],
|
|
@@ -9119,7 +9119,7 @@ exports[`validate config the flat config with vitest is correct for index.js 1`]
|
|
|
9119
9119
|
0,
|
|
9120
9120
|
],
|
|
9121
9121
|
"sonarjs/os-command": [
|
|
9122
|
-
|
|
9122
|
+
0,
|
|
9123
9123
|
],
|
|
9124
9124
|
"sonarjs/post-message": [
|
|
9125
9125
|
2,
|
|
@@ -9151,15 +9151,15 @@ exports[`validate config the flat config with vitest is correct for index.js 1`]
|
|
|
9151
9151
|
"sonarjs/prefer-single-boolean-return": [
|
|
9152
9152
|
2,
|
|
9153
9153
|
],
|
|
9154
|
+
"sonarjs/prefer-specific-assertions": [
|
|
9155
|
+
2,
|
|
9156
|
+
],
|
|
9154
9157
|
"sonarjs/prefer-type-guard": [
|
|
9155
9158
|
2,
|
|
9156
9159
|
],
|
|
9157
9160
|
"sonarjs/prefer-while": [
|
|
9158
9161
|
2,
|
|
9159
9162
|
],
|
|
9160
|
-
"sonarjs/process-argv": [
|
|
9161
|
-
0,
|
|
9162
|
-
],
|
|
9163
9163
|
"sonarjs/production-debug": [
|
|
9164
9164
|
2,
|
|
9165
9165
|
],
|
|
@@ -9184,9 +9184,6 @@ exports[`validate config the flat config with vitest is correct for index.js 1`]
|
|
|
9184
9184
|
"threshold": 20,
|
|
9185
9185
|
},
|
|
9186
9186
|
],
|
|
9187
|
-
"sonarjs/regular-expr": [
|
|
9188
|
-
0,
|
|
9189
|
-
],
|
|
9190
9187
|
"sonarjs/review-blockchain-mnemonic": [
|
|
9191
9188
|
2,
|
|
9192
9189
|
],
|
|
@@ -9205,18 +9202,12 @@ exports[`validate config the flat config with vitest is correct for index.js 1`]
|
|
|
9205
9202
|
"sonarjs/slow-regex": [
|
|
9206
9203
|
2,
|
|
9207
9204
|
],
|
|
9208
|
-
"sonarjs/sockets": [
|
|
9209
|
-
0,
|
|
9210
|
-
],
|
|
9211
9205
|
"sonarjs/sql-queries": [
|
|
9212
9206
|
2,
|
|
9213
9207
|
],
|
|
9214
9208
|
"sonarjs/stable-tests": [
|
|
9215
9209
|
2,
|
|
9216
9210
|
],
|
|
9217
|
-
"sonarjs/standard-input": [
|
|
9218
|
-
0,
|
|
9219
|
-
],
|
|
9220
9211
|
"sonarjs/stateful-regex": [
|
|
9221
9212
|
2,
|
|
9222
9213
|
],
|
|
@@ -9226,6 +9217,9 @@ exports[`validate config the flat config with vitest is correct for index.js 1`]
|
|
|
9226
9217
|
"sonarjs/strings-comparison": [
|
|
9227
9218
|
0,
|
|
9228
9219
|
],
|
|
9220
|
+
"sonarjs/super-linear-regex": [
|
|
9221
|
+
2,
|
|
9222
|
+
],
|
|
9229
9223
|
"sonarjs/table-header": [
|
|
9230
9224
|
2,
|
|
9231
9225
|
],
|
|
@@ -9292,9 +9286,6 @@ exports[`validate config the flat config with vitest is correct for index.js 1`]
|
|
|
9292
9286
|
"sonarjs/xml-parser-xxe": [
|
|
9293
9287
|
2,
|
|
9294
9288
|
],
|
|
9295
|
-
"sonarjs/xpath": [
|
|
9296
|
-
0,
|
|
9297
|
-
],
|
|
9298
9289
|
"space-after-function-name": [
|
|
9299
9290
|
0,
|
|
9300
9291
|
],
|
|
@@ -9796,6 +9787,12 @@ exports[`validate config the flat config with vitest is correct for index.js 1`]
|
|
|
9796
9787
|
"vitest/require-local-test-context-for-concurrent-snapshots": [
|
|
9797
9788
|
2,
|
|
9798
9789
|
],
|
|
9790
|
+
"vitest/unbound-method": [
|
|
9791
|
+
2,
|
|
9792
|
+
{
|
|
9793
|
+
"ignoreStatic": false,
|
|
9794
|
+
},
|
|
9795
|
+
],
|
|
9799
9796
|
"vitest/valid-describe-callback": [
|
|
9800
9797
|
2,
|
|
9801
9798
|
],
|
|
@@ -11801,6 +11798,9 @@ exports[`validate config the flat config with vitest is correct for index.mjs 1`
|
|
|
11801
11798
|
"sonarjs/assertions-in-tests": [
|
|
11802
11799
|
2,
|
|
11803
11800
|
],
|
|
11801
|
+
"sonarjs/async-test-assertions": [
|
|
11802
|
+
2,
|
|
11803
|
+
],
|
|
11804
11804
|
"sonarjs/aws-apigateway-public-api": [
|
|
11805
11805
|
2,
|
|
11806
11806
|
],
|
|
@@ -11843,9 +11843,6 @@ exports[`validate config the flat config with vitest is correct for index.mjs 1`
|
|
|
11843
11843
|
"sonarjs/aws-s3-bucket-public-access": [
|
|
11844
11844
|
2,
|
|
11845
11845
|
],
|
|
11846
|
-
"sonarjs/aws-s3-bucket-server-encryption": [
|
|
11847
|
-
0,
|
|
11848
|
-
],
|
|
11849
11846
|
"sonarjs/aws-s3-bucket-versioning": [
|
|
11850
11847
|
2,
|
|
11851
11848
|
],
|
|
@@ -11870,9 +11867,6 @@ exports[`validate config the flat config with vitest is correct for index.mjs 1`
|
|
|
11870
11867
|
"sonarjs/call-argument-line": [
|
|
11871
11868
|
2,
|
|
11872
11869
|
],
|
|
11873
|
-
"sonarjs/certificate-transparency": [
|
|
11874
|
-
0,
|
|
11875
|
-
],
|
|
11876
11870
|
"sonarjs/chai-determinate-assertion": [
|
|
11877
11871
|
2,
|
|
11878
11872
|
],
|
|
@@ -11910,7 +11904,7 @@ exports[`validate config the flat config with vitest is correct for index.mjs 1`
|
|
|
11910
11904
|
0,
|
|
11911
11905
|
],
|
|
11912
11906
|
"sonarjs/confidential-information-logging": [
|
|
11913
|
-
|
|
11907
|
+
0,
|
|
11914
11908
|
],
|
|
11915
11909
|
"sonarjs/constructor-for-side-effects": [
|
|
11916
11910
|
2,
|
|
@@ -11928,9 +11922,6 @@ exports[`validate config the flat config with vitest is correct for index.mjs 1`
|
|
|
11928
11922
|
"sonarjs/cookie-no-httponly": [
|
|
11929
11923
|
2,
|
|
11930
11924
|
],
|
|
11931
|
-
"sonarjs/cookies": [
|
|
11932
|
-
0,
|
|
11933
|
-
],
|
|
11934
11925
|
"sonarjs/cors": [
|
|
11935
11926
|
2,
|
|
11936
11927
|
],
|
|
@@ -11964,9 +11955,6 @@ exports[`validate config the flat config with vitest is correct for index.mjs 1`
|
|
|
11964
11955
|
"sonarjs/disabled-timeout": [
|
|
11965
11956
|
2,
|
|
11966
11957
|
],
|
|
11967
|
-
"sonarjs/dns-prefetching": [
|
|
11968
|
-
0,
|
|
11969
|
-
],
|
|
11970
11958
|
"sonarjs/dompurify-unsafe-config": [
|
|
11971
11959
|
2,
|
|
11972
11960
|
],
|
|
@@ -11982,9 +11970,6 @@ exports[`validate config the flat config with vitest is correct for index.mjs 1`
|
|
|
11982
11970
|
"sonarjs/empty-string-repetition": [
|
|
11983
11971
|
2,
|
|
11984
11972
|
],
|
|
11985
|
-
"sonarjs/encryption": [
|
|
11986
|
-
0,
|
|
11987
|
-
],
|
|
11988
11973
|
"sonarjs/encryption-secure-mode": [
|
|
11989
11974
|
2,
|
|
11990
11975
|
],
|
|
@@ -12023,7 +12008,7 @@ exports[`validate config the flat config with vitest is correct for index.mjs 1`
|
|
|
12023
12008
|
2,
|
|
12024
12009
|
],
|
|
12025
12010
|
"sonarjs/frame-ancestors": [
|
|
12026
|
-
|
|
12011
|
+
0,
|
|
12027
12012
|
],
|
|
12028
12013
|
"sonarjs/function-inside-loop": [
|
|
12029
12014
|
2,
|
|
@@ -12050,6 +12035,9 @@ exports[`validate config the flat config with vitest is correct for index.mjs 1`
|
|
|
12050
12035
|
2,
|
|
12051
12036
|
],
|
|
12052
12037
|
"sonarjs/hidden-files": [
|
|
12038
|
+
0,
|
|
12039
|
+
],
|
|
12040
|
+
"sonarjs/hooks-before-test-cases": [
|
|
12053
12041
|
2,
|
|
12054
12042
|
],
|
|
12055
12043
|
"sonarjs/in-operator-type-error": [
|
|
@@ -12153,7 +12141,7 @@ exports[`validate config the flat config with vitest is correct for index.mjs 1`
|
|
|
12153
12141
|
2,
|
|
12154
12142
|
],
|
|
12155
12143
|
"sonarjs/no-commented-code": [
|
|
12156
|
-
|
|
12144
|
+
0,
|
|
12157
12145
|
],
|
|
12158
12146
|
"sonarjs/no-control-regex": [
|
|
12159
12147
|
2,
|
|
@@ -12174,6 +12162,9 @@ exports[`validate config the flat config with vitest is correct for index.mjs 1`
|
|
|
12174
12162
|
"threshold": 3,
|
|
12175
12163
|
},
|
|
12176
12164
|
],
|
|
12165
|
+
"sonarjs/no-duplicate-test-title": [
|
|
12166
|
+
2,
|
|
12167
|
+
],
|
|
12177
12168
|
"sonarjs/no-duplicated-branches": [
|
|
12178
12169
|
2,
|
|
12179
12170
|
],
|
|
@@ -12198,6 +12189,9 @@ exports[`validate config the flat config with vitest is correct for index.mjs 1`
|
|
|
12198
12189
|
"sonarjs/no-empty-test-file": [
|
|
12199
12190
|
2,
|
|
12200
12191
|
],
|
|
12192
|
+
"sonarjs/no-empty-test-title": [
|
|
12193
|
+
2,
|
|
12194
|
+
],
|
|
12201
12195
|
"sonarjs/no-equals-in-for-termination": [
|
|
12202
12196
|
2,
|
|
12203
12197
|
],
|
|
@@ -12210,9 +12204,15 @@ exports[`validate config the flat config with vitest is correct for index.mjs 1`
|
|
|
12210
12204
|
"sonarjs/no-fallthrough": [
|
|
12211
12205
|
2,
|
|
12212
12206
|
],
|
|
12207
|
+
"sonarjs/no-floating-point-equality": [
|
|
12208
|
+
2,
|
|
12209
|
+
],
|
|
12213
12210
|
"sonarjs/no-for-in-iterable": [
|
|
12214
12211
|
0,
|
|
12215
12212
|
],
|
|
12213
|
+
"sonarjs/no-forced-browser-interaction": [
|
|
12214
|
+
2,
|
|
12215
|
+
],
|
|
12216
12216
|
"sonarjs/no-function-declaration-in-block": [
|
|
12217
12217
|
0,
|
|
12218
12218
|
],
|
|
@@ -12277,6 +12277,9 @@ exports[`validate config the flat config with vitest is correct for index.mjs 1`
|
|
|
12277
12277
|
"sonarjs/no-in-misuse": [
|
|
12278
12278
|
2,
|
|
12279
12279
|
],
|
|
12280
|
+
"sonarjs/no-incompatible-assertion-types": [
|
|
12281
|
+
2,
|
|
12282
|
+
],
|
|
12280
12283
|
"sonarjs/no-incomplete-assertions": [
|
|
12281
12284
|
2,
|
|
12282
12285
|
],
|
|
@@ -12290,7 +12293,7 @@ exports[`validate config the flat config with vitest is correct for index.mjs 1`
|
|
|
12290
12293
|
2,
|
|
12291
12294
|
],
|
|
12292
12295
|
"sonarjs/no-intrusive-permissions": [
|
|
12293
|
-
|
|
12296
|
+
0,
|
|
12294
12297
|
{
|
|
12295
12298
|
"permissions": [
|
|
12296
12299
|
"geolocation",
|
|
@@ -12307,7 +12310,7 @@ exports[`validate config the flat config with vitest is correct for index.mjs 1`
|
|
|
12307
12310
|
2,
|
|
12308
12311
|
],
|
|
12309
12312
|
"sonarjs/no-ip-forward": [
|
|
12310
|
-
|
|
12313
|
+
0,
|
|
12311
12314
|
],
|
|
12312
12315
|
"sonarjs/no-labels": [
|
|
12313
12316
|
2,
|
|
@@ -12325,7 +12328,7 @@ exports[`validate config the flat config with vitest is correct for index.mjs 1`
|
|
|
12325
12328
|
2,
|
|
12326
12329
|
],
|
|
12327
12330
|
"sonarjs/no-mixed-content": [
|
|
12328
|
-
|
|
12331
|
+
0,
|
|
12329
12332
|
],
|
|
12330
12333
|
"sonarjs/no-nested-assignment": [
|
|
12331
12334
|
2,
|
|
@@ -12414,6 +12417,9 @@ exports[`validate config the flat config with vitest is correct for index.mjs 1`
|
|
|
12414
12417
|
"sonarjs/no-table-as-layout": [
|
|
12415
12418
|
2,
|
|
12416
12419
|
],
|
|
12420
|
+
"sonarjs/no-trivial-assertions": [
|
|
12421
|
+
2,
|
|
12422
|
+
],
|
|
12417
12423
|
"sonarjs/no-try-promise": [
|
|
12418
12424
|
2,
|
|
12419
12425
|
],
|
|
@@ -12462,9 +12468,6 @@ exports[`validate config the flat config with vitest is correct for index.mjs 1`
|
|
|
12462
12468
|
"sonarjs/no-variable-usage-before-declaration": [
|
|
12463
12469
|
0,
|
|
12464
12470
|
],
|
|
12465
|
-
"sonarjs/no-vue-bypass-sanitization": [
|
|
12466
|
-
0,
|
|
12467
|
-
],
|
|
12468
12471
|
"sonarjs/no-weak-cipher": [
|
|
12469
12472
|
2,
|
|
12470
12473
|
],
|
|
@@ -12490,7 +12493,7 @@ exports[`validate config the flat config with vitest is correct for index.mjs 1`
|
|
|
12490
12493
|
0,
|
|
12491
12494
|
],
|
|
12492
12495
|
"sonarjs/os-command": [
|
|
12493
|
-
|
|
12496
|
+
0,
|
|
12494
12497
|
],
|
|
12495
12498
|
"sonarjs/post-message": [
|
|
12496
12499
|
2,
|
|
@@ -12522,15 +12525,15 @@ exports[`validate config the flat config with vitest is correct for index.mjs 1`
|
|
|
12522
12525
|
"sonarjs/prefer-single-boolean-return": [
|
|
12523
12526
|
2,
|
|
12524
12527
|
],
|
|
12528
|
+
"sonarjs/prefer-specific-assertions": [
|
|
12529
|
+
2,
|
|
12530
|
+
],
|
|
12525
12531
|
"sonarjs/prefer-type-guard": [
|
|
12526
12532
|
2,
|
|
12527
12533
|
],
|
|
12528
12534
|
"sonarjs/prefer-while": [
|
|
12529
12535
|
2,
|
|
12530
12536
|
],
|
|
12531
|
-
"sonarjs/process-argv": [
|
|
12532
|
-
0,
|
|
12533
|
-
],
|
|
12534
12537
|
"sonarjs/production-debug": [
|
|
12535
12538
|
2,
|
|
12536
12539
|
],
|
|
@@ -12555,9 +12558,6 @@ exports[`validate config the flat config with vitest is correct for index.mjs 1`
|
|
|
12555
12558
|
"threshold": 20,
|
|
12556
12559
|
},
|
|
12557
12560
|
],
|
|
12558
|
-
"sonarjs/regular-expr": [
|
|
12559
|
-
0,
|
|
12560
|
-
],
|
|
12561
12561
|
"sonarjs/review-blockchain-mnemonic": [
|
|
12562
12562
|
2,
|
|
12563
12563
|
],
|
|
@@ -12576,18 +12576,12 @@ exports[`validate config the flat config with vitest is correct for index.mjs 1`
|
|
|
12576
12576
|
"sonarjs/slow-regex": [
|
|
12577
12577
|
2,
|
|
12578
12578
|
],
|
|
12579
|
-
"sonarjs/sockets": [
|
|
12580
|
-
0,
|
|
12581
|
-
],
|
|
12582
12579
|
"sonarjs/sql-queries": [
|
|
12583
12580
|
2,
|
|
12584
12581
|
],
|
|
12585
12582
|
"sonarjs/stable-tests": [
|
|
12586
12583
|
2,
|
|
12587
12584
|
],
|
|
12588
|
-
"sonarjs/standard-input": [
|
|
12589
|
-
0,
|
|
12590
|
-
],
|
|
12591
12585
|
"sonarjs/stateful-regex": [
|
|
12592
12586
|
2,
|
|
12593
12587
|
],
|
|
@@ -12597,6 +12591,9 @@ exports[`validate config the flat config with vitest is correct for index.mjs 1`
|
|
|
12597
12591
|
"sonarjs/strings-comparison": [
|
|
12598
12592
|
0,
|
|
12599
12593
|
],
|
|
12594
|
+
"sonarjs/super-linear-regex": [
|
|
12595
|
+
2,
|
|
12596
|
+
],
|
|
12600
12597
|
"sonarjs/table-header": [
|
|
12601
12598
|
2,
|
|
12602
12599
|
],
|
|
@@ -12663,9 +12660,6 @@ exports[`validate config the flat config with vitest is correct for index.mjs 1`
|
|
|
12663
12660
|
"sonarjs/xml-parser-xxe": [
|
|
12664
12661
|
2,
|
|
12665
12662
|
],
|
|
12666
|
-
"sonarjs/xpath": [
|
|
12667
|
-
0,
|
|
12668
|
-
],
|
|
12669
12663
|
"space-after-function-name": [
|
|
12670
12664
|
0,
|
|
12671
12665
|
],
|
|
@@ -13167,6 +13161,12 @@ exports[`validate config the flat config with vitest is correct for index.mjs 1`
|
|
|
13167
13161
|
"vitest/require-local-test-context-for-concurrent-snapshots": [
|
|
13168
13162
|
2,
|
|
13169
13163
|
],
|
|
13164
|
+
"vitest/unbound-method": [
|
|
13165
|
+
2,
|
|
13166
|
+
{
|
|
13167
|
+
"ignoreStatic": false,
|
|
13168
|
+
},
|
|
13169
|
+
],
|
|
13170
13170
|
"vitest/valid-describe-callback": [
|
|
13171
13171
|
2,
|
|
13172
13172
|
],
|
|
Binary file
|