@biomejs/wasm-nodejs 2.3.11 → 2.3.13

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/biome_wasm.d.ts CHANGED
@@ -799,7 +799,7 @@ type VcsClientKind = "git";
799
799
  interface Source {
800
800
  /**
801
801
  * Provides a code action to sort the imports and exports in the file using a built-in or custom order.
802
- See <https://biomejs.dev/assist/actions/organize-imports>
802
+ See https://biomejs.dev/assist/actions/organize-imports
803
803
  */
804
804
  organizeImports?: OrganizeImportsConfiguration;
805
805
  /**
@@ -808,17 +808,17 @@ See <https://biomejs.dev/assist/actions/organize-imports>
808
808
  recommended?: boolean;
809
809
  /**
810
810
  * Enforce attribute sorting in JSX elements.
811
- See <https://biomejs.dev/assist/actions/use-sorted-attributes>
811
+ See https://biomejs.dev/assist/actions/use-sorted-attributes
812
812
  */
813
813
  useSortedAttributes?: UseSortedAttributesConfiguration;
814
814
  /**
815
815
  * Sort the keys of a JSON object in natural order.
816
- See <https://biomejs.dev/assist/actions/use-sorted-keys>
816
+ See https://biomejs.dev/assist/actions/use-sorted-keys
817
817
  */
818
818
  useSortedKeys?: UseSortedKeysConfiguration;
819
819
  /**
820
820
  * Enforce ordering of CSS properties and nested rules.
821
- See <https://biomejs.dev/assist/actions/use-sorted-properties>
821
+ See https://biomejs.dev/assist/actions/use-sorted-properties
822
822
  */
823
823
  useSortedProperties?: UseSortedPropertiesConfiguration;
824
824
  }
@@ -947,82 +947,82 @@ type GroupPlainConfiguration = "off" | "on" | "info" | "warn" | "error";
947
947
  interface A11y {
948
948
  /**
949
949
  * Enforce that the accessKey attribute is not used on any HTML element.
950
- See <https://biomejs.dev/linter/rules/no-access-key>
950
+ See https://biomejs.dev/linter/rules/no-access-key
951
951
  */
952
952
  noAccessKey?: NoAccessKeyConfiguration;
953
953
  /**
954
954
  * Enforce that aria-hidden="true" is not set on focusable elements.
955
- See <https://biomejs.dev/linter/rules/no-aria-hidden-on-focusable>
955
+ See https://biomejs.dev/linter/rules/no-aria-hidden-on-focusable
956
956
  */
957
957
  noAriaHiddenOnFocusable?: NoAriaHiddenOnFocusableConfiguration;
958
958
  /**
959
959
  * Enforce that elements that do not support ARIA roles, states, and properties do not have those attributes.
960
- See <https://biomejs.dev/linter/rules/no-aria-unsupported-elements>
960
+ See https://biomejs.dev/linter/rules/no-aria-unsupported-elements
961
961
  */
962
962
  noAriaUnsupportedElements?: NoAriaUnsupportedElementsConfiguration;
963
963
  /**
964
964
  * Enforce that autoFocus prop is not used on elements.
965
- See <https://biomejs.dev/linter/rules/no-autofocus>
965
+ See https://biomejs.dev/linter/rules/no-autofocus
966
966
  */
967
967
  noAutofocus?: NoAutofocusConfiguration;
968
968
  /**
969
969
  * Enforces that no distracting elements are used.
970
- See <https://biomejs.dev/linter/rules/no-distracting-elements>
970
+ See https://biomejs.dev/linter/rules/no-distracting-elements
971
971
  */
972
972
  noDistractingElements?: NoDistractingElementsConfiguration;
973
973
  /**
974
974
  * The scope prop should be used only on \<th> elements.
975
- See <https://biomejs.dev/linter/rules/no-header-scope>
975
+ See https://biomejs.dev/linter/rules/no-header-scope
976
976
  */
977
977
  noHeaderScope?: NoHeaderScopeConfiguration;
978
978
  /**
979
979
  * Enforce that non-interactive ARIA roles are not assigned to interactive HTML elements.
980
- See <https://biomejs.dev/linter/rules/no-interactive-element-to-noninteractive-role>
980
+ See https://biomejs.dev/linter/rules/no-interactive-element-to-noninteractive-role
981
981
  */
982
982
  noInteractiveElementToNoninteractiveRole?: NoInteractiveElementToNoninteractiveRoleConfiguration;
983
983
  /**
984
984
  * Enforce that a label element or component has a text label and an associated input.
985
- See <https://biomejs.dev/linter/rules/no-label-without-control>
985
+ See https://biomejs.dev/linter/rules/no-label-without-control
986
986
  */
987
987
  noLabelWithoutControl?: NoLabelWithoutControlConfiguration;
988
988
  /**
989
989
  * Disallow use event handlers on non-interactive elements.
990
- See <https://biomejs.dev/linter/rules/no-noninteractive-element-interactions>
990
+ See https://biomejs.dev/linter/rules/no-noninteractive-element-interactions
991
991
  */
992
992
  noNoninteractiveElementInteractions?: NoNoninteractiveElementInteractionsConfiguration;
993
993
  /**
994
994
  * Enforce that interactive ARIA roles are not assigned to non-interactive HTML elements.
995
- See <https://biomejs.dev/linter/rules/no-noninteractive-element-to-interactive-role>
995
+ See https://biomejs.dev/linter/rules/no-noninteractive-element-to-interactive-role
996
996
  */
997
997
  noNoninteractiveElementToInteractiveRole?: NoNoninteractiveElementToInteractiveRoleConfiguration;
998
998
  /**
999
999
  * Enforce that tabIndex is not assigned to non-interactive HTML elements.
1000
- See <https://biomejs.dev/linter/rules/no-noninteractive-tabindex>
1000
+ See https://biomejs.dev/linter/rules/no-noninteractive-tabindex
1001
1001
  */
1002
1002
  noNoninteractiveTabindex?: NoNoninteractiveTabindexConfiguration;
1003
1003
  /**
1004
1004
  * Prevent the usage of positive integers on tabIndex property.
1005
- See <https://biomejs.dev/linter/rules/no-positive-tabindex>
1005
+ See https://biomejs.dev/linter/rules/no-positive-tabindex
1006
1006
  */
1007
1007
  noPositiveTabindex?: NoPositiveTabindexConfiguration;
1008
1008
  /**
1009
1009
  * Enforce img alt prop does not contain the word "image", "picture", or "photo".
1010
- See <https://biomejs.dev/linter/rules/no-redundant-alt>
1010
+ See https://biomejs.dev/linter/rules/no-redundant-alt
1011
1011
  */
1012
1012
  noRedundantAlt?: NoRedundantAltConfiguration;
1013
1013
  /**
1014
1014
  * Enforce explicit role property is not the same as implicit/default role property on an element.
1015
- See <https://biomejs.dev/linter/rules/no-redundant-roles>
1015
+ See https://biomejs.dev/linter/rules/no-redundant-roles
1016
1016
  */
1017
1017
  noRedundantRoles?: NoRedundantRolesConfiguration;
1018
1018
  /**
1019
1019
  * Enforce that static, visible elements (such as \<div>) that have click handlers use the valid role attribute.
1020
- See <https://biomejs.dev/linter/rules/no-static-element-interactions>
1020
+ See https://biomejs.dev/linter/rules/no-static-element-interactions
1021
1021
  */
1022
1022
  noStaticElementInteractions?: NoStaticElementInteractionsConfiguration;
1023
1023
  /**
1024
1024
  * Enforces the usage of the title element for the svg element.
1025
- See <https://biomejs.dev/linter/rules/no-svg-without-title>
1025
+ See https://biomejs.dev/linter/rules/no-svg-without-title
1026
1026
  */
1027
1027
  noSvgWithoutTitle?: NoSvgWithoutTitleConfiguration;
1028
1028
  /**
@@ -1031,269 +1031,269 @@ See <https://biomejs.dev/linter/rules/no-svg-without-title>
1031
1031
  recommended?: boolean;
1032
1032
  /**
1033
1033
  * Enforce that all elements that require alternative text have meaningful information to relay back to the end user.
1034
- See <https://biomejs.dev/linter/rules/use-alt-text>
1034
+ See https://biomejs.dev/linter/rules/use-alt-text
1035
1035
  */
1036
1036
  useAltText?: UseAltTextConfiguration;
1037
1037
  /**
1038
1038
  * Enforce that anchors have content and that the content is accessible to screen readers.
1039
- See <https://biomejs.dev/linter/rules/use-anchor-content>
1039
+ See https://biomejs.dev/linter/rules/use-anchor-content
1040
1040
  */
1041
1041
  useAnchorContent?: UseAnchorContentConfiguration;
1042
1042
  /**
1043
1043
  * Enforce that tabIndex is assigned to non-interactive HTML elements with aria-activedescendant.
1044
- See <https://biomejs.dev/linter/rules/use-aria-activedescendant-with-tabindex>
1044
+ See https://biomejs.dev/linter/rules/use-aria-activedescendant-with-tabindex
1045
1045
  */
1046
1046
  useAriaActivedescendantWithTabindex?: UseAriaActivedescendantWithTabindexConfiguration;
1047
1047
  /**
1048
1048
  * Enforce that elements with ARIA roles must have all required ARIA attributes for that role.
1049
- See <https://biomejs.dev/linter/rules/use-aria-props-for-role>
1049
+ See https://biomejs.dev/linter/rules/use-aria-props-for-role
1050
1050
  */
1051
1051
  useAriaPropsForRole?: UseAriaPropsForRoleConfiguration;
1052
1052
  /**
1053
1053
  * Enforce that ARIA properties are valid for the roles that are supported by the element.
1054
- See <https://biomejs.dev/linter/rules/use-aria-props-supported-by-role>
1054
+ See https://biomejs.dev/linter/rules/use-aria-props-supported-by-role
1055
1055
  */
1056
1056
  useAriaPropsSupportedByRole?: UseAriaPropsSupportedByRoleConfiguration;
1057
1057
  /**
1058
1058
  * Enforces the usage of the attribute type for the element button.
1059
- See <https://biomejs.dev/linter/rules/use-button-type>
1059
+ See https://biomejs.dev/linter/rules/use-button-type
1060
1060
  */
1061
1061
  useButtonType?: UseButtonTypeConfiguration;
1062
1062
  /**
1063
1063
  * Elements with an interactive role and interaction handlers must be focusable.
1064
- See <https://biomejs.dev/linter/rules/use-focusable-interactive>
1064
+ See https://biomejs.dev/linter/rules/use-focusable-interactive
1065
1065
  */
1066
1066
  useFocusableInteractive?: UseFocusableInteractiveConfiguration;
1067
1067
  /**
1068
1068
  * Disallow a missing generic family keyword within font families.
1069
- See <https://biomejs.dev/linter/rules/use-generic-font-names>
1069
+ See https://biomejs.dev/linter/rules/use-generic-font-names
1070
1070
  */
1071
1071
  useGenericFontNames?: UseGenericFontNamesConfiguration;
1072
1072
  /**
1073
1073
  * 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.
1074
- See <https://biomejs.dev/linter/rules/use-heading-content>
1074
+ See https://biomejs.dev/linter/rules/use-heading-content
1075
1075
  */
1076
1076
  useHeadingContent?: UseHeadingContentConfiguration;
1077
1077
  /**
1078
1078
  * Enforce that html element has lang attribute.
1079
- See <https://biomejs.dev/linter/rules/use-html-lang>
1079
+ See https://biomejs.dev/linter/rules/use-html-lang
1080
1080
  */
1081
1081
  useHtmlLang?: UseHtmlLangConfiguration;
1082
1082
  /**
1083
1083
  * Enforces the usage of the attribute title for the element iframe.
1084
- See <https://biomejs.dev/linter/rules/use-iframe-title>
1084
+ See https://biomejs.dev/linter/rules/use-iframe-title
1085
1085
  */
1086
1086
  useIframeTitle?: UseIframeTitleConfiguration;
1087
1087
  /**
1088
1088
  * Enforce onClick is accompanied by at least one of the following: onKeyUp, onKeyDown, onKeyPress.
1089
- See <https://biomejs.dev/linter/rules/use-key-with-click-events>
1089
+ See https://biomejs.dev/linter/rules/use-key-with-click-events
1090
1090
  */
1091
1091
  useKeyWithClickEvents?: UseKeyWithClickEventsConfiguration;
1092
1092
  /**
1093
1093
  * Enforce onMouseOver / onMouseOut are accompanied by onFocus / onBlur.
1094
- See <https://biomejs.dev/linter/rules/use-key-with-mouse-events>
1094
+ See https://biomejs.dev/linter/rules/use-key-with-mouse-events
1095
1095
  */
1096
1096
  useKeyWithMouseEvents?: UseKeyWithMouseEventsConfiguration;
1097
1097
  /**
1098
1098
  * Enforces that audio and video elements must have a track for captions.
1099
- See <https://biomejs.dev/linter/rules/use-media-caption>
1099
+ See https://biomejs.dev/linter/rules/use-media-caption
1100
1100
  */
1101
1101
  useMediaCaption?: UseMediaCaptionConfiguration;
1102
1102
  /**
1103
1103
  * It detects the use of role attributes in JSX elements and suggests using semantic elements instead.
1104
- See <https://biomejs.dev/linter/rules/use-semantic-elements>
1104
+ See https://biomejs.dev/linter/rules/use-semantic-elements
1105
1105
  */
1106
1106
  useSemanticElements?: UseSemanticElementsConfiguration;
1107
1107
  /**
1108
1108
  * Enforce that all anchors are valid, and they are navigable elements.
1109
- See <https://biomejs.dev/linter/rules/use-valid-anchor>
1109
+ See https://biomejs.dev/linter/rules/use-valid-anchor
1110
1110
  */
1111
1111
  useValidAnchor?: UseValidAnchorConfiguration;
1112
1112
  /**
1113
1113
  * Ensures that ARIA properties aria-* are all valid.
1114
- See <https://biomejs.dev/linter/rules/use-valid-aria-props>
1114
+ See https://biomejs.dev/linter/rules/use-valid-aria-props
1115
1115
  */
1116
1116
  useValidAriaProps?: UseValidAriaPropsConfiguration;
1117
1117
  /**
1118
1118
  * Elements with ARIA roles must use a valid, non-abstract ARIA role.
1119
- See <https://biomejs.dev/linter/rules/use-valid-aria-role>
1119
+ See https://biomejs.dev/linter/rules/use-valid-aria-role
1120
1120
  */
1121
1121
  useValidAriaRole?: UseValidAriaRoleConfiguration;
1122
1122
  /**
1123
1123
  * Enforce that ARIA state and property values are valid.
1124
- See <https://biomejs.dev/linter/rules/use-valid-aria-values>
1124
+ See https://biomejs.dev/linter/rules/use-valid-aria-values
1125
1125
  */
1126
1126
  useValidAriaValues?: UseValidAriaValuesConfiguration;
1127
1127
  /**
1128
1128
  * Use valid values for the autocomplete attribute on input elements.
1129
- See <https://biomejs.dev/linter/rules/use-valid-autocomplete>
1129
+ See https://biomejs.dev/linter/rules/use-valid-autocomplete
1130
1130
  */
1131
1131
  useValidAutocomplete?: UseValidAutocompleteConfiguration;
1132
1132
  /**
1133
1133
  * Ensure that the attribute passed to the lang attribute is a correct ISO language and/or country.
1134
- See <https://biomejs.dev/linter/rules/use-valid-lang>
1134
+ See https://biomejs.dev/linter/rules/use-valid-lang
1135
1135
  */
1136
1136
  useValidLang?: UseValidLangConfiguration;
1137
1137
  }
1138
1138
  interface Complexity {
1139
1139
  /**
1140
1140
  * Disallow unclear usage of consecutive space characters in regular expression literals.
1141
- See <https://biomejs.dev/linter/rules/no-adjacent-spaces-in-regex>
1141
+ See https://biomejs.dev/linter/rules/no-adjacent-spaces-in-regex
1142
1142
  */
1143
1143
  noAdjacentSpacesInRegex?: NoAdjacentSpacesInRegexConfiguration;
1144
1144
  /**
1145
1145
  * Disallow the use of arguments.
1146
- See <https://biomejs.dev/linter/rules/no-arguments>
1146
+ See https://biomejs.dev/linter/rules/no-arguments
1147
1147
  */
1148
1148
  noArguments?: NoArgumentsConfiguration;
1149
1149
  /**
1150
1150
  * Disallow primitive type aliases and misleading types.
1151
- See <https://biomejs.dev/linter/rules/no-banned-types>
1151
+ See https://biomejs.dev/linter/rules/no-banned-types
1152
1152
  */
1153
1153
  noBannedTypes?: NoBannedTypesConfiguration;
1154
1154
  /**
1155
1155
  * Disallow comma operator.
1156
- See <https://biomejs.dev/linter/rules/no-comma-operator>
1156
+ See https://biomejs.dev/linter/rules/no-comma-operator
1157
1157
  */
1158
1158
  noCommaOperator?: NoCommaOperatorConfiguration;
1159
1159
  /**
1160
1160
  * Disallow empty type parameters in type aliases and interfaces.
1161
- See <https://biomejs.dev/linter/rules/no-empty-type-parameters>
1161
+ See https://biomejs.dev/linter/rules/no-empty-type-parameters
1162
1162
  */
1163
1163
  noEmptyTypeParameters?: NoEmptyTypeParametersConfiguration;
1164
1164
  /**
1165
1165
  * Disallow functions that exceed a given Cognitive Complexity score.
1166
- See <https://biomejs.dev/linter/rules/no-excessive-cognitive-complexity>
1166
+ See https://biomejs.dev/linter/rules/no-excessive-cognitive-complexity
1167
1167
  */
1168
1168
  noExcessiveCognitiveComplexity?: NoExcessiveCognitiveComplexityConfiguration;
1169
1169
  /**
1170
1170
  * Restrict the number of lines of code in a function.
1171
- See <https://biomejs.dev/linter/rules/no-excessive-lines-per-function>
1171
+ See https://biomejs.dev/linter/rules/no-excessive-lines-per-function
1172
1172
  */
1173
1173
  noExcessiveLinesPerFunction?: NoExcessiveLinesPerFunctionConfiguration;
1174
1174
  /**
1175
1175
  * This rule enforces a maximum depth to nested describe() in test files.
1176
- See <https://biomejs.dev/linter/rules/no-excessive-nested-test-suites>
1176
+ See https://biomejs.dev/linter/rules/no-excessive-nested-test-suites
1177
1177
  */
1178
1178
  noExcessiveNestedTestSuites?: NoExcessiveNestedTestSuitesConfiguration;
1179
1179
  /**
1180
1180
  * Disallow unnecessary boolean casts.
1181
- See <https://biomejs.dev/linter/rules/no-extra-boolean-cast>
1181
+ See https://biomejs.dev/linter/rules/no-extra-boolean-cast
1182
1182
  */
1183
1183
  noExtraBooleanCast?: NoExtraBooleanCastConfiguration;
1184
1184
  /**
1185
1185
  * Disallow to use unnecessary callback on flatMap.
1186
- See <https://biomejs.dev/linter/rules/no-flat-map-identity>
1186
+ See https://biomejs.dev/linter/rules/no-flat-map-identity
1187
1187
  */
1188
1188
  noFlatMapIdentity?: NoFlatMapIdentityConfiguration;
1189
1189
  /**
1190
1190
  * Prefer for...of statement instead of Array.forEach.
1191
- See <https://biomejs.dev/linter/rules/no-for-each>
1191
+ See https://biomejs.dev/linter/rules/no-for-each
1192
1192
  */
1193
1193
  noForEach?: NoForEachConfiguration;
1194
1194
  /**
1195
1195
  * Disallow shorthand type conversions.
1196
- See <https://biomejs.dev/linter/rules/no-implicit-coercions>
1196
+ See https://biomejs.dev/linter/rules/no-implicit-coercions
1197
1197
  */
1198
1198
  noImplicitCoercions?: NoImplicitCoercionsConfiguration;
1199
1199
  /**
1200
1200
  * Disallow the use of the !important style.
1201
- See <https://biomejs.dev/linter/rules/no-important-styles>
1201
+ See https://biomejs.dev/linter/rules/no-important-styles
1202
1202
  */
1203
1203
  noImportantStyles?: NoImportantStylesConfiguration;
1204
1204
  /**
1205
1205
  * This rule reports when a class has no non-static members, such as for a class used exclusively as a static namespace.
1206
- See <https://biomejs.dev/linter/rules/no-static-only-class>
1206
+ See https://biomejs.dev/linter/rules/no-static-only-class
1207
1207
  */
1208
1208
  noStaticOnlyClass?: NoStaticOnlyClassConfiguration;
1209
1209
  /**
1210
1210
  * Disallow this and super in static contexts.
1211
- See <https://biomejs.dev/linter/rules/no-this-in-static>
1211
+ See https://biomejs.dev/linter/rules/no-this-in-static
1212
1212
  */
1213
1213
  noThisInStatic?: NoThisInStaticConfiguration;
1214
1214
  /**
1215
1215
  * Disallow unnecessary catch clauses.
1216
- See <https://biomejs.dev/linter/rules/no-useless-catch>
1216
+ See https://biomejs.dev/linter/rules/no-useless-catch
1217
1217
  */
1218
1218
  noUselessCatch?: NoUselessCatchConfiguration;
1219
1219
  /**
1220
1220
  * Disallow unnecessary constructors.
1221
- See <https://biomejs.dev/linter/rules/no-useless-constructor>
1221
+ See https://biomejs.dev/linter/rules/no-useless-constructor
1222
1222
  */
1223
1223
  noUselessConstructor?: NoUselessConstructorConfiguration;
1224
1224
  /**
1225
1225
  * Avoid using unnecessary continue.
1226
- See <https://biomejs.dev/linter/rules/no-useless-continue>
1226
+ See https://biomejs.dev/linter/rules/no-useless-continue
1227
1227
  */
1228
1228
  noUselessContinue?: NoUselessContinueConfiguration;
1229
1229
  /**
1230
1230
  * Disallow empty exports that don't change anything in a module file.
1231
- See <https://biomejs.dev/linter/rules/no-useless-empty-export>
1231
+ See https://biomejs.dev/linter/rules/no-useless-empty-export
1232
1232
  */
1233
1233
  noUselessEmptyExport?: NoUselessEmptyExportConfiguration;
1234
1234
  /**
1235
1235
  * Disallow unnecessary escape sequence in regular expression literals.
1236
- See <https://biomejs.dev/linter/rules/no-useless-escape-in-regex>
1236
+ See https://biomejs.dev/linter/rules/no-useless-escape-in-regex
1237
1237
  */
1238
1238
  noUselessEscapeInRegex?: NoUselessEscapeInRegexConfiguration;
1239
1239
  /**
1240
1240
  * Disallow unnecessary fragments.
1241
- See <https://biomejs.dev/linter/rules/no-useless-fragments>
1241
+ See https://biomejs.dev/linter/rules/no-useless-fragments
1242
1242
  */
1243
1243
  noUselessFragments?: NoUselessFragmentsConfiguration;
1244
1244
  /**
1245
1245
  * Disallow unnecessary labels.
1246
- See <https://biomejs.dev/linter/rules/no-useless-label>
1246
+ See https://biomejs.dev/linter/rules/no-useless-label
1247
1247
  */
1248
1248
  noUselessLabel?: NoUselessLabelConfiguration;
1249
1249
  /**
1250
1250
  * Disallow unnecessary nested block statements.
1251
- See <https://biomejs.dev/linter/rules/no-useless-lone-block-statements>
1251
+ See https://biomejs.dev/linter/rules/no-useless-lone-block-statements
1252
1252
  */
1253
1253
  noUselessLoneBlockStatements?: NoUselessLoneBlockStatementsConfiguration;
1254
1254
  /**
1255
1255
  * Disallow renaming import, export, and destructured assignments to the same name.
1256
- See <https://biomejs.dev/linter/rules/no-useless-rename>
1256
+ See https://biomejs.dev/linter/rules/no-useless-rename
1257
1257
  */
1258
1258
  noUselessRename?: NoUselessRenameConfiguration;
1259
1259
  /**
1260
1260
  * Disallow unnecessary concatenation of string or template literals.
1261
- See <https://biomejs.dev/linter/rules/no-useless-string-concat>
1261
+ See https://biomejs.dev/linter/rules/no-useless-string-concat
1262
1262
  */
1263
1263
  noUselessStringConcat?: NoUselessStringConcatConfiguration;
1264
1264
  /**
1265
1265
  * Disallow unnecessary String.raw function in template string literals without any escape sequence.
1266
- See <https://biomejs.dev/linter/rules/no-useless-string-raw>
1266
+ See https://biomejs.dev/linter/rules/no-useless-string-raw
1267
1267
  */
1268
1268
  noUselessStringRaw?: NoUselessStringRawConfiguration;
1269
1269
  /**
1270
1270
  * Disallow useless case in switch statements.
1271
- See <https://biomejs.dev/linter/rules/no-useless-switch-case>
1271
+ See https://biomejs.dev/linter/rules/no-useless-switch-case
1272
1272
  */
1273
1273
  noUselessSwitchCase?: NoUselessSwitchCaseConfiguration;
1274
1274
  /**
1275
1275
  * Disallow ternary operators when simpler alternatives exist.
1276
- See <https://biomejs.dev/linter/rules/no-useless-ternary>
1276
+ See https://biomejs.dev/linter/rules/no-useless-ternary
1277
1277
  */
1278
1278
  noUselessTernary?: NoUselessTernaryConfiguration;
1279
1279
  /**
1280
1280
  * Disallow useless this aliasing.
1281
- See <https://biomejs.dev/linter/rules/no-useless-this-alias>
1281
+ See https://biomejs.dev/linter/rules/no-useless-this-alias
1282
1282
  */
1283
1283
  noUselessThisAlias?: NoUselessThisAliasConfiguration;
1284
1284
  /**
1285
1285
  * Disallow using any or unknown as type constraint.
1286
- See <https://biomejs.dev/linter/rules/no-useless-type-constraint>
1286
+ See https://biomejs.dev/linter/rules/no-useless-type-constraint
1287
1287
  */
1288
1288
  noUselessTypeConstraint?: NoUselessTypeConstraintConfiguration;
1289
1289
  /**
1290
1290
  * Disallow initializing variables to undefined.
1291
- See <https://biomejs.dev/linter/rules/no-useless-undefined-initialization>
1291
+ See https://biomejs.dev/linter/rules/no-useless-undefined-initialization
1292
1292
  */
1293
1293
  noUselessUndefinedInitialization?: NoUselessUndefinedInitializationConfiguration;
1294
1294
  /**
1295
1295
  * Disallow the use of void operators, which is not a familiar operator.
1296
- See <https://biomejs.dev/linter/rules/no-void>
1296
+ See https://biomejs.dev/linter/rules/no-void
1297
1297
  */
1298
1298
  noVoid?: NoVoidConfiguration;
1299
1299
  /**
@@ -1302,324 +1302,324 @@ See <https://biomejs.dev/linter/rules/no-void>
1302
1302
  recommended?: boolean;
1303
1303
  /**
1304
1304
  * Use arrow functions over function expressions.
1305
- See <https://biomejs.dev/linter/rules/use-arrow-function>
1305
+ See https://biomejs.dev/linter/rules/use-arrow-function
1306
1306
  */
1307
1307
  useArrowFunction?: UseArrowFunctionConfiguration;
1308
1308
  /**
1309
1309
  * Use Date.now() to get the number of milliseconds since the Unix Epoch.
1310
- See <https://biomejs.dev/linter/rules/use-date-now>
1310
+ See https://biomejs.dev/linter/rules/use-date-now
1311
1311
  */
1312
1312
  useDateNow?: UseDateNowConfiguration;
1313
1313
  /**
1314
1314
  * Promotes the use of .flatMap() when map().flat() are used together.
1315
- See <https://biomejs.dev/linter/rules/use-flat-map>
1315
+ See https://biomejs.dev/linter/rules/use-flat-map
1316
1316
  */
1317
1317
  useFlatMap?: UseFlatMapConfiguration;
1318
1318
  /**
1319
1319
  * Prefer Array#{indexOf,lastIndexOf}() over Array#{findIndex,findLastIndex}() when looking for the index of an item.
1320
- See <https://biomejs.dev/linter/rules/use-index-of>
1320
+ See https://biomejs.dev/linter/rules/use-index-of
1321
1321
  */
1322
1322
  useIndexOf?: UseIndexOfConfiguration;
1323
1323
  /**
1324
1324
  * Enforce the usage of a literal access to properties over computed property access.
1325
- See <https://biomejs.dev/linter/rules/use-literal-keys>
1325
+ See https://biomejs.dev/linter/rules/use-literal-keys
1326
1326
  */
1327
1327
  useLiteralKeys?: UseLiteralKeysConfiguration;
1328
1328
  /**
1329
1329
  * Disallow parseInt() and Number.parseInt() in favor of binary, octal, and hexadecimal literals.
1330
- See <https://biomejs.dev/linter/rules/use-numeric-literals>
1330
+ See https://biomejs.dev/linter/rules/use-numeric-literals
1331
1331
  */
1332
1332
  useNumericLiterals?: UseNumericLiteralsConfiguration;
1333
1333
  /**
1334
1334
  * Enforce using concise optional chain instead of chained logical expressions.
1335
- See <https://biomejs.dev/linter/rules/use-optional-chain>
1335
+ See https://biomejs.dev/linter/rules/use-optional-chain
1336
1336
  */
1337
1337
  useOptionalChain?: UseOptionalChainConfiguration;
1338
1338
  /**
1339
1339
  * Enforce the use of the regular expression literals instead of the RegExp constructor if possible.
1340
- See <https://biomejs.dev/linter/rules/use-regex-literals>
1340
+ See https://biomejs.dev/linter/rules/use-regex-literals
1341
1341
  */
1342
1342
  useRegexLiterals?: UseRegexLiteralsConfiguration;
1343
1343
  /**
1344
1344
  * Disallow number literal object member names which are not base 10 or use underscore as separator.
1345
- See <https://biomejs.dev/linter/rules/use-simple-number-keys>
1345
+ See https://biomejs.dev/linter/rules/use-simple-number-keys
1346
1346
  */
1347
1347
  useSimpleNumberKeys?: UseSimpleNumberKeysConfiguration;
1348
1348
  /**
1349
1349
  * Discard redundant terms from logical expressions.
1350
- See <https://biomejs.dev/linter/rules/use-simplified-logic-expression>
1350
+ See https://biomejs.dev/linter/rules/use-simplified-logic-expression
1351
1351
  */
1352
1352
  useSimplifiedLogicExpression?: UseSimplifiedLogicExpressionConfiguration;
1353
1353
  /**
1354
1354
  * Enforce the use of while loops instead of for loops when the initializer and update expressions are not needed.
1355
- See <https://biomejs.dev/linter/rules/use-while>
1355
+ See https://biomejs.dev/linter/rules/use-while
1356
1356
  */
1357
1357
  useWhile?: UseWhileConfiguration;
1358
1358
  }
1359
1359
  interface Correctness {
1360
1360
  /**
1361
1361
  * Prevent passing of children as props.
1362
- See <https://biomejs.dev/linter/rules/no-children-prop>
1362
+ See https://biomejs.dev/linter/rules/no-children-prop
1363
1363
  */
1364
1364
  noChildrenProp?: NoChildrenPropConfiguration;
1365
1365
  /**
1366
1366
  * Prevents from having const variables being re-assigned.
1367
- See <https://biomejs.dev/linter/rules/no-const-assign>
1367
+ See https://biomejs.dev/linter/rules/no-const-assign
1368
1368
  */
1369
1369
  noConstAssign?: NoConstAssignConfiguration;
1370
1370
  /**
1371
1371
  * Disallow constant expressions in conditions.
1372
- See <https://biomejs.dev/linter/rules/no-constant-condition>
1372
+ See https://biomejs.dev/linter/rules/no-constant-condition
1373
1373
  */
1374
1374
  noConstantCondition?: NoConstantConditionConfiguration;
1375
1375
  /**
1376
1376
  * Disallow the use of Math.min and Math.max to clamp a value where the result itself is constant.
1377
- See <https://biomejs.dev/linter/rules/no-constant-math-min-max-clamp>
1377
+ See https://biomejs.dev/linter/rules/no-constant-math-min-max-clamp
1378
1378
  */
1379
1379
  noConstantMathMinMaxClamp?: NoConstantMathMinMaxClampConfiguration;
1380
1380
  /**
1381
1381
  * Disallow returning a value from a constructor.
1382
- See <https://biomejs.dev/linter/rules/no-constructor-return>
1382
+ See https://biomejs.dev/linter/rules/no-constructor-return
1383
1383
  */
1384
1384
  noConstructorReturn?: NoConstructorReturnConfiguration;
1385
1385
  /**
1386
1386
  * Disallow empty character classes in regular expression literals.
1387
- See <https://biomejs.dev/linter/rules/no-empty-character-class-in-regex>
1387
+ See https://biomejs.dev/linter/rules/no-empty-character-class-in-regex
1388
1388
  */
1389
1389
  noEmptyCharacterClassInRegex?: NoEmptyCharacterClassInRegexConfiguration;
1390
1390
  /**
1391
1391
  * Disallows empty destructuring patterns.
1392
- See <https://biomejs.dev/linter/rules/no-empty-pattern>
1392
+ See https://biomejs.dev/linter/rules/no-empty-pattern
1393
1393
  */
1394
1394
  noEmptyPattern?: NoEmptyPatternConfiguration;
1395
1395
  /**
1396
1396
  * Disallow the use of __dirname and __filename in the global scope.
1397
- See <https://biomejs.dev/linter/rules/no-global-dirname-filename>
1397
+ See https://biomejs.dev/linter/rules/no-global-dirname-filename
1398
1398
  */
1399
1399
  noGlobalDirnameFilename?: NoGlobalDirnameFilenameConfiguration;
1400
1400
  /**
1401
1401
  * Disallow calling global object properties as functions.
1402
- See <https://biomejs.dev/linter/rules/no-global-object-calls>
1402
+ See https://biomejs.dev/linter/rules/no-global-object-calls
1403
1403
  */
1404
1404
  noGlobalObjectCalls?: NoGlobalObjectCallsConfiguration;
1405
1405
  /**
1406
1406
  * Disallow function and var declarations that are accessible outside their block.
1407
- See <https://biomejs.dev/linter/rules/no-inner-declarations>
1407
+ See https://biomejs.dev/linter/rules/no-inner-declarations
1408
1408
  */
1409
1409
  noInnerDeclarations?: NoInnerDeclarationsConfiguration;
1410
1410
  /**
1411
1411
  * Ensure that builtins are correctly instantiated.
1412
- See <https://biomejs.dev/linter/rules/no-invalid-builtin-instantiation>
1412
+ See https://biomejs.dev/linter/rules/no-invalid-builtin-instantiation
1413
1413
  */
1414
1414
  noInvalidBuiltinInstantiation?: NoInvalidBuiltinInstantiationConfiguration;
1415
1415
  /**
1416
1416
  * Prevents the incorrect use of super() inside classes. It also checks whether a call super() is missing from classes that extends other constructors.
1417
- See <https://biomejs.dev/linter/rules/no-invalid-constructor-super>
1417
+ See https://biomejs.dev/linter/rules/no-invalid-constructor-super
1418
1418
  */
1419
1419
  noInvalidConstructorSuper?: NoInvalidConstructorSuperConfiguration;
1420
1420
  /**
1421
1421
  * Disallow non-standard direction values for linear gradient functions.
1422
- See <https://biomejs.dev/linter/rules/no-invalid-direction-in-linear-gradient>
1422
+ See https://biomejs.dev/linter/rules/no-invalid-direction-in-linear-gradient
1423
1423
  */
1424
1424
  noInvalidDirectionInLinearGradient?: NoInvalidDirectionInLinearGradientConfiguration;
1425
1425
  /**
1426
1426
  * Disallows invalid named grid areas in CSS Grid Layouts.
1427
- See <https://biomejs.dev/linter/rules/no-invalid-grid-areas>
1427
+ See https://biomejs.dev/linter/rules/no-invalid-grid-areas
1428
1428
  */
1429
1429
  noInvalidGridAreas?: NoInvalidGridAreasConfiguration;
1430
1430
  /**
1431
1431
  * Disallow the use of @import at-rules in invalid positions.
1432
- See <https://biomejs.dev/linter/rules/no-invalid-position-at-import-rule>
1432
+ See https://biomejs.dev/linter/rules/no-invalid-position-at-import-rule
1433
1433
  */
1434
1434
  noInvalidPositionAtImportRule?: NoInvalidPositionAtImportRuleConfiguration;
1435
1435
  /**
1436
1436
  * Disallow the use of variables, function parameters, classes, and enums before their declaration.
1437
- See <https://biomejs.dev/linter/rules/no-invalid-use-before-declaration>
1437
+ See https://biomejs.dev/linter/rules/no-invalid-use-before-declaration
1438
1438
  */
1439
1439
  noInvalidUseBeforeDeclaration?: NoInvalidUseBeforeDeclarationConfiguration;
1440
1440
  /**
1441
1441
  * Disallow missing var function for css variables.
1442
- See <https://biomejs.dev/linter/rules/no-missing-var-function>
1442
+ See https://biomejs.dev/linter/rules/no-missing-var-function
1443
1443
  */
1444
1444
  noMissingVarFunction?: NoMissingVarFunctionConfiguration;
1445
1445
  /**
1446
1446
  * Disallows defining React components inside other components.
1447
- See <https://biomejs.dev/linter/rules/no-nested-component-definitions>
1447
+ See https://biomejs.dev/linter/rules/no-nested-component-definitions
1448
1448
  */
1449
1449
  noNestedComponentDefinitions?: NoNestedComponentDefinitionsConfiguration;
1450
1450
  /**
1451
1451
  * Forbid the use of Node.js builtin modules.
1452
- See <https://biomejs.dev/linter/rules/no-nodejs-modules>
1452
+ See https://biomejs.dev/linter/rules/no-nodejs-modules
1453
1453
  */
1454
1454
  noNodejsModules?: NoNodejsModulesConfiguration;
1455
1455
  /**
1456
1456
  * Disallow \8 and \9 escape sequences in string literals.
1457
- See <https://biomejs.dev/linter/rules/no-nonoctal-decimal-escape>
1457
+ See https://biomejs.dev/linter/rules/no-nonoctal-decimal-escape
1458
1458
  */
1459
1459
  noNonoctalDecimalEscape?: NoNonoctalDecimalEscapeConfiguration;
1460
1460
  /**
1461
1461
  * Disallow literal numbers that lose precision.
1462
- See <https://biomejs.dev/linter/rules/no-precision-loss>
1462
+ See https://biomejs.dev/linter/rules/no-precision-loss
1463
1463
  */
1464
1464
  noPrecisionLoss?: NoPrecisionLossConfiguration;
1465
1465
  /**
1466
1466
  * Restrict imports of private exports.
1467
- See <https://biomejs.dev/linter/rules/no-private-imports>
1467
+ See https://biomejs.dev/linter/rules/no-private-imports
1468
1468
  */
1469
1469
  noPrivateImports?: NoPrivateImportsConfiguration;
1470
1470
  /**
1471
1471
  * Disallow the use of process global.
1472
- See <https://biomejs.dev/linter/rules/no-process-global>
1472
+ See https://biomejs.dev/linter/rules/no-process-global
1473
1473
  */
1474
1474
  noProcessGlobal?: NoProcessGlobalConfiguration;
1475
1475
  /**
1476
1476
  * Disallow useVisibleTask$() functions in Qwik components.
1477
- See <https://biomejs.dev/linter/rules/no-qwik-use-visible-task>
1477
+ See https://biomejs.dev/linter/rules/no-qwik-use-visible-task
1478
1478
  */
1479
1479
  noQwikUseVisibleTask?: NoQwikUseVisibleTaskConfiguration;
1480
1480
  /**
1481
1481
  * Disallow assigning to React component props.
1482
- See <https://biomejs.dev/linter/rules/no-react-prop-assignments>
1482
+ See https://biomejs.dev/linter/rules/no-react-prop-assignments
1483
1483
  */
1484
1484
  noReactPropAssignments?: NoReactPropAssignmentsConfiguration;
1485
1485
  /**
1486
1486
  * Prevent the usage of the return value of React.render.
1487
- See <https://biomejs.dev/linter/rules/no-render-return-value>
1487
+ See https://biomejs.dev/linter/rules/no-render-return-value
1488
1488
  */
1489
1489
  noRenderReturnValue?: NoRenderReturnValueConfiguration;
1490
1490
  /**
1491
1491
  * Disallow the use of configured elements.
1492
- See <https://biomejs.dev/linter/rules/no-restricted-elements>
1492
+ See https://biomejs.dev/linter/rules/no-restricted-elements
1493
1493
  */
1494
1494
  noRestrictedElements?: NoRestrictedElementsConfiguration;
1495
1495
  /**
1496
1496
  * Disallow assignments where both sides are exactly the same.
1497
- See <https://biomejs.dev/linter/rules/no-self-assign>
1497
+ See https://biomejs.dev/linter/rules/no-self-assign
1498
1498
  */
1499
1499
  noSelfAssign?: NoSelfAssignConfiguration;
1500
1500
  /**
1501
1501
  * Disallow returning a value from a setter.
1502
- See <https://biomejs.dev/linter/rules/no-setter-return>
1502
+ See https://biomejs.dev/linter/rules/no-setter-return
1503
1503
  */
1504
1504
  noSetterReturn?: NoSetterReturnConfiguration;
1505
1505
  /**
1506
1506
  * Disallow destructuring props inside JSX components in Solid projects.
1507
- See <https://biomejs.dev/linter/rules/no-solid-destructured-props>
1507
+ See https://biomejs.dev/linter/rules/no-solid-destructured-props
1508
1508
  */
1509
1509
  noSolidDestructuredProps?: NoSolidDestructuredPropsConfiguration;
1510
1510
  /**
1511
1511
  * Disallow comparison of expressions modifying the string case with non-compliant value.
1512
- See <https://biomejs.dev/linter/rules/no-string-case-mismatch>
1512
+ See https://biomejs.dev/linter/rules/no-string-case-mismatch
1513
1513
  */
1514
1514
  noStringCaseMismatch?: NoStringCaseMismatchConfiguration;
1515
1515
  /**
1516
1516
  * Disallow lexical declarations in switch clauses.
1517
- See <https://biomejs.dev/linter/rules/no-switch-declarations>
1517
+ See https://biomejs.dev/linter/rules/no-switch-declarations
1518
1518
  */
1519
1519
  noSwitchDeclarations?: NoSwitchDeclarationsConfiguration;
1520
1520
  /**
1521
1521
  * Disallow the use of dependencies that aren't specified in the package.json.
1522
- See <https://biomejs.dev/linter/rules/no-undeclared-dependencies>
1522
+ See https://biomejs.dev/linter/rules/no-undeclared-dependencies
1523
1523
  */
1524
1524
  noUndeclaredDependencies?: NoUndeclaredDependenciesConfiguration;
1525
1525
  /**
1526
1526
  * Prevents the usage of variables that haven't been declared inside the document.
1527
- See <https://biomejs.dev/linter/rules/no-undeclared-variables>
1527
+ See https://biomejs.dev/linter/rules/no-undeclared-variables
1528
1528
  */
1529
1529
  noUndeclaredVariables?: NoUndeclaredVariablesConfiguration;
1530
1530
  /**
1531
1531
  * Disallow unknown CSS value functions.
1532
- See <https://biomejs.dev/linter/rules/no-unknown-function>
1532
+ See https://biomejs.dev/linter/rules/no-unknown-function
1533
1533
  */
1534
1534
  noUnknownFunction?: NoUnknownFunctionConfiguration;
1535
1535
  /**
1536
1536
  * Disallow unknown media feature names.
1537
- See <https://biomejs.dev/linter/rules/no-unknown-media-feature-name>
1537
+ See https://biomejs.dev/linter/rules/no-unknown-media-feature-name
1538
1538
  */
1539
1539
  noUnknownMediaFeatureName?: NoUnknownMediaFeatureNameConfiguration;
1540
1540
  /**
1541
1541
  * Disallow unknown properties.
1542
- See <https://biomejs.dev/linter/rules/no-unknown-property>
1542
+ See https://biomejs.dev/linter/rules/no-unknown-property
1543
1543
  */
1544
1544
  noUnknownProperty?: NoUnknownPropertyConfiguration;
1545
1545
  /**
1546
1546
  * Disallow unknown pseudo-class selectors.
1547
- See <https://biomejs.dev/linter/rules/no-unknown-pseudo-class>
1547
+ See https://biomejs.dev/linter/rules/no-unknown-pseudo-class
1548
1548
  */
1549
1549
  noUnknownPseudoClass?: NoUnknownPseudoClassConfiguration;
1550
1550
  /**
1551
1551
  * Disallow unknown pseudo-element selectors.
1552
- See <https://biomejs.dev/linter/rules/no-unknown-pseudo-element>
1552
+ See https://biomejs.dev/linter/rules/no-unknown-pseudo-element
1553
1553
  */
1554
1554
  noUnknownPseudoElement?: NoUnknownPseudoElementConfiguration;
1555
1555
  /**
1556
1556
  * Disallow unknown type selectors.
1557
- See <https://biomejs.dev/linter/rules/no-unknown-type-selector>
1557
+ See https://biomejs.dev/linter/rules/no-unknown-type-selector
1558
1558
  */
1559
1559
  noUnknownTypeSelector?: NoUnknownTypeSelectorConfiguration;
1560
1560
  /**
1561
1561
  * Disallow unknown CSS units.
1562
- See <https://biomejs.dev/linter/rules/no-unknown-unit>
1562
+ See https://biomejs.dev/linter/rules/no-unknown-unit
1563
1563
  */
1564
1564
  noUnknownUnit?: NoUnknownUnitConfiguration;
1565
1565
  /**
1566
1566
  * Disallow unmatchable An+B selectors.
1567
- See <https://biomejs.dev/linter/rules/no-unmatchable-anb-selector>
1567
+ See https://biomejs.dev/linter/rules/no-unmatchable-anb-selector
1568
1568
  */
1569
1569
  noUnmatchableAnbSelector?: NoUnmatchableAnbSelectorConfiguration;
1570
1570
  /**
1571
1571
  * Disallow unreachable code.
1572
- See <https://biomejs.dev/linter/rules/no-unreachable>
1572
+ See https://biomejs.dev/linter/rules/no-unreachable
1573
1573
  */
1574
1574
  noUnreachable?: NoUnreachableConfiguration;
1575
1575
  /**
1576
1576
  * Ensures the super() constructor is called exactly once on every code path in a class constructor before this is accessed if the class has a superclass.
1577
- See <https://biomejs.dev/linter/rules/no-unreachable-super>
1577
+ See https://biomejs.dev/linter/rules/no-unreachable-super
1578
1578
  */
1579
1579
  noUnreachableSuper?: NoUnreachableSuperConfiguration;
1580
1580
  /**
1581
1581
  * Disallow control flow statements in finally blocks.
1582
- See <https://biomejs.dev/linter/rules/no-unsafe-finally>
1582
+ See https://biomejs.dev/linter/rules/no-unsafe-finally
1583
1583
  */
1584
1584
  noUnsafeFinally?: NoUnsafeFinallyConfiguration;
1585
1585
  /**
1586
1586
  * Disallow the use of optional chaining in contexts where the undefined value is not allowed.
1587
- See <https://biomejs.dev/linter/rules/no-unsafe-optional-chaining>
1587
+ See https://biomejs.dev/linter/rules/no-unsafe-optional-chaining
1588
1588
  */
1589
1589
  noUnsafeOptionalChaining?: NoUnsafeOptionalChainingConfiguration;
1590
1590
  /**
1591
1591
  * Disallow unused function parameters.
1592
- See <https://biomejs.dev/linter/rules/no-unused-function-parameters>
1592
+ See https://biomejs.dev/linter/rules/no-unused-function-parameters
1593
1593
  */
1594
1594
  noUnusedFunctionParameters?: NoUnusedFunctionParametersConfiguration;
1595
1595
  /**
1596
1596
  * Disallow unused imports.
1597
- See <https://biomejs.dev/linter/rules/no-unused-imports>
1597
+ See https://biomejs.dev/linter/rules/no-unused-imports
1598
1598
  */
1599
1599
  noUnusedImports?: NoUnusedImportsConfiguration;
1600
1600
  /**
1601
1601
  * Disallow unused labels.
1602
- See <https://biomejs.dev/linter/rules/no-unused-labels>
1602
+ See https://biomejs.dev/linter/rules/no-unused-labels
1603
1603
  */
1604
1604
  noUnusedLabels?: NoUnusedLabelsConfiguration;
1605
1605
  /**
1606
1606
  * Disallow unused private class members.
1607
- See <https://biomejs.dev/linter/rules/no-unused-private-class-members>
1607
+ See https://biomejs.dev/linter/rules/no-unused-private-class-members
1608
1608
  */
1609
1609
  noUnusedPrivateClassMembers?: NoUnusedPrivateClassMembersConfiguration;
1610
1610
  /**
1611
1611
  * Disallow unused variables.
1612
- See <https://biomejs.dev/linter/rules/no-unused-variables>
1612
+ See https://biomejs.dev/linter/rules/no-unused-variables
1613
1613
  */
1614
1614
  noUnusedVariables?: NoUnusedVariablesConfiguration;
1615
1615
  /**
1616
1616
  * This rules prevents void elements (AKA self-closing elements) from having children.
1617
- See <https://biomejs.dev/linter/rules/no-void-elements-with-children>
1617
+ See https://biomejs.dev/linter/rules/no-void-elements-with-children
1618
1618
  */
1619
1619
  noVoidElementsWithChildren?: NoVoidElementsWithChildrenConfiguration;
1620
1620
  /**
1621
1621
  * Disallow returning a value from a function with the return type 'void'.
1622
- See <https://biomejs.dev/linter/rules/no-void-type-return>
1622
+ See https://biomejs.dev/linter/rules/no-void-type-return
1623
1623
  */
1624
1624
  noVoidTypeReturn?: NoVoidTypeReturnConfiguration;
1625
1625
  /**
@@ -1628,279 +1628,349 @@ See <https://biomejs.dev/linter/rules/no-void-type-return>
1628
1628
  recommended?: boolean;
1629
1629
  /**
1630
1630
  * Enforce correct dependency usage within React hooks.
1631
- See <https://biomejs.dev/linter/rules/use-exhaustive-dependencies>
1631
+ See https://biomejs.dev/linter/rules/use-exhaustive-dependencies
1632
1632
  */
1633
1633
  useExhaustiveDependencies?: UseExhaustiveDependenciesConfiguration;
1634
1634
  /**
1635
1635
  * Enforce specifying the name of GraphQL operations.
1636
- See <https://biomejs.dev/linter/rules/use-graphql-named-operations>
1636
+ See https://biomejs.dev/linter/rules/use-graphql-named-operations
1637
1637
  */
1638
1638
  useGraphqlNamedOperations?: UseGraphqlNamedOperationsConfiguration;
1639
1639
  /**
1640
1640
  * Enforce that all React hooks are being called from the Top Level component functions.
1641
- See <https://biomejs.dev/linter/rules/use-hook-at-top-level>
1641
+ See https://biomejs.dev/linter/rules/use-hook-at-top-level
1642
1642
  */
1643
1643
  useHookAtTopLevel?: UseHookAtTopLevelConfiguration;
1644
1644
  /**
1645
1645
  * Enforces that \<img> elements have both width and height attributes.
1646
- See <https://biomejs.dev/linter/rules/use-image-size>
1646
+ See https://biomejs.dev/linter/rules/use-image-size
1647
1647
  */
1648
1648
  useImageSize?: UseImageSizeConfiguration;
1649
1649
  /**
1650
1650
  * Enforce file extensions for relative imports.
1651
- See <https://biomejs.dev/linter/rules/use-import-extensions>
1651
+ See https://biomejs.dev/linter/rules/use-import-extensions
1652
1652
  */
1653
1653
  useImportExtensions?: UseImportExtensionsConfiguration;
1654
1654
  /**
1655
1655
  * Require calls to isNaN() when checking for NaN.
1656
- See <https://biomejs.dev/linter/rules/use-is-nan>
1656
+ See https://biomejs.dev/linter/rules/use-is-nan
1657
1657
  */
1658
1658
  useIsNan?: UseIsNanConfiguration;
1659
1659
  /**
1660
1660
  * Enforces the use of with { type: "json" } for JSON module imports.
1661
- See <https://biomejs.dev/linter/rules/use-json-import-attributes>
1661
+ See https://biomejs.dev/linter/rules/use-json-import-attributes
1662
1662
  */
1663
1663
  useJsonImportAttributes?: UseJsonImportAttributesConfiguration;
1664
1664
  /**
1665
1665
  * Disallow missing key props in iterators/collection literals.
1666
- See <https://biomejs.dev/linter/rules/use-jsx-key-in-iterable>
1666
+ See https://biomejs.dev/linter/rules/use-jsx-key-in-iterable
1667
1667
  */
1668
1668
  useJsxKeyInIterable?: UseJsxKeyInIterableConfiguration;
1669
1669
  /**
1670
1670
  * Enforce the consistent use of the radix argument when using parseInt().
1671
- See <https://biomejs.dev/linter/rules/use-parse-int-radix>
1671
+ See https://biomejs.dev/linter/rules/use-parse-int-radix
1672
1672
  */
1673
1673
  useParseIntRadix?: UseParseIntRadixConfiguration;
1674
1674
  /**
1675
1675
  * Prefer using the class prop as a classlist over the classnames helper.
1676
- See <https://biomejs.dev/linter/rules/use-qwik-classlist>
1676
+ See https://biomejs.dev/linter/rules/use-qwik-classlist
1677
1677
  */
1678
1678
  useQwikClasslist?: UseQwikClasslistConfiguration;
1679
1679
  /**
1680
1680
  * Enforce JSDoc comment lines to start with a single asterisk, except for the first one.
1681
- See <https://biomejs.dev/linter/rules/use-single-js-doc-asterisk>
1681
+ See https://biomejs.dev/linter/rules/use-single-js-doc-asterisk
1682
1682
  */
1683
1683
  useSingleJsDocAsterisk?: UseSingleJsDocAsteriskConfiguration;
1684
1684
  /**
1685
1685
  * Prevent the usage of static string literal id attribute on elements.
1686
- See <https://biomejs.dev/linter/rules/use-unique-element-ids>
1686
+ See https://biomejs.dev/linter/rules/use-unique-element-ids
1687
1687
  */
1688
1688
  useUniqueElementIds?: UseUniqueElementIdsConfiguration;
1689
1689
  /**
1690
1690
  * Enforce "for" loop update clause moving the counter in the right direction.
1691
- See <https://biomejs.dev/linter/rules/use-valid-for-direction>
1691
+ See https://biomejs.dev/linter/rules/use-valid-for-direction
1692
1692
  */
1693
1693
  useValidForDirection?: UseValidForDirectionConfiguration;
1694
1694
  /**
1695
1695
  * This rule checks that the result of a typeof expression is compared to a valid value.
1696
- See <https://biomejs.dev/linter/rules/use-valid-typeof>
1696
+ See https://biomejs.dev/linter/rules/use-valid-typeof
1697
1697
  */
1698
1698
  useValidTypeof?: UseValidTypeofConfiguration;
1699
1699
  /**
1700
1700
  * Require generator functions to contain yield.
1701
- See <https://biomejs.dev/linter/rules/use-yield>
1701
+ See https://biomejs.dev/linter/rules/use-yield
1702
1702
  */
1703
1703
  useYield?: UseYieldConfiguration;
1704
1704
  }
1705
1705
  interface Nursery {
1706
1706
  /**
1707
1707
  * Disallow ambiguous anchor descriptions.
1708
- See <https://biomejs.dev/linter/rules/no-ambiguous-anchor-text>
1708
+ See https://biomejs.dev/linter/rules/no-ambiguous-anchor-text
1709
1709
  */
1710
1710
  noAmbiguousAnchorText?: NoAmbiguousAnchorTextConfiguration;
1711
1711
  /**
1712
1712
  * Prevent usage of next/script's beforeInteractive strategy outside of pages/_document.js in a Next.js project.
1713
- See <https://biomejs.dev/linter/rules/no-before-interactive-script-outside-document>
1713
+ See https://biomejs.dev/linter/rules/no-before-interactive-script-outside-document
1714
1714
  */
1715
1715
  noBeforeInteractiveScriptOutsideDocument?: NoBeforeInteractiveScriptOutsideDocumentConfiguration;
1716
1716
  /**
1717
1717
  * Disallow continue statements.
1718
- See <https://biomejs.dev/linter/rules/no-continue>
1718
+ See https://biomejs.dev/linter/rules/no-continue
1719
1719
  */
1720
1720
  noContinue?: NoContinueConfiguration;
1721
1721
  /**
1722
1722
  * Restrict imports of deprecated exports.
1723
- See <https://biomejs.dev/linter/rules/no-deprecated-imports>
1723
+ See https://biomejs.dev/linter/rules/no-deprecated-imports
1724
1724
  */
1725
1725
  noDeprecatedImports?: NoDeprecatedImportsConfiguration;
1726
1726
  /**
1727
+ * Disallow equal signs explicitly at the beginning of regular expressions.
1728
+ See https://biomejs.dev/linter/rules/no-div-regex
1729
+ */
1730
+ noDivRegex?: NoDivRegexConfiguration;
1731
+ /**
1732
+ * Require all argument names for fields & directives to be unique.
1733
+ See https://biomejs.dev/linter/rules/no-duplicate-argument-names
1734
+ */
1735
+ noDuplicateArgumentNames?: NoDuplicateArgumentNamesConfiguration;
1736
+ /**
1737
+ * Disallow duplication of attributes.
1738
+ See https://biomejs.dev/linter/rules/no-duplicate-attributes
1739
+ */
1740
+ noDuplicateAttributes?: NoDuplicateAttributesConfiguration;
1741
+ /**
1727
1742
  * Prevent the listing of duplicate dependencies. The rule supports the following dependency groups: "bundledDependencies", "bundleDependencies", "dependencies", "devDependencies", "overrides", "optionalDependencies", and "peerDependencies".
1728
- See <https://biomejs.dev/linter/rules/no-duplicate-dependencies>
1743
+ See https://biomejs.dev/linter/rules/no-duplicate-dependencies
1729
1744
  */
1730
1745
  noDuplicateDependencies?: NoDuplicateDependenciesConfiguration;
1731
1746
  /**
1747
+ * Require all enum value names to be unique.
1748
+ See https://biomejs.dev/linter/rules/no-duplicate-enum-value-names
1749
+ */
1750
+ noDuplicateEnumValueNames?: NoDuplicateEnumValueNamesConfiguration;
1751
+ /**
1752
+ * Disallow duplicate enum member values.
1753
+ See https://biomejs.dev/linter/rules/no-duplicate-enum-values
1754
+ */
1755
+ noDuplicateEnumValues?: NoDuplicateEnumValuesConfiguration;
1756
+ /**
1757
+ * Require all fields of a type to be unique.
1758
+ See https://biomejs.dev/linter/rules/no-duplicate-field-definition-names
1759
+ */
1760
+ noDuplicateFieldDefinitionNames?: NoDuplicateFieldDefinitionNamesConfiguration;
1761
+ /**
1762
+ * Enforce unique operation names across a GraphQL document.
1763
+ See https://biomejs.dev/linter/rules/no-duplicate-graphql-operation-name
1764
+ */
1765
+ noDuplicateGraphqlOperationName?: NoDuplicateGraphqlOperationNameConfiguration;
1766
+ /**
1767
+ * Require fields within an input object to be unique.
1768
+ See https://biomejs.dev/linter/rules/no-duplicate-input-field-names
1769
+ */
1770
+ noDuplicateInputFieldNames?: NoDuplicateInputFieldNamesConfiguration;
1771
+ /**
1772
+ * Require all variable definitions to be unique.
1773
+ See https://biomejs.dev/linter/rules/no-duplicate-variable-names
1774
+ */
1775
+ noDuplicateVariableNames?: NoDuplicateVariableNamesConfiguration;
1776
+ /**
1732
1777
  * Disallow JSX prop spreading the same identifier multiple times.
1733
- See <https://biomejs.dev/linter/rules/no-duplicated-spread-props>
1778
+ See https://biomejs.dev/linter/rules/no-duplicated-spread-props
1734
1779
  */
1735
1780
  noDuplicatedSpreadProps?: NoDuplicatedSpreadPropsConfiguration;
1736
1781
  /**
1737
1782
  * Disallow empty sources.
1738
- See <https://biomejs.dev/linter/rules/no-empty-source>
1783
+ See https://biomejs.dev/linter/rules/no-empty-source
1739
1784
  */
1740
1785
  noEmptySource?: NoEmptySourceConfiguration;
1741
1786
  /**
1742
1787
  * Require the use of === or !== for comparison with null.
1743
- See <https://biomejs.dev/linter/rules/no-equals-to-null>
1788
+ See https://biomejs.dev/linter/rules/no-equals-to-null
1744
1789
  */
1745
1790
  noEqualsToNull?: NoEqualsToNullConfiguration;
1746
1791
  /**
1792
+ * Enforce a maximum number of classes per file.
1793
+ See https://biomejs.dev/linter/rules/no-excessive-classes-per-file
1794
+ */
1795
+ noExcessiveClassesPerFile?: NoExcessiveClassesPerFileConfiguration;
1796
+ /**
1797
+ * Restrict the number of lines in a file.
1798
+ See https://biomejs.dev/linter/rules/no-excessive-lines-per-file
1799
+ */
1800
+ noExcessiveLinesPerFile?: NoExcessiveLinesPerFileConfiguration;
1801
+ /**
1802
+ * Disallow new operators outside of assignments or comparisons.
1803
+ See https://biomejs.dev/linter/rules/no-floating-classes
1804
+ */
1805
+ noFloatingClasses?: NoFloatingClassesConfiguration;
1806
+ /**
1747
1807
  * Require Promise-like statements to be handled appropriately.
1748
- See <https://biomejs.dev/linter/rules/no-floating-promises>
1808
+ See https://biomejs.dev/linter/rules/no-floating-promises
1749
1809
  */
1750
1810
  noFloatingPromises?: NoFloatingPromisesConfiguration;
1751
1811
  /**
1752
1812
  * Disallow iterating using a for-in loop.
1753
- See <https://biomejs.dev/linter/rules/no-for-in>
1813
+ See https://biomejs.dev/linter/rules/no-for-in
1754
1814
  */
1755
1815
  noForIn?: NoForInConfiguration;
1756
1816
  /**
1757
1817
  * Prevent import cycles.
1758
- See <https://biomejs.dev/linter/rules/no-import-cycles>
1818
+ See https://biomejs.dev/linter/rules/no-import-cycles
1759
1819
  */
1760
1820
  noImportCycles?: NoImportCyclesConfiguration;
1761
1821
  /**
1762
1822
  * Disallows the usage of the unary operators ++ and --.
1763
- See <https://biomejs.dev/linter/rules/no-increment-decrement>
1823
+ See https://biomejs.dev/linter/rules/no-increment-decrement
1764
1824
  */
1765
1825
  noIncrementDecrement?: NoIncrementDecrementConfiguration;
1766
1826
  /**
1767
1827
  * Disallow string literals inside JSX elements.
1768
- See <https://biomejs.dev/linter/rules/no-jsx-literals>
1828
+ See https://biomejs.dev/linter/rules/no-jsx-literals
1769
1829
  */
1770
1830
  noJsxLiterals?: NoJsxLiteralsConfiguration;
1771
1831
  /**
1772
1832
  * Disallow .bind(), arrow functions, or function expressions in JSX props.
1773
- See <https://biomejs.dev/linter/rules/no-jsx-props-bind>
1833
+ See https://biomejs.dev/linter/rules/no-jsx-props-bind
1774
1834
  */
1775
1835
  noJsxPropsBind?: NoJsxPropsBindConfiguration;
1776
1836
  /**
1777
1837
  * Prevent problematic leaked values from being rendered.
1778
- See <https://biomejs.dev/linter/rules/no-leaked-render>
1838
+ See https://biomejs.dev/linter/rules/no-leaked-render
1779
1839
  */
1780
1840
  noLeakedRender?: NoLeakedRenderConfiguration;
1781
1841
  /**
1782
1842
  * Disallow Promises to be used in places where they are almost certainly a mistake.
1783
- See <https://biomejs.dev/linter/rules/no-misused-promises>
1843
+ See https://biomejs.dev/linter/rules/no-misused-promises
1784
1844
  */
1785
1845
  noMisusedPromises?: NoMisusedPromisesConfiguration;
1786
1846
  /**
1787
1847
  * Disallow use of chained assignment expressions.
1788
- See <https://biomejs.dev/linter/rules/no-multi-assign>
1848
+ See https://biomejs.dev/linter/rules/no-multi-assign
1789
1849
  */
1790
1850
  noMultiAssign?: NoMultiAssignConfiguration;
1791
1851
  /**
1792
1852
  * Disallow creating multiline strings by escaping newlines.
1793
- See <https://biomejs.dev/linter/rules/no-multi-str>
1853
+ See https://biomejs.dev/linter/rules/no-multi-str
1794
1854
  */
1795
1855
  noMultiStr?: NoMultiStrConfiguration;
1796
1856
  /**
1797
1857
  * Prevent client components from being async functions.
1798
- See <https://biomejs.dev/linter/rules/no-next-async-client-component>
1858
+ See https://biomejs.dev/linter/rules/no-next-async-client-component
1799
1859
  */
1800
1860
  noNextAsyncClientComponent?: NoNextAsyncClientComponentConfiguration;
1801
1861
  /**
1802
1862
  * Disallow function parameters that are only used in recursive calls.
1803
- See <https://biomejs.dev/linter/rules/no-parameters-only-used-in-recursion>
1863
+ See https://biomejs.dev/linter/rules/no-parameters-only-used-in-recursion
1804
1864
  */
1805
1865
  noParametersOnlyUsedInRecursion?: NoParametersOnlyUsedInRecursionConfiguration;
1806
1866
  /**
1807
1867
  * Disallow the use of the deprecated __proto__ object property.
1808
- See <https://biomejs.dev/linter/rules/no-proto>
1868
+ See https://biomejs.dev/linter/rules/no-proto
1809
1869
  */
1810
1870
  noProto?: NoProtoConfiguration;
1811
1871
  /**
1812
1872
  * Replaces usages of forwardRef with passing ref as a prop.
1813
- See <https://biomejs.dev/linter/rules/no-react-forward-ref>
1873
+ See https://biomejs.dev/linter/rules/no-react-forward-ref
1814
1874
  */
1815
1875
  noReactForwardRef?: NoReactForwardRefConfiguration;
1816
1876
  /**
1817
1877
  * Disallow assignments in return statements.
1818
- See <https://biomejs.dev/linter/rules/no-return-assign>
1878
+ See https://biomejs.dev/linter/rules/no-return-assign
1819
1879
  */
1820
1880
  noReturnAssign?: NoReturnAssignConfiguration;
1821
1881
  /**
1882
+ * Disallow the usage of specified root types.
1883
+ See https://biomejs.dev/linter/rules/no-root-type
1884
+ */
1885
+ noRootType?: NoRootTypeConfiguration;
1886
+ /**
1822
1887
  * Disallow javascript: URLs in HTML.
1823
- See <https://biomejs.dev/linter/rules/no-script-url>
1888
+ See https://biomejs.dev/linter/rules/no-script-url
1824
1889
  */
1825
1890
  noScriptUrl?: NoScriptUrlConfiguration;
1826
1891
  /**
1827
1892
  * Disallow variable declarations from shadowing variables declared in the outer scope.
1828
- See <https://biomejs.dev/linter/rules/no-shadow>
1893
+ See https://biomejs.dev/linter/rules/no-shadow
1829
1894
  */
1830
1895
  noShadow?: NoShadowConfiguration;
1831
1896
  /**
1832
1897
  * Prevent the usage of synchronous scripts.
1833
- See <https://biomejs.dev/linter/rules/no-sync-scripts>
1898
+ See https://biomejs.dev/linter/rules/no-sync-scripts
1834
1899
  */
1835
1900
  noSyncScripts?: NoSyncScriptsConfiguration;
1836
1901
  /**
1837
1902
  * Disallow ternary operators.
1838
- See <https://biomejs.dev/linter/rules/no-ternary>
1903
+ See https://biomejs.dev/linter/rules/no-ternary
1839
1904
  */
1840
1905
  noTernary?: NoTernaryConfiguration;
1841
1906
  /**
1842
1907
  * Disallow the use of undeclared environment variables.
1843
- See <https://biomejs.dev/linter/rules/no-undeclared-env-vars>
1908
+ See https://biomejs.dev/linter/rules/no-undeclared-env-vars
1844
1909
  */
1845
1910
  noUndeclaredEnvVars?: NoUndeclaredEnvVarsConfiguration;
1846
1911
  /**
1847
1912
  * Disallow unknown DOM properties.
1848
- See <https://biomejs.dev/linter/rules/no-unknown-attribute>
1913
+ See https://biomejs.dev/linter/rules/no-unknown-attribute
1849
1914
  */
1850
1915
  noUnknownAttribute?: NoUnknownAttributeConfiguration;
1851
1916
  /**
1852
1917
  * Disallow unnecessary type-based conditions that can be statically determined as redundant.
1853
- See <https://biomejs.dev/linter/rules/no-unnecessary-conditions>
1918
+ See https://biomejs.dev/linter/rules/no-unnecessary-conditions
1854
1919
  */
1855
1920
  noUnnecessaryConditions?: NoUnnecessaryConditionsConfiguration;
1856
1921
  /**
1857
1922
  * Warn when importing non-existing exports.
1858
- See <https://biomejs.dev/linter/rules/no-unresolved-imports>
1923
+ See https://biomejs.dev/linter/rules/no-unresolved-imports
1859
1924
  */
1860
1925
  noUnresolvedImports?: NoUnresolvedImportsConfiguration;
1861
1926
  /**
1862
1927
  * Disallow expression statements that are neither a function call nor an assignment.
1863
- See <https://biomejs.dev/linter/rules/no-unused-expressions>
1928
+ See https://biomejs.dev/linter/rules/no-unused-expressions
1864
1929
  */
1865
1930
  noUnusedExpressions?: NoUnusedExpressionsConfiguration;
1866
1931
  /**
1867
1932
  * Disallow unused catch bindings.
1868
- See <https://biomejs.dev/linter/rules/no-useless-catch-binding>
1933
+ See https://biomejs.dev/linter/rules/no-useless-catch-binding
1869
1934
  */
1870
1935
  noUselessCatchBinding?: NoUselessCatchBindingConfiguration;
1871
1936
  /**
1872
1937
  * Disallow the use of useless undefined.
1873
- See <https://biomejs.dev/linter/rules/no-useless-undefined>
1938
+ See https://biomejs.dev/linter/rules/no-useless-undefined
1874
1939
  */
1875
1940
  noUselessUndefined?: NoUselessUndefinedConfiguration;
1876
1941
  /**
1877
1942
  * Enforce that Vue component data options are declared as functions.
1878
- See <https://biomejs.dev/linter/rules/no-vue-data-object-declaration>
1943
+ See https://biomejs.dev/linter/rules/no-vue-data-object-declaration
1879
1944
  */
1880
1945
  noVueDataObjectDeclaration?: NoVueDataObjectDeclarationConfiguration;
1881
1946
  /**
1882
1947
  * Disallow duplicate keys in Vue component data, methods, computed properties, and other options.
1883
- See <https://biomejs.dev/linter/rules/no-vue-duplicate-keys>
1948
+ See https://biomejs.dev/linter/rules/no-vue-duplicate-keys
1884
1949
  */
1885
1950
  noVueDuplicateKeys?: NoVueDuplicateKeysConfiguration;
1886
1951
  /**
1952
+ * Disallow the use of Vue Options API.
1953
+ See https://biomejs.dev/linter/rules/no-vue-options-api
1954
+ */
1955
+ noVueOptionsApi?: NoVueOptionsApiConfiguration;
1956
+ /**
1887
1957
  * Disallow reserved keys in Vue component data and computed properties.
1888
- See <https://biomejs.dev/linter/rules/no-vue-reserved-keys>
1958
+ See https://biomejs.dev/linter/rules/no-vue-reserved-keys
1889
1959
  */
1890
1960
  noVueReservedKeys?: NoVueReservedKeysConfiguration;
1891
1961
  /**
1892
1962
  * Disallow reserved names to be used as props.
1893
- See <https://biomejs.dev/linter/rules/no-vue-reserved-props>
1963
+ See https://biomejs.dev/linter/rules/no-vue-reserved-props
1894
1964
  */
1895
1965
  noVueReservedProps?: NoVueReservedPropsConfiguration;
1896
1966
  /**
1897
1967
  * Disallow destructuring of props passed to setup in Vue projects.
1898
- See <https://biomejs.dev/linter/rules/no-vue-setup-props-reactivity-loss>
1968
+ See https://biomejs.dev/linter/rules/no-vue-setup-props-reactivity-loss
1899
1969
  */
1900
1970
  noVueSetupPropsReactivityLoss?: NoVueSetupPropsReactivityLossConfiguration;
1901
1971
  /**
1902
1972
  * Disallow using v-if and v-for directives on the same element.
1903
- See <https://biomejs.dev/linter/rules/no-vue-v-if-with-v-for>
1973
+ See https://biomejs.dev/linter/rules/no-vue-v-if-with-v-for
1904
1974
  */
1905
1975
  noVueVIfWithVFor?: NoVueVIfWithVForConfiguration;
1906
1976
  /**
@@ -1909,249 +1979,249 @@ See <https://biomejs.dev/linter/rules/no-vue-v-if-with-v-for>
1909
1979
  recommended?: boolean;
1910
1980
  /**
1911
1981
  * Require Array#sort and Array#toSorted calls to always provide a compareFunction.
1912
- See <https://biomejs.dev/linter/rules/use-array-sort-compare>
1982
+ See https://biomejs.dev/linter/rules/use-array-sort-compare
1913
1983
  */
1914
1984
  useArraySortCompare?: UseArraySortCompareConfiguration;
1915
1985
  /**
1916
1986
  * Enforce that await is only used on Promise values.
1917
- See <https://biomejs.dev/linter/rules/use-await-thenable>
1987
+ See https://biomejs.dev/linter/rules/use-await-thenable
1918
1988
  */
1919
1989
  useAwaitThenable?: UseAwaitThenableConfiguration;
1920
1990
  /**
1921
1991
  * Enforce consistent arrow function bodies.
1922
- See <https://biomejs.dev/linter/rules/use-consistent-arrow-return>
1992
+ See https://biomejs.dev/linter/rules/use-consistent-arrow-return
1923
1993
  */
1924
1994
  useConsistentArrowReturn?: UseConsistentArrowReturnConfiguration;
1925
1995
  /**
1996
+ * Disallow enums from having both number and string members.
1997
+ See https://biomejs.dev/linter/rules/use-consistent-enum-value-type
1998
+ */
1999
+ useConsistentEnumValueType?: UseConsistentEnumValueTypeConfiguration;
2000
+ /**
1926
2001
  * Require all descriptions to follow the same style (either block or inline) to maintain consistency and improve readability across the schema.
1927
- See <https://biomejs.dev/linter/rules/use-consistent-graphql-descriptions>
2002
+ See https://biomejs.dev/linter/rules/use-consistent-graphql-descriptions
1928
2003
  */
1929
2004
  useConsistentGraphqlDescriptions?: UseConsistentGraphqlDescriptionsConfiguration;
1930
2005
  /**
1931
2006
  * Require the @deprecated directive to specify a deletion date.
1932
- See <https://biomejs.dev/linter/rules/use-deprecated-date>
2007
+ See https://biomejs.dev/linter/rules/use-deprecated-date
1933
2008
  */
1934
2009
  useDeprecatedDate?: UseDeprecatedDateConfiguration;
1935
2010
  /**
1936
2011
  * Require destructuring from arrays and/or objects.
1937
- See <https://biomejs.dev/linter/rules/use-destructuring>
2012
+ See https://biomejs.dev/linter/rules/use-destructuring
1938
2013
  */
1939
2014
  useDestructuring?: UseDestructuringConfiguration;
1940
2015
  /**
2016
+ * Enforce that new Error() is thrown with the original error as cause.
2017
+ See https://biomejs.dev/linter/rules/use-error-cause
2018
+ */
2019
+ useErrorCause?: UseErrorCauseConfiguration;
2020
+ /**
1941
2021
  * Require switch-case statements to be exhaustive.
1942
- See <https://biomejs.dev/linter/rules/use-exhaustive-switch-cases>
2022
+ See https://biomejs.dev/linter/rules/use-exhaustive-switch-cases
1943
2023
  */
1944
2024
  useExhaustiveSwitchCases?: UseExhaustiveSwitchCasesConfiguration;
1945
2025
  /**
1946
2026
  * Enforce types in functions, methods, variables, and parameters.
1947
- See <https://biomejs.dev/linter/rules/use-explicit-type>
2027
+ See https://biomejs.dev/linter/rules/use-explicit-type
1948
2028
  */
1949
2029
  useExplicitType?: UseExplicitTypeConfiguration;
1950
2030
  /**
1951
2031
  * Enforce the use of Array.prototype.find() over Array.prototype.filter() followed by [0] when looking for a single result.
1952
- See <https://biomejs.dev/linter/rules/use-find>
2032
+ See https://biomejs.dev/linter/rules/use-find
1953
2033
  */
1954
2034
  useFind?: UseFindConfiguration;
1955
2035
  /**
2036
+ * Enforce id attribute on next/script components with inline content or dangerouslySetInnerHTML.
2037
+ See https://biomejs.dev/linter/rules/use-inline-script-id
2038
+ */
2039
+ useInlineScriptId?: UseInlineScriptIdConfiguration;
2040
+ /**
2041
+ * Disallow anonymous operations when more than one operation specified in document.
2042
+ See https://biomejs.dev/linter/rules/use-lone-anonymous-operation
2043
+ */
2044
+ useLoneAnonymousOperation?: UseLoneAnonymousOperationConfiguration;
2045
+ /**
2046
+ * Require queries, mutations, subscriptions or fragments each to be located in separate files.
2047
+ See https://biomejs.dev/linter/rules/use-lone-executable-definition
2048
+ */
2049
+ useLoneExecutableDefinition?: UseLoneExecutableDefinitionConfiguration;
2050
+ /**
1956
2051
  * Enforce a maximum number of parameters in function definitions.
1957
- See <https://biomejs.dev/linter/rules/use-max-params>
2052
+ See https://biomejs.dev/linter/rules/use-max-params
1958
2053
  */
1959
2054
  useMaxParams?: UseMaxParamsConfiguration;
1960
2055
  /**
1961
2056
  * Disallow use* hooks outside of component$ or other use* hooks in Qwik applications.
1962
- See <https://biomejs.dev/linter/rules/use-qwik-method-usage>
2057
+ See https://biomejs.dev/linter/rules/use-qwik-method-usage
1963
2058
  */
1964
2059
  useQwikMethodUsage?: UseQwikMethodUsageConfiguration;
1965
2060
  /**
1966
2061
  * Disallow unserializable expressions in Qwik dollar ($) scopes.
1967
- See <https://biomejs.dev/linter/rules/use-qwik-valid-lexical-scope>
2062
+ See https://biomejs.dev/linter/rules/use-qwik-valid-lexical-scope
1968
2063
  */
1969
2064
  useQwikValidLexicalScope?: UseQwikValidLexicalScopeConfiguration;
1970
2065
  /**
1971
2066
  * Enforce RegExp#exec over String#match if no global flag is provided.
1972
- See <https://biomejs.dev/linter/rules/use-regexp-exec>
2067
+ See https://biomejs.dev/linter/rules/use-regexp-exec
1973
2068
  */
1974
2069
  useRegexpExec?: UseRegexpExecConfiguration;
1975
2070
  /**
1976
2071
  * Enforce the presence of required scripts in package.json.
1977
- See <https://biomejs.dev/linter/rules/use-required-scripts>
2072
+ See https://biomejs.dev/linter/rules/use-required-scripts
1978
2073
  */
1979
2074
  useRequiredScripts?: UseRequiredScriptsConfiguration;
1980
2075
  /**
1981
2076
  * Enforce the sorting of CSS utility classes.
1982
- See <https://biomejs.dev/linter/rules/use-sorted-classes>
2077
+ See https://biomejs.dev/linter/rules/use-sorted-classes
1983
2078
  */
1984
2079
  useSortedClasses?: UseSortedClassesConfiguration;
1985
2080
  /**
1986
2081
  * Enforce the use of the spread operator over .apply().
1987
- See <https://biomejs.dev/linter/rules/use-spread>
2082
+ See https://biomejs.dev/linter/rules/use-spread
1988
2083
  */
1989
2084
  useSpread?: UseSpreadConfiguration;
1990
2085
  /**
1991
- * Require all argument names for fields & directives to be unique.
1992
- See <https://biomejs.dev/linter/rules/use-unique-argument-names>
1993
- */
1994
- useUniqueArgumentNames?: UseUniqueArgumentNamesConfiguration;
1995
- /**
1996
- * Require all fields of a type to be unique.
1997
- See <https://biomejs.dev/linter/rules/use-unique-field-definition-names>
1998
- */
1999
- useUniqueFieldDefinitionNames?: UseUniqueFieldDefinitionNamesConfiguration;
2000
- /**
2001
- * Enforce unique operation names across a GraphQL document.
2002
- See <https://biomejs.dev/linter/rules/use-unique-graphql-operation-name>
2003
- */
2004
- useUniqueGraphqlOperationName?: UseUniqueGraphqlOperationNameConfiguration;
2005
- /**
2006
- * Require fields within an input object to be unique.
2007
- See <https://biomejs.dev/linter/rules/use-unique-input-field-names>
2008
- */
2009
- useUniqueInputFieldNames?: UseUniqueInputFieldNamesConfiguration;
2010
- /**
2011
- * Require all variable definitions to be unique.
2012
- See <https://biomejs.dev/linter/rules/use-unique-variable-names>
2013
- */
2014
- useUniqueVariableNames?: UseUniqueVariableNamesConfiguration;
2015
- /**
2016
2086
  * Enforce consistent defineProps declaration style.
2017
- See <https://biomejs.dev/linter/rules/use-vue-consistent-define-props-declaration>
2087
+ See https://biomejs.dev/linter/rules/use-vue-consistent-define-props-declaration
2018
2088
  */
2019
2089
  useVueConsistentDefinePropsDeclaration?: UseVueConsistentDefinePropsDeclarationConfiguration;
2020
2090
  /**
2021
2091
  * Enforce a consistent style for v-bind in Vue templates.
2022
- See <https://biomejs.dev/linter/rules/use-vue-consistent-v-bind-style>
2092
+ See https://biomejs.dev/linter/rules/use-vue-consistent-v-bind-style
2023
2093
  */
2024
2094
  useVueConsistentVBindStyle?: UseVueConsistentVBindStyleConfiguration;
2025
2095
  /**
2026
2096
  * Enforce a consistent style for v-on in Vue templates.
2027
- See <https://biomejs.dev/linter/rules/use-vue-consistent-v-on-style>
2097
+ See https://biomejs.dev/linter/rules/use-vue-consistent-v-on-style
2028
2098
  */
2029
2099
  useVueConsistentVOnStyle?: UseVueConsistentVOnStyleConfiguration;
2030
2100
  /**
2031
2101
  * Enforce specific order of Vue compiler macros.
2032
- See <https://biomejs.dev/linter/rules/use-vue-define-macros-order>
2102
+ See https://biomejs.dev/linter/rules/use-vue-define-macros-order
2033
2103
  */
2034
2104
  useVueDefineMacrosOrder?: UseVueDefineMacrosOrderConfiguration;
2035
2105
  /**
2036
2106
  * Enforce hyphenated (kebab-case) attribute names in Vue templates.
2037
- See <https://biomejs.dev/linter/rules/use-vue-hyphenated-attributes>
2107
+ See https://biomejs.dev/linter/rules/use-vue-hyphenated-attributes
2038
2108
  */
2039
2109
  useVueHyphenatedAttributes?: UseVueHyphenatedAttributesConfiguration;
2040
2110
  /**
2041
2111
  * Enforce multi-word component names in Vue components.
2042
- See <https://biomejs.dev/linter/rules/use-vue-multi-word-component-names>
2112
+ See https://biomejs.dev/linter/rules/use-vue-multi-word-component-names
2043
2113
  */
2044
2114
  useVueMultiWordComponentNames?: UseVueMultiWordComponentNamesConfiguration;
2045
2115
  /**
2046
2116
  * Enforce that elements using v-for also specify a unique key.
2047
- See <https://biomejs.dev/linter/rules/use-vue-v-for-key>
2117
+ See https://biomejs.dev/linter/rules/use-vue-v-for-key
2048
2118
  */
2049
2119
  useVueVForKey?: UseVueVForKeyConfiguration;
2050
2120
  /**
2051
2121
  * Enforce valid Vue \<template> root usage.
2052
- See <https://biomejs.dev/linter/rules/use-vue-valid-template-root>
2122
+ See https://biomejs.dev/linter/rules/use-vue-valid-template-root
2053
2123
  */
2054
2124
  useVueValidTemplateRoot?: UseVueValidTemplateRootConfiguration;
2055
2125
  /**
2056
2126
  * Forbids v-bind directives with missing arguments or invalid modifiers.
2057
- See <https://biomejs.dev/linter/rules/use-vue-valid-v-bind>
2127
+ See https://biomejs.dev/linter/rules/use-vue-valid-v-bind
2058
2128
  */
2059
2129
  useVueValidVBind?: UseVueValidVBindConfiguration;
2060
2130
  /**
2061
2131
  * Enforce valid v-cloak Vue directives.
2062
- See <https://biomejs.dev/linter/rules/use-vue-valid-v-cloak>
2132
+ See https://biomejs.dev/linter/rules/use-vue-valid-v-cloak
2063
2133
  */
2064
2134
  useVueValidVCloak?: UseVueValidVCloakConfiguration;
2065
2135
  /**
2066
2136
  * Enforce valid usage of v-else.
2067
- See <https://biomejs.dev/linter/rules/use-vue-valid-v-else>
2137
+ See https://biomejs.dev/linter/rules/use-vue-valid-v-else
2068
2138
  */
2069
2139
  useVueValidVElse?: UseVueValidVElseConfiguration;
2070
2140
  /**
2071
2141
  * Enforce valid v-else-if directives.
2072
- See <https://biomejs.dev/linter/rules/use-vue-valid-v-else-if>
2142
+ See https://biomejs.dev/linter/rules/use-vue-valid-v-else-if
2073
2143
  */
2074
2144
  useVueValidVElseIf?: UseVueValidVElseIfConfiguration;
2075
2145
  /**
2076
2146
  * Enforce valid v-html directives.
2077
- See <https://biomejs.dev/linter/rules/use-vue-valid-v-html>
2147
+ See https://biomejs.dev/linter/rules/use-vue-valid-v-html
2078
2148
  */
2079
2149
  useVueValidVHtml?: UseVueValidVHtmlConfiguration;
2080
2150
  /**
2081
2151
  * Enforces valid v-if usage for Vue templates.
2082
- See <https://biomejs.dev/linter/rules/use-vue-valid-v-if>
2152
+ See https://biomejs.dev/linter/rules/use-vue-valid-v-if
2083
2153
  */
2084
2154
  useVueValidVIf?: UseVueValidVIfConfiguration;
2085
2155
  /**
2086
2156
  * Enforce valid v-on directives with proper arguments, modifiers, and handlers.
2087
- See <https://biomejs.dev/linter/rules/use-vue-valid-v-on>
2157
+ See https://biomejs.dev/linter/rules/use-vue-valid-v-on
2088
2158
  */
2089
2159
  useVueValidVOn?: UseVueValidVOnConfiguration;
2090
2160
  /**
2091
2161
  * Enforce valid v-once Vue directives.
2092
- See <https://biomejs.dev/linter/rules/use-vue-valid-v-once>
2162
+ See https://biomejs.dev/linter/rules/use-vue-valid-v-once
2093
2163
  */
2094
2164
  useVueValidVOnce?: UseVueValidVOnceConfiguration;
2095
2165
  /**
2096
2166
  * Enforce valid v-pre Vue directives.
2097
- See <https://biomejs.dev/linter/rules/use-vue-valid-v-pre>
2167
+ See https://biomejs.dev/linter/rules/use-vue-valid-v-pre
2098
2168
  */
2099
2169
  useVueValidVPre?: UseVueValidVPreConfiguration;
2100
2170
  /**
2101
2171
  * Enforce valid v-text Vue directives.
2102
- See <https://biomejs.dev/linter/rules/use-vue-valid-v-text>
2172
+ See https://biomejs.dev/linter/rules/use-vue-valid-v-text
2103
2173
  */
2104
2174
  useVueValidVText?: UseVueValidVTextConfiguration;
2105
2175
  /**
2106
2176
  * Enforce opting in to Vue Vapor mode in \<script setup> blocks.
2107
- See <https://biomejs.dev/linter/rules/use-vue-vapor>
2177
+ See https://biomejs.dev/linter/rules/use-vue-vapor
2108
2178
  */
2109
2179
  useVueVapor?: UseVueVaporConfiguration;
2110
2180
  }
2111
2181
  interface Performance {
2112
2182
  /**
2113
2183
  * Disallow the use of spread (...) syntax on accumulators.
2114
- See <https://biomejs.dev/linter/rules/no-accumulating-spread>
2184
+ See https://biomejs.dev/linter/rules/no-accumulating-spread
2115
2185
  */
2116
2186
  noAccumulatingSpread?: NoAccumulatingSpreadConfiguration;
2117
2187
  /**
2118
2188
  * Disallow await inside loops.
2119
- See <https://biomejs.dev/linter/rules/no-await-in-loops>
2189
+ See https://biomejs.dev/linter/rules/no-await-in-loops
2120
2190
  */
2121
2191
  noAwaitInLoops?: NoAwaitInLoopsConfiguration;
2122
2192
  /**
2123
2193
  * Disallow the use of barrel file.
2124
- See <https://biomejs.dev/linter/rules/no-barrel-file>
2194
+ See https://biomejs.dev/linter/rules/no-barrel-file
2125
2195
  */
2126
2196
  noBarrelFile?: NoBarrelFileConfiguration;
2127
2197
  /**
2128
2198
  * Disallow the use of the delete operator.
2129
- See <https://biomejs.dev/linter/rules/no-delete>
2199
+ See https://biomejs.dev/linter/rules/no-delete
2130
2200
  */
2131
2201
  noDelete?: NoDeleteConfiguration;
2132
2202
  /**
2133
2203
  * Disallow accessing namespace imports dynamically.
2134
- See <https://biomejs.dev/linter/rules/no-dynamic-namespace-import-access>
2204
+ See https://biomejs.dev/linter/rules/no-dynamic-namespace-import-access
2135
2205
  */
2136
2206
  noDynamicNamespaceImportAccess?: NoDynamicNamespaceImportAccessConfiguration;
2137
2207
  /**
2138
2208
  * Prevent usage of \<img> element in a Next.js project.
2139
- See <https://biomejs.dev/linter/rules/no-img-element>
2209
+ See https://biomejs.dev/linter/rules/no-img-element
2140
2210
  */
2141
2211
  noImgElement?: NoImgElementConfiguration;
2142
2212
  /**
2143
2213
  * Disallow the use of namespace imports.
2144
- See <https://biomejs.dev/linter/rules/no-namespace-import>
2214
+ See https://biomejs.dev/linter/rules/no-namespace-import
2145
2215
  */
2146
2216
  noNamespaceImport?: NoNamespaceImportConfiguration;
2147
2217
  /**
2148
2218
  * Avoid re-export all.
2149
- See <https://biomejs.dev/linter/rules/no-re-export-all>
2219
+ See https://biomejs.dev/linter/rules/no-re-export-all
2150
2220
  */
2151
2221
  noReExportAll?: NoReExportAllConfiguration;
2152
2222
  /**
2153
2223
  * Prevent duplicate polyfills from Polyfill.io.
2154
- See <https://biomejs.dev/linter/rules/no-unwanted-polyfillio>
2224
+ See https://biomejs.dev/linter/rules/no-unwanted-polyfillio
2155
2225
  */
2156
2226
  noUnwantedPolyfillio?: NoUnwantedPolyfillioConfiguration;
2157
2227
  /**
@@ -2160,44 +2230,44 @@ See <https://biomejs.dev/linter/rules/no-unwanted-polyfillio>
2160
2230
  recommended?: boolean;
2161
2231
  /**
2162
2232
  * Ensure the preconnect attribute is used when using Google Fonts.
2163
- See <https://biomejs.dev/linter/rules/use-google-font-preconnect>
2233
+ See https://biomejs.dev/linter/rules/use-google-font-preconnect
2164
2234
  */
2165
2235
  useGoogleFontPreconnect?: UseGoogleFontPreconnectConfiguration;
2166
2236
  /**
2167
2237
  * Enforce using Solid's \<For /> component for mapping an array to JSX elements.
2168
- See <https://biomejs.dev/linter/rules/use-solid-for-component>
2238
+ See https://biomejs.dev/linter/rules/use-solid-for-component
2169
2239
  */
2170
2240
  useSolidForComponent?: UseSolidForComponentConfiguration;
2171
2241
  /**
2172
2242
  * Require regex literals to be declared at the top level.
2173
- See <https://biomejs.dev/linter/rules/use-top-level-regex>
2243
+ See https://biomejs.dev/linter/rules/use-top-level-regex
2174
2244
  */
2175
2245
  useTopLevelRegex?: UseTopLevelRegexConfiguration;
2176
2246
  }
2177
2247
  interface Security {
2178
2248
  /**
2179
2249
  * Disallow target="_blank" attribute without rel="noopener".
2180
- See <https://biomejs.dev/linter/rules/no-blank-target>
2250
+ See https://biomejs.dev/linter/rules/no-blank-target
2181
2251
  */
2182
2252
  noBlankTarget?: NoBlankTargetConfiguration;
2183
2253
  /**
2184
2254
  * Prevent the usage of dangerous JSX props.
2185
- See <https://biomejs.dev/linter/rules/no-dangerously-set-inner-html>
2255
+ See https://biomejs.dev/linter/rules/no-dangerously-set-inner-html
2186
2256
  */
2187
2257
  noDangerouslySetInnerHtml?: NoDangerouslySetInnerHtmlConfiguration;
2188
2258
  /**
2189
2259
  * Report when a DOM element or a component uses both children and dangerouslySetInnerHTML prop.
2190
- See <https://biomejs.dev/linter/rules/no-dangerously-set-inner-html-with-children>
2260
+ See https://biomejs.dev/linter/rules/no-dangerously-set-inner-html-with-children
2191
2261
  */
2192
2262
  noDangerouslySetInnerHtmlWithChildren?: NoDangerouslySetInnerHtmlWithChildrenConfiguration;
2193
2263
  /**
2194
2264
  * Disallow the use of global eval().
2195
- See <https://biomejs.dev/linter/rules/no-global-eval>
2265
+ See https://biomejs.dev/linter/rules/no-global-eval
2196
2266
  */
2197
2267
  noGlobalEval?: NoGlobalEvalConfiguration;
2198
2268
  /**
2199
2269
  * Disallow usage of sensitive data such as API keys and tokens.
2200
- See <https://biomejs.dev/linter/rules/no-secrets>
2270
+ See https://biomejs.dev/linter/rules/no-secrets
2201
2271
  */
2202
2272
  noSecrets?: NoSecretsConfiguration;
2203
2273
  /**
@@ -2208,132 +2278,132 @@ See <https://biomejs.dev/linter/rules/no-secrets>
2208
2278
  interface Style {
2209
2279
  /**
2210
2280
  * Disallow use of CommonJs module system in favor of ESM style imports.
2211
- See <https://biomejs.dev/linter/rules/no-common-js>
2281
+ See https://biomejs.dev/linter/rules/no-common-js
2212
2282
  */
2213
2283
  noCommonJs?: NoCommonJsConfiguration;
2214
2284
  /**
2215
2285
  * Disallow default exports.
2216
- See <https://biomejs.dev/linter/rules/no-default-export>
2286
+ See https://biomejs.dev/linter/rules/no-default-export
2217
2287
  */
2218
2288
  noDefaultExport?: NoDefaultExportConfiguration;
2219
2289
  /**
2220
2290
  * Disallow a lower specificity selector from coming after a higher specificity selector.
2221
- See <https://biomejs.dev/linter/rules/no-descending-specificity>
2291
+ See https://biomejs.dev/linter/rules/no-descending-specificity
2222
2292
  */
2223
2293
  noDescendingSpecificity?: NoDescendingSpecificityConfiguration;
2224
2294
  /**
2225
2295
  * Disallow using a callback in asynchronous tests and hooks.
2226
- See <https://biomejs.dev/linter/rules/no-done-callback>
2296
+ See https://biomejs.dev/linter/rules/no-done-callback
2227
2297
  */
2228
2298
  noDoneCallback?: NoDoneCallbackConfiguration;
2229
2299
  /**
2230
2300
  * Disallow TypeScript enum.
2231
- See <https://biomejs.dev/linter/rules/no-enum>
2301
+ See https://biomejs.dev/linter/rules/no-enum
2232
2302
  */
2233
2303
  noEnum?: NoEnumConfiguration;
2234
2304
  /**
2235
2305
  * Disallow exporting an imported variable.
2236
- See <https://biomejs.dev/linter/rules/no-exported-imports>
2306
+ See https://biomejs.dev/linter/rules/no-exported-imports
2237
2307
  */
2238
2308
  noExportedImports?: NoExportedImportsConfiguration;
2239
2309
  /**
2240
2310
  * Prevent usage of \<head> element in a Next.js project.
2241
- See <https://biomejs.dev/linter/rules/no-head-element>
2311
+ See https://biomejs.dev/linter/rules/no-head-element
2242
2312
  */
2243
2313
  noHeadElement?: NoHeadElementConfiguration;
2244
2314
  /**
2245
2315
  * Disallow implicit true values on JSX boolean attributes.
2246
- See <https://biomejs.dev/linter/rules/no-implicit-boolean>
2316
+ See https://biomejs.dev/linter/rules/no-implicit-boolean
2247
2317
  */
2248
2318
  noImplicitBoolean?: NoImplicitBooleanConfiguration;
2249
2319
  /**
2250
2320
  * Disallow type annotations for variables, parameters, and class properties initialized with a literal expression.
2251
- See <https://biomejs.dev/linter/rules/no-inferrable-types>
2321
+ See https://biomejs.dev/linter/rules/no-inferrable-types
2252
2322
  */
2253
2323
  noInferrableTypes?: NoInferrableTypesConfiguration;
2254
2324
  /**
2255
2325
  * Reports usage of "magic numbers" — numbers used directly instead of being assigned to named constants.
2256
- See <https://biomejs.dev/linter/rules/no-magic-numbers>
2326
+ See https://biomejs.dev/linter/rules/no-magic-numbers
2257
2327
  */
2258
2328
  noMagicNumbers?: NoMagicNumbersConfiguration;
2259
2329
  /**
2260
2330
  * Disallow the use of TypeScript's namespaces.
2261
- See <https://biomejs.dev/linter/rules/no-namespace>
2331
+ See https://biomejs.dev/linter/rules/no-namespace
2262
2332
  */
2263
2333
  noNamespace?: NoNamespaceConfiguration;
2264
2334
  /**
2265
2335
  * Disallow negation in the condition of an if statement if it has an else clause.
2266
- See <https://biomejs.dev/linter/rules/no-negation-else>
2336
+ See https://biomejs.dev/linter/rules/no-negation-else
2267
2337
  */
2268
2338
  noNegationElse?: NoNegationElseConfiguration;
2269
2339
  /**
2270
2340
  * Disallow nested ternary expressions.
2271
- See <https://biomejs.dev/linter/rules/no-nested-ternary>
2341
+ See https://biomejs.dev/linter/rules/no-nested-ternary
2272
2342
  */
2273
2343
  noNestedTernary?: NoNestedTernaryConfiguration;
2274
2344
  /**
2275
2345
  * Disallow non-null assertions using the ! postfix operator.
2276
- See <https://biomejs.dev/linter/rules/no-non-null-assertion>
2346
+ See https://biomejs.dev/linter/rules/no-non-null-assertion
2277
2347
  */
2278
2348
  noNonNullAssertion?: NoNonNullAssertionConfiguration;
2279
2349
  /**
2280
2350
  * Disallow reassigning function parameters.
2281
- See <https://biomejs.dev/linter/rules/no-parameter-assign>
2351
+ See https://biomejs.dev/linter/rules/no-parameter-assign
2282
2352
  */
2283
2353
  noParameterAssign?: NoParameterAssignConfiguration;
2284
2354
  /**
2285
2355
  * Disallow the use of parameter properties in class constructors.
2286
- See <https://biomejs.dev/linter/rules/no-parameter-properties>
2356
+ See https://biomejs.dev/linter/rules/no-parameter-properties
2287
2357
  */
2288
2358
  noParameterProperties?: NoParameterPropertiesConfiguration;
2289
2359
  /**
2290
2360
  * Disallow the use of process.env.
2291
- See <https://biomejs.dev/linter/rules/no-process-env>
2361
+ See https://biomejs.dev/linter/rules/no-process-env
2292
2362
  */
2293
2363
  noProcessEnv?: NoProcessEnvConfiguration;
2294
2364
  /**
2295
2365
  * This rule allows you to specify global variable names that you don’t want to use in your application.
2296
- See <https://biomejs.dev/linter/rules/no-restricted-globals>
2366
+ See https://biomejs.dev/linter/rules/no-restricted-globals
2297
2367
  */
2298
2368
  noRestrictedGlobals?: NoRestrictedGlobalsConfiguration;
2299
2369
  /**
2300
2370
  * Disallow specified modules when loaded by import or require.
2301
- See <https://biomejs.dev/linter/rules/no-restricted-imports>
2371
+ See https://biomejs.dev/linter/rules/no-restricted-imports
2302
2372
  */
2303
2373
  noRestrictedImports?: NoRestrictedImportsConfiguration;
2304
2374
  /**
2305
2375
  * Disallow user defined types.
2306
- See <https://biomejs.dev/linter/rules/no-restricted-types>
2376
+ See https://biomejs.dev/linter/rules/no-restricted-types
2307
2377
  */
2308
2378
  noRestrictedTypes?: NoRestrictedTypesConfiguration;
2309
2379
  /**
2310
2380
  * Disallow the use of constants which its value is the upper-case version of its name.
2311
- See <https://biomejs.dev/linter/rules/no-shouty-constants>
2381
+ See https://biomejs.dev/linter/rules/no-shouty-constants
2312
2382
  */
2313
2383
  noShoutyConstants?: NoShoutyConstantsConfiguration;
2314
2384
  /**
2315
2385
  * Enforce the use of String.slice() over String.substr() and String.substring().
2316
- See <https://biomejs.dev/linter/rules/no-substr>
2386
+ See https://biomejs.dev/linter/rules/no-substr
2317
2387
  */
2318
2388
  noSubstr?: NoSubstrConfiguration;
2319
2389
  /**
2320
2390
  * Disallow template literals if interpolation and special-character handling are not needed.
2321
- See <https://biomejs.dev/linter/rules/no-unused-template-literal>
2391
+ See https://biomejs.dev/linter/rules/no-unused-template-literal
2322
2392
  */
2323
2393
  noUnusedTemplateLiteral?: NoUnusedTemplateLiteralConfiguration;
2324
2394
  /**
2325
2395
  * Disallow else block when the if block breaks early.
2326
- See <https://biomejs.dev/linter/rules/no-useless-else>
2396
+ See https://biomejs.dev/linter/rules/no-useless-else
2327
2397
  */
2328
2398
  noUselessElse?: NoUselessElseConfiguration;
2329
2399
  /**
2330
2400
  * Disallow use of @value rule in css modules.
2331
- See <https://biomejs.dev/linter/rules/no-value-at-rule>
2401
+ See https://biomejs.dev/linter/rules/no-value-at-rule
2332
2402
  */
2333
2403
  noValueAtRule?: NoValueAtRuleConfiguration;
2334
2404
  /**
2335
2405
  * Disallow the use of yoda expressions.
2336
- See <https://biomejs.dev/linter/rules/no-yoda-expression>
2406
+ See https://biomejs.dev/linter/rules/no-yoda-expression
2337
2407
  */
2338
2408
  noYodaExpression?: NoYodaExpressionConfiguration;
2339
2409
  /**
@@ -2342,644 +2412,644 @@ See <https://biomejs.dev/linter/rules/no-yoda-expression>
2342
2412
  recommended?: boolean;
2343
2413
  /**
2344
2414
  * Disallow Array constructors.
2345
- See <https://biomejs.dev/linter/rules/use-array-literals>
2415
+ See https://biomejs.dev/linter/rules/use-array-literals
2346
2416
  */
2347
2417
  useArrayLiterals?: UseArrayLiteralsConfiguration;
2348
2418
  /**
2349
2419
  * Enforce the use of as const over literal type and type annotation.
2350
- See <https://biomejs.dev/linter/rules/use-as-const-assertion>
2420
+ See https://biomejs.dev/linter/rules/use-as-const-assertion
2351
2421
  */
2352
2422
  useAsConstAssertion?: UseAsConstAssertionConfiguration;
2353
2423
  /**
2354
2424
  * Use at() instead of integer index access.
2355
- See <https://biomejs.dev/linter/rules/use-at-index>
2425
+ See https://biomejs.dev/linter/rules/use-at-index
2356
2426
  */
2357
2427
  useAtIndex?: UseAtIndexConfiguration;
2358
2428
  /**
2359
2429
  * Requires following curly brace conventions.
2360
- See <https://biomejs.dev/linter/rules/use-block-statements>
2430
+ See https://biomejs.dev/linter/rules/use-block-statements
2361
2431
  */
2362
2432
  useBlockStatements?: UseBlockStatementsConfiguration;
2363
2433
  /**
2364
2434
  * Enforce using else if instead of nested if in else clauses.
2365
- See <https://biomejs.dev/linter/rules/use-collapsed-else-if>
2435
+ See https://biomejs.dev/linter/rules/use-collapsed-else-if
2366
2436
  */
2367
2437
  useCollapsedElseIf?: UseCollapsedElseIfConfiguration;
2368
2438
  /**
2369
2439
  * Enforce using single if instead of nested if clauses.
2370
- See <https://biomejs.dev/linter/rules/use-collapsed-if>
2440
+ See https://biomejs.dev/linter/rules/use-collapsed-if
2371
2441
  */
2372
2442
  useCollapsedIf?: UseCollapsedIfConfiguration;
2373
2443
  /**
2374
2444
  * Enforce declaring components only within modules that export React Components exclusively.
2375
- See <https://biomejs.dev/linter/rules/use-component-export-only-modules>
2445
+ See https://biomejs.dev/linter/rules/use-component-export-only-modules
2376
2446
  */
2377
2447
  useComponentExportOnlyModules?: UseComponentExportOnlyModulesConfiguration;
2378
2448
  /**
2379
2449
  * Require consistently using either T\[] or Array\<T>.
2380
- See <https://biomejs.dev/linter/rules/use-consistent-array-type>
2450
+ See https://biomejs.dev/linter/rules/use-consistent-array-type
2381
2451
  */
2382
2452
  useConsistentArrayType?: UseConsistentArrayTypeConfiguration;
2383
2453
  /**
2384
2454
  * Enforce the use of new for all builtins, except String, Number and Boolean.
2385
- See <https://biomejs.dev/linter/rules/use-consistent-builtin-instantiation>
2455
+ See https://biomejs.dev/linter/rules/use-consistent-builtin-instantiation
2386
2456
  */
2387
2457
  useConsistentBuiltinInstantiation?: UseConsistentBuiltinInstantiationConfiguration;
2388
2458
  /**
2389
2459
  * This rule enforces consistent use of curly braces inside JSX attributes and JSX children.
2390
- See <https://biomejs.dev/linter/rules/use-consistent-curly-braces>
2460
+ See https://biomejs.dev/linter/rules/use-consistent-curly-braces
2391
2461
  */
2392
2462
  useConsistentCurlyBraces?: UseConsistentCurlyBracesConfiguration;
2393
2463
  /**
2394
2464
  * Require consistent accessibility modifiers on class properties and methods.
2395
- See <https://biomejs.dev/linter/rules/use-consistent-member-accessibility>
2465
+ See https://biomejs.dev/linter/rules/use-consistent-member-accessibility
2396
2466
  */
2397
2467
  useConsistentMemberAccessibility?: UseConsistentMemberAccessibilityConfiguration;
2398
2468
  /**
2399
2469
  * Require the consistent declaration of object literals. Defaults to explicit definitions.
2400
- See <https://biomejs.dev/linter/rules/use-consistent-object-definitions>
2470
+ See https://biomejs.dev/linter/rules/use-consistent-object-definitions
2401
2471
  */
2402
2472
  useConsistentObjectDefinitions?: UseConsistentObjectDefinitionsConfiguration;
2403
2473
  /**
2404
2474
  * Enforce type definitions to consistently use either interface or type.
2405
- See <https://biomejs.dev/linter/rules/use-consistent-type-definitions>
2475
+ See https://biomejs.dev/linter/rules/use-consistent-type-definitions
2406
2476
  */
2407
2477
  useConsistentTypeDefinitions?: UseConsistentTypeDefinitionsConfiguration;
2408
2478
  /**
2409
2479
  * Require const declarations for variables that are only assigned once.
2410
- See <https://biomejs.dev/linter/rules/use-const>
2480
+ See https://biomejs.dev/linter/rules/use-const
2411
2481
  */
2412
2482
  useConst?: UseConstConfiguration;
2413
2483
  /**
2414
2484
  * Enforce default function parameters and optional function parameters to be last.
2415
- See <https://biomejs.dev/linter/rules/use-default-parameter-last>
2485
+ See https://biomejs.dev/linter/rules/use-default-parameter-last
2416
2486
  */
2417
2487
  useDefaultParameterLast?: UseDefaultParameterLastConfiguration;
2418
2488
  /**
2419
2489
  * Require the default clause in switch statements.
2420
- See <https://biomejs.dev/linter/rules/use-default-switch-clause>
2490
+ See https://biomejs.dev/linter/rules/use-default-switch-clause
2421
2491
  */
2422
2492
  useDefaultSwitchClause?: UseDefaultSwitchClauseConfiguration;
2423
2493
  /**
2424
2494
  * Require specifying the reason argument when using @deprecated directive.
2425
- See <https://biomejs.dev/linter/rules/use-deprecated-reason>
2495
+ See https://biomejs.dev/linter/rules/use-deprecated-reason
2426
2496
  */
2427
2497
  useDeprecatedReason?: UseDeprecatedReasonConfiguration;
2428
2498
  /**
2429
2499
  * Require that each enum member value be explicitly initialized.
2430
- See <https://biomejs.dev/linter/rules/use-enum-initializers>
2500
+ See https://biomejs.dev/linter/rules/use-enum-initializers
2431
2501
  */
2432
2502
  useEnumInitializers?: UseEnumInitializersConfiguration;
2433
2503
  /**
2434
2504
  * Enforce explicitly comparing the length, size, byteLength or byteOffset property of a value.
2435
- See <https://biomejs.dev/linter/rules/use-explicit-length-check>
2505
+ See https://biomejs.dev/linter/rules/use-explicit-length-check
2436
2506
  */
2437
2507
  useExplicitLengthCheck?: UseExplicitLengthCheckConfiguration;
2438
2508
  /**
2439
2509
  * Disallow the use of Math.pow in favor of the ** operator.
2440
- See <https://biomejs.dev/linter/rules/use-exponentiation-operator>
2510
+ See https://biomejs.dev/linter/rules/use-exponentiation-operator
2441
2511
  */
2442
2512
  useExponentiationOperator?: UseExponentiationOperatorConfiguration;
2443
2513
  /**
2444
2514
  * Promotes the use of export type for types.
2445
- See <https://biomejs.dev/linter/rules/use-export-type>
2515
+ See https://biomejs.dev/linter/rules/use-export-type
2446
2516
  */
2447
2517
  useExportType?: UseExportTypeConfiguration;
2448
2518
  /**
2449
2519
  * Require that all exports are declared after all non-export statements.
2450
- See <https://biomejs.dev/linter/rules/use-exports-last>
2520
+ See https://biomejs.dev/linter/rules/use-exports-last
2451
2521
  */
2452
2522
  useExportsLast?: UseExportsLastConfiguration;
2453
2523
  /**
2454
2524
  * Enforce naming conventions for JavaScript and TypeScript filenames.
2455
- See <https://biomejs.dev/linter/rules/use-filenaming-convention>
2525
+ See https://biomejs.dev/linter/rules/use-filenaming-convention
2456
2526
  */
2457
2527
  useFilenamingConvention?: UseFilenamingConventionConfiguration;
2458
2528
  /**
2459
2529
  * Prefer using for...of loops over standard for loops where possible.
2460
- See <https://biomejs.dev/linter/rules/use-for-of>
2530
+ See https://biomejs.dev/linter/rules/use-for-of
2461
2531
  */
2462
2532
  useForOf?: UseForOfConfiguration;
2463
2533
  /**
2464
2534
  * This rule enforces the use of \<>...\</> over \<Fragment>...\</Fragment>.
2465
- See <https://biomejs.dev/linter/rules/use-fragment-syntax>
2535
+ See https://biomejs.dev/linter/rules/use-fragment-syntax
2466
2536
  */
2467
2537
  useFragmentSyntax?: UseFragmentSyntaxConfiguration;
2468
2538
  /**
2469
2539
  * Validates that all enum values are capitalized.
2470
- See <https://biomejs.dev/linter/rules/use-graphql-naming-convention>
2540
+ See https://biomejs.dev/linter/rules/use-graphql-naming-convention
2471
2541
  */
2472
2542
  useGraphqlNamingConvention?: UseGraphqlNamingConventionConfiguration;
2473
2543
  /**
2474
2544
  * Enforce that getters and setters for the same property are adjacent in class and object definitions.
2475
- See <https://biomejs.dev/linter/rules/use-grouped-accessor-pairs>
2545
+ See https://biomejs.dev/linter/rules/use-grouped-accessor-pairs
2476
2546
  */
2477
2547
  useGroupedAccessorPairs?: UseGroupedAccessorPairsConfiguration;
2478
2548
  /**
2479
2549
  * Promotes the use of import type for types.
2480
- See <https://biomejs.dev/linter/rules/use-import-type>
2550
+ See https://biomejs.dev/linter/rules/use-import-type
2481
2551
  */
2482
2552
  useImportType?: UseImportTypeConfiguration;
2483
2553
  /**
2484
2554
  * Require all enum members to be literal values.
2485
- See <https://biomejs.dev/linter/rules/use-literal-enum-members>
2555
+ See https://biomejs.dev/linter/rules/use-literal-enum-members
2486
2556
  */
2487
2557
  useLiteralEnumMembers?: UseLiteralEnumMembersConfiguration;
2488
2558
  /**
2489
2559
  * Enforce naming conventions for everything across a codebase.
2490
- See <https://biomejs.dev/linter/rules/use-naming-convention>
2560
+ See https://biomejs.dev/linter/rules/use-naming-convention
2491
2561
  */
2492
2562
  useNamingConvention?: UseNamingConventionConfiguration;
2493
2563
  /**
2494
2564
  * Promotes the usage of node:assert/strict over node:assert.
2495
- See <https://biomejs.dev/linter/rules/use-node-assert-strict>
2565
+ See https://biomejs.dev/linter/rules/use-node-assert-strict
2496
2566
  */
2497
2567
  useNodeAssertStrict?: UseNodeAssertStrictConfiguration;
2498
2568
  /**
2499
2569
  * Enforces using the node: protocol for Node.js builtin modules.
2500
- See <https://biomejs.dev/linter/rules/use-nodejs-import-protocol>
2570
+ See https://biomejs.dev/linter/rules/use-nodejs-import-protocol
2501
2571
  */
2502
2572
  useNodejsImportProtocol?: UseNodejsImportProtocolConfiguration;
2503
2573
  /**
2504
2574
  * Use the Number properties instead of global ones.
2505
- See <https://biomejs.dev/linter/rules/use-number-namespace>
2575
+ See https://biomejs.dev/linter/rules/use-number-namespace
2506
2576
  */
2507
2577
  useNumberNamespace?: UseNumberNamespaceConfiguration;
2508
2578
  /**
2509
2579
  * Enforce the use of numeric separators in numeric literals.
2510
- See <https://biomejs.dev/linter/rules/use-numeric-separators>
2580
+ See https://biomejs.dev/linter/rules/use-numeric-separators
2511
2581
  */
2512
2582
  useNumericSeparators?: UseNumericSeparatorsConfiguration;
2513
2583
  /**
2514
2584
  * Prefer object spread over Object.assign() when constructing new objects.
2515
- See <https://biomejs.dev/linter/rules/use-object-spread>
2585
+ See https://biomejs.dev/linter/rules/use-object-spread
2516
2586
  */
2517
2587
  useObjectSpread?: UseObjectSpreadConfiguration;
2518
2588
  /**
2519
2589
  * Enforce that components are defined as functions and never as classes.
2520
- See <https://biomejs.dev/linter/rules/use-react-function-components>
2590
+ See https://biomejs.dev/linter/rules/use-react-function-components
2521
2591
  */
2522
2592
  useReactFunctionComponents?: UseReactFunctionComponentsConfiguration;
2523
2593
  /**
2524
2594
  * Enforce marking members as readonly if they are never modified outside the constructor.
2525
- See <https://biomejs.dev/linter/rules/use-readonly-class-properties>
2595
+ See https://biomejs.dev/linter/rules/use-readonly-class-properties
2526
2596
  */
2527
2597
  useReadonlyClassProperties?: UseReadonlyClassPropertiesConfiguration;
2528
2598
  /**
2529
2599
  * Prevent extra closing tags for components without children.
2530
- See <https://biomejs.dev/linter/rules/use-self-closing-elements>
2600
+ See https://biomejs.dev/linter/rules/use-self-closing-elements
2531
2601
  */
2532
2602
  useSelfClosingElements?: UseSelfClosingElementsConfiguration;
2533
2603
  /**
2534
2604
  * Require assignment operator shorthand where possible.
2535
- See <https://biomejs.dev/linter/rules/use-shorthand-assign>
2605
+ See https://biomejs.dev/linter/rules/use-shorthand-assign
2536
2606
  */
2537
2607
  useShorthandAssign?: UseShorthandAssignConfiguration;
2538
2608
  /**
2539
2609
  * Enforce using function types instead of object type with call signatures.
2540
- See <https://biomejs.dev/linter/rules/use-shorthand-function-type>
2610
+ See https://biomejs.dev/linter/rules/use-shorthand-function-type
2541
2611
  */
2542
2612
  useShorthandFunctionType?: UseShorthandFunctionTypeConfiguration;
2543
2613
  /**
2544
2614
  * Disallow multiple variable declarations in the same variable statement.
2545
- See <https://biomejs.dev/linter/rules/use-single-var-declarator>
2615
+ See https://biomejs.dev/linter/rules/use-single-var-declarator
2546
2616
  */
2547
2617
  useSingleVarDeclarator?: UseSingleVarDeclaratorConfiguration;
2548
2618
  /**
2549
2619
  * Require a description parameter for the Symbol().
2550
- See <https://biomejs.dev/linter/rules/use-symbol-description>
2620
+ See https://biomejs.dev/linter/rules/use-symbol-description
2551
2621
  */
2552
2622
  useSymbolDescription?: UseSymbolDescriptionConfiguration;
2553
2623
  /**
2554
2624
  * Prefer template literals over string concatenation.
2555
- See <https://biomejs.dev/linter/rules/use-template>
2625
+ See https://biomejs.dev/linter/rules/use-template
2556
2626
  */
2557
2627
  useTemplate?: UseTemplateConfiguration;
2558
2628
  /**
2559
2629
  * Require new when throwing an error.
2560
- See <https://biomejs.dev/linter/rules/use-throw-new-error>
2630
+ See https://biomejs.dev/linter/rules/use-throw-new-error
2561
2631
  */
2562
2632
  useThrowNewError?: UseThrowNewErrorConfiguration;
2563
2633
  /**
2564
2634
  * Disallow throwing non-Error values.
2565
- See <https://biomejs.dev/linter/rules/use-throw-only-error>
2635
+ See https://biomejs.dev/linter/rules/use-throw-only-error
2566
2636
  */
2567
2637
  useThrowOnlyError?: UseThrowOnlyErrorConfiguration;
2568
2638
  /**
2569
2639
  * Enforce the use of String.trimStart() and String.trimEnd() over String.trimLeft() and String.trimRight().
2570
- See <https://biomejs.dev/linter/rules/use-trim-start-end>
2640
+ See https://biomejs.dev/linter/rules/use-trim-start-end
2571
2641
  */
2572
2642
  useTrimStartEnd?: UseTrimStartEndConfiguration;
2573
2643
  /**
2574
2644
  * Disallow overload signatures that can be unified into a single signature.
2575
- See <https://biomejs.dev/linter/rules/use-unified-type-signatures>
2645
+ See https://biomejs.dev/linter/rules/use-unified-type-signatures
2576
2646
  */
2577
2647
  useUnifiedTypeSignatures?: UseUnifiedTypeSignaturesConfiguration;
2578
2648
  }
2579
2649
  interface Suspicious {
2580
2650
  /**
2581
2651
  * Disallow the use of alert, confirm, and prompt.
2582
- See <https://biomejs.dev/linter/rules/no-alert>
2652
+ See https://biomejs.dev/linter/rules/no-alert
2583
2653
  */
2584
2654
  noAlert?: NoAlertConfiguration;
2585
2655
  /**
2586
2656
  * Use standard constants instead of approximated literals.
2587
- See <https://biomejs.dev/linter/rules/no-approximative-numeric-constant>
2657
+ See https://biomejs.dev/linter/rules/no-approximative-numeric-constant
2588
2658
  */
2589
2659
  noApproximativeNumericConstant?: NoApproximativeNumericConstantConfiguration;
2590
2660
  /**
2591
2661
  * Discourage the usage of Array index in keys.
2592
- See <https://biomejs.dev/linter/rules/no-array-index-key>
2662
+ See https://biomejs.dev/linter/rules/no-array-index-key
2593
2663
  */
2594
2664
  noArrayIndexKey?: NoArrayIndexKeyConfiguration;
2595
2665
  /**
2596
2666
  * Disallow assignments in expressions.
2597
- See <https://biomejs.dev/linter/rules/no-assign-in-expressions>
2667
+ See https://biomejs.dev/linter/rules/no-assign-in-expressions
2598
2668
  */
2599
2669
  noAssignInExpressions?: NoAssignInExpressionsConfiguration;
2600
2670
  /**
2601
2671
  * Disallows using an async function as a Promise executor.
2602
- See <https://biomejs.dev/linter/rules/no-async-promise-executor>
2672
+ See https://biomejs.dev/linter/rules/no-async-promise-executor
2603
2673
  */
2604
2674
  noAsyncPromiseExecutor?: NoAsyncPromiseExecutorConfiguration;
2605
2675
  /**
2606
2676
  * Prevents the misuse of glob patterns inside the files.includes field.
2607
- See <https://biomejs.dev/linter/rules/no-biome-first-exception>
2677
+ See https://biomejs.dev/linter/rules/no-biome-first-exception
2608
2678
  */
2609
2679
  noBiomeFirstException?: NoBiomeFirstExceptionConfiguration;
2610
2680
  /**
2611
2681
  * Disallow bitwise operators.
2612
- See <https://biomejs.dev/linter/rules/no-bitwise-operators>
2682
+ See https://biomejs.dev/linter/rules/no-bitwise-operators
2613
2683
  */
2614
2684
  noBitwiseOperators?: NoBitwiseOperatorsConfiguration;
2615
2685
  /**
2616
2686
  * Disallow reassigning exceptions in catch clauses.
2617
- See <https://biomejs.dev/linter/rules/no-catch-assign>
2687
+ See https://biomejs.dev/linter/rules/no-catch-assign
2618
2688
  */
2619
2689
  noCatchAssign?: NoCatchAssignConfiguration;
2620
2690
  /**
2621
2691
  * Disallow reassigning class members.
2622
- See <https://biomejs.dev/linter/rules/no-class-assign>
2692
+ See https://biomejs.dev/linter/rules/no-class-assign
2623
2693
  */
2624
2694
  noClassAssign?: NoClassAssignConfiguration;
2625
2695
  /**
2626
2696
  * Prevent comments from being inserted as text nodes.
2627
- See <https://biomejs.dev/linter/rules/no-comment-text>
2697
+ See https://biomejs.dev/linter/rules/no-comment-text
2628
2698
  */
2629
2699
  noCommentText?: NoCommentTextConfiguration;
2630
2700
  /**
2631
2701
  * Disallow comparing against -0.
2632
- See <https://biomejs.dev/linter/rules/no-compare-neg-zero>
2702
+ See https://biomejs.dev/linter/rules/no-compare-neg-zero
2633
2703
  */
2634
2704
  noCompareNegZero?: NoCompareNegZeroConfiguration;
2635
2705
  /**
2636
2706
  * Disallow labeled statements that are not loops.
2637
- See <https://biomejs.dev/linter/rules/no-confusing-labels>
2707
+ See https://biomejs.dev/linter/rules/no-confusing-labels
2638
2708
  */
2639
2709
  noConfusingLabels?: NoConfusingLabelsConfiguration;
2640
2710
  /**
2641
2711
  * Disallow void type outside of generic or return types.
2642
- See <https://biomejs.dev/linter/rules/no-confusing-void-type>
2712
+ See https://biomejs.dev/linter/rules/no-confusing-void-type
2643
2713
  */
2644
2714
  noConfusingVoidType?: NoConfusingVoidTypeConfiguration;
2645
2715
  /**
2646
2716
  * Disallow the use of console.
2647
- See <https://biomejs.dev/linter/rules/no-console>
2717
+ See https://biomejs.dev/linter/rules/no-console
2648
2718
  */
2649
2719
  noConsole?: NoConsoleConfiguration;
2650
2720
  /**
2651
2721
  * Disallow TypeScript const enum.
2652
- See <https://biomejs.dev/linter/rules/no-const-enum>
2722
+ See https://biomejs.dev/linter/rules/no-const-enum
2653
2723
  */
2654
2724
  noConstEnum?: NoConstEnumConfiguration;
2655
2725
  /**
2656
2726
  * Disallow expressions where the operation doesn't affect the value.
2657
- See <https://biomejs.dev/linter/rules/no-constant-binary-expressions>
2727
+ See https://biomejs.dev/linter/rules/no-constant-binary-expressions
2658
2728
  */
2659
2729
  noConstantBinaryExpressions?: NoConstantBinaryExpressionsConfiguration;
2660
2730
  /**
2661
2731
  * Prevents from having control characters and some escape sequences that match control characters in regular expression literals.
2662
- See <https://biomejs.dev/linter/rules/no-control-characters-in-regex>
2732
+ See https://biomejs.dev/linter/rules/no-control-characters-in-regex
2663
2733
  */
2664
2734
  noControlCharactersInRegex?: NoControlCharactersInRegexConfiguration;
2665
2735
  /**
2666
2736
  * Disallow the use of debugger.
2667
- See <https://biomejs.dev/linter/rules/no-debugger>
2737
+ See https://biomejs.dev/linter/rules/no-debugger
2668
2738
  */
2669
2739
  noDebugger?: NoDebuggerConfiguration;
2670
2740
  /**
2671
2741
  * Disallow direct assignments to document.cookie.
2672
- See <https://biomejs.dev/linter/rules/no-document-cookie>
2742
+ See https://biomejs.dev/linter/rules/no-document-cookie
2673
2743
  */
2674
2744
  noDocumentCookie?: NoDocumentCookieConfiguration;
2675
2745
  /**
2676
2746
  * Prevents importing next/document outside of pages/_document.jsx in Next.js projects.
2677
- See <https://biomejs.dev/linter/rules/no-document-import-in-page>
2747
+ See https://biomejs.dev/linter/rules/no-document-import-in-page
2678
2748
  */
2679
2749
  noDocumentImportInPage?: NoDocumentImportInPageConfiguration;
2680
2750
  /**
2681
2751
  * Require the use of === and !==.
2682
- See <https://biomejs.dev/linter/rules/no-double-equals>
2752
+ See https://biomejs.dev/linter/rules/no-double-equals
2683
2753
  */
2684
2754
  noDoubleEquals?: NoDoubleEqualsConfiguration;
2685
2755
  /**
2686
2756
  * Disallow duplicate @import rules.
2687
- See <https://biomejs.dev/linter/rules/no-duplicate-at-import-rules>
2757
+ See https://biomejs.dev/linter/rules/no-duplicate-at-import-rules
2688
2758
  */
2689
2759
  noDuplicateAtImportRules?: NoDuplicateAtImportRulesConfiguration;
2690
2760
  /**
2691
2761
  * Disallow duplicate case labels.
2692
- See <https://biomejs.dev/linter/rules/no-duplicate-case>
2762
+ See https://biomejs.dev/linter/rules/no-duplicate-case
2693
2763
  */
2694
2764
  noDuplicateCase?: NoDuplicateCaseConfiguration;
2695
2765
  /**
2696
2766
  * Disallow duplicate class members.
2697
- See <https://biomejs.dev/linter/rules/no-duplicate-class-members>
2767
+ See https://biomejs.dev/linter/rules/no-duplicate-class-members
2698
2768
  */
2699
2769
  noDuplicateClassMembers?: NoDuplicateClassMembersConfiguration;
2700
2770
  /**
2701
2771
  * Disallow duplicate custom properties within declaration blocks.
2702
- See <https://biomejs.dev/linter/rules/no-duplicate-custom-properties>
2772
+ See https://biomejs.dev/linter/rules/no-duplicate-custom-properties
2703
2773
  */
2704
2774
  noDuplicateCustomProperties?: NoDuplicateCustomPropertiesConfiguration;
2705
2775
  /**
2706
2776
  * Disallow duplicate conditions in if-else-if chains.
2707
- See <https://biomejs.dev/linter/rules/no-duplicate-else-if>
2777
+ See https://biomejs.dev/linter/rules/no-duplicate-else-if
2708
2778
  */
2709
2779
  noDuplicateElseIf?: NoDuplicateElseIfConfiguration;
2710
2780
  /**
2711
2781
  * No duplicated fields in GraphQL operations.
2712
- See <https://biomejs.dev/linter/rules/no-duplicate-fields>
2782
+ See https://biomejs.dev/linter/rules/no-duplicate-fields
2713
2783
  */
2714
2784
  noDuplicateFields?: NoDuplicateFieldsConfiguration;
2715
2785
  /**
2716
2786
  * Disallow duplicate names within font families.
2717
- See <https://biomejs.dev/linter/rules/no-duplicate-font-names>
2787
+ See https://biomejs.dev/linter/rules/no-duplicate-font-names
2718
2788
  */
2719
2789
  noDuplicateFontNames?: NoDuplicateFontNamesConfiguration;
2720
2790
  /**
2721
2791
  * Prevents JSX properties to be assigned multiple times.
2722
- See <https://biomejs.dev/linter/rules/no-duplicate-jsx-props>
2792
+ See https://biomejs.dev/linter/rules/no-duplicate-jsx-props
2723
2793
  */
2724
2794
  noDuplicateJsxProps?: NoDuplicateJsxPropsConfiguration;
2725
2795
  /**
2726
2796
  * Disallow two keys with the same name inside objects.
2727
- See <https://biomejs.dev/linter/rules/no-duplicate-object-keys>
2797
+ See https://biomejs.dev/linter/rules/no-duplicate-object-keys
2728
2798
  */
2729
2799
  noDuplicateObjectKeys?: NoDuplicateObjectKeysConfiguration;
2730
2800
  /**
2731
2801
  * Disallow duplicate function parameter name.
2732
- See <https://biomejs.dev/linter/rules/no-duplicate-parameters>
2802
+ See https://biomejs.dev/linter/rules/no-duplicate-parameters
2733
2803
  */
2734
2804
  noDuplicateParameters?: NoDuplicateParametersConfiguration;
2735
2805
  /**
2736
2806
  * Disallow duplicate properties within declaration blocks.
2737
- See <https://biomejs.dev/linter/rules/no-duplicate-properties>
2807
+ See https://biomejs.dev/linter/rules/no-duplicate-properties
2738
2808
  */
2739
2809
  noDuplicateProperties?: NoDuplicatePropertiesConfiguration;
2740
2810
  /**
2741
2811
  * Disallow duplicate selectors within keyframe blocks.
2742
- See <https://biomejs.dev/linter/rules/no-duplicate-selectors-keyframe-block>
2812
+ See https://biomejs.dev/linter/rules/no-duplicate-selectors-keyframe-block
2743
2813
  */
2744
2814
  noDuplicateSelectorsKeyframeBlock?: NoDuplicateSelectorsKeyframeBlockConfiguration;
2745
2815
  /**
2746
2816
  * A describe block should not contain duplicate hooks.
2747
- See <https://biomejs.dev/linter/rules/no-duplicate-test-hooks>
2817
+ See https://biomejs.dev/linter/rules/no-duplicate-test-hooks
2748
2818
  */
2749
2819
  noDuplicateTestHooks?: NoDuplicateTestHooksConfiguration;
2750
2820
  /**
2751
2821
  * Disallow CSS empty blocks.
2752
- See <https://biomejs.dev/linter/rules/no-empty-block>
2822
+ See https://biomejs.dev/linter/rules/no-empty-block
2753
2823
  */
2754
2824
  noEmptyBlock?: NoEmptyBlockConfiguration;
2755
2825
  /**
2756
2826
  * Disallow empty block statements and static blocks.
2757
- See <https://biomejs.dev/linter/rules/no-empty-block-statements>
2827
+ See https://biomejs.dev/linter/rules/no-empty-block-statements
2758
2828
  */
2759
2829
  noEmptyBlockStatements?: NoEmptyBlockStatementsConfiguration;
2760
2830
  /**
2761
2831
  * Disallow the declaration of empty interfaces.
2762
- See <https://biomejs.dev/linter/rules/no-empty-interface>
2832
+ See https://biomejs.dev/linter/rules/no-empty-interface
2763
2833
  */
2764
2834
  noEmptyInterface?: NoEmptyInterfaceConfiguration;
2765
2835
  /**
2766
2836
  * Disallow variables from evolving into any type through reassignments.
2767
- See <https://biomejs.dev/linter/rules/no-evolving-types>
2837
+ See https://biomejs.dev/linter/rules/no-evolving-types
2768
2838
  */
2769
2839
  noEvolvingTypes?: NoEvolvingTypesConfiguration;
2770
2840
  /**
2771
2841
  * Disallow the any type usage.
2772
- See <https://biomejs.dev/linter/rules/no-explicit-any>
2842
+ See https://biomejs.dev/linter/rules/no-explicit-any
2773
2843
  */
2774
2844
  noExplicitAny?: NoExplicitAnyConfiguration;
2775
2845
  /**
2776
2846
  * Disallow using export or module.exports in files containing tests.
2777
- See <https://biomejs.dev/linter/rules/no-exports-in-test>
2847
+ See https://biomejs.dev/linter/rules/no-exports-in-test
2778
2848
  */
2779
2849
  noExportsInTest?: NoExportsInTestConfiguration;
2780
2850
  /**
2781
2851
  * Prevents the wrong usage of the non-null assertion operator (!) in TypeScript files.
2782
- See <https://biomejs.dev/linter/rules/no-extra-non-null-assertion>
2852
+ See https://biomejs.dev/linter/rules/no-extra-non-null-assertion
2783
2853
  */
2784
2854
  noExtraNonNullAssertion?: NoExtraNonNullAssertionConfiguration;
2785
2855
  /**
2786
2856
  * Disallow fallthrough of switch clauses.
2787
- See <https://biomejs.dev/linter/rules/no-fallthrough-switch-clause>
2857
+ See https://biomejs.dev/linter/rules/no-fallthrough-switch-clause
2788
2858
  */
2789
2859
  noFallthroughSwitchClause?: NoFallthroughSwitchClauseConfiguration;
2790
2860
  /**
2791
2861
  * Disallow focused tests.
2792
- See <https://biomejs.dev/linter/rules/no-focused-tests>
2862
+ See https://biomejs.dev/linter/rules/no-focused-tests
2793
2863
  */
2794
2864
  noFocusedTests?: NoFocusedTestsConfiguration;
2795
2865
  /**
2796
2866
  * Disallow reassigning function declarations.
2797
- See <https://biomejs.dev/linter/rules/no-function-assign>
2867
+ See https://biomejs.dev/linter/rules/no-function-assign
2798
2868
  */
2799
2869
  noFunctionAssign?: NoFunctionAssignConfiguration;
2800
2870
  /**
2801
2871
  * Disallow assignments to native objects and read-only global variables.
2802
- See <https://biomejs.dev/linter/rules/no-global-assign>
2872
+ See https://biomejs.dev/linter/rules/no-global-assign
2803
2873
  */
2804
2874
  noGlobalAssign?: NoGlobalAssignConfiguration;
2805
2875
  /**
2806
2876
  * Use Number.isFinite instead of global isFinite.
2807
- See <https://biomejs.dev/linter/rules/no-global-is-finite>
2877
+ See https://biomejs.dev/linter/rules/no-global-is-finite
2808
2878
  */
2809
2879
  noGlobalIsFinite?: NoGlobalIsFiniteConfiguration;
2810
2880
  /**
2811
2881
  * Use Number.isNaN instead of global isNaN.
2812
- See <https://biomejs.dev/linter/rules/no-global-is-nan>
2882
+ See https://biomejs.dev/linter/rules/no-global-is-nan
2813
2883
  */
2814
2884
  noGlobalIsNan?: NoGlobalIsNanConfiguration;
2815
2885
  /**
2816
2886
  * Prevent using the next/head module in pages/_document.js on Next.js projects.
2817
- See <https://biomejs.dev/linter/rules/no-head-import-in-document>
2887
+ See https://biomejs.dev/linter/rules/no-head-import-in-document
2818
2888
  */
2819
2889
  noHeadImportInDocument?: NoHeadImportInDocumentConfiguration;
2820
2890
  /**
2821
2891
  * Disallow use of implicit any type on variable declarations.
2822
- See <https://biomejs.dev/linter/rules/no-implicit-any-let>
2892
+ See https://biomejs.dev/linter/rules/no-implicit-any-let
2823
2893
  */
2824
2894
  noImplicitAnyLet?: NoImplicitAnyLetConfiguration;
2825
2895
  /**
2826
2896
  * Disallow assigning to imported bindings.
2827
- See <https://biomejs.dev/linter/rules/no-import-assign>
2897
+ See https://biomejs.dev/linter/rules/no-import-assign
2828
2898
  */
2829
2899
  noImportAssign?: NoImportAssignConfiguration;
2830
2900
  /**
2831
2901
  * Disallow invalid !important within keyframe declarations.
2832
- See <https://biomejs.dev/linter/rules/no-important-in-keyframe>
2902
+ See https://biomejs.dev/linter/rules/no-important-in-keyframe
2833
2903
  */
2834
2904
  noImportantInKeyframe?: NoImportantInKeyframeConfiguration;
2835
2905
  /**
2836
2906
  * Disallows the use of irregular whitespace characters.
2837
- See <https://biomejs.dev/linter/rules/no-irregular-whitespace>
2907
+ See https://biomejs.dev/linter/rules/no-irregular-whitespace
2838
2908
  */
2839
2909
  noIrregularWhitespace?: NoIrregularWhitespaceConfiguration;
2840
2910
  /**
2841
2911
  * Disallow labels that share a name with a variable.
2842
- See <https://biomejs.dev/linter/rules/no-label-var>
2912
+ See https://biomejs.dev/linter/rules/no-label-var
2843
2913
  */
2844
2914
  noLabelVar?: NoLabelVarConfiguration;
2845
2915
  /**
2846
2916
  * Disallow characters made with multiple code points in character class syntax.
2847
- See <https://biomejs.dev/linter/rules/no-misleading-character-class>
2917
+ See https://biomejs.dev/linter/rules/no-misleading-character-class
2848
2918
  */
2849
2919
  noMisleadingCharacterClass?: NoMisleadingCharacterClassConfiguration;
2850
2920
  /**
2851
2921
  * Enforce proper usage of new and constructor.
2852
- See <https://biomejs.dev/linter/rules/no-misleading-instantiator>
2922
+ See https://biomejs.dev/linter/rules/no-misleading-instantiator
2853
2923
  */
2854
2924
  noMisleadingInstantiator?: NoMisleadingInstantiatorConfiguration;
2855
2925
  /**
2856
2926
  * Checks that the assertion function, for example expect, is placed inside an it() function call.
2857
- See <https://biomejs.dev/linter/rules/no-misplaced-assertion>
2927
+ See https://biomejs.dev/linter/rules/no-misplaced-assertion
2858
2928
  */
2859
2929
  noMisplacedAssertion?: NoMisplacedAssertionConfiguration;
2860
2930
  /**
2861
2931
  * Disallow shorthand assign when variable appears on both sides.
2862
- See <https://biomejs.dev/linter/rules/no-misrefactored-shorthand-assign>
2932
+ See https://biomejs.dev/linter/rules/no-misrefactored-shorthand-assign
2863
2933
  */
2864
2934
  noMisrefactoredShorthandAssign?: NoMisrefactoredShorthandAssignConfiguration;
2865
2935
  /**
2866
2936
  * Disallow non-null assertions after optional chaining expressions.
2867
- See <https://biomejs.dev/linter/rules/no-non-null-asserted-optional-chain>
2937
+ See https://biomejs.dev/linter/rules/no-non-null-asserted-optional-chain
2868
2938
  */
2869
2939
  noNonNullAssertedOptionalChain?: NoNonNullAssertedOptionalChainConfiguration;
2870
2940
  /**
2871
2941
  * Disallow octal escape sequences in string literals.
2872
- See <https://biomejs.dev/linter/rules/no-octal-escape>
2942
+ See https://biomejs.dev/linter/rules/no-octal-escape
2873
2943
  */
2874
2944
  noOctalEscape?: NoOctalEscapeConfiguration;
2875
2945
  /**
2876
2946
  * Disallow direct use of Object.prototype builtins.
2877
- See <https://biomejs.dev/linter/rules/no-prototype-builtins>
2947
+ See https://biomejs.dev/linter/rules/no-prototype-builtins
2878
2948
  */
2879
2949
  noPrototypeBuiltins?: NoPrototypeBuiltinsConfiguration;
2880
2950
  /**
2881
2951
  * Disallow the use if quickfix.biome inside editor settings file.
2882
- See <https://biomejs.dev/linter/rules/no-quickfix-biome>
2952
+ See https://biomejs.dev/linter/rules/no-quickfix-biome
2883
2953
  */
2884
2954
  noQuickfixBiome?: NoQuickfixBiomeConfiguration;
2885
2955
  /**
2886
2956
  * Prevents React-specific JSX properties from being used.
2887
- See <https://biomejs.dev/linter/rules/no-react-specific-props>
2957
+ See https://biomejs.dev/linter/rules/no-react-specific-props
2888
2958
  */
2889
2959
  noReactSpecificProps?: NoReactSpecificPropsConfiguration;
2890
2960
  /**
2891
2961
  * Disallow variable, function, class, and type redeclarations in the same scope.
2892
- See <https://biomejs.dev/linter/rules/no-redeclare>
2962
+ See https://biomejs.dev/linter/rules/no-redeclare
2893
2963
  */
2894
2964
  noRedeclare?: NoRedeclareConfiguration;
2895
2965
  /**
2896
2966
  * Prevents from having redundant "use strict".
2897
- See <https://biomejs.dev/linter/rules/no-redundant-use-strict>
2967
+ See https://biomejs.dev/linter/rules/no-redundant-use-strict
2898
2968
  */
2899
2969
  noRedundantUseStrict?: NoRedundantUseStrictConfiguration;
2900
2970
  /**
2901
2971
  * Disallow comparisons where both sides are exactly the same.
2902
- See <https://biomejs.dev/linter/rules/no-self-compare>
2972
+ See https://biomejs.dev/linter/rules/no-self-compare
2903
2973
  */
2904
2974
  noSelfCompare?: NoSelfCompareConfiguration;
2905
2975
  /**
2906
2976
  * Disallow identifiers from shadowing restricted names.
2907
- See <https://biomejs.dev/linter/rules/no-shadow-restricted-names>
2977
+ See https://biomejs.dev/linter/rules/no-shadow-restricted-names
2908
2978
  */
2909
2979
  noShadowRestrictedNames?: NoShadowRestrictedNamesConfiguration;
2910
2980
  /**
2911
2981
  * Disallow shorthand properties that override related longhand properties.
2912
- See <https://biomejs.dev/linter/rules/no-shorthand-property-overrides>
2982
+ See https://biomejs.dev/linter/rules/no-shorthand-property-overrides
2913
2983
  */
2914
2984
  noShorthandPropertyOverrides?: NoShorthandPropertyOverridesConfiguration;
2915
2985
  /**
2916
2986
  * Disallow disabled tests.
2917
- See <https://biomejs.dev/linter/rules/no-skipped-tests>
2987
+ See https://biomejs.dev/linter/rules/no-skipped-tests
2918
2988
  */
2919
2989
  noSkippedTests?: NoSkippedTestsConfiguration;
2920
2990
  /**
2921
2991
  * Prevents the use of sparse arrays (arrays with holes).
2922
- See <https://biomejs.dev/linter/rules/no-sparse-array>
2992
+ See https://biomejs.dev/linter/rules/no-sparse-array
2923
2993
  */
2924
2994
  noSparseArray?: NoSparseArrayConfiguration;
2925
2995
  /**
2926
2996
  * It detects possible "wrong" semicolons inside JSX elements.
2927
- See <https://biomejs.dev/linter/rules/no-suspicious-semicolon-in-jsx>
2997
+ See https://biomejs.dev/linter/rules/no-suspicious-semicolon-in-jsx
2928
2998
  */
2929
2999
  noSuspiciousSemicolonInJsx?: NoSuspiciousSemicolonInJsxConfiguration;
2930
3000
  /**
2931
3001
  * Disallow template literal placeholder syntax in regular strings.
2932
- See <https://biomejs.dev/linter/rules/no-template-curly-in-string>
3002
+ See https://biomejs.dev/linter/rules/no-template-curly-in-string
2933
3003
  */
2934
3004
  noTemplateCurlyInString?: NoTemplateCurlyInStringConfiguration;
2935
3005
  /**
2936
3006
  * Disallow then property.
2937
- See <https://biomejs.dev/linter/rules/no-then-property>
3007
+ See https://biomejs.dev/linter/rules/no-then-property
2938
3008
  */
2939
3009
  noThenProperty?: NoThenPropertyConfiguration;
2940
3010
  /**
2941
3011
  * Prevents the use of the TypeScript directive @ts-ignore.
2942
- See <https://biomejs.dev/linter/rules/no-ts-ignore>
3012
+ See https://biomejs.dev/linter/rules/no-ts-ignore
2943
3013
  */
2944
3014
  noTsIgnore?: NoTsIgnoreConfiguration;
2945
3015
  /**
2946
3016
  * Disallow let or var variables that are read but never assigned.
2947
- See <https://biomejs.dev/linter/rules/no-unassigned-variables>
3017
+ See https://biomejs.dev/linter/rules/no-unassigned-variables
2948
3018
  */
2949
3019
  noUnassignedVariables?: NoUnassignedVariablesConfiguration;
2950
3020
  /**
2951
3021
  * Disallow unknown at-rules.
2952
- See <https://biomejs.dev/linter/rules/no-unknown-at-rules>
3022
+ See https://biomejs.dev/linter/rules/no-unknown-at-rules
2953
3023
  */
2954
3024
  noUnknownAtRules?: NoUnknownAtRulesConfiguration;
2955
3025
  /**
2956
3026
  * Disallow unsafe declaration merging between interfaces and classes.
2957
- See <https://biomejs.dev/linter/rules/no-unsafe-declaration-merging>
3027
+ See https://biomejs.dev/linter/rules/no-unsafe-declaration-merging
2958
3028
  */
2959
3029
  noUnsafeDeclarationMerging?: NoUnsafeDeclarationMergingConfiguration;
2960
3030
  /**
2961
3031
  * Disallow using unsafe negation.
2962
- See <https://biomejs.dev/linter/rules/no-unsafe-negation>
3032
+ See https://biomejs.dev/linter/rules/no-unsafe-negation
2963
3033
  */
2964
3034
  noUnsafeNegation?: NoUnsafeNegationConfiguration;
2965
3035
  /**
2966
3036
  * Disallow unnecessary escapes in string literals.
2967
- See <https://biomejs.dev/linter/rules/no-useless-escape-in-string>
3037
+ See https://biomejs.dev/linter/rules/no-useless-escape-in-string
2968
3038
  */
2969
3039
  noUselessEscapeInString?: NoUselessEscapeInStringConfiguration;
2970
3040
  /**
2971
3041
  * Disallow useless backreferences in regular expression literals that always match an empty string.
2972
- See <https://biomejs.dev/linter/rules/no-useless-regex-backrefs>
3042
+ See https://biomejs.dev/linter/rules/no-useless-regex-backrefs
2973
3043
  */
2974
3044
  noUselessRegexBackrefs?: NoUselessRegexBackrefsConfiguration;
2975
3045
  /**
2976
3046
  * Disallow the use of var.
2977
- See <https://biomejs.dev/linter/rules/no-var>
3047
+ See https://biomejs.dev/linter/rules/no-var
2978
3048
  */
2979
3049
  noVar?: NoVarConfiguration;
2980
3050
  /**
2981
3051
  * Disallow with statements in non-strict contexts.
2982
- See <https://biomejs.dev/linter/rules/no-with>
3052
+ See https://biomejs.dev/linter/rules/no-with
2983
3053
  */
2984
3054
  noWith?: NoWithConfiguration;
2985
3055
  /**
@@ -2988,72 +3058,72 @@ See <https://biomejs.dev/linter/rules/no-with>
2988
3058
  recommended?: boolean;
2989
3059
  /**
2990
3060
  * Disallow the use of overload signatures that are not next to each other.
2991
- See <https://biomejs.dev/linter/rules/use-adjacent-overload-signatures>
3061
+ See https://biomejs.dev/linter/rules/use-adjacent-overload-signatures
2992
3062
  */
2993
3063
  useAdjacentOverloadSignatures?: UseAdjacentOverloadSignaturesConfiguration;
2994
3064
  /**
2995
3065
  * Ensure async functions utilize await.
2996
- See <https://biomejs.dev/linter/rules/use-await>
3066
+ See https://biomejs.dev/linter/rules/use-await
2997
3067
  */
2998
3068
  useAwait?: UseAwaitConfiguration;
2999
3069
  /**
3000
3070
  * Promotes the correct usage for ignoring folders in the configuration file.
3001
- See <https://biomejs.dev/linter/rules/use-biome-ignore-folder>
3071
+ See https://biomejs.dev/linter/rules/use-biome-ignore-folder
3002
3072
  */
3003
3073
  useBiomeIgnoreFolder?: UseBiomeIgnoreFolderConfiguration;
3004
3074
  /**
3005
3075
  * Enforce default clauses in switch statements to be last.
3006
- See <https://biomejs.dev/linter/rules/use-default-switch-clause-last>
3076
+ See https://biomejs.dev/linter/rules/use-default-switch-clause-last
3007
3077
  */
3008
3078
  useDefaultSwitchClauseLast?: UseDefaultSwitchClauseLastConfiguration;
3009
3079
  /**
3010
3080
  * Enforce passing a message value when creating a built-in error.
3011
- See <https://biomejs.dev/linter/rules/use-error-message>
3081
+ See https://biomejs.dev/linter/rules/use-error-message
3012
3082
  */
3013
3083
  useErrorMessage?: UseErrorMessageConfiguration;
3014
3084
  /**
3015
3085
  * Enforce get methods to always return a value.
3016
- See <https://biomejs.dev/linter/rules/use-getter-return>
3086
+ See https://biomejs.dev/linter/rules/use-getter-return
3017
3087
  */
3018
3088
  useGetterReturn?: UseGetterReturnConfiguration;
3019
3089
  /**
3020
3090
  * Enforces the use of a recommended display strategy with Google Fonts.
3021
- See <https://biomejs.dev/linter/rules/use-google-font-display>
3091
+ See https://biomejs.dev/linter/rules/use-google-font-display
3022
3092
  */
3023
3093
  useGoogleFontDisplay?: UseGoogleFontDisplayConfiguration;
3024
3094
  /**
3025
3095
  * Require for-in loops to include an if statement.
3026
- See <https://biomejs.dev/linter/rules/use-guard-for-in>
3096
+ See https://biomejs.dev/linter/rules/use-guard-for-in
3027
3097
  */
3028
3098
  useGuardForIn?: UseGuardForInConfiguration;
3029
3099
  /**
3030
3100
  * Use Array.isArray() instead of instanceof Array.
3031
- See <https://biomejs.dev/linter/rules/use-is-array>
3101
+ See https://biomejs.dev/linter/rules/use-is-array
3032
3102
  */
3033
3103
  useIsArray?: UseIsArrayConfiguration;
3034
3104
  /**
3035
3105
  * Enforce consistent return values in iterable callbacks.
3036
- See <https://biomejs.dev/linter/rules/use-iterable-callback-return>
3106
+ See https://biomejs.dev/linter/rules/use-iterable-callback-return
3037
3107
  */
3038
3108
  useIterableCallbackReturn?: UseIterableCallbackReturnConfiguration;
3039
3109
  /**
3040
3110
  * Require using the namespace keyword over the module keyword to declare TypeScript namespaces.
3041
- See <https://biomejs.dev/linter/rules/use-namespace-keyword>
3111
+ See https://biomejs.dev/linter/rules/use-namespace-keyword
3042
3112
  */
3043
3113
  useNamespaceKeyword?: UseNamespaceKeywordConfiguration;
3044
3114
  /**
3045
3115
  * Enforce using the digits argument with Number#toFixed().
3046
- See <https://biomejs.dev/linter/rules/use-number-to-fixed-digits-argument>
3116
+ See https://biomejs.dev/linter/rules/use-number-to-fixed-digits-argument
3047
3117
  */
3048
3118
  useNumberToFixedDigitsArgument?: UseNumberToFixedDigitsArgumentConfiguration;
3049
3119
  /**
3050
3120
  * Use static Response methods instead of new Response() constructor when possible.
3051
- See <https://biomejs.dev/linter/rules/use-static-response-methods>
3121
+ See https://biomejs.dev/linter/rules/use-static-response-methods
3052
3122
  */
3053
3123
  useStaticResponseMethods?: UseStaticResponseMethodsConfiguration;
3054
3124
  /**
3055
3125
  * Enforce the use of the directive "use strict" in script files.
3056
- See <https://biomejs.dev/linter/rules/use-strict-mode>
3126
+ See https://biomejs.dev/linter/rules/use-strict-mode
3057
3127
  */
3058
3128
  useStrictMode?: UseStrictModeConfiguration;
3059
3129
  }
@@ -3521,9 +3591,36 @@ type NoContinueConfiguration =
3521
3591
  type NoDeprecatedImportsConfiguration =
3522
3592
  | RulePlainConfiguration
3523
3593
  | RuleWithNoDeprecatedImportsOptions;
3594
+ type NoDivRegexConfiguration =
3595
+ | RulePlainConfiguration
3596
+ | RuleWithNoDivRegexOptions;
3597
+ type NoDuplicateArgumentNamesConfiguration =
3598
+ | RulePlainConfiguration
3599
+ | RuleWithNoDuplicateArgumentNamesOptions;
3600
+ type NoDuplicateAttributesConfiguration =
3601
+ | RulePlainConfiguration
3602
+ | RuleWithNoDuplicateAttributesOptions;
3524
3603
  type NoDuplicateDependenciesConfiguration =
3525
3604
  | RulePlainConfiguration
3526
3605
  | RuleWithNoDuplicateDependenciesOptions;
3606
+ type NoDuplicateEnumValueNamesConfiguration =
3607
+ | RulePlainConfiguration
3608
+ | RuleWithNoDuplicateEnumValueNamesOptions;
3609
+ type NoDuplicateEnumValuesConfiguration =
3610
+ | RulePlainConfiguration
3611
+ | RuleWithNoDuplicateEnumValuesOptions;
3612
+ type NoDuplicateFieldDefinitionNamesConfiguration =
3613
+ | RulePlainConfiguration
3614
+ | RuleWithNoDuplicateFieldDefinitionNamesOptions;
3615
+ type NoDuplicateGraphqlOperationNameConfiguration =
3616
+ | RulePlainConfiguration
3617
+ | RuleWithNoDuplicateGraphqlOperationNameOptions;
3618
+ type NoDuplicateInputFieldNamesConfiguration =
3619
+ | RulePlainConfiguration
3620
+ | RuleWithNoDuplicateInputFieldNamesOptions;
3621
+ type NoDuplicateVariableNamesConfiguration =
3622
+ | RulePlainConfiguration
3623
+ | RuleWithNoDuplicateVariableNamesOptions;
3527
3624
  type NoDuplicatedSpreadPropsConfiguration =
3528
3625
  | RulePlainConfiguration
3529
3626
  | RuleWithNoDuplicatedSpreadPropsOptions;
@@ -3533,6 +3630,15 @@ type NoEmptySourceConfiguration =
3533
3630
  type NoEqualsToNullConfiguration =
3534
3631
  | RulePlainConfiguration
3535
3632
  | RuleWithNoEqualsToNullOptions;
3633
+ type NoExcessiveClassesPerFileConfiguration =
3634
+ | RulePlainConfiguration
3635
+ | RuleWithNoExcessiveClassesPerFileOptions;
3636
+ type NoExcessiveLinesPerFileConfiguration =
3637
+ | RulePlainConfiguration
3638
+ | RuleWithNoExcessiveLinesPerFileOptions;
3639
+ type NoFloatingClassesConfiguration =
3640
+ | RulePlainConfiguration
3641
+ | RuleWithNoFloatingClassesOptions;
3536
3642
  type NoFloatingPromisesConfiguration =
3537
3643
  | RulePlainConfiguration
3538
3644
  | RuleWithNoFloatingPromisesOptions;
@@ -3574,6 +3680,9 @@ type NoReactForwardRefConfiguration =
3574
3680
  type NoReturnAssignConfiguration =
3575
3681
  | RulePlainConfiguration
3576
3682
  | RuleWithNoReturnAssignOptions;
3683
+ type NoRootTypeConfiguration =
3684
+ | RulePlainConfiguration
3685
+ | RuleWithNoRootTypeOptions;
3577
3686
  type NoScriptUrlConfiguration =
3578
3687
  | RulePlainConfiguration
3579
3688
  | RuleWithNoScriptUrlOptions;
@@ -3609,6 +3718,9 @@ type NoVueDataObjectDeclarationConfiguration =
3609
3718
  type NoVueDuplicateKeysConfiguration =
3610
3719
  | RulePlainConfiguration
3611
3720
  | RuleWithNoVueDuplicateKeysOptions;
3721
+ type NoVueOptionsApiConfiguration =
3722
+ | RulePlainConfiguration
3723
+ | RuleWithNoVueOptionsApiOptions;
3612
3724
  type NoVueReservedKeysConfiguration =
3613
3725
  | RulePlainConfiguration
3614
3726
  | RuleWithNoVueReservedKeysOptions;
@@ -3630,6 +3742,9 @@ type UseAwaitThenableConfiguration =
3630
3742
  type UseConsistentArrowReturnConfiguration =
3631
3743
  | RulePlainConfiguration
3632
3744
  | RuleWithUseConsistentArrowReturnOptions;
3745
+ type UseConsistentEnumValueTypeConfiguration =
3746
+ | RulePlainConfiguration
3747
+ | RuleWithUseConsistentEnumValueTypeOptions;
3633
3748
  type UseConsistentGraphqlDescriptionsConfiguration =
3634
3749
  | RulePlainConfiguration
3635
3750
  | RuleWithUseConsistentGraphqlDescriptionsOptions;
@@ -3639,6 +3754,9 @@ type UseDeprecatedDateConfiguration =
3639
3754
  type UseDestructuringConfiguration =
3640
3755
  | RulePlainConfiguration
3641
3756
  | RuleWithUseDestructuringOptions;
3757
+ type UseErrorCauseConfiguration =
3758
+ | RulePlainConfiguration
3759
+ | RuleWithUseErrorCauseOptions;
3642
3760
  type UseExhaustiveSwitchCasesConfiguration =
3643
3761
  | RulePlainConfiguration
3644
3762
  | RuleWithUseExhaustiveSwitchCasesOptions;
@@ -3646,6 +3764,15 @@ type UseExplicitTypeConfiguration =
3646
3764
  | RulePlainConfiguration
3647
3765
  | RuleWithUseExplicitTypeOptions;
3648
3766
  type UseFindConfiguration = RulePlainConfiguration | RuleWithUseFindOptions;
3767
+ type UseInlineScriptIdConfiguration =
3768
+ | RulePlainConfiguration
3769
+ | RuleWithUseInlineScriptIdOptions;
3770
+ type UseLoneAnonymousOperationConfiguration =
3771
+ | RulePlainConfiguration
3772
+ | RuleWithUseLoneAnonymousOperationOptions;
3773
+ type UseLoneExecutableDefinitionConfiguration =
3774
+ | RulePlainConfiguration
3775
+ | RuleWithUseLoneExecutableDefinitionOptions;
3649
3776
  type UseMaxParamsConfiguration =
3650
3777
  | RulePlainConfiguration
3651
3778
  | RuleWithUseMaxParamsOptions;
@@ -3665,21 +3792,6 @@ type UseSortedClassesConfiguration =
3665
3792
  | RulePlainConfiguration
3666
3793
  | RuleWithUseSortedClassesOptions;
3667
3794
  type UseSpreadConfiguration = RulePlainConfiguration | RuleWithUseSpreadOptions;
3668
- type UseUniqueArgumentNamesConfiguration =
3669
- | RulePlainConfiguration
3670
- | RuleWithUseUniqueArgumentNamesOptions;
3671
- type UseUniqueFieldDefinitionNamesConfiguration =
3672
- | RulePlainConfiguration
3673
- | RuleWithUseUniqueFieldDefinitionNamesOptions;
3674
- type UseUniqueGraphqlOperationNameConfiguration =
3675
- | RulePlainConfiguration
3676
- | RuleWithUseUniqueGraphqlOperationNameOptions;
3677
- type UseUniqueInputFieldNamesConfiguration =
3678
- | RulePlainConfiguration
3679
- | RuleWithUseUniqueInputFieldNamesOptions;
3680
- type UseUniqueVariableNamesConfiguration =
3681
- | RulePlainConfiguration
3682
- | RuleWithUseUniqueVariableNamesOptions;
3683
3795
  type UseVueConsistentDefinePropsDeclarationConfiguration =
3684
3796
  | RulePlainConfiguration
3685
3797
  | RuleWithUseVueConsistentDefinePropsDeclarationOptions;
@@ -4960,10 +5072,47 @@ interface RuleWithNoDeprecatedImportsOptions {
4960
5072
  level: RulePlainConfiguration;
4961
5073
  options?: NoDeprecatedImportsOptions;
4962
5074
  }
5075
+ interface RuleWithNoDivRegexOptions {
5076
+ fix?: FixKind;
5077
+ level: RulePlainConfiguration;
5078
+ options?: NoDivRegexOptions;
5079
+ }
5080
+ interface RuleWithNoDuplicateArgumentNamesOptions {
5081
+ level: RulePlainConfiguration;
5082
+ options?: NoDuplicateArgumentNamesOptions;
5083
+ }
5084
+ interface RuleWithNoDuplicateAttributesOptions {
5085
+ level: RulePlainConfiguration;
5086
+ options?: NoDuplicateAttributesOptions;
5087
+ }
4963
5088
  interface RuleWithNoDuplicateDependenciesOptions {
4964
5089
  level: RulePlainConfiguration;
4965
5090
  options?: NoDuplicateDependenciesOptions;
4966
5091
  }
5092
+ interface RuleWithNoDuplicateEnumValueNamesOptions {
5093
+ level: RulePlainConfiguration;
5094
+ options?: NoDuplicateEnumValueNamesOptions;
5095
+ }
5096
+ interface RuleWithNoDuplicateEnumValuesOptions {
5097
+ level: RulePlainConfiguration;
5098
+ options?: NoDuplicateEnumValuesOptions;
5099
+ }
5100
+ interface RuleWithNoDuplicateFieldDefinitionNamesOptions {
5101
+ level: RulePlainConfiguration;
5102
+ options?: NoDuplicateFieldDefinitionNamesOptions;
5103
+ }
5104
+ interface RuleWithNoDuplicateGraphqlOperationNameOptions {
5105
+ level: RulePlainConfiguration;
5106
+ options?: NoDuplicateGraphqlOperationNameOptions;
5107
+ }
5108
+ interface RuleWithNoDuplicateInputFieldNamesOptions {
5109
+ level: RulePlainConfiguration;
5110
+ options?: NoDuplicateInputFieldNamesOptions;
5111
+ }
5112
+ interface RuleWithNoDuplicateVariableNamesOptions {
5113
+ level: RulePlainConfiguration;
5114
+ options?: NoDuplicateVariableNamesOptions;
5115
+ }
4967
5116
  interface RuleWithNoDuplicatedSpreadPropsOptions {
4968
5117
  level: RulePlainConfiguration;
4969
5118
  options?: NoDuplicatedSpreadPropsOptions;
@@ -4977,6 +5126,18 @@ interface RuleWithNoEqualsToNullOptions {
4977
5126
  level: RulePlainConfiguration;
4978
5127
  options?: NoEqualsToNullOptions;
4979
5128
  }
5129
+ interface RuleWithNoExcessiveClassesPerFileOptions {
5130
+ level: RulePlainConfiguration;
5131
+ options?: NoExcessiveClassesPerFileOptions;
5132
+ }
5133
+ interface RuleWithNoExcessiveLinesPerFileOptions {
5134
+ level: RulePlainConfiguration;
5135
+ options?: NoExcessiveLinesPerFileOptions;
5136
+ }
5137
+ interface RuleWithNoFloatingClassesOptions {
5138
+ level: RulePlainConfiguration;
5139
+ options?: NoFloatingClassesOptions;
5140
+ }
4980
5141
  interface RuleWithNoFloatingPromisesOptions {
4981
5142
  fix?: FixKind;
4982
5143
  level: RulePlainConfiguration;
@@ -5041,6 +5202,10 @@ interface RuleWithNoReturnAssignOptions {
5041
5202
  level: RulePlainConfiguration;
5042
5203
  options?: NoReturnAssignOptions;
5043
5204
  }
5205
+ interface RuleWithNoRootTypeOptions {
5206
+ level: RulePlainConfiguration;
5207
+ options?: NoRootTypeOptions;
5208
+ }
5044
5209
  interface RuleWithNoScriptUrlOptions {
5045
5210
  level: RulePlainConfiguration;
5046
5211
  options?: NoScriptUrlOptions;
@@ -5096,6 +5261,10 @@ interface RuleWithNoVueDuplicateKeysOptions {
5096
5261
  level: RulePlainConfiguration;
5097
5262
  options?: NoVueDuplicateKeysOptions;
5098
5263
  }
5264
+ interface RuleWithNoVueOptionsApiOptions {
5265
+ level: RulePlainConfiguration;
5266
+ options?: NoVueOptionsApiOptions;
5267
+ }
5099
5268
  interface RuleWithNoVueReservedKeysOptions {
5100
5269
  level: RulePlainConfiguration;
5101
5270
  options?: NoVueReservedKeysOptions;
@@ -5125,6 +5294,10 @@ interface RuleWithUseConsistentArrowReturnOptions {
5125
5294
  level: RulePlainConfiguration;
5126
5295
  options?: UseConsistentArrowReturnOptions;
5127
5296
  }
5297
+ interface RuleWithUseConsistentEnumValueTypeOptions {
5298
+ level: RulePlainConfiguration;
5299
+ options?: UseConsistentEnumValueTypeOptions;
5300
+ }
5128
5301
  interface RuleWithUseConsistentGraphqlDescriptionsOptions {
5129
5302
  level: RulePlainConfiguration;
5130
5303
  options?: UseConsistentGraphqlDescriptionsOptions;
@@ -5137,6 +5310,10 @@ interface RuleWithUseDestructuringOptions {
5137
5310
  level: RulePlainConfiguration;
5138
5311
  options?: UseDestructuringOptions;
5139
5312
  }
5313
+ interface RuleWithUseErrorCauseOptions {
5314
+ level: RulePlainConfiguration;
5315
+ options?: UseErrorCauseOptions;
5316
+ }
5140
5317
  interface RuleWithUseExhaustiveSwitchCasesOptions {
5141
5318
  fix?: FixKind;
5142
5319
  level: RulePlainConfiguration;
@@ -5150,6 +5327,18 @@ interface RuleWithUseFindOptions {
5150
5327
  level: RulePlainConfiguration;
5151
5328
  options?: UseFindOptions;
5152
5329
  }
5330
+ interface RuleWithUseInlineScriptIdOptions {
5331
+ level: RulePlainConfiguration;
5332
+ options?: UseInlineScriptIdOptions;
5333
+ }
5334
+ interface RuleWithUseLoneAnonymousOperationOptions {
5335
+ level: RulePlainConfiguration;
5336
+ options?: UseLoneAnonymousOperationOptions;
5337
+ }
5338
+ interface RuleWithUseLoneExecutableDefinitionOptions {
5339
+ level: RulePlainConfiguration;
5340
+ options?: UseLoneExecutableDefinitionOptions;
5341
+ }
5153
5342
  interface RuleWithUseMaxParamsOptions {
5154
5343
  level: RulePlainConfiguration;
5155
5344
  options?: UseMaxParamsOptions;
@@ -5180,26 +5369,6 @@ interface RuleWithUseSpreadOptions {
5180
5369
  level: RulePlainConfiguration;
5181
5370
  options?: UseSpreadOptions;
5182
5371
  }
5183
- interface RuleWithUseUniqueArgumentNamesOptions {
5184
- level: RulePlainConfiguration;
5185
- options?: UseUniqueArgumentNamesOptions;
5186
- }
5187
- interface RuleWithUseUniqueFieldDefinitionNamesOptions {
5188
- level: RulePlainConfiguration;
5189
- options?: UseUniqueFieldDefinitionNamesOptions;
5190
- }
5191
- interface RuleWithUseUniqueGraphqlOperationNameOptions {
5192
- level: RulePlainConfiguration;
5193
- options?: UseUniqueGraphqlOperationNameOptions;
5194
- }
5195
- interface RuleWithUseUniqueInputFieldNamesOptions {
5196
- level: RulePlainConfiguration;
5197
- options?: UseUniqueInputFieldNamesOptions;
5198
- }
5199
- interface RuleWithUseUniqueVariableNamesOptions {
5200
- level: RulePlainConfiguration;
5201
- options?: UseUniqueVariableNamesOptions;
5202
- }
5203
5372
  interface RuleWithUseVueConsistentDefinePropsDeclarationOptions {
5204
5373
  level: RulePlainConfiguration;
5205
5374
  options?: UseVueConsistentDefinePropsDeclarationOptions;
@@ -6386,7 +6555,16 @@ interface NoAmbiguousAnchorTextOptions {
6386
6555
  type NoBeforeInteractiveScriptOutsideDocumentOptions = {};
6387
6556
  type NoContinueOptions = {};
6388
6557
  type NoDeprecatedImportsOptions = {};
6558
+ type NoDivRegexOptions = {};
6559
+ type NoDuplicateArgumentNamesOptions = {};
6560
+ type NoDuplicateAttributesOptions = {};
6389
6561
  type NoDuplicateDependenciesOptions = {};
6562
+ type NoDuplicateEnumValueNamesOptions = {};
6563
+ type NoDuplicateEnumValuesOptions = {};
6564
+ type NoDuplicateFieldDefinitionNamesOptions = {};
6565
+ type NoDuplicateGraphqlOperationNameOptions = {};
6566
+ type NoDuplicateInputFieldNamesOptions = {};
6567
+ type NoDuplicateVariableNamesOptions = {};
6390
6568
  type NoDuplicatedSpreadPropsOptions = {};
6391
6569
  interface NoEmptySourceOptions {
6392
6570
  /**
@@ -6395,6 +6573,23 @@ interface NoEmptySourceOptions {
6395
6573
  allowComments?: boolean;
6396
6574
  }
6397
6575
  type NoEqualsToNullOptions = {};
6576
+ interface NoExcessiveClassesPerFileOptions {
6577
+ /**
6578
+ * The maximum number of classes allowed in a file.
6579
+ */
6580
+ maxClasses?: number;
6581
+ }
6582
+ interface NoExcessiveLinesPerFileOptions {
6583
+ /**
6584
+ * The maximum number of lines allowed in a file.
6585
+ */
6586
+ maxLines?: number;
6587
+ /**
6588
+ * When this option is set to `true`, blank lines are not counted towards the maximum line limit.
6589
+ */
6590
+ skipBlankLines?: boolean;
6591
+ }
6592
+ type NoFloatingClassesOptions = {};
6398
6593
  type NoFloatingPromisesOptions = {};
6399
6594
  type NoForInOptions = {};
6400
6595
  interface NoImportCyclesOptions {
@@ -6436,6 +6631,13 @@ type NoParametersOnlyUsedInRecursionOptions = {};
6436
6631
  type NoProtoOptions = {};
6437
6632
  type NoReactForwardRefOptions = {};
6438
6633
  type NoReturnAssignOptions = {};
6634
+ interface NoRootTypeOptions {
6635
+ /**
6636
+ * A list of disallowed root types (e.g. "mutation" and/or "subscription").
6637
+ The values of the list are case-insensitive.
6638
+ */
6639
+ disallow?: string[];
6640
+ }
6439
6641
  type NoScriptUrlOptions = {};
6440
6642
  type NoShadowOptions = {};
6441
6643
  type NoSyncScriptsOptions = {};
@@ -6459,6 +6661,7 @@ type NoUselessCatchBindingOptions = {};
6459
6661
  type NoUselessUndefinedOptions = {};
6460
6662
  type NoVueDataObjectDeclarationOptions = {};
6461
6663
  type NoVueDuplicateKeysOptions = {};
6664
+ type NoVueOptionsApiOptions = {};
6462
6665
  type NoVueReservedKeysOptions = {};
6463
6666
  type NoVueReservedPropsOptions = {};
6464
6667
  type NoVueSetupPropsReactivityLossOptions = {};
@@ -6477,6 +6680,7 @@ This option is only applicable when used in conjunction with the `asNeeded` opti
6477
6680
  */
6478
6681
  style?: UseConsistentArrowReturnStyle;
6479
6682
  }
6683
+ type UseConsistentEnumValueTypeOptions = {};
6480
6684
  interface UseConsistentGraphqlDescriptionsOptions {
6481
6685
  /**
6482
6686
  * The description style to enforce. Defaults to "block"
@@ -6487,9 +6691,18 @@ interface UseDeprecatedDateOptions {
6487
6691
  argumentName?: string;
6488
6692
  }
6489
6693
  type UseDestructuringOptions = {};
6694
+ interface UseErrorCauseOptions {
6695
+ /**
6696
+ * When set to `true`, the rule requires that `catch` clauses have a parameter.
6697
+ */
6698
+ requireCatchParameter?: boolean;
6699
+ }
6490
6700
  type UseExhaustiveSwitchCasesOptions = {};
6491
6701
  type UseExplicitTypeOptions = {};
6492
6702
  type UseFindOptions = {};
6703
+ type UseInlineScriptIdOptions = {};
6704
+ type UseLoneAnonymousOperationOptions = {};
6705
+ type UseLoneExecutableDefinitionOptions = {};
6493
6706
  interface UseMaxParamsOptions {
6494
6707
  /**
6495
6708
  * Maximum number of parameters allowed (default: 4)
@@ -6516,11 +6729,6 @@ interface UseSortedClassesOptions {
6516
6729
  functions?: string[];
6517
6730
  }
6518
6731
  type UseSpreadOptions = {};
6519
- type UseUniqueArgumentNamesOptions = {};
6520
- type UseUniqueFieldDefinitionNamesOptions = {};
6521
- type UseUniqueGraphqlOperationNameOptions = {};
6522
- type UseUniqueInputFieldNamesOptions = {};
6523
- type UseUniqueVariableNamesOptions = {};
6524
6732
  interface UseVueConsistentDefinePropsDeclarationOptions {
6525
6733
  style?: DeclarationStyle;
6526
6734
  }
@@ -7203,12 +7411,10 @@ type Category =
7203
7411
  | "lint/correctness/noInvalidConstructorSuper"
7204
7412
  | "lint/correctness/noInvalidDirectionInLinearGradient"
7205
7413
  | "lint/correctness/noInvalidGridAreas"
7206
- | "lint/correctness/noInvalidNewBuiltin"
7207
7414
  | "lint/correctness/noInvalidPositionAtImportRule"
7208
7415
  | "lint/correctness/noInvalidUseBeforeDeclaration"
7209
7416
  | "lint/correctness/noMissingVarFunction"
7210
7417
  | "lint/correctness/noNestedComponentDefinitions"
7211
- | "lint/correctness/noNewSymbol"
7212
7418
  | "lint/correctness/noNodejsModules"
7213
7419
  | "lint/correctness/noNonoctalDecimalEscape"
7214
7420
  | "lint/correctness/noPrecisionLoss"
@@ -7265,10 +7471,22 @@ type Category =
7265
7471
  | "lint/nursery/noColorInvalidHex"
7266
7472
  | "lint/nursery/noContinue"
7267
7473
  | "lint/nursery/noDeprecatedImports"
7474
+ | "lint/nursery/noDivRegex"
7475
+ | "lint/nursery/noDuplicateArgumentNames"
7476
+ | "lint/nursery/noDuplicateAttributes"
7268
7477
  | "lint/nursery/noDuplicateDependencies"
7478
+ | "lint/nursery/noDuplicateEnumValueNames"
7479
+ | "lint/nursery/noDuplicateEnumValues"
7480
+ | "lint/nursery/noDuplicateFieldDefinitionNames"
7481
+ | "lint/nursery/noDuplicateGraphqlOperationName"
7482
+ | "lint/nursery/noDuplicateInputFieldNames"
7483
+ | "lint/nursery/noDuplicateVariableNames"
7269
7484
  | "lint/nursery/noDuplicatedSpreadProps"
7270
7485
  | "lint/nursery/noEmptySource"
7271
7486
  | "lint/nursery/noEqualsToNull"
7487
+ | "lint/nursery/noExcessiveClassesPerFile"
7488
+ | "lint/nursery/noExcessiveLinesPerFile"
7489
+ | "lint/nursery/noFloatingClasses"
7272
7490
  | "lint/nursery/noFloatingPromises"
7273
7491
  | "lint/nursery/noForIn"
7274
7492
  | "lint/nursery/noImplicitCoercion"
@@ -7279,6 +7497,7 @@ type Category =
7279
7497
  | "lint/nursery/noLeakedRender"
7280
7498
  | "lint/nursery/noMissingGenericFamilyKeyword"
7281
7499
  | "lint/nursery/noMisusedPromises"
7500
+ | "lint/nursery/useConsistentEnumValueType"
7282
7501
  | "lint/nursery/noMultiAssign"
7283
7502
  | "lint/nursery/noMultiStr"
7284
7503
  | "lint/nursery/noNextAsyncClientComponent"
@@ -7286,6 +7505,7 @@ type Category =
7286
7505
  | "lint/nursery/noProto"
7287
7506
  | "lint/nursery/noReactForwardRef"
7288
7507
  | "lint/nursery/noReturnAssign"
7508
+ | "lint/nursery/noRootType"
7289
7509
  | "lint/nursery/noScriptUrl"
7290
7510
  | "lint/nursery/noShadow"
7291
7511
  | "lint/nursery/noSyncScripts"
@@ -7301,11 +7521,11 @@ type Category =
7301
7521
  | "lint/nursery/noUselessUndefined"
7302
7522
  | "lint/nursery/noVueDataObjectDeclaration"
7303
7523
  | "lint/nursery/noVueDuplicateKeys"
7524
+ | "lint/nursery/noVueOptionsApi"
7304
7525
  | "lint/nursery/noVueReservedKeys"
7305
7526
  | "lint/nursery/noVueReservedProps"
7306
7527
  | "lint/nursery/noVueSetupPropsReactivityLoss"
7307
7528
  | "lint/nursery/noVueVIfWithVFor"
7308
- | "lint/nursery/useAnchorHref"
7309
7529
  | "lint/nursery/useArraySortCompare"
7310
7530
  | "lint/nursery/useAwaitThenable"
7311
7531
  | "lint/nursery/useBiomeSuppressionComment"
@@ -7314,24 +7534,23 @@ type Category =
7314
7534
  | "lint/nursery/useConsistentObjectDefinition"
7315
7535
  | "lint/nursery/useDeprecatedDate"
7316
7536
  | "lint/nursery/useDestructuring"
7537
+ | "lint/nursery/useErrorCause"
7317
7538
  | "lint/nursery/useExhaustiveSwitchCases"
7318
7539
  | "lint/nursery/useExplicitFunctionReturnType"
7319
7540
  | "lint/nursery/useExplicitType"
7320
7541
  | "lint/nursery/useFind"
7321
7542
  | "lint/nursery/useImportRestrictions"
7543
+ | "lint/nursery/useInlineScriptId"
7322
7544
  | "lint/nursery/useJsxCurlyBraceConvention"
7545
+ | "lint/nursery/useLoneExecutableDefinition"
7323
7546
  | "lint/nursery/useMaxParams"
7547
+ | "lint/nursery/useLoneAnonymousOperation"
7324
7548
  | "lint/nursery/useQwikMethodUsage"
7325
7549
  | "lint/nursery/useQwikValidLexicalScope"
7326
7550
  | "lint/nursery/useRegexpExec"
7327
7551
  | "lint/nursery/useRequiredScripts"
7328
7552
  | "lint/nursery/useSortedClasses"
7329
7553
  | "lint/nursery/useSpread"
7330
- | "lint/nursery/useUniqueArgumentNames"
7331
- | "lint/nursery/useUniqueFieldDefinitionNames"
7332
- | "lint/nursery/useUniqueGraphqlOperationName"
7333
- | "lint/nursery/useUniqueInputFieldNames"
7334
- | "lint/nursery/useUniqueVariableNames"
7335
7554
  | "lint/nursery/useVueConsistentDefinePropsDeclaration"
7336
7555
  | "lint/nursery/useVueConsistentVBindStyle"
7337
7556
  | "lint/nursery/useVueConsistentVOnStyle"
@@ -7339,7 +7558,6 @@ type Category =
7339
7558
  | "lint/nursery/useVueHyphenatedAttributes"
7340
7559
  | "lint/nursery/useVueMultiWordComponentNames"
7341
7560
  | "lint/nursery/useVueVForKey"
7342
- | "lint/nursery/useVueVapor"
7343
7561
  | "lint/nursery/useVueValidTemplateRoot"
7344
7562
  | "lint/nursery/useVueValidVBind"
7345
7563
  | "lint/nursery/useVueValidVCloak"
@@ -7353,6 +7571,7 @@ type Category =
7353
7571
  | "lint/nursery/useVueValidVOnce"
7354
7572
  | "lint/nursery/useVueValidVPre"
7355
7573
  | "lint/nursery/useVueValidVText"
7574
+ | "lint/nursery/useVueVapor"
7356
7575
  | "lint/performance/noAccumulatingSpread"
7357
7576
  | "lint/performance/noAwaitInLoops"
7358
7577
  | "lint/performance/noBarrelFile"
@@ -7434,7 +7653,6 @@ type Category =
7434
7653
  | "lint/style/useReactFunctionComponents"
7435
7654
  | "lint/style/useReadonlyClassProperties"
7436
7655
  | "lint/style/useSelfClosingElements"
7437
- | "lint/style/useShorthandArrayType"
7438
7656
  | "lint/style/useShorthandAssign"
7439
7657
  | "lint/style/useShorthandFunctionType"
7440
7658
  | "lint/style/useSingleCaseStatement"