@biomejs/biome 1.9.3 → 1.9.5-nightly.92879ae

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/README.hi.md CHANGED
@@ -15,7 +15,7 @@
15
15
  [![Open VSX version][open-vsx-badge]][open-vsx-url]
16
16
 
17
17
  [discord-badge]: https://badgen.net/discord/online-members/BypW39g6Yc?icon=discord&label=discord&color=green
18
- [discord-url]: https://discord.gg/BypW39g6Yc
18
+ [discord-url]: https://biomejs.dev/chat
19
19
  [ci-badge]: https://github.com/biomejs/biome/actions/workflows/main.yml/badge.svg
20
20
  [ci-url]: https://github.com/biomejs/biome/actions/workflows/main.yml
21
21
  [npm-badge]: https://badgen.net/npm/v/@biomejs/biome?icon=npm&color=green&label=%40biomejs%2Fbiome
package/README.ja.md CHANGED
@@ -15,7 +15,7 @@
15
15
  [![Open VSX version][open-vsx-badge]][open-vsx-url]
16
16
 
17
17
  [discord-badge]: https://badgen.net/discord/online-members/BypW39g6Yc?icon=discord&label=discord&color=green
18
- [discord-url]: https://discord.gg/BypW39g6Yc
18
+ [discord-url]: https://biomejs.dev/chat
19
19
  [ci-badge]: https://github.com/biomejs/biome/actions/workflows/main.yml/badge.svg
20
20
  [ci-url]: https://github.com/biomejs/biome/actions/workflows/main.yml
21
21
  [npm-badge]: https://badgen.net/npm/v/@biomejs/biome?icon=npm&color=green&label=%40biomejs%2Fbiome
package/README.kr.md CHANGED
@@ -15,7 +15,7 @@
15
15
  [![Open VSX version][open-vsx-badge]][open-vsx-url]
16
16
 
17
17
  [discord-badge]: https://badgen.net/discord/online-members/BypW39g6Yc?icon=discord&label=discord&color=green
18
- [discord-url]: https://discord.gg/BypW39g6Yc
18
+ [discord-url]: https://biomejs.dev/chat
19
19
  [ci-badge]: https://github.com/biomejs/biome/actions/workflows/main.yml/badge.svg
20
20
  [ci-url]: https://github.com/biomejs/biome/actions/workflows/main.yml
21
21
  [npm-badge]: https://badgen.net/npm/v/@biomejs/biome?icon=npm&color=green&label=%40biomejs%2Fbiome
package/README.md CHANGED
@@ -18,7 +18,7 @@
18
18
  [ci-badge]: https://github.com/biomejs/biome/actions/workflows/main.yml/badge.svg
19
19
  [ci-url]: https://github.com/biomejs/biome/actions/workflows/main.yml
20
20
  [discord-badge]: https://badgen.net/discord/online-members/BypW39g6Yc?icon=discord&label=discord&color=60a5fa
21
- [discord-url]: https://discord.gg/BypW39g6Yc
21
+ [discord-url]: https://biomejs.dev/chat
22
22
  [npm-badge]: https://badgen.net/npm/v/@biomejs/biome?icon=npm&color=60a5fa&label=%40biomejs%2Fbiome
23
23
  [npm-url]: https://www.npmjs.com/package/@biomejs/biome/v/latest
24
24
  [vscode-badge]: https://badgen.net/vs-marketplace/v/biomejs.biome?label=vscode&icon=visualstudio&color=60a5fa
package/README.pt-BR.md CHANGED
@@ -15,7 +15,7 @@
15
15
  [![versão Open VSX][open-vsx-badge]][open-vsx-url]
16
16
 
17
17
  [discord-badge]: https://badgen.net/discord/online-members/BypW39g6Yc?icon=discord&label=discord&color=green
18
- [discord-url]: https://discord.gg/BypW39g6Yc
18
+ [discord-url]: https://biomejs.dev/chat
19
19
  [ci-badge]: https://github.com/biomejs/biome/actions/workflows/main.yml/badge.svg
20
20
  [ci-url]: https://github.com/biomejs/biome/actions/workflows/main.yml
21
21
  [npm-badge]: https://badgen.net/npm/v/@biomejs/biome?icon=npm&color=green&label=%40biomejs%2Fbiome
package/README.zh-CN.md CHANGED
@@ -15,7 +15,7 @@
15
15
  [![Open VSX version][open-vsx-badge]][open-vsx-url]
16
16
 
17
17
  [discord-badge]: https://badgen.net/discord/online-members/BypW39g6Yc?icon=discord&label=discord&color=green
18
- [discord-url]: https://discord.gg/BypW39g6Yc
18
+ [discord-url]: https://biomejs.dev/chat
19
19
  [ci-badge]: https://github.com/biomejs/biome/actions/workflows/main.yml/badge.svg
20
20
  [ci-url]: https://github.com/biomejs/biome/actions/workflows/main.yml
21
21
  [npm-badge]: https://badgen.net/npm/v/@biomejs/biome?icon=npm&color=green&label=%40biomejs%2Fbiome
package/README.zh-TW.md CHANGED
@@ -15,7 +15,7 @@
15
15
  [![Open VSX version][open-vsx-badge]][open-vsx-url]
16
16
 
17
17
  [discord-badge]: https://badgen.net/discord/online-members/BypW39g6Yc?icon=discord&label=discord&color=green
18
- [discord-url]: https://discord.gg/BypW39g6Yc
18
+ [discord-url]: https://biomejs.dev/chat
19
19
  [ci-badge]: https://github.com/biomejs/biome/actions/workflows/main.yml/badge.svg
20
20
  [ci-url]: https://github.com/biomejs/biome/actions/workflows/main.yml
21
21
  [npm-badge]: https://badgen.net/npm/v/@biomejs/biome?icon=npm&color=green&label=%40biomejs%2Fbiome
@@ -360,7 +360,6 @@
360
360
  },
361
361
  "AllowDomainOptions": {
362
362
  "type": "object",
363
- "required": ["allowDomains"],
364
363
  "properties": {
365
364
  "allowDomains": {
366
365
  "description": "List of domains to allow `target=\"_blank\"` without `rel=\"noreferrer\"`",
@@ -643,10 +642,10 @@
643
642
  "ComplexityOptions": {
644
643
  "description": "Options for the rule `noExcessiveCognitiveComplexity`.",
645
644
  "type": "object",
646
- "required": ["maxAllowedComplexity"],
647
645
  "properties": {
648
646
  "maxAllowedComplexity": {
649
647
  "description": "The maximum complexity score that we allow. Anything higher is considered excessive.",
648
+ "default": 15,
650
649
  "type": "integer",
651
650
  "format": "uint8",
652
651
  "minimum": 1.0
@@ -676,9 +675,11 @@
676
675
  },
677
676
  "ConsistentArrayTypeOptions": {
678
677
  "type": "object",
679
- "required": ["syntax"],
680
678
  "properties": {
681
- "syntax": { "$ref": "#/definitions/ConsistentArrayType" }
679
+ "syntax": {
680
+ "default": "shorthand",
681
+ "allOf": [{ "$ref": "#/definitions/ConsistentArrayType" }]
682
+ }
682
683
  },
683
684
  "additionalProperties": false
684
685
  },
@@ -690,9 +691,11 @@
690
691
  },
691
692
  "ConsistentMemberAccessibilityOptions": {
692
693
  "type": "object",
693
- "required": ["accessibility"],
694
694
  "properties": {
695
- "accessibility": { "$ref": "#/definitions/Accessibility" }
695
+ "accessibility": {
696
+ "default": "noPublic",
697
+ "allOf": [{ "$ref": "#/definitions/Accessibility" }]
698
+ }
696
699
  },
697
700
  "additionalProperties": false
698
701
  },
@@ -1202,10 +1205,9 @@
1202
1205
  },
1203
1206
  "CustomRestrictedTypeOptions": {
1204
1207
  "type": "object",
1205
- "required": ["message"],
1206
1208
  "properties": {
1207
- "message": { "type": "string" },
1208
- "use": { "type": ["string", "null"] }
1209
+ "message": { "default": "", "type": "string" },
1210
+ "use": { "default": null, "type": ["string", "null"] }
1209
1211
  },
1210
1212
  "additionalProperties": false
1211
1213
  },
@@ -1265,6 +1267,10 @@
1265
1267
  "description": "Allowed cases for file names.",
1266
1268
  "allOf": [{ "$ref": "#/definitions/FilenameCases" }]
1267
1269
  },
1270
+ "match": {
1271
+ "description": "Regular expression to enforce",
1272
+ "anyOf": [{ "$ref": "#/definitions/Regex" }, { "type": "null" }]
1273
+ },
1268
1274
  "requireAscii": {
1269
1275
  "description": "If `false`, then non-ASCII characters are allowed.",
1270
1276
  "type": "boolean"
@@ -1460,23 +1466,29 @@
1460
1466
  },
1461
1467
  "Hook": {
1462
1468
  "type": "object",
1463
- "required": ["name"],
1464
1469
  "properties": {
1465
1470
  "closureIndex": {
1466
1471
  "description": "The \"position\" of the closure function, starting from zero.\n\nFor example, for React's `useEffect()` hook, the closure index is 0.",
1472
+ "default": null,
1467
1473
  "type": ["integer", "null"],
1468
1474
  "format": "uint8",
1469
1475
  "minimum": 0.0
1470
1476
  },
1471
1477
  "dependenciesIndex": {
1472
1478
  "description": "The \"position\" of the array of dependencies, starting from zero.\n\nFor example, for React's `useEffect()` hook, the dependencies index is 1.",
1479
+ "default": null,
1473
1480
  "type": ["integer", "null"],
1474
1481
  "format": "uint8",
1475
1482
  "minimum": 0.0
1476
1483
  },
1477
- "name": { "description": "The name of the hook.", "type": "string" },
1484
+ "name": {
1485
+ "description": "The name of the hook.",
1486
+ "default": "",
1487
+ "type": "string"
1488
+ },
1478
1489
  "stableResult": {
1479
1490
  "description": "Whether the result of the hook is stable.\n\nSet to `true` to mark the identity of the hook's return value as stable, or use a number/an array of numbers to mark the \"positions\" in the return array as stable.\n\nFor example, for React's `useRef()` hook the value would be `true`, while for `useState()` it would be `[1]`.",
1491
+ "default": null,
1480
1492
  "anyOf": [
1481
1493
  { "$ref": "#/definitions/StableHookResult" },
1482
1494
  { "type": "null" }
@@ -2040,9 +2052,9 @@
2040
2052
  },
2041
2053
  "NoRestrictedTypesOptions": {
2042
2054
  "type": "object",
2043
- "required": ["types"],
2044
2055
  "properties": {
2045
2056
  "types": {
2057
+ "default": {},
2046
2058
  "type": "object",
2047
2059
  "additionalProperties": {
2048
2060
  "$ref": "#/definitions/CustomRestrictedType"
@@ -2051,6 +2063,24 @@
2051
2063
  },
2052
2064
  "additionalProperties": false
2053
2065
  },
2066
+ "NoSecretsConfiguration": {
2067
+ "anyOf": [
2068
+ { "$ref": "#/definitions/RulePlainConfiguration" },
2069
+ { "$ref": "#/definitions/RuleWithNoSecretsOptions" }
2070
+ ]
2071
+ },
2072
+ "NoSecretsOptions": {
2073
+ "type": "object",
2074
+ "properties": {
2075
+ "entropyThreshold": {
2076
+ "description": "Set entropy threshold (default is 41).",
2077
+ "type": ["integer", "null"],
2078
+ "format": "uint16",
2079
+ "minimum": 0.0
2080
+ }
2081
+ },
2082
+ "additionalProperties": false
2083
+ },
2054
2084
  "Nursery": {
2055
2085
  "description": "A list of rules that belong to this group",
2056
2086
  "type": "object",
@@ -2073,6 +2103,20 @@
2073
2103
  { "type": "null" }
2074
2104
  ]
2075
2105
  },
2106
+ "noDocumentCookie": {
2107
+ "description": "Disallow direct assignments to document.cookie.",
2108
+ "anyOf": [
2109
+ { "$ref": "#/definitions/RuleConfiguration" },
2110
+ { "type": "null" }
2111
+ ]
2112
+ },
2113
+ "noDocumentImportInPage": {
2114
+ "description": "Prevents importing next/document outside of pages/_document.jsx in Next.js projects.",
2115
+ "anyOf": [
2116
+ { "$ref": "#/definitions/RuleConfiguration" },
2117
+ { "type": "null" }
2118
+ ]
2119
+ },
2076
2120
  "noDuplicateCustomProperties": {
2077
2121
  "description": "Disallow duplicate custom properties within declaration blocks.",
2078
2122
  "anyOf": [
@@ -2087,6 +2131,13 @@
2087
2131
  { "type": "null" }
2088
2132
  ]
2089
2133
  },
2134
+ "noDuplicateProperties": {
2135
+ "description": "Disallow duplicate properties within declaration blocks.",
2136
+ "anyOf": [
2137
+ { "$ref": "#/definitions/RuleConfiguration" },
2138
+ { "type": "null" }
2139
+ ]
2140
+ },
2090
2141
  "noDuplicatedFields": {
2091
2142
  "description": "No duplicated fields in GraphQL operations.",
2092
2143
  "anyOf": [
@@ -2115,6 +2166,27 @@
2115
2166
  { "type": "null" }
2116
2167
  ]
2117
2168
  },
2169
+ "noHeadElement": {
2170
+ "description": "Prevent usage of \\<head> element in a Next.js project.",
2171
+ "anyOf": [
2172
+ { "$ref": "#/definitions/RuleConfiguration" },
2173
+ { "type": "null" }
2174
+ ]
2175
+ },
2176
+ "noHeadImportInDocument": {
2177
+ "description": "Prevent using the next/head module in pages/_document.js on Next.js projects.",
2178
+ "anyOf": [
2179
+ { "$ref": "#/definitions/RuleConfiguration" },
2180
+ { "type": "null" }
2181
+ ]
2182
+ },
2183
+ "noImgElement": {
2184
+ "description": "Prevent usage of \\<img> element in a Next.js project.",
2185
+ "anyOf": [
2186
+ { "$ref": "#/definitions/RuleConfiguration" },
2187
+ { "type": "null" }
2188
+ ]
2189
+ },
2118
2190
  "noIrregularWhitespace": {
2119
2191
  "description": "Disallows the use of irregular whitespace characters.",
2120
2192
  "anyOf": [
@@ -2167,7 +2239,7 @@
2167
2239
  "noSecrets": {
2168
2240
  "description": "Disallow usage of sensitive data such as API keys and tokens.",
2169
2241
  "anyOf": [
2170
- { "$ref": "#/definitions/RuleConfiguration" },
2242
+ { "$ref": "#/definitions/NoSecretsConfiguration" },
2171
2243
  { "type": "null" }
2172
2244
  ]
2173
2245
  },
@@ -2206,6 +2278,13 @@
2206
2278
  { "type": "null" }
2207
2279
  ]
2208
2280
  },
2281
+ "noUnknownTypeSelector": {
2282
+ "description": "Disallow unknown type selectors.",
2283
+ "anyOf": [
2284
+ { "$ref": "#/definitions/RuleConfiguration" },
2285
+ { "type": "null" }
2286
+ ]
2287
+ },
2209
2288
  "noUselessEscapeInRegex": {
2210
2289
  "description": "Disallow unnecessary escape sequence in regular expression literals.",
2211
2290
  "anyOf": [
@@ -2213,6 +2292,20 @@
2213
2292
  { "type": "null" }
2214
2293
  ]
2215
2294
  },
2295
+ "noUselessStringRaw": {
2296
+ "description": "Disallow unnecessary String.raw function in template string literals without any escape sequence.",
2297
+ "anyOf": [
2298
+ { "$ref": "#/definitions/RuleConfiguration" },
2299
+ { "type": "null" }
2300
+ ]
2301
+ },
2302
+ "noUselessUndefined": {
2303
+ "description": "Disallow the use of useless undefined.",
2304
+ "anyOf": [
2305
+ { "$ref": "#/definitions/RuleFixConfiguration" },
2306
+ { "type": "null" }
2307
+ ]
2308
+ },
2216
2309
  "noValueAtRule": {
2217
2310
  "description": "Disallow use of @value rule in css modules.",
2218
2311
  "anyOf": [
@@ -2238,6 +2331,20 @@
2238
2331
  { "type": "null" }
2239
2332
  ]
2240
2333
  },
2334
+ "useAtIndex": {
2335
+ "description": "Use at() instead of integer index access.",
2336
+ "anyOf": [
2337
+ { "$ref": "#/definitions/RuleFixConfiguration" },
2338
+ { "type": "null" }
2339
+ ]
2340
+ },
2341
+ "useCollapsedIf": {
2342
+ "description": "Enforce using single if instead of nested if clauses.",
2343
+ "anyOf": [
2344
+ { "$ref": "#/definitions/RuleFixConfiguration" },
2345
+ { "type": "null" }
2346
+ ]
2347
+ },
2241
2348
  "useComponentExportOnlyModules": {
2242
2349
  "description": "Enforce declaring components only within modules that export React Components exclusively.",
2243
2350
  "anyOf": [
@@ -2270,13 +2377,27 @@
2270
2377
  { "type": "null" }
2271
2378
  ]
2272
2379
  },
2273
- "useExplicitFunctionReturnType": {
2380
+ "useExplicitType": {
2274
2381
  "description": "Require explicit return types on functions and class methods.",
2275
2382
  "anyOf": [
2276
2383
  { "$ref": "#/definitions/RuleConfiguration" },
2277
2384
  { "type": "null" }
2278
2385
  ]
2279
2386
  },
2387
+ "useGoogleFontDisplay": {
2388
+ "description": "Enforces the use of a recommended display strategy with Google Fonts.",
2389
+ "anyOf": [
2390
+ { "$ref": "#/definitions/RuleConfiguration" },
2391
+ { "type": "null" }
2392
+ ]
2393
+ },
2394
+ "useGuardForIn": {
2395
+ "description": "Require for-in loops to include an if statement.",
2396
+ "anyOf": [
2397
+ { "$ref": "#/definitions/RuleConfiguration" },
2398
+ { "type": "null" }
2399
+ ]
2400
+ },
2280
2401
  "useImportRestrictions": {
2281
2402
  "description": "Disallows package private imports.",
2282
2403
  "anyOf": [
@@ -2531,7 +2652,6 @@
2531
2652
  "RestrictedGlobalsOptions": {
2532
2653
  "description": "Options for the rule `noRestrictedGlobals`.",
2533
2654
  "type": "object",
2534
- "required": ["deniedGlobals"],
2535
2655
  "properties": {
2536
2656
  "deniedGlobals": {
2537
2657
  "description": "A list of names that should trigger the rule",
@@ -2550,7 +2670,6 @@
2550
2670
  "RestrictedImportsOptions": {
2551
2671
  "description": "Options for the rule `noRestrictedImports`.",
2552
2672
  "type": "object",
2553
- "required": ["paths"],
2554
2673
  "properties": {
2555
2674
  "paths": {
2556
2675
  "description": "A list of names that should trigger the rule",
@@ -2798,6 +2917,21 @@
2798
2917
  },
2799
2918
  "additionalProperties": false
2800
2919
  },
2920
+ "RuleWithNoSecretsOptions": {
2921
+ "type": "object",
2922
+ "required": ["level"],
2923
+ "properties": {
2924
+ "level": {
2925
+ "description": "The severity of the emitted diagnostics by the rule",
2926
+ "allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
2927
+ },
2928
+ "options": {
2929
+ "description": "Rule's options",
2930
+ "allOf": [{ "$ref": "#/definitions/NoSecretsOptions" }]
2931
+ }
2932
+ },
2933
+ "additionalProperties": false
2934
+ },
2801
2935
  "RuleWithRestrictedGlobalsOptions": {
2802
2936
  "type": "object",
2803
2937
  "required": ["level"],
@@ -2881,6 +3015,25 @@
2881
3015
  },
2882
3016
  "additionalProperties": false
2883
3017
  },
3018
+ "RuleWithUseSelfClosingElementsOptions": {
3019
+ "type": "object",
3020
+ "required": ["level"],
3021
+ "properties": {
3022
+ "fix": {
3023
+ "description": "The kind of the code actions emitted by the rule",
3024
+ "anyOf": [{ "$ref": "#/definitions/FixKind" }, { "type": "null" }]
3025
+ },
3026
+ "level": {
3027
+ "description": "The severity of the emitted diagnostics by the rule",
3028
+ "allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
3029
+ },
3030
+ "options": {
3031
+ "description": "Rule's options",
3032
+ "allOf": [{ "$ref": "#/definitions/UseSelfClosingElementsOptions" }]
3033
+ }
3034
+ },
3035
+ "additionalProperties": false
3036
+ },
2884
3037
  "RuleWithUseValidAutocompleteOptions": {
2885
3038
  "type": "object",
2886
3039
  "required": ["level"],
@@ -3368,7 +3521,7 @@
3368
3521
  "useSelfClosingElements": {
3369
3522
  "description": "Prevent extra closing tags for components without children",
3370
3523
  "anyOf": [
3371
- { "$ref": "#/definitions/RuleFixConfiguration" },
3524
+ { "$ref": "#/definitions/UseSelfClosingElementsConfiguration" },
3372
3525
  { "type": "null" }
3373
3526
  ]
3374
3527
  },
@@ -3440,14 +3593,15 @@
3440
3593
  },
3441
3594
  "SuggestedExtensionMapping": {
3442
3595
  "type": "object",
3443
- "required": ["component", "module"],
3444
3596
  "properties": {
3445
3597
  "component": {
3446
3598
  "description": "Extension that should be used for component file imports",
3599
+ "default": "",
3447
3600
  "type": "string"
3448
3601
  },
3449
3602
  "module": {
3450
3603
  "description": "Extension that should be used for module imports",
3604
+ "default": "",
3451
3605
  "type": "string"
3452
3606
  }
3453
3607
  },
@@ -3786,7 +3940,7 @@
3786
3940
  "noPrototypeBuiltins": {
3787
3941
  "description": "Disallow direct use of Object.prototype builtins.",
3788
3942
  "anyOf": [
3789
- { "$ref": "#/definitions/RuleConfiguration" },
3943
+ { "$ref": "#/definitions/RuleFixConfiguration" },
3790
3944
  { "type": "null" }
3791
3945
  ]
3792
3946
  },
@@ -4009,6 +4163,11 @@
4009
4163
  "type": "array",
4010
4164
  "items": { "$ref": "#/definitions/Hook" }
4011
4165
  },
4166
+ "reportMissingDependenciesArray": {
4167
+ "description": "Whether to report an error when a hook has no dependencies array.",
4168
+ "default": false,
4169
+ "type": "boolean"
4170
+ },
4012
4171
  "reportUnnecessaryDependencies": {
4013
4172
  "description": "Whether to report an error when a dependency is listed in the dependencies array but isn't used. Defaults to true.",
4014
4173
  "default": true,
@@ -4025,10 +4184,10 @@
4025
4184
  },
4026
4185
  "UseImportExtensionsOptions": {
4027
4186
  "type": "object",
4028
- "required": ["suggestedExtensions"],
4029
4187
  "properties": {
4030
4188
  "suggestedExtensions": {
4031
4189
  "description": "A map of custom import extension mappings, where the key is the inspected file extension, and the value is a pair of `module` extension and `component` import extension",
4190
+ "default": {},
4032
4191
  "type": "object",
4033
4192
  "additionalProperties": {
4034
4193
  "$ref": "#/definitions/SuggestedExtensionMapping"
@@ -4037,6 +4196,20 @@
4037
4196
  },
4038
4197
  "additionalProperties": false
4039
4198
  },
4199
+ "UseSelfClosingElementsConfiguration": {
4200
+ "anyOf": [
4201
+ { "$ref": "#/definitions/RulePlainConfiguration" },
4202
+ { "$ref": "#/definitions/RuleWithUseSelfClosingElementsOptions" }
4203
+ ]
4204
+ },
4205
+ "UseSelfClosingElementsOptions": {
4206
+ "description": "Options for the `useSelfClosingElements` rule.",
4207
+ "type": "object",
4208
+ "properties": {
4209
+ "ignoreHtmlElements": { "default": false, "type": "boolean" }
4210
+ },
4211
+ "additionalProperties": false
4212
+ },
4040
4213
  "UseValidAutocompleteConfiguration": {
4041
4214
  "anyOf": [
4042
4215
  { "$ref": "#/definitions/RulePlainConfiguration" },
@@ -4045,10 +4218,10 @@
4045
4218
  },
4046
4219
  "UseValidAutocompleteOptions": {
4047
4220
  "type": "object",
4048
- "required": ["inputComponents"],
4049
4221
  "properties": {
4050
4222
  "inputComponents": {
4051
4223
  "description": "`input` like custom components that should be checked.",
4224
+ "default": [],
4052
4225
  "type": "array",
4053
4226
  "items": { "type": "string" }
4054
4227
  }
@@ -4085,10 +4258,13 @@
4085
4258
  },
4086
4259
  "ValidAriaRoleOptions": {
4087
4260
  "type": "object",
4088
- "required": ["allowInvalidRoles", "ignoreNonDom"],
4089
4261
  "properties": {
4090
- "allowInvalidRoles": { "type": "array", "items": { "type": "string" } },
4091
- "ignoreNonDom": { "type": "boolean" }
4262
+ "allowInvalidRoles": {
4263
+ "default": [],
4264
+ "type": "array",
4265
+ "items": { "type": "string" }
4266
+ },
4267
+ "ignoreNonDom": { "default": false, "type": "boolean" }
4092
4268
  },
4093
4269
  "additionalProperties": false
4094
4270
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biomejs/biome",
3
- "version": "1.9.3",
3
+ "version": "1.9.5-nightly.92879ae",
4
4
  "bin": {
5
5
  "biome": "bin/biome"
6
6
  },
@@ -50,13 +50,13 @@
50
50
  "provenance": true
51
51
  },
52
52
  "optionalDependencies": {
53
- "@biomejs/cli-win32-x64": "1.9.3",
54
- "@biomejs/cli-win32-arm64": "1.9.3",
55
- "@biomejs/cli-darwin-x64": "1.9.3",
56
- "@biomejs/cli-darwin-arm64": "1.9.3",
57
- "@biomejs/cli-linux-x64": "1.9.3",
58
- "@biomejs/cli-linux-arm64": "1.9.3",
59
- "@biomejs/cli-linux-x64-musl": "1.9.3",
60
- "@biomejs/cli-linux-arm64-musl": "1.9.3"
53
+ "@biomejs/cli-win32-x64": "1.9.5-nightly.92879ae",
54
+ "@biomejs/cli-win32-arm64": "1.9.5-nightly.92879ae",
55
+ "@biomejs/cli-darwin-x64": "1.9.5-nightly.92879ae",
56
+ "@biomejs/cli-darwin-arm64": "1.9.5-nightly.92879ae",
57
+ "@biomejs/cli-linux-x64": "1.9.5-nightly.92879ae",
58
+ "@biomejs/cli-linux-arm64": "1.9.5-nightly.92879ae",
59
+ "@biomejs/cli-linux-x64-musl": "1.9.5-nightly.92879ae",
60
+ "@biomejs/cli-linux-arm64-musl": "1.9.5-nightly.92879ae"
61
61
  }
62
62
  }