@biomejs/biome 1.8.4-nightly.d079e53 → 1.9.0

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.
@@ -150,6 +150,13 @@
150
150
  { "type": "null" }
151
151
  ]
152
152
  },
153
+ "noLabelWithoutControl": {
154
+ "description": "Enforce that a label element or component has a text label and an associated input.",
155
+ "anyOf": [
156
+ { "$ref": "#/definitions/NoLabelWithoutControlConfiguration" },
157
+ { "type": "null" }
158
+ ]
159
+ },
153
160
  "noNoninteractiveElementToInteractiveRole": {
154
161
  "description": "Enforce that interactive ARIA roles are not assigned to non-interactive HTML elements.",
155
162
  "anyOf": [
@@ -231,6 +238,20 @@
231
238
  { "type": "null" }
232
239
  ]
233
240
  },
241
+ "useFocusableInteractive": {
242
+ "description": "Elements with an interactive role and interaction handlers must be focusable.",
243
+ "anyOf": [
244
+ { "$ref": "#/definitions/RuleConfiguration" },
245
+ { "type": "null" }
246
+ ]
247
+ },
248
+ "useGenericFontNames": {
249
+ "description": "Disallow a missing generic family keyword within font families.",
250
+ "anyOf": [
251
+ { "$ref": "#/definitions/RuleConfiguration" },
252
+ { "type": "null" }
253
+ ]
254
+ },
234
255
  "useHeadingContent": {
235
256
  "description": "Enforce that heading elements (h1, h2, etc.) have content and that the content is accessible to screen readers. Accessible means that it is not hidden using the aria-hidden prop.",
236
257
  "anyOf": [
@@ -273,6 +294,13 @@
273
294
  { "type": "null" }
274
295
  ]
275
296
  },
297
+ "useSemanticElements": {
298
+ "description": "It detects the use of role attributes in JSX elements and suggests using semantic elements instead.",
299
+ "anyOf": [
300
+ { "$ref": "#/definitions/RuleConfiguration" },
301
+ { "type": "null" }
302
+ ]
303
+ },
276
304
  "useValidAnchor": {
277
305
  "description": "Enforce that all anchors are valid, and they are navigable elements.",
278
306
  "anyOf": [
@@ -311,6 +339,10 @@
311
339
  },
312
340
  "additionalProperties": false
313
341
  },
342
+ "Accessibility": {
343
+ "type": "string",
344
+ "enum": ["noPublic", "explicit", "none"]
345
+ },
314
346
  "Actions": {
315
347
  "type": "object",
316
348
  "properties": {
@@ -483,6 +515,13 @@
483
515
  { "type": "null" }
484
516
  ]
485
517
  },
518
+ "noUselessStringConcat": {
519
+ "description": "Disallow unnecessary concatenation of string or template literals.",
520
+ "anyOf": [
521
+ { "$ref": "#/definitions/RuleFixConfiguration" },
522
+ { "type": "null" }
523
+ ]
524
+ },
486
525
  "noUselessSwitchCase": {
487
526
  "description": "Disallow useless case in switch statements.",
488
527
  "anyOf": [
@@ -511,6 +550,13 @@
511
550
  { "type": "null" }
512
551
  ]
513
552
  },
553
+ "noUselessUndefinedInitialization": {
554
+ "description": "Disallow initializing variables to undefined.",
555
+ "anyOf": [
556
+ { "$ref": "#/definitions/RuleFixConfiguration" },
557
+ { "type": "null" }
558
+ ]
559
+ },
514
560
  "noVoid": {
515
561
  "description": "Disallow the use of void operators, which is not a familiar operator.",
516
562
  "anyOf": [
@@ -536,6 +582,13 @@
536
582
  { "type": "null" }
537
583
  ]
538
584
  },
585
+ "useDateNow": {
586
+ "description": "Use Date.now() to get the number of milliseconds since the Unix Epoch.",
587
+ "anyOf": [
588
+ { "$ref": "#/definitions/RuleFixConfiguration" },
589
+ { "type": "null" }
590
+ ]
591
+ },
539
592
  "useFlatMap": {
540
593
  "description": "Promotes the use of .flatMap() when map().flat() are used together.",
541
594
  "anyOf": [
@@ -629,6 +682,20 @@
629
682
  },
630
683
  "additionalProperties": false
631
684
  },
685
+ "ConsistentMemberAccessibilityConfiguration": {
686
+ "anyOf": [
687
+ { "$ref": "#/definitions/RulePlainConfiguration" },
688
+ { "$ref": "#/definitions/RuleWithConsistentMemberAccessibilityOptions" }
689
+ ]
690
+ },
691
+ "ConsistentMemberAccessibilityOptions": {
692
+ "type": "object",
693
+ "required": ["accessibility"],
694
+ "properties": {
695
+ "accessibility": { "$ref": "#/definitions/Accessibility" }
696
+ },
697
+ "additionalProperties": false
698
+ },
632
699
  "Convention": {
633
700
  "type": "object",
634
701
  "properties": {
@@ -725,6 +792,13 @@
725
792
  { "type": "null" }
726
793
  ]
727
794
  },
795
+ "noInvalidBuiltinInstantiation": {
796
+ "description": "Ensure that builtins are correctly instantiated.",
797
+ "anyOf": [
798
+ { "$ref": "#/definitions/RuleFixConfiguration" },
799
+ { "type": "null" }
800
+ ]
801
+ },
728
802
  "noInvalidConstructorSuper": {
729
803
  "description": "Prevents the incorrect use of super() inside classes. It also checks whether a call super() is missing from classes that extends other constructors.",
730
804
  "anyOf": [
@@ -732,6 +806,20 @@
732
806
  { "type": "null" }
733
807
  ]
734
808
  },
809
+ "noInvalidDirectionInLinearGradient": {
810
+ "description": "Disallow non-standard direction values for linear gradient functions.",
811
+ "anyOf": [
812
+ { "$ref": "#/definitions/RuleConfiguration" },
813
+ { "type": "null" }
814
+ ]
815
+ },
816
+ "noInvalidGridAreas": {
817
+ "description": "Disallows invalid named grid areas in CSS Grid Layouts.",
818
+ "anyOf": [
819
+ { "$ref": "#/definitions/RuleConfiguration" },
820
+ { "type": "null" }
821
+ ]
822
+ },
735
823
  "noInvalidNewBuiltin": {
736
824
  "description": "Disallow new operators with global non-constructor functions.",
737
825
  "anyOf": [
@@ -739,6 +827,13 @@
739
827
  { "type": "null" }
740
828
  ]
741
829
  },
830
+ "noInvalidPositionAtImportRule": {
831
+ "description": "Disallow the use of @import at-rules in invalid positions.",
832
+ "anyOf": [
833
+ { "$ref": "#/definitions/RuleConfiguration" },
834
+ { "type": "null" }
835
+ ]
836
+ },
742
837
  "noInvalidUseBeforeDeclaration": {
743
838
  "description": "Disallow the use of variables and function parameters before their declaration",
744
839
  "anyOf": [
@@ -809,6 +904,13 @@
809
904
  { "type": "null" }
810
905
  ]
811
906
  },
907
+ "noUndeclaredDependencies": {
908
+ "description": "Disallow the use of dependencies that aren't specified in the package.json.",
909
+ "anyOf": [
910
+ { "$ref": "#/definitions/RuleConfiguration" },
911
+ { "type": "null" }
912
+ ]
913
+ },
812
914
  "noUndeclaredVariables": {
813
915
  "description": "Prevents the usage of variables that haven't been declared inside the document.",
814
916
  "anyOf": [
@@ -816,6 +918,41 @@
816
918
  { "type": "null" }
817
919
  ]
818
920
  },
921
+ "noUnknownFunction": {
922
+ "description": "Disallow unknown CSS value functions.",
923
+ "anyOf": [
924
+ { "$ref": "#/definitions/RuleConfiguration" },
925
+ { "type": "null" }
926
+ ]
927
+ },
928
+ "noUnknownMediaFeatureName": {
929
+ "description": "Disallow unknown media feature names.",
930
+ "anyOf": [
931
+ { "$ref": "#/definitions/RuleConfiguration" },
932
+ { "type": "null" }
933
+ ]
934
+ },
935
+ "noUnknownProperty": {
936
+ "description": "Disallow unknown properties.",
937
+ "anyOf": [
938
+ { "$ref": "#/definitions/RuleConfiguration" },
939
+ { "type": "null" }
940
+ ]
941
+ },
942
+ "noUnknownUnit": {
943
+ "description": "Disallow unknown CSS units.",
944
+ "anyOf": [
945
+ { "$ref": "#/definitions/RuleConfiguration" },
946
+ { "type": "null" }
947
+ ]
948
+ },
949
+ "noUnmatchableAnbSelector": {
950
+ "description": "Disallow unmatchable An+B selectors.",
951
+ "anyOf": [
952
+ { "$ref": "#/definitions/RuleConfiguration" },
953
+ { "type": "null" }
954
+ ]
955
+ },
819
956
  "noUnnecessaryContinue": {
820
957
  "description": "Avoid using unnecessary continue.",
821
958
  "anyOf": [
@@ -851,6 +988,13 @@
851
988
  { "type": "null" }
852
989
  ]
853
990
  },
991
+ "noUnusedFunctionParameters": {
992
+ "description": "Disallow unused function parameters.",
993
+ "anyOf": [
994
+ { "$ref": "#/definitions/RuleFixConfiguration" },
995
+ { "type": "null" }
996
+ ]
997
+ },
854
998
  "noUnusedImports": {
855
999
  "description": "Disallow unused imports.",
856
1000
  "anyOf": [
@@ -918,6 +1062,13 @@
918
1062
  { "type": "null" }
919
1063
  ]
920
1064
  },
1065
+ "useImportExtensions": {
1066
+ "description": "Enforce file extensions for relative imports.",
1067
+ "anyOf": [
1068
+ { "$ref": "#/definitions/UseImportExtensionsConfiguration" },
1069
+ { "type": "null" }
1070
+ ]
1071
+ },
921
1072
  "useIsNan": {
922
1073
  "description": "Require calls to isNaN() when checking for NaN.",
923
1074
  "anyOf": [
@@ -1043,6 +1194,21 @@
1043
1194
  },
1044
1195
  "additionalProperties": false
1045
1196
  },
1197
+ "CustomRestrictedType": {
1198
+ "anyOf": [
1199
+ { "type": "string" },
1200
+ { "$ref": "#/definitions/CustomRestrictedTypeOptions" }
1201
+ ]
1202
+ },
1203
+ "CustomRestrictedTypeOptions": {
1204
+ "type": "object",
1205
+ "required": ["message"],
1206
+ "properties": {
1207
+ "message": { "type": "string" },
1208
+ "use": { "type": ["string", "null"] }
1209
+ },
1210
+ "additionalProperties": false
1211
+ },
1046
1212
  "DeprecatedHooksConfiguration": {
1047
1213
  "anyOf": [
1048
1214
  { "$ref": "#/definitions/RulePlainConfiguration" },
@@ -1294,7 +1460,7 @@
1294
1460
  },
1295
1461
  "Hook": {
1296
1462
  "type": "object",
1297
- "required": ["name", "stableResult"],
1463
+ "required": ["name"],
1298
1464
  "properties": {
1299
1465
  "closureIndex": {
1300
1466
  "description": "The \"position\" of the closure function, starting from zero.\n\nFor example, for React's `useEffect()` hook, the closure index is 0.",
@@ -1311,7 +1477,10 @@
1311
1477
  "name": { "description": "The name of the hook.", "type": "string" },
1312
1478
  "stableResult": {
1313
1479
  "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]`.",
1314
- "allOf": [{ "$ref": "#/definitions/StableHookResult" }]
1480
+ "anyOf": [
1481
+ { "$ref": "#/definitions/StableHookResult" },
1482
+ { "type": "null" }
1483
+ ]
1315
1484
  }
1316
1485
  },
1317
1486
  "additionalProperties": false
@@ -1817,6 +1986,41 @@
1817
1986
  },
1818
1987
  "additionalProperties": false
1819
1988
  },
1989
+ "NoConsoleConfiguration": {
1990
+ "anyOf": [
1991
+ { "$ref": "#/definitions/RulePlainConfiguration" },
1992
+ { "$ref": "#/definitions/RuleWithNoConsoleOptions" }
1993
+ ]
1994
+ },
1995
+ "NoConsoleOptions": {
1996
+ "type": "object",
1997
+ "required": ["allow"],
1998
+ "properties": {
1999
+ "allow": {
2000
+ "description": "Allowed calls on the console object.",
2001
+ "type": "array",
2002
+ "items": { "type": "string" }
2003
+ }
2004
+ },
2005
+ "additionalProperties": false
2006
+ },
2007
+ "NoDoubleEqualsConfiguration": {
2008
+ "anyOf": [
2009
+ { "$ref": "#/definitions/RulePlainConfiguration" },
2010
+ { "$ref": "#/definitions/RuleWithNoDoubleEqualsOptions" }
2011
+ ]
2012
+ },
2013
+ "NoDoubleEqualsOptions": {
2014
+ "description": "Rule's options",
2015
+ "type": "object",
2016
+ "properties": {
2017
+ "ignoreNull": {
2018
+ "description": "If `true`, an exception is made when comparing with `null`, as it's often relied on to check both for `null` or `undefined`.\n\nIf `false`, no such exception will be made.",
2019
+ "type": "boolean"
2020
+ }
2021
+ },
2022
+ "additionalProperties": false
2023
+ },
1820
2024
  "NoLabelWithoutControlConfiguration": {
1821
2025
  "anyOf": [
1822
2026
  { "$ref": "#/definitions/RulePlainConfiguration" },
@@ -1845,6 +2049,25 @@
1845
2049
  },
1846
2050
  "additionalProperties": false
1847
2051
  },
2052
+ "NoRestrictedTypesConfiguration": {
2053
+ "anyOf": [
2054
+ { "$ref": "#/definitions/RulePlainConfiguration" },
2055
+ { "$ref": "#/definitions/RuleWithNoRestrictedTypesOptions" }
2056
+ ]
2057
+ },
2058
+ "NoRestrictedTypesOptions": {
2059
+ "type": "object",
2060
+ "required": ["types"],
2061
+ "properties": {
2062
+ "types": {
2063
+ "type": "object",
2064
+ "additionalProperties": {
2065
+ "$ref": "#/definitions/CustomRestrictedType"
2066
+ }
2067
+ }
2068
+ },
2069
+ "additionalProperties": false
2070
+ },
1848
2071
  "Nursery": {
1849
2072
  "description": "A list of rules that belong to this group",
1850
2073
  "type": "object",
@@ -1853,22 +2076,15 @@
1853
2076
  "description": "It enables ALL rules for this group.",
1854
2077
  "type": ["boolean", "null"]
1855
2078
  },
1856
- "noConsole": {
1857
- "description": "Disallow the use of console.",
1858
- "anyOf": [
1859
- { "$ref": "#/definitions/RuleFixConfiguration" },
1860
- { "type": "null" }
1861
- ]
1862
- },
1863
- "noDoneCallback": {
1864
- "description": "Disallow using a callback in asynchronous tests and hooks.",
2079
+ "noCommonJs": {
2080
+ "description": "Disallow use of CommonJs module system in favor of ESM style imports.",
1865
2081
  "anyOf": [
1866
2082
  { "$ref": "#/definitions/RuleConfiguration" },
1867
2083
  { "type": "null" }
1868
2084
  ]
1869
2085
  },
1870
- "noDuplicateAtImportRules": {
1871
- "description": "Disallow duplicate @import rules.",
2086
+ "noDuplicateCustomProperties": {
2087
+ "description": "Disallow duplicate custom properties within declaration blocks.",
1872
2088
  "anyOf": [
1873
2089
  { "$ref": "#/definitions/RuleConfiguration" },
1874
2090
  { "type": "null" }
@@ -1881,237 +2097,104 @@
1881
2097
  { "type": "null" }
1882
2098
  ]
1883
2099
  },
1884
- "noDuplicateFontNames": {
1885
- "description": "Disallow duplicate names within font families.",
2100
+ "noDuplicatedFields": {
2101
+ "description": "No duplicated fields in GraphQL operations.",
1886
2102
  "anyOf": [
1887
2103
  { "$ref": "#/definitions/RuleConfiguration" },
1888
2104
  { "type": "null" }
1889
2105
  ]
1890
2106
  },
1891
- "noDuplicateJsonKeys": {
1892
- "description": "Disallow two keys with the same name inside a JSON object.",
2107
+ "noDynamicNamespaceImportAccess": {
2108
+ "description": "Disallow accessing namespace imports dynamically.",
1893
2109
  "anyOf": [
1894
2110
  { "$ref": "#/definitions/RuleConfiguration" },
1895
2111
  { "type": "null" }
1896
2112
  ]
1897
2113
  },
1898
- "noDuplicateSelectorsKeyframeBlock": {
1899
- "description": "Disallow duplicate selectors within keyframe blocks.",
2114
+ "noEnum": {
2115
+ "description": "Disallow TypeScript enum.",
1900
2116
  "anyOf": [
1901
2117
  { "$ref": "#/definitions/RuleConfiguration" },
1902
2118
  { "type": "null" }
1903
2119
  ]
1904
2120
  },
1905
- "noDuplicatedFields": {
1906
- "description": "No duplicated fields in GraphQL operations.",
2121
+ "noExportedImports": {
2122
+ "description": "Disallow exporting an imported variable.",
1907
2123
  "anyOf": [
1908
2124
  { "$ref": "#/definitions/RuleConfiguration" },
1909
2125
  { "type": "null" }
1910
2126
  ]
1911
2127
  },
1912
- "noDynamicNamespaceImportAccess": {
1913
- "description": "Disallow accessing namespace imports dynamically.",
2128
+ "noIrregularWhitespace": {
2129
+ "description": "Disallows the use of irregular whitespace characters.",
1914
2130
  "anyOf": [
1915
2131
  { "$ref": "#/definitions/RuleConfiguration" },
1916
2132
  { "type": "null" }
1917
2133
  ]
1918
2134
  },
1919
- "noEmptyBlock": {
1920
- "description": "Disallow CSS empty blocks.",
2135
+ "noRestrictedImports": {
2136
+ "description": "Disallow specified modules when loaded by import or require.",
1921
2137
  "anyOf": [
1922
- { "$ref": "#/definitions/RuleConfiguration" },
2138
+ { "$ref": "#/definitions/RestrictedImportsConfiguration" },
1923
2139
  { "type": "null" }
1924
2140
  ]
1925
2141
  },
1926
- "noEvolvingTypes": {
1927
- "description": "Disallow variables from evolving into any type through reassignments.",
2142
+ "noRestrictedTypes": {
2143
+ "description": "Disallow user defined types.",
1928
2144
  "anyOf": [
1929
- { "$ref": "#/definitions/RuleConfiguration" },
2145
+ { "$ref": "#/definitions/NoRestrictedTypesConfiguration" },
1930
2146
  { "type": "null" }
1931
2147
  ]
1932
2148
  },
1933
- "noExportedImports": {
1934
- "description": "Disallow exporting an imported variable.",
2149
+ "noSecrets": {
2150
+ "description": "Disallow usage of sensitive data such as API keys and tokens.",
1935
2151
  "anyOf": [
1936
2152
  { "$ref": "#/definitions/RuleConfiguration" },
1937
2153
  { "type": "null" }
1938
2154
  ]
1939
2155
  },
1940
- "noImportantInKeyframe": {
1941
- "description": "Disallow invalid !important within keyframe declarations",
2156
+ "noStaticElementInteractions": {
2157
+ "description": "Enforce that static, visible elements (such as \\<div>) that have click handlers use the valid role attribute.",
1942
2158
  "anyOf": [
1943
2159
  { "$ref": "#/definitions/RuleConfiguration" },
1944
2160
  { "type": "null" }
1945
2161
  ]
1946
2162
  },
1947
- "noInvalidDirectionInLinearGradient": {
1948
- "description": "Disallow non-standard direction values for linear gradient functions.",
2163
+ "noSubstr": {
2164
+ "description": "Enforce the use of String.slice() over String.substr() and String.substring().",
1949
2165
  "anyOf": [
1950
- { "$ref": "#/definitions/RuleConfiguration" },
2166
+ { "$ref": "#/definitions/RuleFixConfiguration" },
1951
2167
  { "type": "null" }
1952
2168
  ]
1953
2169
  },
1954
- "noInvalidPositionAtImportRule": {
1955
- "description": "Disallow the use of @import at-rules in invalid positions.",
2170
+ "noUnknownPseudoClass": {
2171
+ "description": "Disallow unknown pseudo-class selectors.",
1956
2172
  "anyOf": [
1957
2173
  { "$ref": "#/definitions/RuleConfiguration" },
1958
2174
  { "type": "null" }
1959
2175
  ]
1960
2176
  },
1961
- "noIrregularWhitespace": {
1962
- "description": "Disallows the use of irregular whitespace characters.",
2177
+ "noUnknownPseudoElement": {
2178
+ "description": "Disallow unknown pseudo-element selectors.",
1963
2179
  "anyOf": [
1964
2180
  { "$ref": "#/definitions/RuleConfiguration" },
1965
2181
  { "type": "null" }
1966
2182
  ]
1967
2183
  },
1968
- "noLabelWithoutControl": {
1969
- "description": "Enforce that a label element or component has a text label and an associated input.",
2184
+ "noUselessEscapeInRegex": {
2185
+ "description": "Disallow unnecessary escape sequence in regular expression literals.",
1970
2186
  "anyOf": [
1971
- { "$ref": "#/definitions/NoLabelWithoutControlConfiguration" },
2187
+ { "$ref": "#/definitions/RuleFixConfiguration" },
1972
2188
  { "type": "null" }
1973
2189
  ]
1974
2190
  },
1975
- "noMisplacedAssertion": {
1976
- "description": "Checks that the assertion function, for example expect, is placed inside an it() function call.",
2191
+ "noValueAtRule": {
2192
+ "description": "Disallow use of @value rule in css modules.",
1977
2193
  "anyOf": [
1978
2194
  { "$ref": "#/definitions/RuleConfiguration" },
1979
2195
  { "type": "null" }
1980
2196
  ]
1981
2197
  },
1982
- "noReactSpecificProps": {
1983
- "description": "Prevents React-specific JSX properties from being used.",
1984
- "anyOf": [
1985
- { "$ref": "#/definitions/RuleFixConfiguration" },
1986
- { "type": "null" }
1987
- ]
1988
- },
1989
- "noRestrictedImports": {
1990
- "description": "Disallow specified modules when loaded by import or require.",
1991
- "anyOf": [
1992
- { "$ref": "#/definitions/RestrictedImportsConfiguration" },
1993
- { "type": "null" }
1994
- ]
1995
- },
1996
- "noShorthandPropertyOverrides": {
1997
- "description": "Disallow shorthand properties that override related longhand properties.",
1998
- "anyOf": [
1999
- { "$ref": "#/definitions/RuleConfiguration" },
2000
- { "type": "null" }
2001
- ]
2002
- },
2003
- "noStaticElementInteractions": {
2004
- "description": "Enforce that static, visible elements (such as \\<div>) that have click handlers use the valid role attribute.",
2005
- "anyOf": [
2006
- { "$ref": "#/definitions/RuleConfiguration" },
2007
- { "type": "null" }
2008
- ]
2009
- },
2010
- "noSubstr": {
2011
- "description": "Enforce the use of String.slice() over String.substr() and String.substring().",
2012
- "anyOf": [
2013
- { "$ref": "#/definitions/RuleFixConfiguration" },
2014
- { "type": "null" }
2015
- ]
2016
- },
2017
- "noUndeclaredDependencies": {
2018
- "description": "Disallow the use of dependencies that aren't specified in the package.json.",
2019
- "anyOf": [
2020
- { "$ref": "#/definitions/RuleConfiguration" },
2021
- { "type": "null" }
2022
- ]
2023
- },
2024
- "noUnknownFunction": {
2025
- "description": "Disallow unknown CSS value functions.",
2026
- "anyOf": [
2027
- { "$ref": "#/definitions/RuleConfiguration" },
2028
- { "type": "null" }
2029
- ]
2030
- },
2031
- "noUnknownMediaFeatureName": {
2032
- "description": "Disallow unknown media feature names.",
2033
- "anyOf": [
2034
- { "$ref": "#/definitions/RuleConfiguration" },
2035
- { "type": "null" }
2036
- ]
2037
- },
2038
- "noUnknownProperty": {
2039
- "description": "Disallow unknown properties.",
2040
- "anyOf": [
2041
- { "$ref": "#/definitions/RuleConfiguration" },
2042
- { "type": "null" }
2043
- ]
2044
- },
2045
- "noUnknownPseudoClassSelector": {
2046
- "description": "Disallow unknown pseudo-class selectors.",
2047
- "anyOf": [
2048
- { "$ref": "#/definitions/RuleConfiguration" },
2049
- { "type": "null" }
2050
- ]
2051
- },
2052
- "noUnknownSelectorPseudoElement": {
2053
- "description": "Disallow unknown pseudo-element selectors.",
2054
- "anyOf": [
2055
- { "$ref": "#/definitions/RuleConfiguration" },
2056
- { "type": "null" }
2057
- ]
2058
- },
2059
- "noUnknownUnit": {
2060
- "description": "Disallow unknown CSS units.",
2061
- "anyOf": [
2062
- { "$ref": "#/definitions/RuleConfiguration" },
2063
- { "type": "null" }
2064
- ]
2065
- },
2066
- "noUnmatchableAnbSelector": {
2067
- "description": "Disallow unmatchable An+B selectors.",
2068
- "anyOf": [
2069
- { "$ref": "#/definitions/RuleConfiguration" },
2070
- { "type": "null" }
2071
- ]
2072
- },
2073
- "noUnusedFunctionParameters": {
2074
- "description": "Disallow unused function parameters.",
2075
- "anyOf": [
2076
- { "$ref": "#/definitions/RuleFixConfiguration" },
2077
- { "type": "null" }
2078
- ]
2079
- },
2080
- "noUselessEscapeInRegex": {
2081
- "description": "Disallow unnecessary escape sequence in regular expression literals.",
2082
- "anyOf": [
2083
- { "$ref": "#/definitions/RuleFixConfiguration" },
2084
- { "type": "null" }
2085
- ]
2086
- },
2087
- "noUselessStringConcat": {
2088
- "description": "Disallow unnecessary concatenation of string or template literals.",
2089
- "anyOf": [
2090
- { "$ref": "#/definitions/RuleFixConfiguration" },
2091
- { "type": "null" }
2092
- ]
2093
- },
2094
- "noUselessUndefinedInitialization": {
2095
- "description": "Disallow initializing variables to undefined.",
2096
- "anyOf": [
2097
- { "$ref": "#/definitions/RuleFixConfiguration" },
2098
- { "type": "null" }
2099
- ]
2100
- },
2101
- "noValueAtRule": {
2102
- "description": "Disallow use of @value rule in css modules.",
2103
- "anyOf": [
2104
- { "$ref": "#/definitions/RuleConfiguration" },
2105
- { "type": "null" }
2106
- ]
2107
- },
2108
- "noYodaExpression": {
2109
- "description": "Disallow the use of yoda expressions.",
2110
- "anyOf": [
2111
- { "$ref": "#/definitions/RuleFixConfiguration" },
2112
- { "type": "null" }
2113
- ]
2114
- },
2115
2198
  "recommended": {
2116
2199
  "description": "It enables the recommended rules for this group",
2117
2200
  "type": ["boolean", "null"]
@@ -2123,10 +2206,10 @@
2123
2206
  { "type": "null" }
2124
2207
  ]
2125
2208
  },
2126
- "useConsistentBuiltinInstantiation": {
2127
- "description": "Enforce the use of new for all builtins, except String, Number, Boolean, Symbol and BigInt.",
2209
+ "useAriaPropsSupportedByRole": {
2210
+ "description": "Enforce that ARIA properties are valid for the roles that are supported by the element.",
2128
2211
  "anyOf": [
2129
- { "$ref": "#/definitions/RuleFixConfiguration" },
2212
+ { "$ref": "#/definitions/RuleConfiguration" },
2130
2213
  { "type": "null" }
2131
2214
  ]
2132
2215
  },
@@ -2137,24 +2220,12 @@
2137
2220
  { "type": "null" }
2138
2221
  ]
2139
2222
  },
2140
- "useConsistentGridAreas": {
2141
- "description": "Disallows invalid named grid areas in CSS Grid Layouts.",
2142
- "anyOf": [
2143
- { "$ref": "#/definitions/RuleConfiguration" },
2144
- { "type": "null" }
2145
- ]
2146
- },
2147
- "useDateNow": {
2148
- "description": "Use Date.now() to get the number of milliseconds since the Unix Epoch.",
2149
- "anyOf": [
2150
- { "$ref": "#/definitions/RuleFixConfiguration" },
2151
- { "type": "null" }
2152
- ]
2153
- },
2154
- "useDefaultSwitchClause": {
2155
- "description": "Require the default clause in switch statements.",
2223
+ "useConsistentMemberAccessibility": {
2224
+ "description": "Require consistent accessibility modifiers on class properties and methods.",
2156
2225
  "anyOf": [
2157
- { "$ref": "#/definitions/RuleConfiguration" },
2226
+ {
2227
+ "$ref": "#/definitions/ConsistentMemberAccessibilityConfiguration"
2228
+ },
2158
2229
  { "type": "null" }
2159
2230
  ]
2160
2231
  },
@@ -2165,41 +2236,6 @@
2165
2236
  { "type": "null" }
2166
2237
  ]
2167
2238
  },
2168
- "useErrorMessage": {
2169
- "description": "Enforce passing a message value when creating a built-in error.",
2170
- "anyOf": [
2171
- { "$ref": "#/definitions/RuleConfiguration" },
2172
- { "type": "null" }
2173
- ]
2174
- },
2175
- "useExplicitLengthCheck": {
2176
- "description": "Enforce explicitly comparing the length, size, byteLength or byteOffset property of a value.",
2177
- "anyOf": [
2178
- { "$ref": "#/definitions/RuleFixConfiguration" },
2179
- { "type": "null" }
2180
- ]
2181
- },
2182
- "useFocusableInteractive": {
2183
- "description": "Elements with an interactive role and interaction handlers must be focusable.",
2184
- "anyOf": [
2185
- { "$ref": "#/definitions/RuleConfiguration" },
2186
- { "type": "null" }
2187
- ]
2188
- },
2189
- "useGenericFontNames": {
2190
- "description": "Disallow a missing generic family keyword within font families.",
2191
- "anyOf": [
2192
- { "$ref": "#/definitions/RuleConfiguration" },
2193
- { "type": "null" }
2194
- ]
2195
- },
2196
- "useImportExtensions": {
2197
- "description": "Enforce file extensions for relative imports.",
2198
- "anyOf": [
2199
- { "$ref": "#/definitions/UseImportExtensionsConfiguration" },
2200
- { "type": "null" }
2201
- ]
2202
- },
2203
2239
  "useImportRestrictions": {
2204
2240
  "description": "Disallows package private imports.",
2205
2241
  "anyOf": [
@@ -2207,20 +2243,6 @@
2207
2243
  { "type": "null" }
2208
2244
  ]
2209
2245
  },
2210
- "useNumberToFixedDigitsArgument": {
2211
- "description": "Enforce using the digits argument with Number#toFixed().",
2212
- "anyOf": [
2213
- { "$ref": "#/definitions/RuleFixConfiguration" },
2214
- { "type": "null" }
2215
- ]
2216
- },
2217
- "useSemanticElements": {
2218
- "description": "It detects the use of role attributes in JSX elements and suggests using semantic elements instead.",
2219
- "anyOf": [
2220
- { "$ref": "#/definitions/RuleConfiguration" },
2221
- { "type": "null" }
2222
- ]
2223
- },
2224
2246
  "useSortedClasses": {
2225
2247
  "description": "Enforce the sorting of CSS utility classes.",
2226
2248
  "anyOf": [
@@ -2235,27 +2257,6 @@
2235
2257
  { "type": "null" }
2236
2258
  ]
2237
2259
  },
2238
- "useThrowNewError": {
2239
- "description": "Require new when throwing an error.",
2240
- "anyOf": [
2241
- { "$ref": "#/definitions/RuleFixConfiguration" },
2242
- { "type": "null" }
2243
- ]
2244
- },
2245
- "useThrowOnlyError": {
2246
- "description": "Disallow throwing non-Error values.",
2247
- "anyOf": [
2248
- { "$ref": "#/definitions/RuleConfiguration" },
2249
- { "type": "null" }
2250
- ]
2251
- },
2252
- "useTopLevelRegex": {
2253
- "description": "Require regex literals to be declared at the top level.",
2254
- "anyOf": [
2255
- { "$ref": "#/definitions/RuleConfiguration" },
2256
- { "type": "null" }
2257
- ]
2258
- },
2259
2260
  "useTrimStartEnd": {
2260
2261
  "description": "Enforce the use of String.trimStart() and String.trimEnd() over String.trimLeft() and String.trimRight().",
2261
2262
  "anyOf": [
@@ -2466,6 +2467,13 @@
2466
2467
  "recommended": {
2467
2468
  "description": "It enables the recommended rules for this group",
2468
2469
  "type": ["boolean", "null"]
2470
+ },
2471
+ "useTopLevelRegex": {
2472
+ "description": "Require regex literals to be declared at the top level.",
2473
+ "anyOf": [
2474
+ { "$ref": "#/definitions/RuleConfiguration" },
2475
+ { "type": "null" }
2476
+ ]
2469
2477
  }
2470
2478
  },
2471
2479
  "additionalProperties": false
@@ -2585,6 +2593,23 @@
2585
2593
  },
2586
2594
  "additionalProperties": false
2587
2595
  },
2596
+ "RuleWithConsistentMemberAccessibilityOptions": {
2597
+ "type": "object",
2598
+ "required": ["level", "options"],
2599
+ "properties": {
2600
+ "level": {
2601
+ "description": "The severity of the emitted diagnostics by the rule",
2602
+ "allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
2603
+ },
2604
+ "options": {
2605
+ "description": "Rule's options",
2606
+ "allOf": [
2607
+ { "$ref": "#/definitions/ConsistentMemberAccessibilityOptions" }
2608
+ ]
2609
+ }
2610
+ },
2611
+ "additionalProperties": false
2612
+ },
2588
2613
  "RuleWithDeprecatedHooksOptions": {
2589
2614
  "type": "object",
2590
2615
  "required": ["level", "options"],
@@ -2664,6 +2689,44 @@
2664
2689
  },
2665
2690
  "additionalProperties": false
2666
2691
  },
2692
+ "RuleWithNoConsoleOptions": {
2693
+ "type": "object",
2694
+ "required": ["level", "options"],
2695
+ "properties": {
2696
+ "fix": {
2697
+ "description": "The kind of the code actions emitted by the rule",
2698
+ "anyOf": [{ "$ref": "#/definitions/FixKind" }, { "type": "null" }]
2699
+ },
2700
+ "level": {
2701
+ "description": "The severity of the emitted diagnostics by the rule",
2702
+ "allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
2703
+ },
2704
+ "options": {
2705
+ "description": "Rule's options",
2706
+ "allOf": [{ "$ref": "#/definitions/NoConsoleOptions" }]
2707
+ }
2708
+ },
2709
+ "additionalProperties": false
2710
+ },
2711
+ "RuleWithNoDoubleEqualsOptions": {
2712
+ "type": "object",
2713
+ "required": ["level", "options"],
2714
+ "properties": {
2715
+ "fix": {
2716
+ "description": "The kind of the code actions emitted by the rule",
2717
+ "anyOf": [{ "$ref": "#/definitions/FixKind" }, { "type": "null" }]
2718
+ },
2719
+ "level": {
2720
+ "description": "The severity of the emitted diagnostics by the rule",
2721
+ "allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
2722
+ },
2723
+ "options": {
2724
+ "description": "Rule's options",
2725
+ "allOf": [{ "$ref": "#/definitions/NoDoubleEqualsOptions" }]
2726
+ }
2727
+ },
2728
+ "additionalProperties": false
2729
+ },
2667
2730
  "RuleWithNoLabelWithoutControlOptions": {
2668
2731
  "type": "object",
2669
2732
  "required": ["level", "options"],
@@ -2690,6 +2753,25 @@
2690
2753
  },
2691
2754
  "additionalProperties": false
2692
2755
  },
2756
+ "RuleWithNoRestrictedTypesOptions": {
2757
+ "type": "object",
2758
+ "required": ["level", "options"],
2759
+ "properties": {
2760
+ "fix": {
2761
+ "description": "The kind of the code actions emitted by the rule",
2762
+ "anyOf": [{ "$ref": "#/definitions/FixKind" }, { "type": "null" }]
2763
+ },
2764
+ "level": {
2765
+ "description": "The severity of the emitted diagnostics by the rule",
2766
+ "allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
2767
+ },
2768
+ "options": {
2769
+ "description": "Rule's options",
2770
+ "allOf": [{ "$ref": "#/definitions/NoRestrictedTypesOptions" }]
2771
+ }
2772
+ },
2773
+ "additionalProperties": false
2774
+ },
2693
2775
  "RuleWithRestrictedGlobalsOptions": {
2694
2776
  "type": "object",
2695
2777
  "required": ["level", "options"],
@@ -2890,6 +2972,13 @@
2890
2972
  "description": "A list of rules that belong to this group",
2891
2973
  "type": "object",
2892
2974
  "properties": {
2975
+ "sortJsxProps": {
2976
+ "description": "Enforce props sorting in JSX elements.",
2977
+ "anyOf": [
2978
+ { "$ref": "#/definitions/RuleAssistConfiguration" },
2979
+ { "type": "null" }
2980
+ ]
2981
+ },
2893
2982
  "useSortedKeys": {
2894
2983
  "description": "Sorts the keys of a JSON object in natural order",
2895
2984
  "anyOf": [
@@ -2953,6 +3042,13 @@
2953
3042
  { "type": "null" }
2954
3043
  ]
2955
3044
  },
3045
+ "noDoneCallback": {
3046
+ "description": "Disallow using a callback in asynchronous tests and hooks.",
3047
+ "anyOf": [
3048
+ { "$ref": "#/definitions/RuleConfiguration" },
3049
+ { "type": "null" }
3050
+ ]
3051
+ },
2956
3052
  "noImplicitBoolean": {
2957
3053
  "description": "Disallow implicit true values on JSX boolean attributes",
2958
3054
  "anyOf": [
@@ -3044,6 +3140,13 @@
3044
3140
  { "type": "null" }
3045
3141
  ]
3046
3142
  },
3143
+ "noYodaExpression": {
3144
+ "description": "Disallow the use of yoda expressions.",
3145
+ "anyOf": [
3146
+ { "$ref": "#/definitions/RuleFixConfiguration" },
3147
+ { "type": "null" }
3148
+ ]
3149
+ },
3047
3150
  "recommended": {
3048
3151
  "description": "It enables the recommended rules for this group",
3049
3152
  "type": ["boolean", "null"]
@@ -3076,6 +3179,13 @@
3076
3179
  { "type": "null" }
3077
3180
  ]
3078
3181
  },
3182
+ "useConsistentBuiltinInstantiation": {
3183
+ "description": "Enforce the use of new for all builtins, except String, Number and Boolean.",
3184
+ "anyOf": [
3185
+ { "$ref": "#/definitions/RuleFixConfiguration" },
3186
+ { "type": "null" }
3187
+ ]
3188
+ },
3079
3189
  "useConst": {
3080
3190
  "description": "Require const declarations for variables that are only assigned once.",
3081
3191
  "anyOf": [
@@ -3090,6 +3200,13 @@
3090
3200
  { "type": "null" }
3091
3201
  ]
3092
3202
  },
3203
+ "useDefaultSwitchClause": {
3204
+ "description": "Require the default clause in switch statements.",
3205
+ "anyOf": [
3206
+ { "$ref": "#/definitions/RuleConfiguration" },
3207
+ { "type": "null" }
3208
+ ]
3209
+ },
3093
3210
  "useEnumInitializers": {
3094
3211
  "description": "Require that each enum member value be explicitly initialized.",
3095
3212
  "anyOf": [
@@ -3097,6 +3214,13 @@
3097
3214
  { "type": "null" }
3098
3215
  ]
3099
3216
  },
3217
+ "useExplicitLengthCheck": {
3218
+ "description": "Enforce explicitly comparing the length, size, byteLength or byteOffset property of a value.",
3219
+ "anyOf": [
3220
+ { "$ref": "#/definitions/RuleFixConfiguration" },
3221
+ { "type": "null" }
3222
+ ]
3223
+ },
3100
3224
  "useExponentiationOperator": {
3101
3225
  "description": "Disallow the use of Math.pow in favor of the ** operator.",
3102
3226
  "anyOf": [
@@ -3230,6 +3354,20 @@
3230
3354
  { "type": "null" }
3231
3355
  ]
3232
3356
  },
3357
+ "useThrowNewError": {
3358
+ "description": "Require new when throwing an error.",
3359
+ "anyOf": [
3360
+ { "$ref": "#/definitions/RuleFixConfiguration" },
3361
+ { "type": "null" }
3362
+ ]
3363
+ },
3364
+ "useThrowOnlyError": {
3365
+ "description": "Disallow throwing non-Error values.",
3366
+ "anyOf": [
3367
+ { "$ref": "#/definitions/RuleConfiguration" },
3368
+ { "type": "null" }
3369
+ ]
3370
+ },
3233
3371
  "useWhile": {
3234
3372
  "description": "Enforce the use of while loops instead of for loops when the initializer and update expressions are not needed.",
3235
3373
  "anyOf": [
@@ -3333,6 +3471,13 @@
3333
3471
  { "type": "null" }
3334
3472
  ]
3335
3473
  },
3474
+ "noConsole": {
3475
+ "description": "Disallow the use of console.",
3476
+ "anyOf": [
3477
+ { "$ref": "#/definitions/NoConsoleConfiguration" },
3478
+ { "type": "null" }
3479
+ ]
3480
+ },
3336
3481
  "noConsoleLog": {
3337
3482
  "description": "Disallow the use of console.log",
3338
3483
  "anyOf": [
@@ -3362,9 +3507,16 @@
3362
3507
  ]
3363
3508
  },
3364
3509
  "noDoubleEquals": {
3365
- "description": "Require the use of === and !==",
3510
+ "description": "Require the use of === and !==.",
3366
3511
  "anyOf": [
3367
- { "$ref": "#/definitions/RuleFixConfiguration" },
3512
+ { "$ref": "#/definitions/NoDoubleEqualsConfiguration" },
3513
+ { "type": "null" }
3514
+ ]
3515
+ },
3516
+ "noDuplicateAtImportRules": {
3517
+ "description": "Disallow duplicate @import rules.",
3518
+ "anyOf": [
3519
+ { "$ref": "#/definitions/RuleConfiguration" },
3368
3520
  { "type": "null" }
3369
3521
  ]
3370
3522
  },
@@ -3382,6 +3534,13 @@
3382
3534
  { "type": "null" }
3383
3535
  ]
3384
3536
  },
3537
+ "noDuplicateFontNames": {
3538
+ "description": "Disallow duplicate names within font families.",
3539
+ "anyOf": [
3540
+ { "$ref": "#/definitions/RuleConfiguration" },
3541
+ { "type": "null" }
3542
+ ]
3543
+ },
3385
3544
  "noDuplicateJsxProps": {
3386
3545
  "description": "Prevents JSX properties to be assigned multiple times.",
3387
3546
  "anyOf": [
@@ -3390,9 +3549,9 @@
3390
3549
  ]
3391
3550
  },
3392
3551
  "noDuplicateObjectKeys": {
3393
- "description": "Prevents object literals having more than one property declaration for the same name.",
3552
+ "description": "Disallow two keys with the same name inside objects.",
3394
3553
  "anyOf": [
3395
- { "$ref": "#/definitions/RuleFixConfiguration" },
3554
+ { "$ref": "#/definitions/RuleConfiguration" },
3396
3555
  { "type": "null" }
3397
3556
  ]
3398
3557
  },
@@ -3403,6 +3562,13 @@
3403
3562
  { "type": "null" }
3404
3563
  ]
3405
3564
  },
3565
+ "noDuplicateSelectorsKeyframeBlock": {
3566
+ "description": "Disallow duplicate selectors within keyframe blocks.",
3567
+ "anyOf": [
3568
+ { "$ref": "#/definitions/RuleConfiguration" },
3569
+ { "type": "null" }
3570
+ ]
3571
+ },
3406
3572
  "noDuplicateTestHooks": {
3407
3573
  "description": "A describe block should not contain duplicate hooks.",
3408
3574
  "anyOf": [
@@ -3410,6 +3576,13 @@
3410
3576
  { "type": "null" }
3411
3577
  ]
3412
3578
  },
3579
+ "noEmptyBlock": {
3580
+ "description": "Disallow CSS empty blocks.",
3581
+ "anyOf": [
3582
+ { "$ref": "#/definitions/RuleConfiguration" },
3583
+ { "type": "null" }
3584
+ ]
3585
+ },
3413
3586
  "noEmptyBlockStatements": {
3414
3587
  "description": "Disallow empty block statements and static blocks.",
3415
3588
  "anyOf": [
@@ -3424,6 +3597,13 @@
3424
3597
  { "type": "null" }
3425
3598
  ]
3426
3599
  },
3600
+ "noEvolvingTypes": {
3601
+ "description": "Disallow variables from evolving into any type through reassignments.",
3602
+ "anyOf": [
3603
+ { "$ref": "#/definitions/RuleConfiguration" },
3604
+ { "type": "null" }
3605
+ ]
3606
+ },
3427
3607
  "noExplicitAny": {
3428
3608
  "description": "Disallow the any type usage.",
3429
3609
  "anyOf": [
@@ -3501,6 +3681,13 @@
3501
3681
  { "type": "null" }
3502
3682
  ]
3503
3683
  },
3684
+ "noImportantInKeyframe": {
3685
+ "description": "Disallow invalid !important within keyframe declarations",
3686
+ "anyOf": [
3687
+ { "$ref": "#/definitions/RuleConfiguration" },
3688
+ { "type": "null" }
3689
+ ]
3690
+ },
3504
3691
  "noLabelVar": {
3505
3692
  "description": "Disallow labels that share a name with a variable",
3506
3693
  "anyOf": [
@@ -3522,6 +3709,13 @@
3522
3709
  { "type": "null" }
3523
3710
  ]
3524
3711
  },
3712
+ "noMisplacedAssertion": {
3713
+ "description": "Checks that the assertion function, for example expect, is placed inside an it() function call.",
3714
+ "anyOf": [
3715
+ { "$ref": "#/definitions/RuleConfiguration" },
3716
+ { "type": "null" }
3717
+ ]
3718
+ },
3525
3719
  "noMisrefactoredShorthandAssign": {
3526
3720
  "description": "Disallow shorthand assign when variable appears on both sides.",
3527
3721
  "anyOf": [
@@ -3536,6 +3730,13 @@
3536
3730
  { "type": "null" }
3537
3731
  ]
3538
3732
  },
3733
+ "noReactSpecificProps": {
3734
+ "description": "Prevents React-specific JSX properties from being used.",
3735
+ "anyOf": [
3736
+ { "$ref": "#/definitions/RuleFixConfiguration" },
3737
+ { "type": "null" }
3738
+ ]
3739
+ },
3539
3740
  "noRedeclare": {
3540
3741
  "description": "Disallow variable, function, class, and type redeclarations in the same scope.",
3541
3742
  "anyOf": [
@@ -3564,6 +3765,13 @@
3564
3765
  { "type": "null" }
3565
3766
  ]
3566
3767
  },
3768
+ "noShorthandPropertyOverrides": {
3769
+ "description": "Disallow shorthand properties that override related longhand properties.",
3770
+ "anyOf": [
3771
+ { "$ref": "#/definitions/RuleConfiguration" },
3772
+ { "type": "null" }
3773
+ ]
3774
+ },
3567
3775
  "noSkippedTests": {
3568
3776
  "description": "Disallow disabled tests.",
3569
3777
  "anyOf": [
@@ -3624,6 +3832,13 @@
3624
3832
  { "type": "null" }
3625
3833
  ]
3626
3834
  },
3835
+ "useErrorMessage": {
3836
+ "description": "Enforce passing a message value when creating a built-in error.",
3837
+ "anyOf": [
3838
+ { "$ref": "#/definitions/RuleConfiguration" },
3839
+ { "type": "null" }
3840
+ ]
3841
+ },
3627
3842
  "useGetterReturn": {
3628
3843
  "description": "Enforce get methods to always return a value.",
3629
3844
  "anyOf": [
@@ -3645,6 +3860,13 @@
3645
3860
  { "type": "null" }
3646
3861
  ]
3647
3862
  },
3863
+ "useNumberToFixedDigitsArgument": {
3864
+ "description": "Enforce using the digits argument with Number#toFixed().",
3865
+ "anyOf": [
3866
+ { "$ref": "#/definitions/RuleFixConfiguration" },
3867
+ { "type": "null" }
3868
+ ]
3869
+ },
3648
3870
  "useValidTypeof": {
3649
3871
  "description": "This rule verifies the result of typeof $expr unary expressions is being compared to valid values, either string literals containing valid type names or other typeof expressions",
3650
3872
  "anyOf": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biomejs/biome",
3
- "version": "1.8.4-nightly.d079e53",
3
+ "version": "1.9.0",
4
4
  "bin": {
5
5
  "biome": "bin/biome"
6
6
  },
@@ -45,13 +45,13 @@
45
45
  "provenance": true
46
46
  },
47
47
  "optionalDependencies": {
48
- "@biomejs/cli-win32-x64": "1.8.4-nightly.d079e53",
49
- "@biomejs/cli-win32-arm64": "1.8.4-nightly.d079e53",
50
- "@biomejs/cli-darwin-x64": "1.8.4-nightly.d079e53",
51
- "@biomejs/cli-darwin-arm64": "1.8.4-nightly.d079e53",
52
- "@biomejs/cli-linux-x64": "1.8.4-nightly.d079e53",
53
- "@biomejs/cli-linux-arm64": "1.8.4-nightly.d079e53",
54
- "@biomejs/cli-linux-x64-musl": "1.8.4-nightly.d079e53",
55
- "@biomejs/cli-linux-arm64-musl": "1.8.4-nightly.d079e53"
48
+ "@biomejs/cli-win32-x64": "1.9.0",
49
+ "@biomejs/cli-win32-arm64": "1.9.0",
50
+ "@biomejs/cli-darwin-x64": "1.9.0",
51
+ "@biomejs/cli-darwin-arm64": "1.9.0",
52
+ "@biomejs/cli-linux-x64": "1.9.0",
53
+ "@biomejs/cli-linux-arm64": "1.9.0",
54
+ "@biomejs/cli-linux-x64-musl": "1.9.0",
55
+ "@biomejs/cli-linux-arm64-musl": "1.9.0"
56
56
  }
57
57
  }