@biomejs/wasm-nodejs 2.3.8 → 2.3.10

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
@@ -28,6 +28,7 @@ type SupportKind =
28
28
  | "fileNotSupported";
29
29
  interface UpdateSettingsParams {
30
30
  configuration: Configuration;
31
+ extendedConfigurations?: [BiomePath, Configuration][];
31
32
  projectKey: ProjectKey;
32
33
  workspaceDirectory?: BiomePath;
33
34
  }
@@ -798,7 +799,7 @@ type VcsClientKind = "git";
798
799
  interface Source {
799
800
  /**
800
801
  * Provides a code action to sort the imports and exports in the file using a built-in or custom order.
801
- See https://biomejs.dev/assist/actions/organize-imports
802
+ See <https://biomejs.dev/assist/actions/organize-imports>
802
803
  */
803
804
  organizeImports?: OrganizeImportsConfiguration;
804
805
  /**
@@ -807,17 +808,17 @@ See https://biomejs.dev/assist/actions/organize-imports
807
808
  recommended?: boolean;
808
809
  /**
809
810
  * Enforce attribute sorting in JSX elements.
810
- See https://biomejs.dev/assist/actions/use-sorted-attributes
811
+ See <https://biomejs.dev/assist/actions/use-sorted-attributes>
811
812
  */
812
813
  useSortedAttributes?: UseSortedAttributesConfiguration;
813
814
  /**
814
815
  * Sort the keys of a JSON object in natural order.
815
- See https://biomejs.dev/assist/actions/use-sorted-keys
816
+ See <https://biomejs.dev/assist/actions/use-sorted-keys>
816
817
  */
817
818
  useSortedKeys?: UseSortedKeysConfiguration;
818
819
  /**
819
820
  * Enforce ordering of CSS properties and nested rules.
820
- See https://biomejs.dev/assist/actions/use-sorted-properties
821
+ See <https://biomejs.dev/assist/actions/use-sorted-properties>
821
822
  */
822
823
  useSortedProperties?: UseSortedPropertiesConfiguration;
823
824
  }
@@ -839,7 +840,8 @@ type RuleDomain =
839
840
  | "qwik"
840
841
  | "vue"
841
842
  | "project"
842
- | "tailwind";
843
+ | "tailwind"
844
+ | "turborepo";
843
845
  type RuleDomainValue = "all" | "none" | "recommended";
844
846
  type SeverityOrA11y = GroupPlainConfiguration | A11y;
845
847
  type SeverityOrComplexity = GroupPlainConfiguration | Complexity;
@@ -945,82 +947,82 @@ type GroupPlainConfiguration = "off" | "on" | "info" | "warn" | "error";
945
947
  interface A11y {
946
948
  /**
947
949
  * Enforce that the accessKey attribute is not used on any HTML element.
948
- See https://biomejs.dev/linter/rules/no-access-key
950
+ See <https://biomejs.dev/linter/rules/no-access-key>
949
951
  */
950
952
  noAccessKey?: NoAccessKeyConfiguration;
951
953
  /**
952
954
  * Enforce that aria-hidden="true" is not set on focusable elements.
953
- See https://biomejs.dev/linter/rules/no-aria-hidden-on-focusable
955
+ See <https://biomejs.dev/linter/rules/no-aria-hidden-on-focusable>
954
956
  */
955
957
  noAriaHiddenOnFocusable?: NoAriaHiddenOnFocusableConfiguration;
956
958
  /**
957
959
  * Enforce that elements that do not support ARIA roles, states, and properties do not have those attributes.
958
- See https://biomejs.dev/linter/rules/no-aria-unsupported-elements
960
+ See <https://biomejs.dev/linter/rules/no-aria-unsupported-elements>
959
961
  */
960
962
  noAriaUnsupportedElements?: NoAriaUnsupportedElementsConfiguration;
961
963
  /**
962
964
  * Enforce that autoFocus prop is not used on elements.
963
- See https://biomejs.dev/linter/rules/no-autofocus
965
+ See <https://biomejs.dev/linter/rules/no-autofocus>
964
966
  */
965
967
  noAutofocus?: NoAutofocusConfiguration;
966
968
  /**
967
969
  * Enforces that no distracting elements are used.
968
- See https://biomejs.dev/linter/rules/no-distracting-elements
970
+ See <https://biomejs.dev/linter/rules/no-distracting-elements>
969
971
  */
970
972
  noDistractingElements?: NoDistractingElementsConfiguration;
971
973
  /**
972
974
  * The scope prop should be used only on \<th> elements.
973
- See https://biomejs.dev/linter/rules/no-header-scope
975
+ See <https://biomejs.dev/linter/rules/no-header-scope>
974
976
  */
975
977
  noHeaderScope?: NoHeaderScopeConfiguration;
976
978
  /**
977
979
  * Enforce that non-interactive ARIA roles are not assigned to interactive HTML elements.
978
- 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>
979
981
  */
980
982
  noInteractiveElementToNoninteractiveRole?: NoInteractiveElementToNoninteractiveRoleConfiguration;
981
983
  /**
982
984
  * Enforce that a label element or component has a text label and an associated input.
983
- See https://biomejs.dev/linter/rules/no-label-without-control
985
+ See <https://biomejs.dev/linter/rules/no-label-without-control>
984
986
  */
985
987
  noLabelWithoutControl?: NoLabelWithoutControlConfiguration;
986
988
  /**
987
989
  * Disallow use event handlers on non-interactive elements.
988
- See https://biomejs.dev/linter/rules/no-noninteractive-element-interactions
990
+ See <https://biomejs.dev/linter/rules/no-noninteractive-element-interactions>
989
991
  */
990
992
  noNoninteractiveElementInteractions?: NoNoninteractiveElementInteractionsConfiguration;
991
993
  /**
992
994
  * Enforce that interactive ARIA roles are not assigned to non-interactive HTML elements.
993
- 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>
994
996
  */
995
997
  noNoninteractiveElementToInteractiveRole?: NoNoninteractiveElementToInteractiveRoleConfiguration;
996
998
  /**
997
999
  * Enforce that tabIndex is not assigned to non-interactive HTML elements.
998
- See https://biomejs.dev/linter/rules/no-noninteractive-tabindex
1000
+ See <https://biomejs.dev/linter/rules/no-noninteractive-tabindex>
999
1001
  */
1000
1002
  noNoninteractiveTabindex?: NoNoninteractiveTabindexConfiguration;
1001
1003
  /**
1002
1004
  * Prevent the usage of positive integers on tabIndex property.
1003
- See https://biomejs.dev/linter/rules/no-positive-tabindex
1005
+ See <https://biomejs.dev/linter/rules/no-positive-tabindex>
1004
1006
  */
1005
1007
  noPositiveTabindex?: NoPositiveTabindexConfiguration;
1006
1008
  /**
1007
1009
  * Enforce img alt prop does not contain the word "image", "picture", or "photo".
1008
- See https://biomejs.dev/linter/rules/no-redundant-alt
1010
+ See <https://biomejs.dev/linter/rules/no-redundant-alt>
1009
1011
  */
1010
1012
  noRedundantAlt?: NoRedundantAltConfiguration;
1011
1013
  /**
1012
1014
  * Enforce explicit role property is not the same as implicit/default role property on an element.
1013
- See https://biomejs.dev/linter/rules/no-redundant-roles
1015
+ See <https://biomejs.dev/linter/rules/no-redundant-roles>
1014
1016
  */
1015
1017
  noRedundantRoles?: NoRedundantRolesConfiguration;
1016
1018
  /**
1017
1019
  * Enforce that static, visible elements (such as \<div>) that have click handlers use the valid role attribute.
1018
- See https://biomejs.dev/linter/rules/no-static-element-interactions
1020
+ See <https://biomejs.dev/linter/rules/no-static-element-interactions>
1019
1021
  */
1020
1022
  noStaticElementInteractions?: NoStaticElementInteractionsConfiguration;
1021
1023
  /**
1022
1024
  * Enforces the usage of the title element for the svg element.
1023
- See https://biomejs.dev/linter/rules/no-svg-without-title
1025
+ See <https://biomejs.dev/linter/rules/no-svg-without-title>
1024
1026
  */
1025
1027
  noSvgWithoutTitle?: NoSvgWithoutTitleConfiguration;
1026
1028
  /**
@@ -1029,269 +1031,269 @@ See https://biomejs.dev/linter/rules/no-svg-without-title
1029
1031
  recommended?: boolean;
1030
1032
  /**
1031
1033
  * Enforce that all elements that require alternative text have meaningful information to relay back to the end user.
1032
- See https://biomejs.dev/linter/rules/use-alt-text
1034
+ See <https://biomejs.dev/linter/rules/use-alt-text>
1033
1035
  */
1034
1036
  useAltText?: UseAltTextConfiguration;
1035
1037
  /**
1036
1038
  * Enforce that anchors have content and that the content is accessible to screen readers.
1037
- See https://biomejs.dev/linter/rules/use-anchor-content
1039
+ See <https://biomejs.dev/linter/rules/use-anchor-content>
1038
1040
  */
1039
1041
  useAnchorContent?: UseAnchorContentConfiguration;
1040
1042
  /**
1041
1043
  * Enforce that tabIndex is assigned to non-interactive HTML elements with aria-activedescendant.
1042
- See https://biomejs.dev/linter/rules/use-aria-activedescendant-with-tabindex
1044
+ See <https://biomejs.dev/linter/rules/use-aria-activedescendant-with-tabindex>
1043
1045
  */
1044
1046
  useAriaActivedescendantWithTabindex?: UseAriaActivedescendantWithTabindexConfiguration;
1045
1047
  /**
1046
1048
  * Enforce that elements with ARIA roles must have all required ARIA attributes for that role.
1047
- See https://biomejs.dev/linter/rules/use-aria-props-for-role
1049
+ See <https://biomejs.dev/linter/rules/use-aria-props-for-role>
1048
1050
  */
1049
1051
  useAriaPropsForRole?: UseAriaPropsForRoleConfiguration;
1050
1052
  /**
1051
1053
  * Enforce that ARIA properties are valid for the roles that are supported by the element.
1052
- 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>
1053
1055
  */
1054
1056
  useAriaPropsSupportedByRole?: UseAriaPropsSupportedByRoleConfiguration;
1055
1057
  /**
1056
1058
  * Enforces the usage of the attribute type for the element button.
1057
- See https://biomejs.dev/linter/rules/use-button-type
1059
+ See <https://biomejs.dev/linter/rules/use-button-type>
1058
1060
  */
1059
1061
  useButtonType?: UseButtonTypeConfiguration;
1060
1062
  /**
1061
1063
  * Elements with an interactive role and interaction handlers must be focusable.
1062
- See https://biomejs.dev/linter/rules/use-focusable-interactive
1064
+ See <https://biomejs.dev/linter/rules/use-focusable-interactive>
1063
1065
  */
1064
1066
  useFocusableInteractive?: UseFocusableInteractiveConfiguration;
1065
1067
  /**
1066
1068
  * Disallow a missing generic family keyword within font families.
1067
- See https://biomejs.dev/linter/rules/use-generic-font-names
1069
+ See <https://biomejs.dev/linter/rules/use-generic-font-names>
1068
1070
  */
1069
1071
  useGenericFontNames?: UseGenericFontNamesConfiguration;
1070
1072
  /**
1071
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.
1072
- See https://biomejs.dev/linter/rules/use-heading-content
1074
+ See <https://biomejs.dev/linter/rules/use-heading-content>
1073
1075
  */
1074
1076
  useHeadingContent?: UseHeadingContentConfiguration;
1075
1077
  /**
1076
1078
  * Enforce that html element has lang attribute.
1077
- See https://biomejs.dev/linter/rules/use-html-lang
1079
+ See <https://biomejs.dev/linter/rules/use-html-lang>
1078
1080
  */
1079
1081
  useHtmlLang?: UseHtmlLangConfiguration;
1080
1082
  /**
1081
1083
  * Enforces the usage of the attribute title for the element iframe.
1082
- See https://biomejs.dev/linter/rules/use-iframe-title
1084
+ See <https://biomejs.dev/linter/rules/use-iframe-title>
1083
1085
  */
1084
1086
  useIframeTitle?: UseIframeTitleConfiguration;
1085
1087
  /**
1086
1088
  * Enforce onClick is accompanied by at least one of the following: onKeyUp, onKeyDown, onKeyPress.
1087
- See https://biomejs.dev/linter/rules/use-key-with-click-events
1089
+ See <https://biomejs.dev/linter/rules/use-key-with-click-events>
1088
1090
  */
1089
1091
  useKeyWithClickEvents?: UseKeyWithClickEventsConfiguration;
1090
1092
  /**
1091
1093
  * Enforce onMouseOver / onMouseOut are accompanied by onFocus / onBlur.
1092
- See https://biomejs.dev/linter/rules/use-key-with-mouse-events
1094
+ See <https://biomejs.dev/linter/rules/use-key-with-mouse-events>
1093
1095
  */
1094
1096
  useKeyWithMouseEvents?: UseKeyWithMouseEventsConfiguration;
1095
1097
  /**
1096
1098
  * Enforces that audio and video elements must have a track for captions.
1097
- See https://biomejs.dev/linter/rules/use-media-caption
1099
+ See <https://biomejs.dev/linter/rules/use-media-caption>
1098
1100
  */
1099
1101
  useMediaCaption?: UseMediaCaptionConfiguration;
1100
1102
  /**
1101
1103
  * It detects the use of role attributes in JSX elements and suggests using semantic elements instead.
1102
- See https://biomejs.dev/linter/rules/use-semantic-elements
1104
+ See <https://biomejs.dev/linter/rules/use-semantic-elements>
1103
1105
  */
1104
1106
  useSemanticElements?: UseSemanticElementsConfiguration;
1105
1107
  /**
1106
1108
  * Enforce that all anchors are valid, and they are navigable elements.
1107
- See https://biomejs.dev/linter/rules/use-valid-anchor
1109
+ See <https://biomejs.dev/linter/rules/use-valid-anchor>
1108
1110
  */
1109
1111
  useValidAnchor?: UseValidAnchorConfiguration;
1110
1112
  /**
1111
1113
  * Ensures that ARIA properties aria-* are all valid.
1112
- See https://biomejs.dev/linter/rules/use-valid-aria-props
1114
+ See <https://biomejs.dev/linter/rules/use-valid-aria-props>
1113
1115
  */
1114
1116
  useValidAriaProps?: UseValidAriaPropsConfiguration;
1115
1117
  /**
1116
1118
  * Elements with ARIA roles must use a valid, non-abstract ARIA role.
1117
- See https://biomejs.dev/linter/rules/use-valid-aria-role
1119
+ See <https://biomejs.dev/linter/rules/use-valid-aria-role>
1118
1120
  */
1119
1121
  useValidAriaRole?: UseValidAriaRoleConfiguration;
1120
1122
  /**
1121
1123
  * Enforce that ARIA state and property values are valid.
1122
- See https://biomejs.dev/linter/rules/use-valid-aria-values
1124
+ See <https://biomejs.dev/linter/rules/use-valid-aria-values>
1123
1125
  */
1124
1126
  useValidAriaValues?: UseValidAriaValuesConfiguration;
1125
1127
  /**
1126
1128
  * Use valid values for the autocomplete attribute on input elements.
1127
- See https://biomejs.dev/linter/rules/use-valid-autocomplete
1129
+ See <https://biomejs.dev/linter/rules/use-valid-autocomplete>
1128
1130
  */
1129
1131
  useValidAutocomplete?: UseValidAutocompleteConfiguration;
1130
1132
  /**
1131
1133
  * Ensure that the attribute passed to the lang attribute is a correct ISO language and/or country.
1132
- See https://biomejs.dev/linter/rules/use-valid-lang
1134
+ See <https://biomejs.dev/linter/rules/use-valid-lang>
1133
1135
  */
1134
1136
  useValidLang?: UseValidLangConfiguration;
1135
1137
  }
1136
1138
  interface Complexity {
1137
1139
  /**
1138
1140
  * Disallow unclear usage of consecutive space characters in regular expression literals.
1139
- See https://biomejs.dev/linter/rules/no-adjacent-spaces-in-regex
1141
+ See <https://biomejs.dev/linter/rules/no-adjacent-spaces-in-regex>
1140
1142
  */
1141
1143
  noAdjacentSpacesInRegex?: NoAdjacentSpacesInRegexConfiguration;
1142
1144
  /**
1143
1145
  * Disallow the use of arguments.
1144
- See https://biomejs.dev/linter/rules/no-arguments
1146
+ See <https://biomejs.dev/linter/rules/no-arguments>
1145
1147
  */
1146
1148
  noArguments?: NoArgumentsConfiguration;
1147
1149
  /**
1148
1150
  * Disallow primitive type aliases and misleading types.
1149
- See https://biomejs.dev/linter/rules/no-banned-types
1151
+ See <https://biomejs.dev/linter/rules/no-banned-types>
1150
1152
  */
1151
1153
  noBannedTypes?: NoBannedTypesConfiguration;
1152
1154
  /**
1153
1155
  * Disallow comma operator.
1154
- See https://biomejs.dev/linter/rules/no-comma-operator
1156
+ See <https://biomejs.dev/linter/rules/no-comma-operator>
1155
1157
  */
1156
1158
  noCommaOperator?: NoCommaOperatorConfiguration;
1157
1159
  /**
1158
1160
  * Disallow empty type parameters in type aliases and interfaces.
1159
- See https://biomejs.dev/linter/rules/no-empty-type-parameters
1161
+ See <https://biomejs.dev/linter/rules/no-empty-type-parameters>
1160
1162
  */
1161
1163
  noEmptyTypeParameters?: NoEmptyTypeParametersConfiguration;
1162
1164
  /**
1163
1165
  * Disallow functions that exceed a given Cognitive Complexity score.
1164
- See https://biomejs.dev/linter/rules/no-excessive-cognitive-complexity
1166
+ See <https://biomejs.dev/linter/rules/no-excessive-cognitive-complexity>
1165
1167
  */
1166
1168
  noExcessiveCognitiveComplexity?: NoExcessiveCognitiveComplexityConfiguration;
1167
1169
  /**
1168
1170
  * Restrict the number of lines of code in a function.
1169
- See https://biomejs.dev/linter/rules/no-excessive-lines-per-function
1171
+ See <https://biomejs.dev/linter/rules/no-excessive-lines-per-function>
1170
1172
  */
1171
1173
  noExcessiveLinesPerFunction?: NoExcessiveLinesPerFunctionConfiguration;
1172
1174
  /**
1173
1175
  * This rule enforces a maximum depth to nested describe() in test files.
1174
- See https://biomejs.dev/linter/rules/no-excessive-nested-test-suites
1176
+ See <https://biomejs.dev/linter/rules/no-excessive-nested-test-suites>
1175
1177
  */
1176
1178
  noExcessiveNestedTestSuites?: NoExcessiveNestedTestSuitesConfiguration;
1177
1179
  /**
1178
1180
  * Disallow unnecessary boolean casts.
1179
- See https://biomejs.dev/linter/rules/no-extra-boolean-cast
1181
+ See <https://biomejs.dev/linter/rules/no-extra-boolean-cast>
1180
1182
  */
1181
1183
  noExtraBooleanCast?: NoExtraBooleanCastConfiguration;
1182
1184
  /**
1183
1185
  * Disallow to use unnecessary callback on flatMap.
1184
- See https://biomejs.dev/linter/rules/no-flat-map-identity
1186
+ See <https://biomejs.dev/linter/rules/no-flat-map-identity>
1185
1187
  */
1186
1188
  noFlatMapIdentity?: NoFlatMapIdentityConfiguration;
1187
1189
  /**
1188
1190
  * Prefer for...of statement instead of Array.forEach.
1189
- See https://biomejs.dev/linter/rules/no-for-each
1191
+ See <https://biomejs.dev/linter/rules/no-for-each>
1190
1192
  */
1191
1193
  noForEach?: NoForEachConfiguration;
1192
1194
  /**
1193
1195
  * Disallow shorthand type conversions.
1194
- See https://biomejs.dev/linter/rules/no-implicit-coercions
1196
+ See <https://biomejs.dev/linter/rules/no-implicit-coercions>
1195
1197
  */
1196
1198
  noImplicitCoercions?: NoImplicitCoercionsConfiguration;
1197
1199
  /**
1198
1200
  * Disallow the use of the !important style.
1199
- See https://biomejs.dev/linter/rules/no-important-styles
1201
+ See <https://biomejs.dev/linter/rules/no-important-styles>
1200
1202
  */
1201
1203
  noImportantStyles?: NoImportantStylesConfiguration;
1202
1204
  /**
1203
1205
  * This rule reports when a class has no non-static members, such as for a class used exclusively as a static namespace.
1204
- See https://biomejs.dev/linter/rules/no-static-only-class
1206
+ See <https://biomejs.dev/linter/rules/no-static-only-class>
1205
1207
  */
1206
1208
  noStaticOnlyClass?: NoStaticOnlyClassConfiguration;
1207
1209
  /**
1208
1210
  * Disallow this and super in static contexts.
1209
- See https://biomejs.dev/linter/rules/no-this-in-static
1211
+ See <https://biomejs.dev/linter/rules/no-this-in-static>
1210
1212
  */
1211
1213
  noThisInStatic?: NoThisInStaticConfiguration;
1212
1214
  /**
1213
1215
  * Disallow unnecessary catch clauses.
1214
- See https://biomejs.dev/linter/rules/no-useless-catch
1216
+ See <https://biomejs.dev/linter/rules/no-useless-catch>
1215
1217
  */
1216
1218
  noUselessCatch?: NoUselessCatchConfiguration;
1217
1219
  /**
1218
1220
  * Disallow unnecessary constructors.
1219
- See https://biomejs.dev/linter/rules/no-useless-constructor
1221
+ See <https://biomejs.dev/linter/rules/no-useless-constructor>
1220
1222
  */
1221
1223
  noUselessConstructor?: NoUselessConstructorConfiguration;
1222
1224
  /**
1223
1225
  * Avoid using unnecessary continue.
1224
- See https://biomejs.dev/linter/rules/no-useless-continue
1226
+ See <https://biomejs.dev/linter/rules/no-useless-continue>
1225
1227
  */
1226
1228
  noUselessContinue?: NoUselessContinueConfiguration;
1227
1229
  /**
1228
1230
  * Disallow empty exports that don't change anything in a module file.
1229
- See https://biomejs.dev/linter/rules/no-useless-empty-export
1231
+ See <https://biomejs.dev/linter/rules/no-useless-empty-export>
1230
1232
  */
1231
1233
  noUselessEmptyExport?: NoUselessEmptyExportConfiguration;
1232
1234
  /**
1233
1235
  * Disallow unnecessary escape sequence in regular expression literals.
1234
- See https://biomejs.dev/linter/rules/no-useless-escape-in-regex
1236
+ See <https://biomejs.dev/linter/rules/no-useless-escape-in-regex>
1235
1237
  */
1236
1238
  noUselessEscapeInRegex?: NoUselessEscapeInRegexConfiguration;
1237
1239
  /**
1238
1240
  * Disallow unnecessary fragments.
1239
- See https://biomejs.dev/linter/rules/no-useless-fragments
1241
+ See <https://biomejs.dev/linter/rules/no-useless-fragments>
1240
1242
  */
1241
1243
  noUselessFragments?: NoUselessFragmentsConfiguration;
1242
1244
  /**
1243
1245
  * Disallow unnecessary labels.
1244
- See https://biomejs.dev/linter/rules/no-useless-label
1246
+ See <https://biomejs.dev/linter/rules/no-useless-label>
1245
1247
  */
1246
1248
  noUselessLabel?: NoUselessLabelConfiguration;
1247
1249
  /**
1248
1250
  * Disallow unnecessary nested block statements.
1249
- See https://biomejs.dev/linter/rules/no-useless-lone-block-statements
1251
+ See <https://biomejs.dev/linter/rules/no-useless-lone-block-statements>
1250
1252
  */
1251
1253
  noUselessLoneBlockStatements?: NoUselessLoneBlockStatementsConfiguration;
1252
1254
  /**
1253
1255
  * Disallow renaming import, export, and destructured assignments to the same name.
1254
- See https://biomejs.dev/linter/rules/no-useless-rename
1256
+ See <https://biomejs.dev/linter/rules/no-useless-rename>
1255
1257
  */
1256
1258
  noUselessRename?: NoUselessRenameConfiguration;
1257
1259
  /**
1258
1260
  * Disallow unnecessary concatenation of string or template literals.
1259
- See https://biomejs.dev/linter/rules/no-useless-string-concat
1261
+ See <https://biomejs.dev/linter/rules/no-useless-string-concat>
1260
1262
  */
1261
1263
  noUselessStringConcat?: NoUselessStringConcatConfiguration;
1262
1264
  /**
1263
1265
  * Disallow unnecessary String.raw function in template string literals without any escape sequence.
1264
- See https://biomejs.dev/linter/rules/no-useless-string-raw
1266
+ See <https://biomejs.dev/linter/rules/no-useless-string-raw>
1265
1267
  */
1266
1268
  noUselessStringRaw?: NoUselessStringRawConfiguration;
1267
1269
  /**
1268
1270
  * Disallow useless case in switch statements.
1269
- See https://biomejs.dev/linter/rules/no-useless-switch-case
1271
+ See <https://biomejs.dev/linter/rules/no-useless-switch-case>
1270
1272
  */
1271
1273
  noUselessSwitchCase?: NoUselessSwitchCaseConfiguration;
1272
1274
  /**
1273
1275
  * Disallow ternary operators when simpler alternatives exist.
1274
- See https://biomejs.dev/linter/rules/no-useless-ternary
1276
+ See <https://biomejs.dev/linter/rules/no-useless-ternary>
1275
1277
  */
1276
1278
  noUselessTernary?: NoUselessTernaryConfiguration;
1277
1279
  /**
1278
1280
  * Disallow useless this aliasing.
1279
- See https://biomejs.dev/linter/rules/no-useless-this-alias
1281
+ See <https://biomejs.dev/linter/rules/no-useless-this-alias>
1280
1282
  */
1281
1283
  noUselessThisAlias?: NoUselessThisAliasConfiguration;
1282
1284
  /**
1283
1285
  * Disallow using any or unknown as type constraint.
1284
- See https://biomejs.dev/linter/rules/no-useless-type-constraint
1286
+ See <https://biomejs.dev/linter/rules/no-useless-type-constraint>
1285
1287
  */
1286
1288
  noUselessTypeConstraint?: NoUselessTypeConstraintConfiguration;
1287
1289
  /**
1288
1290
  * Disallow initializing variables to undefined.
1289
- See https://biomejs.dev/linter/rules/no-useless-undefined-initialization
1291
+ See <https://biomejs.dev/linter/rules/no-useless-undefined-initialization>
1290
1292
  */
1291
1293
  noUselessUndefinedInitialization?: NoUselessUndefinedInitializationConfiguration;
1292
1294
  /**
1293
1295
  * Disallow the use of void operators, which is not a familiar operator.
1294
- See https://biomejs.dev/linter/rules/no-void
1296
+ See <https://biomejs.dev/linter/rules/no-void>
1295
1297
  */
1296
1298
  noVoid?: NoVoidConfiguration;
1297
1299
  /**
@@ -1300,324 +1302,324 @@ See https://biomejs.dev/linter/rules/no-void
1300
1302
  recommended?: boolean;
1301
1303
  /**
1302
1304
  * Use arrow functions over function expressions.
1303
- See https://biomejs.dev/linter/rules/use-arrow-function
1305
+ See <https://biomejs.dev/linter/rules/use-arrow-function>
1304
1306
  */
1305
1307
  useArrowFunction?: UseArrowFunctionConfiguration;
1306
1308
  /**
1307
1309
  * Use Date.now() to get the number of milliseconds since the Unix Epoch.
1308
- See https://biomejs.dev/linter/rules/use-date-now
1310
+ See <https://biomejs.dev/linter/rules/use-date-now>
1309
1311
  */
1310
1312
  useDateNow?: UseDateNowConfiguration;
1311
1313
  /**
1312
1314
  * Promotes the use of .flatMap() when map().flat() are used together.
1313
- See https://biomejs.dev/linter/rules/use-flat-map
1315
+ See <https://biomejs.dev/linter/rules/use-flat-map>
1314
1316
  */
1315
1317
  useFlatMap?: UseFlatMapConfiguration;
1316
1318
  /**
1317
1319
  * Prefer Array#{indexOf,lastIndexOf}() over Array#{findIndex,findLastIndex}() when looking for the index of an item.
1318
- See https://biomejs.dev/linter/rules/use-index-of
1320
+ See <https://biomejs.dev/linter/rules/use-index-of>
1319
1321
  */
1320
1322
  useIndexOf?: UseIndexOfConfiguration;
1321
1323
  /**
1322
1324
  * Enforce the usage of a literal access to properties over computed property access.
1323
- See https://biomejs.dev/linter/rules/use-literal-keys
1325
+ See <https://biomejs.dev/linter/rules/use-literal-keys>
1324
1326
  */
1325
1327
  useLiteralKeys?: UseLiteralKeysConfiguration;
1326
1328
  /**
1327
1329
  * Disallow parseInt() and Number.parseInt() in favor of binary, octal, and hexadecimal literals.
1328
- See https://biomejs.dev/linter/rules/use-numeric-literals
1330
+ See <https://biomejs.dev/linter/rules/use-numeric-literals>
1329
1331
  */
1330
1332
  useNumericLiterals?: UseNumericLiteralsConfiguration;
1331
1333
  /**
1332
1334
  * Enforce using concise optional chain instead of chained logical expressions.
1333
- See https://biomejs.dev/linter/rules/use-optional-chain
1335
+ See <https://biomejs.dev/linter/rules/use-optional-chain>
1334
1336
  */
1335
1337
  useOptionalChain?: UseOptionalChainConfiguration;
1336
1338
  /**
1337
1339
  * Enforce the use of the regular expression literals instead of the RegExp constructor if possible.
1338
- See https://biomejs.dev/linter/rules/use-regex-literals
1340
+ See <https://biomejs.dev/linter/rules/use-regex-literals>
1339
1341
  */
1340
1342
  useRegexLiterals?: UseRegexLiteralsConfiguration;
1341
1343
  /**
1342
1344
  * Disallow number literal object member names which are not base 10 or use underscore as separator.
1343
- See https://biomejs.dev/linter/rules/use-simple-number-keys
1345
+ See <https://biomejs.dev/linter/rules/use-simple-number-keys>
1344
1346
  */
1345
1347
  useSimpleNumberKeys?: UseSimpleNumberKeysConfiguration;
1346
1348
  /**
1347
1349
  * Discard redundant terms from logical expressions.
1348
- See https://biomejs.dev/linter/rules/use-simplified-logic-expression
1350
+ See <https://biomejs.dev/linter/rules/use-simplified-logic-expression>
1349
1351
  */
1350
1352
  useSimplifiedLogicExpression?: UseSimplifiedLogicExpressionConfiguration;
1351
1353
  /**
1352
1354
  * Enforce the use of while loops instead of for loops when the initializer and update expressions are not needed.
1353
- See https://biomejs.dev/linter/rules/use-while
1355
+ See <https://biomejs.dev/linter/rules/use-while>
1354
1356
  */
1355
1357
  useWhile?: UseWhileConfiguration;
1356
1358
  }
1357
1359
  interface Correctness {
1358
1360
  /**
1359
1361
  * Prevent passing of children as props.
1360
- See https://biomejs.dev/linter/rules/no-children-prop
1362
+ See <https://biomejs.dev/linter/rules/no-children-prop>
1361
1363
  */
1362
1364
  noChildrenProp?: NoChildrenPropConfiguration;
1363
1365
  /**
1364
1366
  * Prevents from having const variables being re-assigned.
1365
- See https://biomejs.dev/linter/rules/no-const-assign
1367
+ See <https://biomejs.dev/linter/rules/no-const-assign>
1366
1368
  */
1367
1369
  noConstAssign?: NoConstAssignConfiguration;
1368
1370
  /**
1369
1371
  * Disallow constant expressions in conditions.
1370
- See https://biomejs.dev/linter/rules/no-constant-condition
1372
+ See <https://biomejs.dev/linter/rules/no-constant-condition>
1371
1373
  */
1372
1374
  noConstantCondition?: NoConstantConditionConfiguration;
1373
1375
  /**
1374
1376
  * Disallow the use of Math.min and Math.max to clamp a value where the result itself is constant.
1375
- 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>
1376
1378
  */
1377
1379
  noConstantMathMinMaxClamp?: NoConstantMathMinMaxClampConfiguration;
1378
1380
  /**
1379
1381
  * Disallow returning a value from a constructor.
1380
- See https://biomejs.dev/linter/rules/no-constructor-return
1382
+ See <https://biomejs.dev/linter/rules/no-constructor-return>
1381
1383
  */
1382
1384
  noConstructorReturn?: NoConstructorReturnConfiguration;
1383
1385
  /**
1384
1386
  * Disallow empty character classes in regular expression literals.
1385
- 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>
1386
1388
  */
1387
1389
  noEmptyCharacterClassInRegex?: NoEmptyCharacterClassInRegexConfiguration;
1388
1390
  /**
1389
1391
  * Disallows empty destructuring patterns.
1390
- See https://biomejs.dev/linter/rules/no-empty-pattern
1392
+ See <https://biomejs.dev/linter/rules/no-empty-pattern>
1391
1393
  */
1392
1394
  noEmptyPattern?: NoEmptyPatternConfiguration;
1393
1395
  /**
1394
1396
  * Disallow the use of __dirname and __filename in the global scope.
1395
- See https://biomejs.dev/linter/rules/no-global-dirname-filename
1397
+ See <https://biomejs.dev/linter/rules/no-global-dirname-filename>
1396
1398
  */
1397
1399
  noGlobalDirnameFilename?: NoGlobalDirnameFilenameConfiguration;
1398
1400
  /**
1399
1401
  * Disallow calling global object properties as functions.
1400
- See https://biomejs.dev/linter/rules/no-global-object-calls
1402
+ See <https://biomejs.dev/linter/rules/no-global-object-calls>
1401
1403
  */
1402
1404
  noGlobalObjectCalls?: NoGlobalObjectCallsConfiguration;
1403
1405
  /**
1404
1406
  * Disallow function and var declarations that are accessible outside their block.
1405
- See https://biomejs.dev/linter/rules/no-inner-declarations
1407
+ See <https://biomejs.dev/linter/rules/no-inner-declarations>
1406
1408
  */
1407
1409
  noInnerDeclarations?: NoInnerDeclarationsConfiguration;
1408
1410
  /**
1409
1411
  * Ensure that builtins are correctly instantiated.
1410
- See https://biomejs.dev/linter/rules/no-invalid-builtin-instantiation
1412
+ See <https://biomejs.dev/linter/rules/no-invalid-builtin-instantiation>
1411
1413
  */
1412
1414
  noInvalidBuiltinInstantiation?: NoInvalidBuiltinInstantiationConfiguration;
1413
1415
  /**
1414
1416
  * Prevents the incorrect use of super() inside classes. It also checks whether a call super() is missing from classes that extends other constructors.
1415
- See https://biomejs.dev/linter/rules/no-invalid-constructor-super
1417
+ See <https://biomejs.dev/linter/rules/no-invalid-constructor-super>
1416
1418
  */
1417
1419
  noInvalidConstructorSuper?: NoInvalidConstructorSuperConfiguration;
1418
1420
  /**
1419
1421
  * Disallow non-standard direction values for linear gradient functions.
1420
- 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>
1421
1423
  */
1422
1424
  noInvalidDirectionInLinearGradient?: NoInvalidDirectionInLinearGradientConfiguration;
1423
1425
  /**
1424
1426
  * Disallows invalid named grid areas in CSS Grid Layouts.
1425
- See https://biomejs.dev/linter/rules/no-invalid-grid-areas
1427
+ See <https://biomejs.dev/linter/rules/no-invalid-grid-areas>
1426
1428
  */
1427
1429
  noInvalidGridAreas?: NoInvalidGridAreasConfiguration;
1428
1430
  /**
1429
1431
  * Disallow the use of @import at-rules in invalid positions.
1430
- 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>
1431
1433
  */
1432
1434
  noInvalidPositionAtImportRule?: NoInvalidPositionAtImportRuleConfiguration;
1433
1435
  /**
1434
1436
  * Disallow the use of variables, function parameters, classes, and enums before their declaration.
1435
- See https://biomejs.dev/linter/rules/no-invalid-use-before-declaration
1437
+ See <https://biomejs.dev/linter/rules/no-invalid-use-before-declaration>
1436
1438
  */
1437
1439
  noInvalidUseBeforeDeclaration?: NoInvalidUseBeforeDeclarationConfiguration;
1438
1440
  /**
1439
1441
  * Disallow missing var function for css variables.
1440
- See https://biomejs.dev/linter/rules/no-missing-var-function
1442
+ See <https://biomejs.dev/linter/rules/no-missing-var-function>
1441
1443
  */
1442
1444
  noMissingVarFunction?: NoMissingVarFunctionConfiguration;
1443
1445
  /**
1444
1446
  * Disallows defining React components inside other components.
1445
- See https://biomejs.dev/linter/rules/no-nested-component-definitions
1447
+ See <https://biomejs.dev/linter/rules/no-nested-component-definitions>
1446
1448
  */
1447
1449
  noNestedComponentDefinitions?: NoNestedComponentDefinitionsConfiguration;
1448
1450
  /**
1449
1451
  * Forbid the use of Node.js builtin modules.
1450
- See https://biomejs.dev/linter/rules/no-nodejs-modules
1452
+ See <https://biomejs.dev/linter/rules/no-nodejs-modules>
1451
1453
  */
1452
1454
  noNodejsModules?: NoNodejsModulesConfiguration;
1453
1455
  /**
1454
1456
  * Disallow \8 and \9 escape sequences in string literals.
1455
- See https://biomejs.dev/linter/rules/no-nonoctal-decimal-escape
1457
+ See <https://biomejs.dev/linter/rules/no-nonoctal-decimal-escape>
1456
1458
  */
1457
1459
  noNonoctalDecimalEscape?: NoNonoctalDecimalEscapeConfiguration;
1458
1460
  /**
1459
1461
  * Disallow literal numbers that lose precision.
1460
- See https://biomejs.dev/linter/rules/no-precision-loss
1462
+ See <https://biomejs.dev/linter/rules/no-precision-loss>
1461
1463
  */
1462
1464
  noPrecisionLoss?: NoPrecisionLossConfiguration;
1463
1465
  /**
1464
1466
  * Restrict imports of private exports.
1465
- See https://biomejs.dev/linter/rules/no-private-imports
1467
+ See <https://biomejs.dev/linter/rules/no-private-imports>
1466
1468
  */
1467
1469
  noPrivateImports?: NoPrivateImportsConfiguration;
1468
1470
  /**
1469
1471
  * Disallow the use of process global.
1470
- See https://biomejs.dev/linter/rules/no-process-global
1472
+ See <https://biomejs.dev/linter/rules/no-process-global>
1471
1473
  */
1472
1474
  noProcessGlobal?: NoProcessGlobalConfiguration;
1473
1475
  /**
1474
1476
  * Disallow useVisibleTask$() functions in Qwik components.
1475
- See https://biomejs.dev/linter/rules/no-qwik-use-visible-task
1477
+ See <https://biomejs.dev/linter/rules/no-qwik-use-visible-task>
1476
1478
  */
1477
1479
  noQwikUseVisibleTask?: NoQwikUseVisibleTaskConfiguration;
1478
1480
  /**
1479
1481
  * Disallow assigning to React component props.
1480
- See https://biomejs.dev/linter/rules/no-react-prop-assignments
1482
+ See <https://biomejs.dev/linter/rules/no-react-prop-assignments>
1481
1483
  */
1482
1484
  noReactPropAssignments?: NoReactPropAssignmentsConfiguration;
1483
1485
  /**
1484
1486
  * Prevent the usage of the return value of React.render.
1485
- See https://biomejs.dev/linter/rules/no-render-return-value
1487
+ See <https://biomejs.dev/linter/rules/no-render-return-value>
1486
1488
  */
1487
1489
  noRenderReturnValue?: NoRenderReturnValueConfiguration;
1488
1490
  /**
1489
1491
  * Disallow the use of configured elements.
1490
- See https://biomejs.dev/linter/rules/no-restricted-elements
1492
+ See <https://biomejs.dev/linter/rules/no-restricted-elements>
1491
1493
  */
1492
1494
  noRestrictedElements?: NoRestrictedElementsConfiguration;
1493
1495
  /**
1494
1496
  * Disallow assignments where both sides are exactly the same.
1495
- See https://biomejs.dev/linter/rules/no-self-assign
1497
+ See <https://biomejs.dev/linter/rules/no-self-assign>
1496
1498
  */
1497
1499
  noSelfAssign?: NoSelfAssignConfiguration;
1498
1500
  /**
1499
1501
  * Disallow returning a value from a setter.
1500
- See https://biomejs.dev/linter/rules/no-setter-return
1502
+ See <https://biomejs.dev/linter/rules/no-setter-return>
1501
1503
  */
1502
1504
  noSetterReturn?: NoSetterReturnConfiguration;
1503
1505
  /**
1504
1506
  * Disallow destructuring props inside JSX components in Solid projects.
1505
- See https://biomejs.dev/linter/rules/no-solid-destructured-props
1507
+ See <https://biomejs.dev/linter/rules/no-solid-destructured-props>
1506
1508
  */
1507
1509
  noSolidDestructuredProps?: NoSolidDestructuredPropsConfiguration;
1508
1510
  /**
1509
1511
  * Disallow comparison of expressions modifying the string case with non-compliant value.
1510
- See https://biomejs.dev/linter/rules/no-string-case-mismatch
1512
+ See <https://biomejs.dev/linter/rules/no-string-case-mismatch>
1511
1513
  */
1512
1514
  noStringCaseMismatch?: NoStringCaseMismatchConfiguration;
1513
1515
  /**
1514
1516
  * Disallow lexical declarations in switch clauses.
1515
- See https://biomejs.dev/linter/rules/no-switch-declarations
1517
+ See <https://biomejs.dev/linter/rules/no-switch-declarations>
1516
1518
  */
1517
1519
  noSwitchDeclarations?: NoSwitchDeclarationsConfiguration;
1518
1520
  /**
1519
1521
  * Disallow the use of dependencies that aren't specified in the package.json.
1520
- See https://biomejs.dev/linter/rules/no-undeclared-dependencies
1522
+ See <https://biomejs.dev/linter/rules/no-undeclared-dependencies>
1521
1523
  */
1522
1524
  noUndeclaredDependencies?: NoUndeclaredDependenciesConfiguration;
1523
1525
  /**
1524
1526
  * Prevents the usage of variables that haven't been declared inside the document.
1525
- See https://biomejs.dev/linter/rules/no-undeclared-variables
1527
+ See <https://biomejs.dev/linter/rules/no-undeclared-variables>
1526
1528
  */
1527
1529
  noUndeclaredVariables?: NoUndeclaredVariablesConfiguration;
1528
1530
  /**
1529
1531
  * Disallow unknown CSS value functions.
1530
- See https://biomejs.dev/linter/rules/no-unknown-function
1532
+ See <https://biomejs.dev/linter/rules/no-unknown-function>
1531
1533
  */
1532
1534
  noUnknownFunction?: NoUnknownFunctionConfiguration;
1533
1535
  /**
1534
1536
  * Disallow unknown media feature names.
1535
- See https://biomejs.dev/linter/rules/no-unknown-media-feature-name
1537
+ See <https://biomejs.dev/linter/rules/no-unknown-media-feature-name>
1536
1538
  */
1537
1539
  noUnknownMediaFeatureName?: NoUnknownMediaFeatureNameConfiguration;
1538
1540
  /**
1539
1541
  * Disallow unknown properties.
1540
- See https://biomejs.dev/linter/rules/no-unknown-property
1542
+ See <https://biomejs.dev/linter/rules/no-unknown-property>
1541
1543
  */
1542
1544
  noUnknownProperty?: NoUnknownPropertyConfiguration;
1543
1545
  /**
1544
1546
  * Disallow unknown pseudo-class selectors.
1545
- See https://biomejs.dev/linter/rules/no-unknown-pseudo-class
1547
+ See <https://biomejs.dev/linter/rules/no-unknown-pseudo-class>
1546
1548
  */
1547
1549
  noUnknownPseudoClass?: NoUnknownPseudoClassConfiguration;
1548
1550
  /**
1549
1551
  * Disallow unknown pseudo-element selectors.
1550
- See https://biomejs.dev/linter/rules/no-unknown-pseudo-element
1552
+ See <https://biomejs.dev/linter/rules/no-unknown-pseudo-element>
1551
1553
  */
1552
1554
  noUnknownPseudoElement?: NoUnknownPseudoElementConfiguration;
1553
1555
  /**
1554
1556
  * Disallow unknown type selectors.
1555
- See https://biomejs.dev/linter/rules/no-unknown-type-selector
1557
+ See <https://biomejs.dev/linter/rules/no-unknown-type-selector>
1556
1558
  */
1557
1559
  noUnknownTypeSelector?: NoUnknownTypeSelectorConfiguration;
1558
1560
  /**
1559
1561
  * Disallow unknown CSS units.
1560
- See https://biomejs.dev/linter/rules/no-unknown-unit
1562
+ See <https://biomejs.dev/linter/rules/no-unknown-unit>
1561
1563
  */
1562
1564
  noUnknownUnit?: NoUnknownUnitConfiguration;
1563
1565
  /**
1564
1566
  * Disallow unmatchable An+B selectors.
1565
- See https://biomejs.dev/linter/rules/no-unmatchable-anb-selector
1567
+ See <https://biomejs.dev/linter/rules/no-unmatchable-anb-selector>
1566
1568
  */
1567
1569
  noUnmatchableAnbSelector?: NoUnmatchableAnbSelectorConfiguration;
1568
1570
  /**
1569
1571
  * Disallow unreachable code.
1570
- See https://biomejs.dev/linter/rules/no-unreachable
1572
+ See <https://biomejs.dev/linter/rules/no-unreachable>
1571
1573
  */
1572
1574
  noUnreachable?: NoUnreachableConfiguration;
1573
1575
  /**
1574
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.
1575
- See https://biomejs.dev/linter/rules/no-unreachable-super
1577
+ See <https://biomejs.dev/linter/rules/no-unreachable-super>
1576
1578
  */
1577
1579
  noUnreachableSuper?: NoUnreachableSuperConfiguration;
1578
1580
  /**
1579
1581
  * Disallow control flow statements in finally blocks.
1580
- See https://biomejs.dev/linter/rules/no-unsafe-finally
1582
+ See <https://biomejs.dev/linter/rules/no-unsafe-finally>
1581
1583
  */
1582
1584
  noUnsafeFinally?: NoUnsafeFinallyConfiguration;
1583
1585
  /**
1584
1586
  * Disallow the use of optional chaining in contexts where the undefined value is not allowed.
1585
- See https://biomejs.dev/linter/rules/no-unsafe-optional-chaining
1587
+ See <https://biomejs.dev/linter/rules/no-unsafe-optional-chaining>
1586
1588
  */
1587
1589
  noUnsafeOptionalChaining?: NoUnsafeOptionalChainingConfiguration;
1588
1590
  /**
1589
1591
  * Disallow unused function parameters.
1590
- See https://biomejs.dev/linter/rules/no-unused-function-parameters
1592
+ See <https://biomejs.dev/linter/rules/no-unused-function-parameters>
1591
1593
  */
1592
1594
  noUnusedFunctionParameters?: NoUnusedFunctionParametersConfiguration;
1593
1595
  /**
1594
1596
  * Disallow unused imports.
1595
- See https://biomejs.dev/linter/rules/no-unused-imports
1597
+ See <https://biomejs.dev/linter/rules/no-unused-imports>
1596
1598
  */
1597
1599
  noUnusedImports?: NoUnusedImportsConfiguration;
1598
1600
  /**
1599
1601
  * Disallow unused labels.
1600
- See https://biomejs.dev/linter/rules/no-unused-labels
1602
+ See <https://biomejs.dev/linter/rules/no-unused-labels>
1601
1603
  */
1602
1604
  noUnusedLabels?: NoUnusedLabelsConfiguration;
1603
1605
  /**
1604
1606
  * Disallow unused private class members.
1605
- See https://biomejs.dev/linter/rules/no-unused-private-class-members
1607
+ See <https://biomejs.dev/linter/rules/no-unused-private-class-members>
1606
1608
  */
1607
1609
  noUnusedPrivateClassMembers?: NoUnusedPrivateClassMembersConfiguration;
1608
1610
  /**
1609
1611
  * Disallow unused variables.
1610
- See https://biomejs.dev/linter/rules/no-unused-variables
1612
+ See <https://biomejs.dev/linter/rules/no-unused-variables>
1611
1613
  */
1612
1614
  noUnusedVariables?: NoUnusedVariablesConfiguration;
1613
1615
  /**
1614
1616
  * This rules prevents void elements (AKA self-closing elements) from having children.
1615
- See https://biomejs.dev/linter/rules/no-void-elements-with-children
1617
+ See <https://biomejs.dev/linter/rules/no-void-elements-with-children>
1616
1618
  */
1617
1619
  noVoidElementsWithChildren?: NoVoidElementsWithChildrenConfiguration;
1618
1620
  /**
1619
1621
  * Disallow returning a value from a function with the return type 'void'.
1620
- See https://biomejs.dev/linter/rules/no-void-type-return
1622
+ See <https://biomejs.dev/linter/rules/no-void-type-return>
1621
1623
  */
1622
1624
  noVoidTypeReturn?: NoVoidTypeReturnConfiguration;
1623
1625
  /**
@@ -1625,240 +1627,260 @@ See https://biomejs.dev/linter/rules/no-void-type-return
1625
1627
  */
1626
1628
  recommended?: boolean;
1627
1629
  /**
1628
- * Enforce all dependencies are correctly specified in a React hook.
1629
- See https://biomejs.dev/linter/rules/use-exhaustive-dependencies
1630
+ * Enforce correct dependency usage within React hooks.
1631
+ See <https://biomejs.dev/linter/rules/use-exhaustive-dependencies>
1630
1632
  */
1631
1633
  useExhaustiveDependencies?: UseExhaustiveDependenciesConfiguration;
1632
1634
  /**
1633
1635
  * Enforce specifying the name of GraphQL operations.
1634
- See https://biomejs.dev/linter/rules/use-graphql-named-operations
1636
+ See <https://biomejs.dev/linter/rules/use-graphql-named-operations>
1635
1637
  */
1636
1638
  useGraphqlNamedOperations?: UseGraphqlNamedOperationsConfiguration;
1637
1639
  /**
1638
1640
  * Enforce that all React hooks are being called from the Top Level component functions.
1639
- See https://biomejs.dev/linter/rules/use-hook-at-top-level
1641
+ See <https://biomejs.dev/linter/rules/use-hook-at-top-level>
1640
1642
  */
1641
1643
  useHookAtTopLevel?: UseHookAtTopLevelConfiguration;
1642
1644
  /**
1643
1645
  * Enforces that \<img> elements have both width and height attributes.
1644
- See https://biomejs.dev/linter/rules/use-image-size
1646
+ See <https://biomejs.dev/linter/rules/use-image-size>
1645
1647
  */
1646
1648
  useImageSize?: UseImageSizeConfiguration;
1647
1649
  /**
1648
1650
  * Enforce file extensions for relative imports.
1649
- See https://biomejs.dev/linter/rules/use-import-extensions
1651
+ See <https://biomejs.dev/linter/rules/use-import-extensions>
1650
1652
  */
1651
1653
  useImportExtensions?: UseImportExtensionsConfiguration;
1652
1654
  /**
1653
1655
  * Require calls to isNaN() when checking for NaN.
1654
- See https://biomejs.dev/linter/rules/use-is-nan
1656
+ See <https://biomejs.dev/linter/rules/use-is-nan>
1655
1657
  */
1656
1658
  useIsNan?: UseIsNanConfiguration;
1657
1659
  /**
1658
1660
  * Enforces the use of with { type: "json" } for JSON module imports.
1659
- See https://biomejs.dev/linter/rules/use-json-import-attributes
1661
+ See <https://biomejs.dev/linter/rules/use-json-import-attributes>
1660
1662
  */
1661
1663
  useJsonImportAttributes?: UseJsonImportAttributesConfiguration;
1662
1664
  /**
1663
1665
  * Disallow missing key props in iterators/collection literals.
1664
- See https://biomejs.dev/linter/rules/use-jsx-key-in-iterable
1666
+ See <https://biomejs.dev/linter/rules/use-jsx-key-in-iterable>
1665
1667
  */
1666
1668
  useJsxKeyInIterable?: UseJsxKeyInIterableConfiguration;
1667
1669
  /**
1668
1670
  * Enforce the consistent use of the radix argument when using parseInt().
1669
- See https://biomejs.dev/linter/rules/use-parse-int-radix
1671
+ See <https://biomejs.dev/linter/rules/use-parse-int-radix>
1670
1672
  */
1671
1673
  useParseIntRadix?: UseParseIntRadixConfiguration;
1672
1674
  /**
1673
1675
  * Prefer using the class prop as a classlist over the classnames helper.
1674
- See https://biomejs.dev/linter/rules/use-qwik-classlist
1676
+ See <https://biomejs.dev/linter/rules/use-qwik-classlist>
1675
1677
  */
1676
1678
  useQwikClasslist?: UseQwikClasslistConfiguration;
1677
1679
  /**
1678
1680
  * Enforce JSDoc comment lines to start with a single asterisk, except for the first one.
1679
- See https://biomejs.dev/linter/rules/use-single-js-doc-asterisk
1681
+ See <https://biomejs.dev/linter/rules/use-single-js-doc-asterisk>
1680
1682
  */
1681
1683
  useSingleJsDocAsterisk?: UseSingleJsDocAsteriskConfiguration;
1682
1684
  /**
1683
1685
  * Prevent the usage of static string literal id attribute on elements.
1684
- See https://biomejs.dev/linter/rules/use-unique-element-ids
1686
+ See <https://biomejs.dev/linter/rules/use-unique-element-ids>
1685
1687
  */
1686
1688
  useUniqueElementIds?: UseUniqueElementIdsConfiguration;
1687
1689
  /**
1688
1690
  * Enforce "for" loop update clause moving the counter in the right direction.
1689
- See https://biomejs.dev/linter/rules/use-valid-for-direction
1691
+ See <https://biomejs.dev/linter/rules/use-valid-for-direction>
1690
1692
  */
1691
1693
  useValidForDirection?: UseValidForDirectionConfiguration;
1692
1694
  /**
1693
1695
  * This rule checks that the result of a typeof expression is compared to a valid value.
1694
- See https://biomejs.dev/linter/rules/use-valid-typeof
1696
+ See <https://biomejs.dev/linter/rules/use-valid-typeof>
1695
1697
  */
1696
1698
  useValidTypeof?: UseValidTypeofConfiguration;
1697
1699
  /**
1698
1700
  * Require generator functions to contain yield.
1699
- See https://biomejs.dev/linter/rules/use-yield
1701
+ See <https://biomejs.dev/linter/rules/use-yield>
1700
1702
  */
1701
1703
  useYield?: UseYieldConfiguration;
1702
1704
  }
1703
1705
  interface Nursery {
1706
+ /**
1707
+ * Disallow ambiguous anchor descriptions.
1708
+ See <https://biomejs.dev/linter/rules/no-ambiguous-anchor-text>
1709
+ */
1710
+ noAmbiguousAnchorText?: NoAmbiguousAnchorTextConfiguration;
1704
1711
  /**
1705
1712
  * Disallow continue statements.
1706
- See https://biomejs.dev/linter/rules/no-continue
1713
+ See <https://biomejs.dev/linter/rules/no-continue>
1707
1714
  */
1708
1715
  noContinue?: NoContinueConfiguration;
1709
1716
  /**
1710
1717
  * Restrict imports of deprecated exports.
1711
- See https://biomejs.dev/linter/rules/no-deprecated-imports
1718
+ See <https://biomejs.dev/linter/rules/no-deprecated-imports>
1712
1719
  */
1713
1720
  noDeprecatedImports?: NoDeprecatedImportsConfiguration;
1714
1721
  /**
1715
1722
  * Prevent the listing of duplicate dependencies. The rule supports the following dependency groups: "bundledDependencies", "bundleDependencies", "dependencies", "devDependencies", "overrides", "optionalDependencies", and "peerDependencies".
1716
- See https://biomejs.dev/linter/rules/no-duplicate-dependencies
1723
+ See <https://biomejs.dev/linter/rules/no-duplicate-dependencies>
1717
1724
  */
1718
1725
  noDuplicateDependencies?: NoDuplicateDependenciesConfiguration;
1719
1726
  /**
1720
1727
  * Disallow JSX prop spreading the same identifier multiple times.
1721
- See https://biomejs.dev/linter/rules/no-duplicated-spread-props
1728
+ See <https://biomejs.dev/linter/rules/no-duplicated-spread-props>
1722
1729
  */
1723
1730
  noDuplicatedSpreadProps?: NoDuplicatedSpreadPropsConfiguration;
1724
1731
  /**
1725
1732
  * Disallow empty sources.
1726
- See https://biomejs.dev/linter/rules/no-empty-source
1733
+ See <https://biomejs.dev/linter/rules/no-empty-source>
1727
1734
  */
1728
1735
  noEmptySource?: NoEmptySourceConfiguration;
1729
1736
  /**
1730
1737
  * Require the use of === or !== for comparison with null.
1731
- See https://biomejs.dev/linter/rules/no-equals-to-null
1738
+ See <https://biomejs.dev/linter/rules/no-equals-to-null>
1732
1739
  */
1733
1740
  noEqualsToNull?: NoEqualsToNullConfiguration;
1734
1741
  /**
1735
1742
  * Require Promise-like statements to be handled appropriately.
1736
- See https://biomejs.dev/linter/rules/no-floating-promises
1743
+ See <https://biomejs.dev/linter/rules/no-floating-promises>
1737
1744
  */
1738
1745
  noFloatingPromises?: NoFloatingPromisesConfiguration;
1739
1746
  /**
1740
1747
  * Disallow iterating using a for-in loop.
1741
- See https://biomejs.dev/linter/rules/no-for-in
1748
+ See <https://biomejs.dev/linter/rules/no-for-in>
1742
1749
  */
1743
1750
  noForIn?: NoForInConfiguration;
1744
1751
  /**
1745
1752
  * Prevent import cycles.
1746
- See https://biomejs.dev/linter/rules/no-import-cycles
1753
+ See <https://biomejs.dev/linter/rules/no-import-cycles>
1747
1754
  */
1748
1755
  noImportCycles?: NoImportCyclesConfiguration;
1749
1756
  /**
1750
1757
  * Disallows the usage of the unary operators ++ and --.
1751
- See https://biomejs.dev/linter/rules/no-increment-decrement
1758
+ See <https://biomejs.dev/linter/rules/no-increment-decrement>
1752
1759
  */
1753
1760
  noIncrementDecrement?: NoIncrementDecrementConfiguration;
1754
1761
  /**
1755
1762
  * Disallow string literals inside JSX elements.
1756
- See https://biomejs.dev/linter/rules/no-jsx-literals
1763
+ See <https://biomejs.dev/linter/rules/no-jsx-literals>
1757
1764
  */
1758
1765
  noJsxLiterals?: NoJsxLiteralsConfiguration;
1759
1766
  /**
1760
1767
  * Prevent problematic leaked values from being rendered.
1761
- See https://biomejs.dev/linter/rules/no-leaked-render
1768
+ See <https://biomejs.dev/linter/rules/no-leaked-render>
1762
1769
  */
1763
1770
  noLeakedRender?: NoLeakedRenderConfiguration;
1764
1771
  /**
1765
1772
  * Disallow Promises to be used in places where they are almost certainly a mistake.
1766
- See https://biomejs.dev/linter/rules/no-misused-promises
1773
+ See <https://biomejs.dev/linter/rules/no-misused-promises>
1767
1774
  */
1768
1775
  noMisusedPromises?: NoMisusedPromisesConfiguration;
1769
1776
  /**
1770
1777
  * Disallow creating multiline strings by escaping newlines.
1771
- See https://biomejs.dev/linter/rules/no-multi-str
1778
+ See <https://biomejs.dev/linter/rules/no-multi-str>
1772
1779
  */
1773
1780
  noMultiStr?: NoMultiStrConfiguration;
1774
1781
  /**
1775
1782
  * Prevent client components from being async functions.
1776
- See https://biomejs.dev/linter/rules/no-next-async-client-component
1783
+ See <https://biomejs.dev/linter/rules/no-next-async-client-component>
1777
1784
  */
1778
1785
  noNextAsyncClientComponent?: NoNextAsyncClientComponentConfiguration;
1779
1786
  /**
1780
1787
  * Disallow function parameters that are only used in recursive calls.
1781
- See https://biomejs.dev/linter/rules/no-parameters-only-used-in-recursion
1788
+ See <https://biomejs.dev/linter/rules/no-parameters-only-used-in-recursion>
1782
1789
  */
1783
1790
  noParametersOnlyUsedInRecursion?: NoParametersOnlyUsedInRecursionConfiguration;
1784
1791
  /**
1785
- * Disallow the use of the __proto__ property.
1786
- See https://biomejs.dev/linter/rules/no-proto
1792
+ * Disallow the use of the deprecated __proto__ object property.
1793
+ See <https://biomejs.dev/linter/rules/no-proto>
1787
1794
  */
1788
1795
  noProto?: NoProtoConfiguration;
1789
1796
  /**
1790
1797
  * Replaces usages of forwardRef with passing ref as a prop.
1791
- See https://biomejs.dev/linter/rules/no-react-forward-ref
1798
+ See <https://biomejs.dev/linter/rules/no-react-forward-ref>
1792
1799
  */
1793
1800
  noReactForwardRef?: NoReactForwardRefConfiguration;
1794
1801
  /**
1802
+ * Disallow javascript: URLs in HTML.
1803
+ See <https://biomejs.dev/linter/rules/no-script-url>
1804
+ */
1805
+ noScriptUrl?: NoScriptUrlConfiguration;
1806
+ /**
1795
1807
  * Disallow variable declarations from shadowing variables declared in the outer scope.
1796
- See https://biomejs.dev/linter/rules/no-shadow
1808
+ See <https://biomejs.dev/linter/rules/no-shadow>
1797
1809
  */
1798
1810
  noShadow?: NoShadowConfiguration;
1799
1811
  /**
1800
1812
  * Prevent the usage of synchronous scripts.
1801
- See https://biomejs.dev/linter/rules/no-sync-scripts
1813
+ See <https://biomejs.dev/linter/rules/no-sync-scripts>
1802
1814
  */
1803
1815
  noSyncScripts?: NoSyncScriptsConfiguration;
1804
1816
  /**
1805
1817
  * Disallow ternary operators.
1806
- See https://biomejs.dev/linter/rules/no-ternary
1818
+ See <https://biomejs.dev/linter/rules/no-ternary>
1807
1819
  */
1808
1820
  noTernary?: NoTernaryConfiguration;
1809
1821
  /**
1822
+ * Disallow the use of undeclared environment variables.
1823
+ See <https://biomejs.dev/linter/rules/no-undeclared-env-vars>
1824
+ */
1825
+ noUndeclaredEnvVars?: NoUndeclaredEnvVarsConfiguration;
1826
+ /**
1810
1827
  * Disallow unknown DOM properties.
1811
- See https://biomejs.dev/linter/rules/no-unknown-attribute
1828
+ See <https://biomejs.dev/linter/rules/no-unknown-attribute>
1812
1829
  */
1813
1830
  noUnknownAttribute?: NoUnknownAttributeConfiguration;
1814
1831
  /**
1815
1832
  * Disallow unnecessary type-based conditions that can be statically determined as redundant.
1816
- See https://biomejs.dev/linter/rules/no-unnecessary-conditions
1833
+ See <https://biomejs.dev/linter/rules/no-unnecessary-conditions>
1817
1834
  */
1818
1835
  noUnnecessaryConditions?: NoUnnecessaryConditionsConfiguration;
1819
1836
  /**
1820
1837
  * Warn when importing non-existing exports.
1821
- See https://biomejs.dev/linter/rules/no-unresolved-imports
1838
+ See <https://biomejs.dev/linter/rules/no-unresolved-imports>
1822
1839
  */
1823
1840
  noUnresolvedImports?: NoUnresolvedImportsConfiguration;
1824
1841
  /**
1825
1842
  * Disallow expression statements that are neither a function call nor an assignment.
1826
- See https://biomejs.dev/linter/rules/no-unused-expressions
1843
+ See <https://biomejs.dev/linter/rules/no-unused-expressions>
1827
1844
  */
1828
1845
  noUnusedExpressions?: NoUnusedExpressionsConfiguration;
1829
1846
  /**
1830
1847
  * Disallow unused catch bindings.
1831
- See https://biomejs.dev/linter/rules/no-useless-catch-binding
1848
+ See <https://biomejs.dev/linter/rules/no-useless-catch-binding>
1832
1849
  */
1833
1850
  noUselessCatchBinding?: NoUselessCatchBindingConfiguration;
1834
1851
  /**
1835
1852
  * Disallow the use of useless undefined.
1836
- See https://biomejs.dev/linter/rules/no-useless-undefined
1853
+ See <https://biomejs.dev/linter/rules/no-useless-undefined>
1837
1854
  */
1838
1855
  noUselessUndefined?: NoUselessUndefinedConfiguration;
1839
1856
  /**
1840
1857
  * Enforce that Vue component data options are declared as functions.
1841
- See https://biomejs.dev/linter/rules/no-vue-data-object-declaration
1858
+ See <https://biomejs.dev/linter/rules/no-vue-data-object-declaration>
1842
1859
  */
1843
1860
  noVueDataObjectDeclaration?: NoVueDataObjectDeclarationConfiguration;
1844
1861
  /**
1845
1862
  * Disallow duplicate keys in Vue component data, methods, computed properties, and other options.
1846
- See https://biomejs.dev/linter/rules/no-vue-duplicate-keys
1863
+ See <https://biomejs.dev/linter/rules/no-vue-duplicate-keys>
1847
1864
  */
1848
1865
  noVueDuplicateKeys?: NoVueDuplicateKeysConfiguration;
1849
1866
  /**
1850
1867
  * Disallow reserved keys in Vue component data and computed properties.
1851
- See https://biomejs.dev/linter/rules/no-vue-reserved-keys
1868
+ See <https://biomejs.dev/linter/rules/no-vue-reserved-keys>
1852
1869
  */
1853
1870
  noVueReservedKeys?: NoVueReservedKeysConfiguration;
1854
1871
  /**
1855
1872
  * Disallow reserved names to be used as props.
1856
- See https://biomejs.dev/linter/rules/no-vue-reserved-props
1873
+ See <https://biomejs.dev/linter/rules/no-vue-reserved-props>
1857
1874
  */
1858
1875
  noVueReservedProps?: NoVueReservedPropsConfiguration;
1859
1876
  /**
1877
+ * Disallow destructuring of props passed to setup in Vue projects.
1878
+ See <https://biomejs.dev/linter/rules/no-vue-setup-props-reactivity-loss>
1879
+ */
1880
+ noVueSetupPropsReactivityLoss?: NoVueSetupPropsReactivityLossConfiguration;
1881
+ /**
1860
1882
  * Disallow using v-if and v-for directives on the same element.
1861
- See https://biomejs.dev/linter/rules/no-vue-v-if-with-v-for
1883
+ See <https://biomejs.dev/linter/rules/no-vue-v-if-with-v-for>
1862
1884
  */
1863
1885
  noVueVIfWithVFor?: NoVueVIfWithVForConfiguration;
1864
1886
  /**
@@ -1867,164 +1889,184 @@ See https://biomejs.dev/linter/rules/no-vue-v-if-with-v-for
1867
1889
  recommended?: boolean;
1868
1890
  /**
1869
1891
  * Require Array#sort and Array#toSorted calls to always provide a compareFunction.
1870
- See https://biomejs.dev/linter/rules/use-array-sort-compare
1892
+ See <https://biomejs.dev/linter/rules/use-array-sort-compare>
1871
1893
  */
1872
1894
  useArraySortCompare?: UseArraySortCompareConfiguration;
1873
1895
  /**
1896
+ * Enforce that await is only used on Promise values.
1897
+ See <https://biomejs.dev/linter/rules/use-await-thenable>
1898
+ */
1899
+ useAwaitThenable?: UseAwaitThenableConfiguration;
1900
+ /**
1874
1901
  * Enforce consistent arrow function bodies.
1875
- See https://biomejs.dev/linter/rules/use-consistent-arrow-return
1902
+ See <https://biomejs.dev/linter/rules/use-consistent-arrow-return>
1876
1903
  */
1877
1904
  useConsistentArrowReturn?: UseConsistentArrowReturnConfiguration;
1878
1905
  /**
1879
1906
  * Require all descriptions to follow the same style (either block or inline) to maintain consistency and improve readability across the schema.
1880
- See https://biomejs.dev/linter/rules/use-consistent-graphql-descriptions
1907
+ See <https://biomejs.dev/linter/rules/use-consistent-graphql-descriptions>
1881
1908
  */
1882
1909
  useConsistentGraphqlDescriptions?: UseConsistentGraphqlDescriptionsConfiguration;
1883
1910
  /**
1884
1911
  * Require the @deprecated directive to specify a deletion date.
1885
- See https://biomejs.dev/linter/rules/use-deprecated-date
1912
+ See <https://biomejs.dev/linter/rules/use-deprecated-date>
1886
1913
  */
1887
1914
  useDeprecatedDate?: UseDeprecatedDateConfiguration;
1888
1915
  /**
1916
+ * Require destructuring from arrays and/or objects.
1917
+ See <https://biomejs.dev/linter/rules/use-destructuring>
1918
+ */
1919
+ useDestructuring?: UseDestructuringConfiguration;
1920
+ /**
1889
1921
  * Require switch-case statements to be exhaustive.
1890
- See https://biomejs.dev/linter/rules/use-exhaustive-switch-cases
1922
+ See <https://biomejs.dev/linter/rules/use-exhaustive-switch-cases>
1891
1923
  */
1892
1924
  useExhaustiveSwitchCases?: UseExhaustiveSwitchCasesConfiguration;
1893
1925
  /**
1894
1926
  * Enforce types in functions, methods, variables, and parameters.
1895
- See https://biomejs.dev/linter/rules/use-explicit-type
1927
+ See <https://biomejs.dev/linter/rules/use-explicit-type>
1896
1928
  */
1897
1929
  useExplicitType?: UseExplicitTypeConfiguration;
1898
1930
  /**
1899
1931
  * Enforce the use of Array.prototype.find() over Array.prototype.filter() followed by [0] when looking for a single result.
1900
- See https://biomejs.dev/linter/rules/use-find
1932
+ See <https://biomejs.dev/linter/rules/use-find>
1901
1933
  */
1902
1934
  useFind?: UseFindConfiguration;
1903
1935
  /**
1904
1936
  * Enforce a maximum number of parameters in function definitions.
1905
- See https://biomejs.dev/linter/rules/use-max-params
1937
+ See <https://biomejs.dev/linter/rules/use-max-params>
1906
1938
  */
1907
1939
  useMaxParams?: UseMaxParamsConfiguration;
1908
1940
  /**
1909
1941
  * Disallow use* hooks outside of component$ or other use* hooks in Qwik applications.
1910
- See https://biomejs.dev/linter/rules/use-qwik-method-usage
1942
+ See <https://biomejs.dev/linter/rules/use-qwik-method-usage>
1911
1943
  */
1912
1944
  useQwikMethodUsage?: UseQwikMethodUsageConfiguration;
1913
1945
  /**
1914
1946
  * Disallow unserializable expressions in Qwik dollar ($) scopes.
1915
- See https://biomejs.dev/linter/rules/use-qwik-valid-lexical-scope
1947
+ See <https://biomejs.dev/linter/rules/use-qwik-valid-lexical-scope>
1916
1948
  */
1917
1949
  useQwikValidLexicalScope?: UseQwikValidLexicalScopeConfiguration;
1918
1950
  /**
1951
+ * Enforce RegExp#exec over String#match if no global flag is provided.
1952
+ See <https://biomejs.dev/linter/rules/use-regexp-exec>
1953
+ */
1954
+ useRegexpExec?: UseRegexpExecConfiguration;
1955
+ /**
1956
+ * Enforce the presence of required scripts in package.json.
1957
+ See <https://biomejs.dev/linter/rules/use-required-scripts>
1958
+ */
1959
+ useRequiredScripts?: UseRequiredScriptsConfiguration;
1960
+ /**
1919
1961
  * Enforce the sorting of CSS utility classes.
1920
- See https://biomejs.dev/linter/rules/use-sorted-classes
1962
+ See <https://biomejs.dev/linter/rules/use-sorted-classes>
1921
1963
  */
1922
1964
  useSortedClasses?: UseSortedClassesConfiguration;
1923
1965
  /**
1924
1966
  * Enforce the use of the spread operator over .apply().
1925
- See https://biomejs.dev/linter/rules/use-spread
1967
+ See <https://biomejs.dev/linter/rules/use-spread>
1926
1968
  */
1927
1969
  useSpread?: UseSpreadConfiguration;
1928
1970
  /**
1929
1971
  * Enforce unique operation names across a GraphQL document.
1930
- See https://biomejs.dev/linter/rules/use-unique-graphql-operation-name
1972
+ See <https://biomejs.dev/linter/rules/use-unique-graphql-operation-name>
1931
1973
  */
1932
1974
  useUniqueGraphqlOperationName?: UseUniqueGraphqlOperationNameConfiguration;
1933
1975
  /**
1934
1976
  * Enforce specific order of Vue compiler macros.
1935
- See https://biomejs.dev/linter/rules/use-vue-define-macros-order
1977
+ See <https://biomejs.dev/linter/rules/use-vue-define-macros-order>
1936
1978
  */
1937
1979
  useVueDefineMacrosOrder?: UseVueDefineMacrosOrderConfiguration;
1938
1980
  /**
1939
1981
  * Enforce hyphenated (kebab-case) attribute names in Vue templates.
1940
- See https://biomejs.dev/linter/rules/use-vue-hyphenated-attributes
1982
+ See <https://biomejs.dev/linter/rules/use-vue-hyphenated-attributes>
1941
1983
  */
1942
1984
  useVueHyphenatedAttributes?: UseVueHyphenatedAttributesConfiguration;
1943
1985
  /**
1944
1986
  * Enforce multi-word component names in Vue components.
1945
- See https://biomejs.dev/linter/rules/use-vue-multi-word-component-names
1987
+ See <https://biomejs.dev/linter/rules/use-vue-multi-word-component-names>
1946
1988
  */
1947
1989
  useVueMultiWordComponentNames?: UseVueMultiWordComponentNamesConfiguration;
1948
1990
  /**
1949
1991
  * Forbids v-bind directives with missing arguments or invalid modifiers.
1950
- See https://biomejs.dev/linter/rules/use-vue-valid-v-bind
1992
+ See <https://biomejs.dev/linter/rules/use-vue-valid-v-bind>
1951
1993
  */
1952
1994
  useVueValidVBind?: UseVueValidVBindConfiguration;
1953
1995
  /**
1954
1996
  * Enforce valid usage of v-else.
1955
- See https://biomejs.dev/linter/rules/use-vue-valid-v-else
1997
+ See <https://biomejs.dev/linter/rules/use-vue-valid-v-else>
1956
1998
  */
1957
1999
  useVueValidVElse?: UseVueValidVElseConfiguration;
1958
2000
  /**
1959
2001
  * Enforce valid v-else-if directives.
1960
- See https://biomejs.dev/linter/rules/use-vue-valid-v-else-if
2002
+ See <https://biomejs.dev/linter/rules/use-vue-valid-v-else-if>
1961
2003
  */
1962
2004
  useVueValidVElseIf?: UseVueValidVElseIfConfiguration;
1963
2005
  /**
1964
2006
  * Enforce valid v-html directives.
1965
- See https://biomejs.dev/linter/rules/use-vue-valid-v-html
2007
+ See <https://biomejs.dev/linter/rules/use-vue-valid-v-html>
1966
2008
  */
1967
2009
  useVueValidVHtml?: UseVueValidVHtmlConfiguration;
1968
2010
  /**
1969
2011
  * Enforces valid v-if usage for Vue templates.
1970
- See https://biomejs.dev/linter/rules/use-vue-valid-v-if
2012
+ See <https://biomejs.dev/linter/rules/use-vue-valid-v-if>
1971
2013
  */
1972
2014
  useVueValidVIf?: UseVueValidVIfConfiguration;
1973
2015
  /**
1974
2016
  * Enforce valid v-on directives with proper arguments, modifiers, and handlers.
1975
- See https://biomejs.dev/linter/rules/use-vue-valid-v-on
2017
+ See <https://biomejs.dev/linter/rules/use-vue-valid-v-on>
1976
2018
  */
1977
2019
  useVueValidVOn?: UseVueValidVOnConfiguration;
1978
2020
  /**
1979
2021
  * Enforce valid v-text Vue directives.
1980
- See https://biomejs.dev/linter/rules/use-vue-valid-v-text
2022
+ See <https://biomejs.dev/linter/rules/use-vue-valid-v-text>
1981
2023
  */
1982
2024
  useVueValidVText?: UseVueValidVTextConfiguration;
1983
2025
  }
1984
2026
  interface Performance {
1985
2027
  /**
1986
2028
  * Disallow the use of spread (...) syntax on accumulators.
1987
- See https://biomejs.dev/linter/rules/no-accumulating-spread
2029
+ See <https://biomejs.dev/linter/rules/no-accumulating-spread>
1988
2030
  */
1989
2031
  noAccumulatingSpread?: NoAccumulatingSpreadConfiguration;
1990
2032
  /**
1991
2033
  * Disallow await inside loops.
1992
- See https://biomejs.dev/linter/rules/no-await-in-loops
2034
+ See <https://biomejs.dev/linter/rules/no-await-in-loops>
1993
2035
  */
1994
2036
  noAwaitInLoops?: NoAwaitInLoopsConfiguration;
1995
2037
  /**
1996
2038
  * Disallow the use of barrel file.
1997
- See https://biomejs.dev/linter/rules/no-barrel-file
2039
+ See <https://biomejs.dev/linter/rules/no-barrel-file>
1998
2040
  */
1999
2041
  noBarrelFile?: NoBarrelFileConfiguration;
2000
2042
  /**
2001
2043
  * Disallow the use of the delete operator.
2002
- See https://biomejs.dev/linter/rules/no-delete
2044
+ See <https://biomejs.dev/linter/rules/no-delete>
2003
2045
  */
2004
2046
  noDelete?: NoDeleteConfiguration;
2005
2047
  /**
2006
2048
  * Disallow accessing namespace imports dynamically.
2007
- See https://biomejs.dev/linter/rules/no-dynamic-namespace-import-access
2049
+ See <https://biomejs.dev/linter/rules/no-dynamic-namespace-import-access>
2008
2050
  */
2009
2051
  noDynamicNamespaceImportAccess?: NoDynamicNamespaceImportAccessConfiguration;
2010
2052
  /**
2011
2053
  * Prevent usage of \<img> element in a Next.js project.
2012
- See https://biomejs.dev/linter/rules/no-img-element
2054
+ See <https://biomejs.dev/linter/rules/no-img-element>
2013
2055
  */
2014
2056
  noImgElement?: NoImgElementConfiguration;
2015
2057
  /**
2016
2058
  * Disallow the use of namespace imports.
2017
- See https://biomejs.dev/linter/rules/no-namespace-import
2059
+ See <https://biomejs.dev/linter/rules/no-namespace-import>
2018
2060
  */
2019
2061
  noNamespaceImport?: NoNamespaceImportConfiguration;
2020
2062
  /**
2021
2063
  * Avoid re-export all.
2022
- See https://biomejs.dev/linter/rules/no-re-export-all
2064
+ See <https://biomejs.dev/linter/rules/no-re-export-all>
2023
2065
  */
2024
2066
  noReExportAll?: NoReExportAllConfiguration;
2025
2067
  /**
2026
2068
  * Prevent duplicate polyfills from Polyfill.io.
2027
- See https://biomejs.dev/linter/rules/no-unwanted-polyfillio
2069
+ See <https://biomejs.dev/linter/rules/no-unwanted-polyfillio>
2028
2070
  */
2029
2071
  noUnwantedPolyfillio?: NoUnwantedPolyfillioConfiguration;
2030
2072
  /**
@@ -2033,44 +2075,44 @@ See https://biomejs.dev/linter/rules/no-unwanted-polyfillio
2033
2075
  recommended?: boolean;
2034
2076
  /**
2035
2077
  * Ensure the preconnect attribute is used when using Google Fonts.
2036
- See https://biomejs.dev/linter/rules/use-google-font-preconnect
2078
+ See <https://biomejs.dev/linter/rules/use-google-font-preconnect>
2037
2079
  */
2038
2080
  useGoogleFontPreconnect?: UseGoogleFontPreconnectConfiguration;
2039
2081
  /**
2040
2082
  * Enforce using Solid's \<For /> component for mapping an array to JSX elements.
2041
- See https://biomejs.dev/linter/rules/use-solid-for-component
2083
+ See <https://biomejs.dev/linter/rules/use-solid-for-component>
2042
2084
  */
2043
2085
  useSolidForComponent?: UseSolidForComponentConfiguration;
2044
2086
  /**
2045
2087
  * Require regex literals to be declared at the top level.
2046
- See https://biomejs.dev/linter/rules/use-top-level-regex
2088
+ See <https://biomejs.dev/linter/rules/use-top-level-regex>
2047
2089
  */
2048
2090
  useTopLevelRegex?: UseTopLevelRegexConfiguration;
2049
2091
  }
2050
2092
  interface Security {
2051
2093
  /**
2052
2094
  * Disallow target="_blank" attribute without rel="noopener".
2053
- See https://biomejs.dev/linter/rules/no-blank-target
2095
+ See <https://biomejs.dev/linter/rules/no-blank-target>
2054
2096
  */
2055
2097
  noBlankTarget?: NoBlankTargetConfiguration;
2056
2098
  /**
2057
2099
  * Prevent the usage of dangerous JSX props.
2058
- See https://biomejs.dev/linter/rules/no-dangerously-set-inner-html
2100
+ See <https://biomejs.dev/linter/rules/no-dangerously-set-inner-html>
2059
2101
  */
2060
2102
  noDangerouslySetInnerHtml?: NoDangerouslySetInnerHtmlConfiguration;
2061
2103
  /**
2062
2104
  * Report when a DOM element or a component uses both children and dangerouslySetInnerHTML prop.
2063
- See https://biomejs.dev/linter/rules/no-dangerously-set-inner-html-with-children
2105
+ See <https://biomejs.dev/linter/rules/no-dangerously-set-inner-html-with-children>
2064
2106
  */
2065
2107
  noDangerouslySetInnerHtmlWithChildren?: NoDangerouslySetInnerHtmlWithChildrenConfiguration;
2066
2108
  /**
2067
2109
  * Disallow the use of global eval().
2068
- See https://biomejs.dev/linter/rules/no-global-eval
2110
+ See <https://biomejs.dev/linter/rules/no-global-eval>
2069
2111
  */
2070
2112
  noGlobalEval?: NoGlobalEvalConfiguration;
2071
2113
  /**
2072
2114
  * Disallow usage of sensitive data such as API keys and tokens.
2073
- See https://biomejs.dev/linter/rules/no-secrets
2115
+ See <https://biomejs.dev/linter/rules/no-secrets>
2074
2116
  */
2075
2117
  noSecrets?: NoSecretsConfiguration;
2076
2118
  /**
@@ -2081,132 +2123,132 @@ See https://biomejs.dev/linter/rules/no-secrets
2081
2123
  interface Style {
2082
2124
  /**
2083
2125
  * Disallow use of CommonJs module system in favor of ESM style imports.
2084
- See https://biomejs.dev/linter/rules/no-common-js
2126
+ See <https://biomejs.dev/linter/rules/no-common-js>
2085
2127
  */
2086
2128
  noCommonJs?: NoCommonJsConfiguration;
2087
2129
  /**
2088
2130
  * Disallow default exports.
2089
- See https://biomejs.dev/linter/rules/no-default-export
2131
+ See <https://biomejs.dev/linter/rules/no-default-export>
2090
2132
  */
2091
2133
  noDefaultExport?: NoDefaultExportConfiguration;
2092
2134
  /**
2093
2135
  * Disallow a lower specificity selector from coming after a higher specificity selector.
2094
- See https://biomejs.dev/linter/rules/no-descending-specificity
2136
+ See <https://biomejs.dev/linter/rules/no-descending-specificity>
2095
2137
  */
2096
2138
  noDescendingSpecificity?: NoDescendingSpecificityConfiguration;
2097
2139
  /**
2098
2140
  * Disallow using a callback in asynchronous tests and hooks.
2099
- See https://biomejs.dev/linter/rules/no-done-callback
2141
+ See <https://biomejs.dev/linter/rules/no-done-callback>
2100
2142
  */
2101
2143
  noDoneCallback?: NoDoneCallbackConfiguration;
2102
2144
  /**
2103
2145
  * Disallow TypeScript enum.
2104
- See https://biomejs.dev/linter/rules/no-enum
2146
+ See <https://biomejs.dev/linter/rules/no-enum>
2105
2147
  */
2106
2148
  noEnum?: NoEnumConfiguration;
2107
2149
  /**
2108
2150
  * Disallow exporting an imported variable.
2109
- See https://biomejs.dev/linter/rules/no-exported-imports
2151
+ See <https://biomejs.dev/linter/rules/no-exported-imports>
2110
2152
  */
2111
2153
  noExportedImports?: NoExportedImportsConfiguration;
2112
2154
  /**
2113
2155
  * Prevent usage of \<head> element in a Next.js project.
2114
- See https://biomejs.dev/linter/rules/no-head-element
2156
+ See <https://biomejs.dev/linter/rules/no-head-element>
2115
2157
  */
2116
2158
  noHeadElement?: NoHeadElementConfiguration;
2117
2159
  /**
2118
2160
  * Disallow implicit true values on JSX boolean attributes.
2119
- See https://biomejs.dev/linter/rules/no-implicit-boolean
2161
+ See <https://biomejs.dev/linter/rules/no-implicit-boolean>
2120
2162
  */
2121
2163
  noImplicitBoolean?: NoImplicitBooleanConfiguration;
2122
2164
  /**
2123
2165
  * Disallow type annotations for variables, parameters, and class properties initialized with a literal expression.
2124
- See https://biomejs.dev/linter/rules/no-inferrable-types
2166
+ See <https://biomejs.dev/linter/rules/no-inferrable-types>
2125
2167
  */
2126
2168
  noInferrableTypes?: NoInferrableTypesConfiguration;
2127
2169
  /**
2128
2170
  * Reports usage of "magic numbers" — numbers used directly instead of being assigned to named constants.
2129
- See https://biomejs.dev/linter/rules/no-magic-numbers
2171
+ See <https://biomejs.dev/linter/rules/no-magic-numbers>
2130
2172
  */
2131
2173
  noMagicNumbers?: NoMagicNumbersConfiguration;
2132
2174
  /**
2133
2175
  * Disallow the use of TypeScript's namespaces.
2134
- See https://biomejs.dev/linter/rules/no-namespace
2176
+ See <https://biomejs.dev/linter/rules/no-namespace>
2135
2177
  */
2136
2178
  noNamespace?: NoNamespaceConfiguration;
2137
2179
  /**
2138
2180
  * Disallow negation in the condition of an if statement if it has an else clause.
2139
- See https://biomejs.dev/linter/rules/no-negation-else
2181
+ See <https://biomejs.dev/linter/rules/no-negation-else>
2140
2182
  */
2141
2183
  noNegationElse?: NoNegationElseConfiguration;
2142
2184
  /**
2143
2185
  * Disallow nested ternary expressions.
2144
- See https://biomejs.dev/linter/rules/no-nested-ternary
2186
+ See <https://biomejs.dev/linter/rules/no-nested-ternary>
2145
2187
  */
2146
2188
  noNestedTernary?: NoNestedTernaryConfiguration;
2147
2189
  /**
2148
2190
  * Disallow non-null assertions using the ! postfix operator.
2149
- See https://biomejs.dev/linter/rules/no-non-null-assertion
2191
+ See <https://biomejs.dev/linter/rules/no-non-null-assertion>
2150
2192
  */
2151
2193
  noNonNullAssertion?: NoNonNullAssertionConfiguration;
2152
2194
  /**
2153
2195
  * Disallow reassigning function parameters.
2154
- See https://biomejs.dev/linter/rules/no-parameter-assign
2196
+ See <https://biomejs.dev/linter/rules/no-parameter-assign>
2155
2197
  */
2156
2198
  noParameterAssign?: NoParameterAssignConfiguration;
2157
2199
  /**
2158
2200
  * Disallow the use of parameter properties in class constructors.
2159
- See https://biomejs.dev/linter/rules/no-parameter-properties
2201
+ See <https://biomejs.dev/linter/rules/no-parameter-properties>
2160
2202
  */
2161
2203
  noParameterProperties?: NoParameterPropertiesConfiguration;
2162
2204
  /**
2163
2205
  * Disallow the use of process.env.
2164
- See https://biomejs.dev/linter/rules/no-process-env
2206
+ See <https://biomejs.dev/linter/rules/no-process-env>
2165
2207
  */
2166
2208
  noProcessEnv?: NoProcessEnvConfiguration;
2167
2209
  /**
2168
2210
  * This rule allows you to specify global variable names that you don’t want to use in your application.
2169
- See https://biomejs.dev/linter/rules/no-restricted-globals
2211
+ See <https://biomejs.dev/linter/rules/no-restricted-globals>
2170
2212
  */
2171
2213
  noRestrictedGlobals?: NoRestrictedGlobalsConfiguration;
2172
2214
  /**
2173
2215
  * Disallow specified modules when loaded by import or require.
2174
- See https://biomejs.dev/linter/rules/no-restricted-imports
2216
+ See <https://biomejs.dev/linter/rules/no-restricted-imports>
2175
2217
  */
2176
2218
  noRestrictedImports?: NoRestrictedImportsConfiguration;
2177
2219
  /**
2178
2220
  * Disallow user defined types.
2179
- See https://biomejs.dev/linter/rules/no-restricted-types
2221
+ See <https://biomejs.dev/linter/rules/no-restricted-types>
2180
2222
  */
2181
2223
  noRestrictedTypes?: NoRestrictedTypesConfiguration;
2182
2224
  /**
2183
2225
  * Disallow the use of constants which its value is the upper-case version of its name.
2184
- See https://biomejs.dev/linter/rules/no-shouty-constants
2226
+ See <https://biomejs.dev/linter/rules/no-shouty-constants>
2185
2227
  */
2186
2228
  noShoutyConstants?: NoShoutyConstantsConfiguration;
2187
2229
  /**
2188
2230
  * Enforce the use of String.slice() over String.substr() and String.substring().
2189
- See https://biomejs.dev/linter/rules/no-substr
2231
+ See <https://biomejs.dev/linter/rules/no-substr>
2190
2232
  */
2191
2233
  noSubstr?: NoSubstrConfiguration;
2192
2234
  /**
2193
2235
  * Disallow template literals if interpolation and special-character handling are not needed.
2194
- See https://biomejs.dev/linter/rules/no-unused-template-literal
2236
+ See <https://biomejs.dev/linter/rules/no-unused-template-literal>
2195
2237
  */
2196
2238
  noUnusedTemplateLiteral?: NoUnusedTemplateLiteralConfiguration;
2197
2239
  /**
2198
2240
  * Disallow else block when the if block breaks early.
2199
- See https://biomejs.dev/linter/rules/no-useless-else
2241
+ See <https://biomejs.dev/linter/rules/no-useless-else>
2200
2242
  */
2201
2243
  noUselessElse?: NoUselessElseConfiguration;
2202
2244
  /**
2203
2245
  * Disallow use of @value rule in css modules.
2204
- See https://biomejs.dev/linter/rules/no-value-at-rule
2246
+ See <https://biomejs.dev/linter/rules/no-value-at-rule>
2205
2247
  */
2206
2248
  noValueAtRule?: NoValueAtRuleConfiguration;
2207
2249
  /**
2208
2250
  * Disallow the use of yoda expressions.
2209
- See https://biomejs.dev/linter/rules/no-yoda-expression
2251
+ See <https://biomejs.dev/linter/rules/no-yoda-expression>
2210
2252
  */
2211
2253
  noYodaExpression?: NoYodaExpressionConfiguration;
2212
2254
  /**
@@ -2215,644 +2257,644 @@ See https://biomejs.dev/linter/rules/no-yoda-expression
2215
2257
  recommended?: boolean;
2216
2258
  /**
2217
2259
  * Disallow Array constructors.
2218
- See https://biomejs.dev/linter/rules/use-array-literals
2260
+ See <https://biomejs.dev/linter/rules/use-array-literals>
2219
2261
  */
2220
2262
  useArrayLiterals?: UseArrayLiteralsConfiguration;
2221
2263
  /**
2222
2264
  * Enforce the use of as const over literal type and type annotation.
2223
- See https://biomejs.dev/linter/rules/use-as-const-assertion
2265
+ See <https://biomejs.dev/linter/rules/use-as-const-assertion>
2224
2266
  */
2225
2267
  useAsConstAssertion?: UseAsConstAssertionConfiguration;
2226
2268
  /**
2227
2269
  * Use at() instead of integer index access.
2228
- See https://biomejs.dev/linter/rules/use-at-index
2270
+ See <https://biomejs.dev/linter/rules/use-at-index>
2229
2271
  */
2230
2272
  useAtIndex?: UseAtIndexConfiguration;
2231
2273
  /**
2232
2274
  * Requires following curly brace conventions.
2233
- See https://biomejs.dev/linter/rules/use-block-statements
2275
+ See <https://biomejs.dev/linter/rules/use-block-statements>
2234
2276
  */
2235
2277
  useBlockStatements?: UseBlockStatementsConfiguration;
2236
2278
  /**
2237
2279
  * Enforce using else if instead of nested if in else clauses.
2238
- See https://biomejs.dev/linter/rules/use-collapsed-else-if
2280
+ See <https://biomejs.dev/linter/rules/use-collapsed-else-if>
2239
2281
  */
2240
2282
  useCollapsedElseIf?: UseCollapsedElseIfConfiguration;
2241
2283
  /**
2242
2284
  * Enforce using single if instead of nested if clauses.
2243
- See https://biomejs.dev/linter/rules/use-collapsed-if
2285
+ See <https://biomejs.dev/linter/rules/use-collapsed-if>
2244
2286
  */
2245
2287
  useCollapsedIf?: UseCollapsedIfConfiguration;
2246
2288
  /**
2247
2289
  * Enforce declaring components only within modules that export React Components exclusively.
2248
- See https://biomejs.dev/linter/rules/use-component-export-only-modules
2290
+ See <https://biomejs.dev/linter/rules/use-component-export-only-modules>
2249
2291
  */
2250
2292
  useComponentExportOnlyModules?: UseComponentExportOnlyModulesConfiguration;
2251
2293
  /**
2252
2294
  * Require consistently using either T\[] or Array\<T>.
2253
- See https://biomejs.dev/linter/rules/use-consistent-array-type
2295
+ See <https://biomejs.dev/linter/rules/use-consistent-array-type>
2254
2296
  */
2255
2297
  useConsistentArrayType?: UseConsistentArrayTypeConfiguration;
2256
2298
  /**
2257
2299
  * Enforce the use of new for all builtins, except String, Number and Boolean.
2258
- See https://biomejs.dev/linter/rules/use-consistent-builtin-instantiation
2300
+ See <https://biomejs.dev/linter/rules/use-consistent-builtin-instantiation>
2259
2301
  */
2260
2302
  useConsistentBuiltinInstantiation?: UseConsistentBuiltinInstantiationConfiguration;
2261
2303
  /**
2262
2304
  * This rule enforces consistent use of curly braces inside JSX attributes and JSX children.
2263
- See https://biomejs.dev/linter/rules/use-consistent-curly-braces
2305
+ See <https://biomejs.dev/linter/rules/use-consistent-curly-braces>
2264
2306
  */
2265
2307
  useConsistentCurlyBraces?: UseConsistentCurlyBracesConfiguration;
2266
2308
  /**
2267
2309
  * Require consistent accessibility modifiers on class properties and methods.
2268
- See https://biomejs.dev/linter/rules/use-consistent-member-accessibility
2310
+ See <https://biomejs.dev/linter/rules/use-consistent-member-accessibility>
2269
2311
  */
2270
2312
  useConsistentMemberAccessibility?: UseConsistentMemberAccessibilityConfiguration;
2271
2313
  /**
2272
2314
  * Require the consistent declaration of object literals. Defaults to explicit definitions.
2273
- See https://biomejs.dev/linter/rules/use-consistent-object-definitions
2315
+ See <https://biomejs.dev/linter/rules/use-consistent-object-definitions>
2274
2316
  */
2275
2317
  useConsistentObjectDefinitions?: UseConsistentObjectDefinitionsConfiguration;
2276
2318
  /**
2277
2319
  * Enforce type definitions to consistently use either interface or type.
2278
- See https://biomejs.dev/linter/rules/use-consistent-type-definitions
2320
+ See <https://biomejs.dev/linter/rules/use-consistent-type-definitions>
2279
2321
  */
2280
2322
  useConsistentTypeDefinitions?: UseConsistentTypeDefinitionsConfiguration;
2281
2323
  /**
2282
2324
  * Require const declarations for variables that are only assigned once.
2283
- See https://biomejs.dev/linter/rules/use-const
2325
+ See <https://biomejs.dev/linter/rules/use-const>
2284
2326
  */
2285
2327
  useConst?: UseConstConfiguration;
2286
2328
  /**
2287
2329
  * Enforce default function parameters and optional function parameters to be last.
2288
- See https://biomejs.dev/linter/rules/use-default-parameter-last
2330
+ See <https://biomejs.dev/linter/rules/use-default-parameter-last>
2289
2331
  */
2290
2332
  useDefaultParameterLast?: UseDefaultParameterLastConfiguration;
2291
2333
  /**
2292
2334
  * Require the default clause in switch statements.
2293
- See https://biomejs.dev/linter/rules/use-default-switch-clause
2335
+ See <https://biomejs.dev/linter/rules/use-default-switch-clause>
2294
2336
  */
2295
2337
  useDefaultSwitchClause?: UseDefaultSwitchClauseConfiguration;
2296
2338
  /**
2297
2339
  * Require specifying the reason argument when using @deprecated directive.
2298
- See https://biomejs.dev/linter/rules/use-deprecated-reason
2340
+ See <https://biomejs.dev/linter/rules/use-deprecated-reason>
2299
2341
  */
2300
2342
  useDeprecatedReason?: UseDeprecatedReasonConfiguration;
2301
2343
  /**
2302
2344
  * Require that each enum member value be explicitly initialized.
2303
- See https://biomejs.dev/linter/rules/use-enum-initializers
2345
+ See <https://biomejs.dev/linter/rules/use-enum-initializers>
2304
2346
  */
2305
2347
  useEnumInitializers?: UseEnumInitializersConfiguration;
2306
2348
  /**
2307
2349
  * Enforce explicitly comparing the length, size, byteLength or byteOffset property of a value.
2308
- See https://biomejs.dev/linter/rules/use-explicit-length-check
2350
+ See <https://biomejs.dev/linter/rules/use-explicit-length-check>
2309
2351
  */
2310
2352
  useExplicitLengthCheck?: UseExplicitLengthCheckConfiguration;
2311
2353
  /**
2312
2354
  * Disallow the use of Math.pow in favor of the ** operator.
2313
- See https://biomejs.dev/linter/rules/use-exponentiation-operator
2355
+ See <https://biomejs.dev/linter/rules/use-exponentiation-operator>
2314
2356
  */
2315
2357
  useExponentiationOperator?: UseExponentiationOperatorConfiguration;
2316
2358
  /**
2317
2359
  * Promotes the use of export type for types.
2318
- See https://biomejs.dev/linter/rules/use-export-type
2360
+ See <https://biomejs.dev/linter/rules/use-export-type>
2319
2361
  */
2320
2362
  useExportType?: UseExportTypeConfiguration;
2321
2363
  /**
2322
2364
  * Require that all exports are declared after all non-export statements.
2323
- See https://biomejs.dev/linter/rules/use-exports-last
2365
+ See <https://biomejs.dev/linter/rules/use-exports-last>
2324
2366
  */
2325
2367
  useExportsLast?: UseExportsLastConfiguration;
2326
2368
  /**
2327
2369
  * Enforce naming conventions for JavaScript and TypeScript filenames.
2328
- See https://biomejs.dev/linter/rules/use-filenaming-convention
2370
+ See <https://biomejs.dev/linter/rules/use-filenaming-convention>
2329
2371
  */
2330
2372
  useFilenamingConvention?: UseFilenamingConventionConfiguration;
2331
2373
  /**
2332
2374
  * Prefer using for...of loops over standard for loops where possible.
2333
- See https://biomejs.dev/linter/rules/use-for-of
2375
+ See <https://biomejs.dev/linter/rules/use-for-of>
2334
2376
  */
2335
2377
  useForOf?: UseForOfConfiguration;
2336
2378
  /**
2337
2379
  * This rule enforces the use of \<>...\</> over \<Fragment>...\</Fragment>.
2338
- See https://biomejs.dev/linter/rules/use-fragment-syntax
2380
+ See <https://biomejs.dev/linter/rules/use-fragment-syntax>
2339
2381
  */
2340
2382
  useFragmentSyntax?: UseFragmentSyntaxConfiguration;
2341
2383
  /**
2342
2384
  * Validates that all enum values are capitalized.
2343
- See https://biomejs.dev/linter/rules/use-graphql-naming-convention
2385
+ See <https://biomejs.dev/linter/rules/use-graphql-naming-convention>
2344
2386
  */
2345
2387
  useGraphqlNamingConvention?: UseGraphqlNamingConventionConfiguration;
2346
2388
  /**
2347
2389
  * Enforce that getters and setters for the same property are adjacent in class and object definitions.
2348
- See https://biomejs.dev/linter/rules/use-grouped-accessor-pairs
2390
+ See <https://biomejs.dev/linter/rules/use-grouped-accessor-pairs>
2349
2391
  */
2350
2392
  useGroupedAccessorPairs?: UseGroupedAccessorPairsConfiguration;
2351
2393
  /**
2352
2394
  * Promotes the use of import type for types.
2353
- See https://biomejs.dev/linter/rules/use-import-type
2395
+ See <https://biomejs.dev/linter/rules/use-import-type>
2354
2396
  */
2355
2397
  useImportType?: UseImportTypeConfiguration;
2356
2398
  /**
2357
2399
  * Require all enum members to be literal values.
2358
- See https://biomejs.dev/linter/rules/use-literal-enum-members
2400
+ See <https://biomejs.dev/linter/rules/use-literal-enum-members>
2359
2401
  */
2360
2402
  useLiteralEnumMembers?: UseLiteralEnumMembersConfiguration;
2361
2403
  /**
2362
2404
  * Enforce naming conventions for everything across a codebase.
2363
- See https://biomejs.dev/linter/rules/use-naming-convention
2405
+ See <https://biomejs.dev/linter/rules/use-naming-convention>
2364
2406
  */
2365
2407
  useNamingConvention?: UseNamingConventionConfiguration;
2366
2408
  /**
2367
2409
  * Promotes the usage of node:assert/strict over node:assert.
2368
- See https://biomejs.dev/linter/rules/use-node-assert-strict
2410
+ See <https://biomejs.dev/linter/rules/use-node-assert-strict>
2369
2411
  */
2370
2412
  useNodeAssertStrict?: UseNodeAssertStrictConfiguration;
2371
2413
  /**
2372
2414
  * Enforces using the node: protocol for Node.js builtin modules.
2373
- See https://biomejs.dev/linter/rules/use-nodejs-import-protocol
2415
+ See <https://biomejs.dev/linter/rules/use-nodejs-import-protocol>
2374
2416
  */
2375
2417
  useNodejsImportProtocol?: UseNodejsImportProtocolConfiguration;
2376
2418
  /**
2377
2419
  * Use the Number properties instead of global ones.
2378
- See https://biomejs.dev/linter/rules/use-number-namespace
2420
+ See <https://biomejs.dev/linter/rules/use-number-namespace>
2379
2421
  */
2380
2422
  useNumberNamespace?: UseNumberNamespaceConfiguration;
2381
2423
  /**
2382
2424
  * Enforce the use of numeric separators in numeric literals.
2383
- See https://biomejs.dev/linter/rules/use-numeric-separators
2425
+ See <https://biomejs.dev/linter/rules/use-numeric-separators>
2384
2426
  */
2385
2427
  useNumericSeparators?: UseNumericSeparatorsConfiguration;
2386
2428
  /**
2387
2429
  * Prefer object spread over Object.assign() when constructing new objects.
2388
- See https://biomejs.dev/linter/rules/use-object-spread
2430
+ See <https://biomejs.dev/linter/rules/use-object-spread>
2389
2431
  */
2390
2432
  useObjectSpread?: UseObjectSpreadConfiguration;
2391
2433
  /**
2392
2434
  * Enforce that components are defined as functions and never as classes.
2393
- See https://biomejs.dev/linter/rules/use-react-function-components
2435
+ See <https://biomejs.dev/linter/rules/use-react-function-components>
2394
2436
  */
2395
2437
  useReactFunctionComponents?: UseReactFunctionComponentsConfiguration;
2396
2438
  /**
2397
2439
  * Enforce marking members as readonly if they are never modified outside the constructor.
2398
- See https://biomejs.dev/linter/rules/use-readonly-class-properties
2440
+ See <https://biomejs.dev/linter/rules/use-readonly-class-properties>
2399
2441
  */
2400
2442
  useReadonlyClassProperties?: UseReadonlyClassPropertiesConfiguration;
2401
2443
  /**
2402
2444
  * Prevent extra closing tags for components without children.
2403
- See https://biomejs.dev/linter/rules/use-self-closing-elements
2445
+ See <https://biomejs.dev/linter/rules/use-self-closing-elements>
2404
2446
  */
2405
2447
  useSelfClosingElements?: UseSelfClosingElementsConfiguration;
2406
2448
  /**
2407
2449
  * Require assignment operator shorthand where possible.
2408
- See https://biomejs.dev/linter/rules/use-shorthand-assign
2450
+ See <https://biomejs.dev/linter/rules/use-shorthand-assign>
2409
2451
  */
2410
2452
  useShorthandAssign?: UseShorthandAssignConfiguration;
2411
2453
  /**
2412
2454
  * Enforce using function types instead of object type with call signatures.
2413
- See https://biomejs.dev/linter/rules/use-shorthand-function-type
2455
+ See <https://biomejs.dev/linter/rules/use-shorthand-function-type>
2414
2456
  */
2415
2457
  useShorthandFunctionType?: UseShorthandFunctionTypeConfiguration;
2416
2458
  /**
2417
2459
  * Disallow multiple variable declarations in the same variable statement.
2418
- See https://biomejs.dev/linter/rules/use-single-var-declarator
2460
+ See <https://biomejs.dev/linter/rules/use-single-var-declarator>
2419
2461
  */
2420
2462
  useSingleVarDeclarator?: UseSingleVarDeclaratorConfiguration;
2421
2463
  /**
2422
2464
  * Require a description parameter for the Symbol().
2423
- See https://biomejs.dev/linter/rules/use-symbol-description
2465
+ See <https://biomejs.dev/linter/rules/use-symbol-description>
2424
2466
  */
2425
2467
  useSymbolDescription?: UseSymbolDescriptionConfiguration;
2426
2468
  /**
2427
2469
  * Prefer template literals over string concatenation.
2428
- See https://biomejs.dev/linter/rules/use-template
2470
+ See <https://biomejs.dev/linter/rules/use-template>
2429
2471
  */
2430
2472
  useTemplate?: UseTemplateConfiguration;
2431
2473
  /**
2432
2474
  * Require new when throwing an error.
2433
- See https://biomejs.dev/linter/rules/use-throw-new-error
2475
+ See <https://biomejs.dev/linter/rules/use-throw-new-error>
2434
2476
  */
2435
2477
  useThrowNewError?: UseThrowNewErrorConfiguration;
2436
2478
  /**
2437
2479
  * Disallow throwing non-Error values.
2438
- See https://biomejs.dev/linter/rules/use-throw-only-error
2480
+ See <https://biomejs.dev/linter/rules/use-throw-only-error>
2439
2481
  */
2440
2482
  useThrowOnlyError?: UseThrowOnlyErrorConfiguration;
2441
2483
  /**
2442
2484
  * Enforce the use of String.trimStart() and String.trimEnd() over String.trimLeft() and String.trimRight().
2443
- See https://biomejs.dev/linter/rules/use-trim-start-end
2485
+ See <https://biomejs.dev/linter/rules/use-trim-start-end>
2444
2486
  */
2445
2487
  useTrimStartEnd?: UseTrimStartEndConfiguration;
2446
2488
  /**
2447
2489
  * Disallow overload signatures that can be unified into a single signature.
2448
- See https://biomejs.dev/linter/rules/use-unified-type-signatures
2490
+ See <https://biomejs.dev/linter/rules/use-unified-type-signatures>
2449
2491
  */
2450
2492
  useUnifiedTypeSignatures?: UseUnifiedTypeSignaturesConfiguration;
2451
2493
  }
2452
2494
  interface Suspicious {
2453
2495
  /**
2454
2496
  * Disallow the use of alert, confirm, and prompt.
2455
- See https://biomejs.dev/linter/rules/no-alert
2497
+ See <https://biomejs.dev/linter/rules/no-alert>
2456
2498
  */
2457
2499
  noAlert?: NoAlertConfiguration;
2458
2500
  /**
2459
2501
  * Use standard constants instead of approximated literals.
2460
- See https://biomejs.dev/linter/rules/no-approximative-numeric-constant
2502
+ See <https://biomejs.dev/linter/rules/no-approximative-numeric-constant>
2461
2503
  */
2462
2504
  noApproximativeNumericConstant?: NoApproximativeNumericConstantConfiguration;
2463
2505
  /**
2464
2506
  * Discourage the usage of Array index in keys.
2465
- See https://biomejs.dev/linter/rules/no-array-index-key
2507
+ See <https://biomejs.dev/linter/rules/no-array-index-key>
2466
2508
  */
2467
2509
  noArrayIndexKey?: NoArrayIndexKeyConfiguration;
2468
2510
  /**
2469
2511
  * Disallow assignments in expressions.
2470
- See https://biomejs.dev/linter/rules/no-assign-in-expressions
2512
+ See <https://biomejs.dev/linter/rules/no-assign-in-expressions>
2471
2513
  */
2472
2514
  noAssignInExpressions?: NoAssignInExpressionsConfiguration;
2473
2515
  /**
2474
2516
  * Disallows using an async function as a Promise executor.
2475
- See https://biomejs.dev/linter/rules/no-async-promise-executor
2517
+ See <https://biomejs.dev/linter/rules/no-async-promise-executor>
2476
2518
  */
2477
2519
  noAsyncPromiseExecutor?: NoAsyncPromiseExecutorConfiguration;
2478
2520
  /**
2479
- * Prevents the use of the ! pattern in the first position of files.includes in the configuration file.
2480
- See https://biomejs.dev/linter/rules/no-biome-first-exception
2521
+ * Prevents the misuse of glob patterns inside the files.includes field.
2522
+ See <https://biomejs.dev/linter/rules/no-biome-first-exception>
2481
2523
  */
2482
2524
  noBiomeFirstException?: NoBiomeFirstExceptionConfiguration;
2483
2525
  /**
2484
2526
  * Disallow bitwise operators.
2485
- See https://biomejs.dev/linter/rules/no-bitwise-operators
2527
+ See <https://biomejs.dev/linter/rules/no-bitwise-operators>
2486
2528
  */
2487
2529
  noBitwiseOperators?: NoBitwiseOperatorsConfiguration;
2488
2530
  /**
2489
2531
  * Disallow reassigning exceptions in catch clauses.
2490
- See https://biomejs.dev/linter/rules/no-catch-assign
2532
+ See <https://biomejs.dev/linter/rules/no-catch-assign>
2491
2533
  */
2492
2534
  noCatchAssign?: NoCatchAssignConfiguration;
2493
2535
  /**
2494
2536
  * Disallow reassigning class members.
2495
- See https://biomejs.dev/linter/rules/no-class-assign
2537
+ See <https://biomejs.dev/linter/rules/no-class-assign>
2496
2538
  */
2497
2539
  noClassAssign?: NoClassAssignConfiguration;
2498
2540
  /**
2499
2541
  * Prevent comments from being inserted as text nodes.
2500
- See https://biomejs.dev/linter/rules/no-comment-text
2542
+ See <https://biomejs.dev/linter/rules/no-comment-text>
2501
2543
  */
2502
2544
  noCommentText?: NoCommentTextConfiguration;
2503
2545
  /**
2504
2546
  * Disallow comparing against -0.
2505
- See https://biomejs.dev/linter/rules/no-compare-neg-zero
2547
+ See <https://biomejs.dev/linter/rules/no-compare-neg-zero>
2506
2548
  */
2507
2549
  noCompareNegZero?: NoCompareNegZeroConfiguration;
2508
2550
  /**
2509
2551
  * Disallow labeled statements that are not loops.
2510
- See https://biomejs.dev/linter/rules/no-confusing-labels
2552
+ See <https://biomejs.dev/linter/rules/no-confusing-labels>
2511
2553
  */
2512
2554
  noConfusingLabels?: NoConfusingLabelsConfiguration;
2513
2555
  /**
2514
2556
  * Disallow void type outside of generic or return types.
2515
- See https://biomejs.dev/linter/rules/no-confusing-void-type
2557
+ See <https://biomejs.dev/linter/rules/no-confusing-void-type>
2516
2558
  */
2517
2559
  noConfusingVoidType?: NoConfusingVoidTypeConfiguration;
2518
2560
  /**
2519
2561
  * Disallow the use of console.
2520
- See https://biomejs.dev/linter/rules/no-console
2562
+ See <https://biomejs.dev/linter/rules/no-console>
2521
2563
  */
2522
2564
  noConsole?: NoConsoleConfiguration;
2523
2565
  /**
2524
2566
  * Disallow TypeScript const enum.
2525
- See https://biomejs.dev/linter/rules/no-const-enum
2567
+ See <https://biomejs.dev/linter/rules/no-const-enum>
2526
2568
  */
2527
2569
  noConstEnum?: NoConstEnumConfiguration;
2528
2570
  /**
2529
2571
  * Disallow expressions where the operation doesn't affect the value.
2530
- See https://biomejs.dev/linter/rules/no-constant-binary-expressions
2572
+ See <https://biomejs.dev/linter/rules/no-constant-binary-expressions>
2531
2573
  */
2532
2574
  noConstantBinaryExpressions?: NoConstantBinaryExpressionsConfiguration;
2533
2575
  /**
2534
2576
  * Prevents from having control characters and some escape sequences that match control characters in regular expression literals.
2535
- See https://biomejs.dev/linter/rules/no-control-characters-in-regex
2577
+ See <https://biomejs.dev/linter/rules/no-control-characters-in-regex>
2536
2578
  */
2537
2579
  noControlCharactersInRegex?: NoControlCharactersInRegexConfiguration;
2538
2580
  /**
2539
2581
  * Disallow the use of debugger.
2540
- See https://biomejs.dev/linter/rules/no-debugger
2582
+ See <https://biomejs.dev/linter/rules/no-debugger>
2541
2583
  */
2542
2584
  noDebugger?: NoDebuggerConfiguration;
2543
2585
  /**
2544
2586
  * Disallow direct assignments to document.cookie.
2545
- See https://biomejs.dev/linter/rules/no-document-cookie
2587
+ See <https://biomejs.dev/linter/rules/no-document-cookie>
2546
2588
  */
2547
2589
  noDocumentCookie?: NoDocumentCookieConfiguration;
2548
2590
  /**
2549
2591
  * Prevents importing next/document outside of pages/_document.jsx in Next.js projects.
2550
- See https://biomejs.dev/linter/rules/no-document-import-in-page
2592
+ See <https://biomejs.dev/linter/rules/no-document-import-in-page>
2551
2593
  */
2552
2594
  noDocumentImportInPage?: NoDocumentImportInPageConfiguration;
2553
2595
  /**
2554
2596
  * Require the use of === and !==.
2555
- See https://biomejs.dev/linter/rules/no-double-equals
2597
+ See <https://biomejs.dev/linter/rules/no-double-equals>
2556
2598
  */
2557
2599
  noDoubleEquals?: NoDoubleEqualsConfiguration;
2558
2600
  /**
2559
2601
  * Disallow duplicate @import rules.
2560
- See https://biomejs.dev/linter/rules/no-duplicate-at-import-rules
2602
+ See <https://biomejs.dev/linter/rules/no-duplicate-at-import-rules>
2561
2603
  */
2562
2604
  noDuplicateAtImportRules?: NoDuplicateAtImportRulesConfiguration;
2563
2605
  /**
2564
2606
  * Disallow duplicate case labels.
2565
- See https://biomejs.dev/linter/rules/no-duplicate-case
2607
+ See <https://biomejs.dev/linter/rules/no-duplicate-case>
2566
2608
  */
2567
2609
  noDuplicateCase?: NoDuplicateCaseConfiguration;
2568
2610
  /**
2569
2611
  * Disallow duplicate class members.
2570
- See https://biomejs.dev/linter/rules/no-duplicate-class-members
2612
+ See <https://biomejs.dev/linter/rules/no-duplicate-class-members>
2571
2613
  */
2572
2614
  noDuplicateClassMembers?: NoDuplicateClassMembersConfiguration;
2573
2615
  /**
2574
2616
  * Disallow duplicate custom properties within declaration blocks.
2575
- See https://biomejs.dev/linter/rules/no-duplicate-custom-properties
2617
+ See <https://biomejs.dev/linter/rules/no-duplicate-custom-properties>
2576
2618
  */
2577
2619
  noDuplicateCustomProperties?: NoDuplicateCustomPropertiesConfiguration;
2578
2620
  /**
2579
2621
  * Disallow duplicate conditions in if-else-if chains.
2580
- See https://biomejs.dev/linter/rules/no-duplicate-else-if
2622
+ See <https://biomejs.dev/linter/rules/no-duplicate-else-if>
2581
2623
  */
2582
2624
  noDuplicateElseIf?: NoDuplicateElseIfConfiguration;
2583
2625
  /**
2584
2626
  * No duplicated fields in GraphQL operations.
2585
- See https://biomejs.dev/linter/rules/no-duplicate-fields
2627
+ See <https://biomejs.dev/linter/rules/no-duplicate-fields>
2586
2628
  */
2587
2629
  noDuplicateFields?: NoDuplicateFieldsConfiguration;
2588
2630
  /**
2589
2631
  * Disallow duplicate names within font families.
2590
- See https://biomejs.dev/linter/rules/no-duplicate-font-names
2632
+ See <https://biomejs.dev/linter/rules/no-duplicate-font-names>
2591
2633
  */
2592
2634
  noDuplicateFontNames?: NoDuplicateFontNamesConfiguration;
2593
2635
  /**
2594
2636
  * Prevents JSX properties to be assigned multiple times.
2595
- See https://biomejs.dev/linter/rules/no-duplicate-jsx-props
2637
+ See <https://biomejs.dev/linter/rules/no-duplicate-jsx-props>
2596
2638
  */
2597
2639
  noDuplicateJsxProps?: NoDuplicateJsxPropsConfiguration;
2598
2640
  /**
2599
2641
  * Disallow two keys with the same name inside objects.
2600
- See https://biomejs.dev/linter/rules/no-duplicate-object-keys
2642
+ See <https://biomejs.dev/linter/rules/no-duplicate-object-keys>
2601
2643
  */
2602
2644
  noDuplicateObjectKeys?: NoDuplicateObjectKeysConfiguration;
2603
2645
  /**
2604
2646
  * Disallow duplicate function parameter name.
2605
- See https://biomejs.dev/linter/rules/no-duplicate-parameters
2647
+ See <https://biomejs.dev/linter/rules/no-duplicate-parameters>
2606
2648
  */
2607
2649
  noDuplicateParameters?: NoDuplicateParametersConfiguration;
2608
2650
  /**
2609
2651
  * Disallow duplicate properties within declaration blocks.
2610
- See https://biomejs.dev/linter/rules/no-duplicate-properties
2652
+ See <https://biomejs.dev/linter/rules/no-duplicate-properties>
2611
2653
  */
2612
2654
  noDuplicateProperties?: NoDuplicatePropertiesConfiguration;
2613
2655
  /**
2614
2656
  * Disallow duplicate selectors within keyframe blocks.
2615
- See https://biomejs.dev/linter/rules/no-duplicate-selectors-keyframe-block
2657
+ See <https://biomejs.dev/linter/rules/no-duplicate-selectors-keyframe-block>
2616
2658
  */
2617
2659
  noDuplicateSelectorsKeyframeBlock?: NoDuplicateSelectorsKeyframeBlockConfiguration;
2618
2660
  /**
2619
2661
  * A describe block should not contain duplicate hooks.
2620
- See https://biomejs.dev/linter/rules/no-duplicate-test-hooks
2662
+ See <https://biomejs.dev/linter/rules/no-duplicate-test-hooks>
2621
2663
  */
2622
2664
  noDuplicateTestHooks?: NoDuplicateTestHooksConfiguration;
2623
2665
  /**
2624
2666
  * Disallow CSS empty blocks.
2625
- See https://biomejs.dev/linter/rules/no-empty-block
2667
+ See <https://biomejs.dev/linter/rules/no-empty-block>
2626
2668
  */
2627
2669
  noEmptyBlock?: NoEmptyBlockConfiguration;
2628
2670
  /**
2629
2671
  * Disallow empty block statements and static blocks.
2630
- See https://biomejs.dev/linter/rules/no-empty-block-statements
2672
+ See <https://biomejs.dev/linter/rules/no-empty-block-statements>
2631
2673
  */
2632
2674
  noEmptyBlockStatements?: NoEmptyBlockStatementsConfiguration;
2633
2675
  /**
2634
2676
  * Disallow the declaration of empty interfaces.
2635
- See https://biomejs.dev/linter/rules/no-empty-interface
2677
+ See <https://biomejs.dev/linter/rules/no-empty-interface>
2636
2678
  */
2637
2679
  noEmptyInterface?: NoEmptyInterfaceConfiguration;
2638
2680
  /**
2639
2681
  * Disallow variables from evolving into any type through reassignments.
2640
- See https://biomejs.dev/linter/rules/no-evolving-types
2682
+ See <https://biomejs.dev/linter/rules/no-evolving-types>
2641
2683
  */
2642
2684
  noEvolvingTypes?: NoEvolvingTypesConfiguration;
2643
2685
  /**
2644
2686
  * Disallow the any type usage.
2645
- See https://biomejs.dev/linter/rules/no-explicit-any
2687
+ See <https://biomejs.dev/linter/rules/no-explicit-any>
2646
2688
  */
2647
2689
  noExplicitAny?: NoExplicitAnyConfiguration;
2648
2690
  /**
2649
2691
  * Disallow using export or module.exports in files containing tests.
2650
- See https://biomejs.dev/linter/rules/no-exports-in-test
2692
+ See <https://biomejs.dev/linter/rules/no-exports-in-test>
2651
2693
  */
2652
2694
  noExportsInTest?: NoExportsInTestConfiguration;
2653
2695
  /**
2654
2696
  * Prevents the wrong usage of the non-null assertion operator (!) in TypeScript files.
2655
- See https://biomejs.dev/linter/rules/no-extra-non-null-assertion
2697
+ See <https://biomejs.dev/linter/rules/no-extra-non-null-assertion>
2656
2698
  */
2657
2699
  noExtraNonNullAssertion?: NoExtraNonNullAssertionConfiguration;
2658
2700
  /**
2659
2701
  * Disallow fallthrough of switch clauses.
2660
- See https://biomejs.dev/linter/rules/no-fallthrough-switch-clause
2702
+ See <https://biomejs.dev/linter/rules/no-fallthrough-switch-clause>
2661
2703
  */
2662
2704
  noFallthroughSwitchClause?: NoFallthroughSwitchClauseConfiguration;
2663
2705
  /**
2664
2706
  * Disallow focused tests.
2665
- See https://biomejs.dev/linter/rules/no-focused-tests
2707
+ See <https://biomejs.dev/linter/rules/no-focused-tests>
2666
2708
  */
2667
2709
  noFocusedTests?: NoFocusedTestsConfiguration;
2668
2710
  /**
2669
2711
  * Disallow reassigning function declarations.
2670
- See https://biomejs.dev/linter/rules/no-function-assign
2712
+ See <https://biomejs.dev/linter/rules/no-function-assign>
2671
2713
  */
2672
2714
  noFunctionAssign?: NoFunctionAssignConfiguration;
2673
2715
  /**
2674
2716
  * Disallow assignments to native objects and read-only global variables.
2675
- See https://biomejs.dev/linter/rules/no-global-assign
2717
+ See <https://biomejs.dev/linter/rules/no-global-assign>
2676
2718
  */
2677
2719
  noGlobalAssign?: NoGlobalAssignConfiguration;
2678
2720
  /**
2679
2721
  * Use Number.isFinite instead of global isFinite.
2680
- See https://biomejs.dev/linter/rules/no-global-is-finite
2722
+ See <https://biomejs.dev/linter/rules/no-global-is-finite>
2681
2723
  */
2682
2724
  noGlobalIsFinite?: NoGlobalIsFiniteConfiguration;
2683
2725
  /**
2684
2726
  * Use Number.isNaN instead of global isNaN.
2685
- See https://biomejs.dev/linter/rules/no-global-is-nan
2727
+ See <https://biomejs.dev/linter/rules/no-global-is-nan>
2686
2728
  */
2687
2729
  noGlobalIsNan?: NoGlobalIsNanConfiguration;
2688
2730
  /**
2689
2731
  * Prevent using the next/head module in pages/_document.js on Next.js projects.
2690
- See https://biomejs.dev/linter/rules/no-head-import-in-document
2732
+ See <https://biomejs.dev/linter/rules/no-head-import-in-document>
2691
2733
  */
2692
2734
  noHeadImportInDocument?: NoHeadImportInDocumentConfiguration;
2693
2735
  /**
2694
2736
  * Disallow use of implicit any type on variable declarations.
2695
- See https://biomejs.dev/linter/rules/no-implicit-any-let
2737
+ See <https://biomejs.dev/linter/rules/no-implicit-any-let>
2696
2738
  */
2697
2739
  noImplicitAnyLet?: NoImplicitAnyLetConfiguration;
2698
2740
  /**
2699
2741
  * Disallow assigning to imported bindings.
2700
- See https://biomejs.dev/linter/rules/no-import-assign
2742
+ See <https://biomejs.dev/linter/rules/no-import-assign>
2701
2743
  */
2702
2744
  noImportAssign?: NoImportAssignConfiguration;
2703
2745
  /**
2704
2746
  * Disallow invalid !important within keyframe declarations.
2705
- See https://biomejs.dev/linter/rules/no-important-in-keyframe
2747
+ See <https://biomejs.dev/linter/rules/no-important-in-keyframe>
2706
2748
  */
2707
2749
  noImportantInKeyframe?: NoImportantInKeyframeConfiguration;
2708
2750
  /**
2709
2751
  * Disallows the use of irregular whitespace characters.
2710
- See https://biomejs.dev/linter/rules/no-irregular-whitespace
2752
+ See <https://biomejs.dev/linter/rules/no-irregular-whitespace>
2711
2753
  */
2712
2754
  noIrregularWhitespace?: NoIrregularWhitespaceConfiguration;
2713
2755
  /**
2714
2756
  * Disallow labels that share a name with a variable.
2715
- See https://biomejs.dev/linter/rules/no-label-var
2757
+ See <https://biomejs.dev/linter/rules/no-label-var>
2716
2758
  */
2717
2759
  noLabelVar?: NoLabelVarConfiguration;
2718
2760
  /**
2719
2761
  * Disallow characters made with multiple code points in character class syntax.
2720
- See https://biomejs.dev/linter/rules/no-misleading-character-class
2762
+ See <https://biomejs.dev/linter/rules/no-misleading-character-class>
2721
2763
  */
2722
2764
  noMisleadingCharacterClass?: NoMisleadingCharacterClassConfiguration;
2723
2765
  /**
2724
2766
  * Enforce proper usage of new and constructor.
2725
- See https://biomejs.dev/linter/rules/no-misleading-instantiator
2767
+ See <https://biomejs.dev/linter/rules/no-misleading-instantiator>
2726
2768
  */
2727
2769
  noMisleadingInstantiator?: NoMisleadingInstantiatorConfiguration;
2728
2770
  /**
2729
2771
  * Checks that the assertion function, for example expect, is placed inside an it() function call.
2730
- See https://biomejs.dev/linter/rules/no-misplaced-assertion
2772
+ See <https://biomejs.dev/linter/rules/no-misplaced-assertion>
2731
2773
  */
2732
2774
  noMisplacedAssertion?: NoMisplacedAssertionConfiguration;
2733
2775
  /**
2734
2776
  * Disallow shorthand assign when variable appears on both sides.
2735
- See https://biomejs.dev/linter/rules/no-misrefactored-shorthand-assign
2777
+ See <https://biomejs.dev/linter/rules/no-misrefactored-shorthand-assign>
2736
2778
  */
2737
2779
  noMisrefactoredShorthandAssign?: NoMisrefactoredShorthandAssignConfiguration;
2738
2780
  /**
2739
2781
  * Disallow non-null assertions after optional chaining expressions.
2740
- See https://biomejs.dev/linter/rules/no-non-null-asserted-optional-chain
2782
+ See <https://biomejs.dev/linter/rules/no-non-null-asserted-optional-chain>
2741
2783
  */
2742
2784
  noNonNullAssertedOptionalChain?: NoNonNullAssertedOptionalChainConfiguration;
2743
2785
  /**
2744
2786
  * Disallow octal escape sequences in string literals.
2745
- See https://biomejs.dev/linter/rules/no-octal-escape
2787
+ See <https://biomejs.dev/linter/rules/no-octal-escape>
2746
2788
  */
2747
2789
  noOctalEscape?: NoOctalEscapeConfiguration;
2748
2790
  /**
2749
2791
  * Disallow direct use of Object.prototype builtins.
2750
- See https://biomejs.dev/linter/rules/no-prototype-builtins
2792
+ See <https://biomejs.dev/linter/rules/no-prototype-builtins>
2751
2793
  */
2752
2794
  noPrototypeBuiltins?: NoPrototypeBuiltinsConfiguration;
2753
2795
  /**
2754
2796
  * Disallow the use if quickfix.biome inside editor settings file.
2755
- See https://biomejs.dev/linter/rules/no-quickfix-biome
2797
+ See <https://biomejs.dev/linter/rules/no-quickfix-biome>
2756
2798
  */
2757
2799
  noQuickfixBiome?: NoQuickfixBiomeConfiguration;
2758
2800
  /**
2759
2801
  * Prevents React-specific JSX properties from being used.
2760
- See https://biomejs.dev/linter/rules/no-react-specific-props
2802
+ See <https://biomejs.dev/linter/rules/no-react-specific-props>
2761
2803
  */
2762
2804
  noReactSpecificProps?: NoReactSpecificPropsConfiguration;
2763
2805
  /**
2764
2806
  * Disallow variable, function, class, and type redeclarations in the same scope.
2765
- See https://biomejs.dev/linter/rules/no-redeclare
2807
+ See <https://biomejs.dev/linter/rules/no-redeclare>
2766
2808
  */
2767
2809
  noRedeclare?: NoRedeclareConfiguration;
2768
2810
  /**
2769
2811
  * Prevents from having redundant "use strict".
2770
- See https://biomejs.dev/linter/rules/no-redundant-use-strict
2812
+ See <https://biomejs.dev/linter/rules/no-redundant-use-strict>
2771
2813
  */
2772
2814
  noRedundantUseStrict?: NoRedundantUseStrictConfiguration;
2773
2815
  /**
2774
2816
  * Disallow comparisons where both sides are exactly the same.
2775
- See https://biomejs.dev/linter/rules/no-self-compare
2817
+ See <https://biomejs.dev/linter/rules/no-self-compare>
2776
2818
  */
2777
2819
  noSelfCompare?: NoSelfCompareConfiguration;
2778
2820
  /**
2779
2821
  * Disallow identifiers from shadowing restricted names.
2780
- See https://biomejs.dev/linter/rules/no-shadow-restricted-names
2822
+ See <https://biomejs.dev/linter/rules/no-shadow-restricted-names>
2781
2823
  */
2782
2824
  noShadowRestrictedNames?: NoShadowRestrictedNamesConfiguration;
2783
2825
  /**
2784
2826
  * Disallow shorthand properties that override related longhand properties.
2785
- See https://biomejs.dev/linter/rules/no-shorthand-property-overrides
2827
+ See <https://biomejs.dev/linter/rules/no-shorthand-property-overrides>
2786
2828
  */
2787
2829
  noShorthandPropertyOverrides?: NoShorthandPropertyOverridesConfiguration;
2788
2830
  /**
2789
2831
  * Disallow disabled tests.
2790
- See https://biomejs.dev/linter/rules/no-skipped-tests
2832
+ See <https://biomejs.dev/linter/rules/no-skipped-tests>
2791
2833
  */
2792
2834
  noSkippedTests?: NoSkippedTestsConfiguration;
2793
2835
  /**
2794
2836
  * Prevents the use of sparse arrays (arrays with holes).
2795
- See https://biomejs.dev/linter/rules/no-sparse-array
2837
+ See <https://biomejs.dev/linter/rules/no-sparse-array>
2796
2838
  */
2797
2839
  noSparseArray?: NoSparseArrayConfiguration;
2798
2840
  /**
2799
2841
  * It detects possible "wrong" semicolons inside JSX elements.
2800
- See https://biomejs.dev/linter/rules/no-suspicious-semicolon-in-jsx
2842
+ See <https://biomejs.dev/linter/rules/no-suspicious-semicolon-in-jsx>
2801
2843
  */
2802
2844
  noSuspiciousSemicolonInJsx?: NoSuspiciousSemicolonInJsxConfiguration;
2803
2845
  /**
2804
2846
  * Disallow template literal placeholder syntax in regular strings.
2805
- See https://biomejs.dev/linter/rules/no-template-curly-in-string
2847
+ See <https://biomejs.dev/linter/rules/no-template-curly-in-string>
2806
2848
  */
2807
2849
  noTemplateCurlyInString?: NoTemplateCurlyInStringConfiguration;
2808
2850
  /**
2809
2851
  * Disallow then property.
2810
- See https://biomejs.dev/linter/rules/no-then-property
2852
+ See <https://biomejs.dev/linter/rules/no-then-property>
2811
2853
  */
2812
2854
  noThenProperty?: NoThenPropertyConfiguration;
2813
2855
  /**
2814
2856
  * Prevents the use of the TypeScript directive @ts-ignore.
2815
- See https://biomejs.dev/linter/rules/no-ts-ignore
2857
+ See <https://biomejs.dev/linter/rules/no-ts-ignore>
2816
2858
  */
2817
2859
  noTsIgnore?: NoTsIgnoreConfiguration;
2818
2860
  /**
2819
2861
  * Disallow let or var variables that are read but never assigned.
2820
- See https://biomejs.dev/linter/rules/no-unassigned-variables
2862
+ See <https://biomejs.dev/linter/rules/no-unassigned-variables>
2821
2863
  */
2822
2864
  noUnassignedVariables?: NoUnassignedVariablesConfiguration;
2823
2865
  /**
2824
2866
  * Disallow unknown at-rules.
2825
- See https://biomejs.dev/linter/rules/no-unknown-at-rules
2867
+ See <https://biomejs.dev/linter/rules/no-unknown-at-rules>
2826
2868
  */
2827
2869
  noUnknownAtRules?: NoUnknownAtRulesConfiguration;
2828
2870
  /**
2829
2871
  * Disallow unsafe declaration merging between interfaces and classes.
2830
- See https://biomejs.dev/linter/rules/no-unsafe-declaration-merging
2872
+ See <https://biomejs.dev/linter/rules/no-unsafe-declaration-merging>
2831
2873
  */
2832
2874
  noUnsafeDeclarationMerging?: NoUnsafeDeclarationMergingConfiguration;
2833
2875
  /**
2834
2876
  * Disallow using unsafe negation.
2835
- See https://biomejs.dev/linter/rules/no-unsafe-negation
2877
+ See <https://biomejs.dev/linter/rules/no-unsafe-negation>
2836
2878
  */
2837
2879
  noUnsafeNegation?: NoUnsafeNegationConfiguration;
2838
2880
  /**
2839
2881
  * Disallow unnecessary escapes in string literals.
2840
- See https://biomejs.dev/linter/rules/no-useless-escape-in-string
2882
+ See <https://biomejs.dev/linter/rules/no-useless-escape-in-string>
2841
2883
  */
2842
2884
  noUselessEscapeInString?: NoUselessEscapeInStringConfiguration;
2843
2885
  /**
2844
2886
  * Disallow useless backreferences in regular expression literals that always match an empty string.
2845
- See https://biomejs.dev/linter/rules/no-useless-regex-backrefs
2887
+ See <https://biomejs.dev/linter/rules/no-useless-regex-backrefs>
2846
2888
  */
2847
2889
  noUselessRegexBackrefs?: NoUselessRegexBackrefsConfiguration;
2848
2890
  /**
2849
2891
  * Disallow the use of var.
2850
- See https://biomejs.dev/linter/rules/no-var
2892
+ See <https://biomejs.dev/linter/rules/no-var>
2851
2893
  */
2852
2894
  noVar?: NoVarConfiguration;
2853
2895
  /**
2854
2896
  * Disallow with statements in non-strict contexts.
2855
- See https://biomejs.dev/linter/rules/no-with
2897
+ See <https://biomejs.dev/linter/rules/no-with>
2856
2898
  */
2857
2899
  noWith?: NoWithConfiguration;
2858
2900
  /**
@@ -2861,72 +2903,72 @@ See https://biomejs.dev/linter/rules/no-with
2861
2903
  recommended?: boolean;
2862
2904
  /**
2863
2905
  * Disallow the use of overload signatures that are not next to each other.
2864
- See https://biomejs.dev/linter/rules/use-adjacent-overload-signatures
2906
+ See <https://biomejs.dev/linter/rules/use-adjacent-overload-signatures>
2865
2907
  */
2866
2908
  useAdjacentOverloadSignatures?: UseAdjacentOverloadSignaturesConfiguration;
2867
2909
  /**
2868
2910
  * Ensure async functions utilize await.
2869
- See https://biomejs.dev/linter/rules/use-await
2911
+ See <https://biomejs.dev/linter/rules/use-await>
2870
2912
  */
2871
2913
  useAwait?: UseAwaitConfiguration;
2872
2914
  /**
2873
2915
  * Promotes the correct usage for ignoring folders in the configuration file.
2874
- See https://biomejs.dev/linter/rules/use-biome-ignore-folder
2916
+ See <https://biomejs.dev/linter/rules/use-biome-ignore-folder>
2875
2917
  */
2876
2918
  useBiomeIgnoreFolder?: UseBiomeIgnoreFolderConfiguration;
2877
2919
  /**
2878
2920
  * Enforce default clauses in switch statements to be last.
2879
- See https://biomejs.dev/linter/rules/use-default-switch-clause-last
2921
+ See <https://biomejs.dev/linter/rules/use-default-switch-clause-last>
2880
2922
  */
2881
2923
  useDefaultSwitchClauseLast?: UseDefaultSwitchClauseLastConfiguration;
2882
2924
  /**
2883
2925
  * Enforce passing a message value when creating a built-in error.
2884
- See https://biomejs.dev/linter/rules/use-error-message
2926
+ See <https://biomejs.dev/linter/rules/use-error-message>
2885
2927
  */
2886
2928
  useErrorMessage?: UseErrorMessageConfiguration;
2887
2929
  /**
2888
2930
  * Enforce get methods to always return a value.
2889
- See https://biomejs.dev/linter/rules/use-getter-return
2931
+ See <https://biomejs.dev/linter/rules/use-getter-return>
2890
2932
  */
2891
2933
  useGetterReturn?: UseGetterReturnConfiguration;
2892
2934
  /**
2893
2935
  * Enforces the use of a recommended display strategy with Google Fonts.
2894
- See https://biomejs.dev/linter/rules/use-google-font-display
2936
+ See <https://biomejs.dev/linter/rules/use-google-font-display>
2895
2937
  */
2896
2938
  useGoogleFontDisplay?: UseGoogleFontDisplayConfiguration;
2897
2939
  /**
2898
2940
  * Require for-in loops to include an if statement.
2899
- See https://biomejs.dev/linter/rules/use-guard-for-in
2941
+ See <https://biomejs.dev/linter/rules/use-guard-for-in>
2900
2942
  */
2901
2943
  useGuardForIn?: UseGuardForInConfiguration;
2902
2944
  /**
2903
2945
  * Use Array.isArray() instead of instanceof Array.
2904
- See https://biomejs.dev/linter/rules/use-is-array
2946
+ See <https://biomejs.dev/linter/rules/use-is-array>
2905
2947
  */
2906
2948
  useIsArray?: UseIsArrayConfiguration;
2907
2949
  /**
2908
2950
  * Enforce consistent return values in iterable callbacks.
2909
- See https://biomejs.dev/linter/rules/use-iterable-callback-return
2951
+ See <https://biomejs.dev/linter/rules/use-iterable-callback-return>
2910
2952
  */
2911
2953
  useIterableCallbackReturn?: UseIterableCallbackReturnConfiguration;
2912
2954
  /**
2913
2955
  * Require using the namespace keyword over the module keyword to declare TypeScript namespaces.
2914
- See https://biomejs.dev/linter/rules/use-namespace-keyword
2956
+ See <https://biomejs.dev/linter/rules/use-namespace-keyword>
2915
2957
  */
2916
2958
  useNamespaceKeyword?: UseNamespaceKeywordConfiguration;
2917
2959
  /**
2918
2960
  * Enforce using the digits argument with Number#toFixed().
2919
- See https://biomejs.dev/linter/rules/use-number-to-fixed-digits-argument
2961
+ See <https://biomejs.dev/linter/rules/use-number-to-fixed-digits-argument>
2920
2962
  */
2921
2963
  useNumberToFixedDigitsArgument?: UseNumberToFixedDigitsArgumentConfiguration;
2922
2964
  /**
2923
2965
  * Use static Response methods instead of new Response() constructor when possible.
2924
- See https://biomejs.dev/linter/rules/use-static-response-methods
2966
+ See <https://biomejs.dev/linter/rules/use-static-response-methods>
2925
2967
  */
2926
2968
  useStaticResponseMethods?: UseStaticResponseMethodsConfiguration;
2927
2969
  /**
2928
2970
  * Enforce the use of the directive "use strict" in script files.
2929
- See https://biomejs.dev/linter/rules/use-strict-mode
2971
+ See <https://biomejs.dev/linter/rules/use-strict-mode>
2930
2972
  */
2931
2973
  useStrictMode?: UseStrictModeConfiguration;
2932
2974
  }
@@ -3382,6 +3424,9 @@ type UseValidTypeofConfiguration =
3382
3424
  | RulePlainConfiguration
3383
3425
  | RuleWithUseValidTypeofOptions;
3384
3426
  type UseYieldConfiguration = RulePlainConfiguration | RuleWithUseYieldOptions;
3427
+ type NoAmbiguousAnchorTextConfiguration =
3428
+ | RulePlainConfiguration
3429
+ | RuleWithNoAmbiguousAnchorTextOptions;
3385
3430
  type NoContinueConfiguration =
3386
3431
  | RulePlainConfiguration
3387
3432
  | RuleWithNoContinueOptions;
@@ -3432,11 +3477,17 @@ type NoProtoConfiguration = RulePlainConfiguration | RuleWithNoProtoOptions;
3432
3477
  type NoReactForwardRefConfiguration =
3433
3478
  | RulePlainConfiguration
3434
3479
  | RuleWithNoReactForwardRefOptions;
3480
+ type NoScriptUrlConfiguration =
3481
+ | RulePlainConfiguration
3482
+ | RuleWithNoScriptUrlOptions;
3435
3483
  type NoShadowConfiguration = RulePlainConfiguration | RuleWithNoShadowOptions;
3436
3484
  type NoSyncScriptsConfiguration =
3437
3485
  | RulePlainConfiguration
3438
3486
  | RuleWithNoSyncScriptsOptions;
3439
3487
  type NoTernaryConfiguration = RulePlainConfiguration | RuleWithNoTernaryOptions;
3488
+ type NoUndeclaredEnvVarsConfiguration =
3489
+ | RulePlainConfiguration
3490
+ | RuleWithNoUndeclaredEnvVarsOptions;
3440
3491
  type NoUnknownAttributeConfiguration =
3441
3492
  | RulePlainConfiguration
3442
3493
  | RuleWithNoUnknownAttributeOptions;
@@ -3467,12 +3518,18 @@ type NoVueReservedKeysConfiguration =
3467
3518
  type NoVueReservedPropsConfiguration =
3468
3519
  | RulePlainConfiguration
3469
3520
  | RuleWithNoVueReservedPropsOptions;
3521
+ type NoVueSetupPropsReactivityLossConfiguration =
3522
+ | RulePlainConfiguration
3523
+ | RuleWithNoVueSetupPropsReactivityLossOptions;
3470
3524
  type NoVueVIfWithVForConfiguration =
3471
3525
  | RulePlainConfiguration
3472
3526
  | RuleWithNoVueVIfWithVForOptions;
3473
3527
  type UseArraySortCompareConfiguration =
3474
3528
  | RulePlainConfiguration
3475
3529
  | RuleWithUseArraySortCompareOptions;
3530
+ type UseAwaitThenableConfiguration =
3531
+ | RulePlainConfiguration
3532
+ | RuleWithUseAwaitThenableOptions;
3476
3533
  type UseConsistentArrowReturnConfiguration =
3477
3534
  | RulePlainConfiguration
3478
3535
  | RuleWithUseConsistentArrowReturnOptions;
@@ -3482,6 +3539,9 @@ type UseConsistentGraphqlDescriptionsConfiguration =
3482
3539
  type UseDeprecatedDateConfiguration =
3483
3540
  | RulePlainConfiguration
3484
3541
  | RuleWithUseDeprecatedDateOptions;
3542
+ type UseDestructuringConfiguration =
3543
+ | RulePlainConfiguration
3544
+ | RuleWithUseDestructuringOptions;
3485
3545
  type UseExhaustiveSwitchCasesConfiguration =
3486
3546
  | RulePlainConfiguration
3487
3547
  | RuleWithUseExhaustiveSwitchCasesOptions;
@@ -3498,6 +3558,12 @@ type UseQwikMethodUsageConfiguration =
3498
3558
  type UseQwikValidLexicalScopeConfiguration =
3499
3559
  | RulePlainConfiguration
3500
3560
  | RuleWithUseQwikValidLexicalScopeOptions;
3561
+ type UseRegexpExecConfiguration =
3562
+ | RulePlainConfiguration
3563
+ | RuleWithUseRegexpExecOptions;
3564
+ type UseRequiredScriptsConfiguration =
3565
+ | RulePlainConfiguration
3566
+ | RuleWithUseRequiredScriptsOptions;
3501
3567
  type UseSortedClassesConfiguration =
3502
3568
  | RulePlainConfiguration
3503
3569
  | RuleWithUseSortedClassesOptions;
@@ -4742,6 +4808,10 @@ interface RuleWithUseYieldOptions {
4742
4808
  level: RulePlainConfiguration;
4743
4809
  options?: UseYieldOptions;
4744
4810
  }
4811
+ interface RuleWithNoAmbiguousAnchorTextOptions {
4812
+ level: RulePlainConfiguration;
4813
+ options?: NoAmbiguousAnchorTextOptions;
4814
+ }
4745
4815
  interface RuleWithNoContinueOptions {
4746
4816
  level: RulePlainConfiguration;
4747
4817
  options?: NoContinueOptions;
@@ -4819,6 +4889,10 @@ interface RuleWithNoReactForwardRefOptions {
4819
4889
  level: RulePlainConfiguration;
4820
4890
  options?: NoReactForwardRefOptions;
4821
4891
  }
4892
+ interface RuleWithNoScriptUrlOptions {
4893
+ level: RulePlainConfiguration;
4894
+ options?: NoScriptUrlOptions;
4895
+ }
4822
4896
  interface RuleWithNoShadowOptions {
4823
4897
  level: RulePlainConfiguration;
4824
4898
  options?: NoShadowOptions;
@@ -4831,6 +4905,10 @@ interface RuleWithNoTernaryOptions {
4831
4905
  level: RulePlainConfiguration;
4832
4906
  options?: NoTernaryOptions;
4833
4907
  }
4908
+ interface RuleWithNoUndeclaredEnvVarsOptions {
4909
+ level: RulePlainConfiguration;
4910
+ options?: NoUndeclaredEnvVarsOptions;
4911
+ }
4834
4912
  interface RuleWithNoUnknownAttributeOptions {
4835
4913
  level: RulePlainConfiguration;
4836
4914
  options?: NoUnknownAttributeOptions;
@@ -4874,6 +4952,10 @@ interface RuleWithNoVueReservedPropsOptions {
4874
4952
  level: RulePlainConfiguration;
4875
4953
  options?: NoVueReservedPropsOptions;
4876
4954
  }
4955
+ interface RuleWithNoVueSetupPropsReactivityLossOptions {
4956
+ level: RulePlainConfiguration;
4957
+ options?: NoVueSetupPropsReactivityLossOptions;
4958
+ }
4877
4959
  interface RuleWithNoVueVIfWithVForOptions {
4878
4960
  level: RulePlainConfiguration;
4879
4961
  options?: NoVueVIfWithVForOptions;
@@ -4882,6 +4964,10 @@ interface RuleWithUseArraySortCompareOptions {
4882
4964
  level: RulePlainConfiguration;
4883
4965
  options?: UseArraySortCompareOptions;
4884
4966
  }
4967
+ interface RuleWithUseAwaitThenableOptions {
4968
+ level: RulePlainConfiguration;
4969
+ options?: UseAwaitThenableOptions;
4970
+ }
4885
4971
  interface RuleWithUseConsistentArrowReturnOptions {
4886
4972
  fix?: FixKind;
4887
4973
  level: RulePlainConfiguration;
@@ -4895,6 +4981,10 @@ interface RuleWithUseDeprecatedDateOptions {
4895
4981
  level: RulePlainConfiguration;
4896
4982
  options?: UseDeprecatedDateOptions;
4897
4983
  }
4984
+ interface RuleWithUseDestructuringOptions {
4985
+ level: RulePlainConfiguration;
4986
+ options?: UseDestructuringOptions;
4987
+ }
4898
4988
  interface RuleWithUseExhaustiveSwitchCasesOptions {
4899
4989
  fix?: FixKind;
4900
4990
  level: RulePlainConfiguration;
@@ -4920,6 +5010,14 @@ interface RuleWithUseQwikValidLexicalScopeOptions {
4920
5010
  level: RulePlainConfiguration;
4921
5011
  options?: UseQwikValidLexicalScopeOptions;
4922
5012
  }
5013
+ interface RuleWithUseRegexpExecOptions {
5014
+ level: RulePlainConfiguration;
5015
+ options?: UseRegexpExecOptions;
5016
+ }
5017
+ interface RuleWithUseRequiredScriptsOptions {
5018
+ level: RulePlainConfiguration;
5019
+ options?: UseRequiredScriptsOptions;
5020
+ }
4923
5021
  interface RuleWithUseSortedClassesOptions {
4924
5022
  fix?: FixKind;
4925
5023
  level: RulePlainConfiguration;
@@ -6068,6 +6166,12 @@ to a DOM element id.
6068
6166
  type UseValidForDirectionOptions = {};
6069
6167
  type UseValidTypeofOptions = {};
6070
6168
  type UseYieldOptions = {};
6169
+ interface NoAmbiguousAnchorTextOptions {
6170
+ /**
6171
+ * It allows users to modify the strings that can be checked for in the anchor text. Useful for specifying other words in other languages
6172
+ */
6173
+ words?: string[];
6174
+ }
6071
6175
  type NoContinueOptions = {};
6072
6176
  type NoDeprecatedImportsOptions = {};
6073
6177
  type NoDuplicateDependenciesOptions = {};
@@ -6117,9 +6221,19 @@ type NoNextAsyncClientComponentOptions = {};
6117
6221
  type NoParametersOnlyUsedInRecursionOptions = {};
6118
6222
  type NoProtoOptions = {};
6119
6223
  type NoReactForwardRefOptions = {};
6224
+ type NoScriptUrlOptions = {};
6120
6225
  type NoShadowOptions = {};
6121
6226
  type NoSyncScriptsOptions = {};
6122
6227
  type NoTernaryOptions = {};
6228
+ interface NoUndeclaredEnvVarsOptions {
6229
+ /**
6230
+ * Environment variables that should always be allowed.
6231
+ Use this to specify environment variables that are always available
6232
+ in your environment, even when not declared in turbo.json.
6233
+ Supports regular expressions, e.g. `["MY_ENV_.*"]`.
6234
+ */
6235
+ allowedEnvVars?: Regex[];
6236
+ }
6123
6237
  interface NoUnknownAttributeOptions {
6124
6238
  ignore?: string[];
6125
6239
  }
@@ -6132,8 +6246,10 @@ type NoVueDataObjectDeclarationOptions = {};
6132
6246
  type NoVueDuplicateKeysOptions = {};
6133
6247
  type NoVueReservedKeysOptions = {};
6134
6248
  type NoVueReservedPropsOptions = {};
6249
+ type NoVueSetupPropsReactivityLossOptions = {};
6135
6250
  type NoVueVIfWithVForOptions = {};
6136
6251
  type UseArraySortCompareOptions = {};
6252
+ type UseAwaitThenableOptions = {};
6137
6253
  interface UseConsistentArrowReturnOptions {
6138
6254
  /**
6139
6255
  * Determines whether the rule enforces a consistent style when the return value is an object literal.
@@ -6155,6 +6271,7 @@ interface UseConsistentGraphqlDescriptionsOptions {
6155
6271
  interface UseDeprecatedDateOptions {
6156
6272
  argumentName?: string;
6157
6273
  }
6274
+ type UseDestructuringOptions = {};
6158
6275
  type UseExhaustiveSwitchCasesOptions = {};
6159
6276
  type UseExplicitTypeOptions = {};
6160
6277
  type UseFindOptions = {};
@@ -6166,6 +6283,13 @@ interface UseMaxParamsOptions {
6166
6283
  }
6167
6284
  type UseQwikMethodUsageOptions = {};
6168
6285
  type UseQwikValidLexicalScopeOptions = {};
6286
+ type UseRegexpExecOptions = {};
6287
+ interface UseRequiredScriptsOptions {
6288
+ /**
6289
+ * List of script names that must be present in package.json
6290
+ */
6291
+ requiredScripts?: string[];
6292
+ }
6169
6293
  interface UseSortedClassesOptions {
6170
6294
  /**
6171
6295
  * Additional attributes that will be sorted.
@@ -6566,6 +6690,7 @@ while for `useState()` it would be `[1]`.
6566
6690
  */
6567
6691
  stableResult?: StableHookResult;
6568
6692
  }
6693
+ type Regex = string;
6569
6694
  type UseConsistentArrowReturnStyle = "asNeeded" | "always" | "never";
6570
6695
  type UseConsistentGraphqlDescriptionsStyle = "block" | "inline";
6571
6696
  type PropertyAssignmentMode = "allow" | "deny";
@@ -6577,7 +6702,6 @@ type Accessibility = "noPublic" | "explicit" | "none";
6577
6702
  type ObjectPropertySyntax = "explicit" | "shorthand";
6578
6703
  type ConsistentTypeDefinition = "interface" | "type";
6579
6704
  type FilenameCases = FilenameCase[];
6580
- type Regex = string;
6581
6705
  type UseImportTypeStyle = "auto" | "inlineType" | "separatedType";
6582
6706
  interface Convention {
6583
6707
  /**
@@ -6891,10 +7015,12 @@ type Category =
6891
7015
  | "lint/correctness/useValidForDirection"
6892
7016
  | "lint/correctness/useValidTypeof"
6893
7017
  | "lint/correctness/useYield"
7018
+ | "lint/nursery/noAmbiguousAnchorText"
6894
7019
  | "lint/nursery/noColorInvalidHex"
6895
7020
  | "lint/nursery/noContinue"
6896
7021
  | "lint/nursery/noDeprecatedImports"
6897
7022
  | "lint/nursery/noDuplicateDependencies"
7023
+ | "lint/nursery/noDuplicatedSpreadProps"
6898
7024
  | "lint/nursery/noEmptySource"
6899
7025
  | "lint/nursery/noEqualsToNull"
6900
7026
  | "lint/nursery/noFloatingPromises"
@@ -6911,10 +7037,11 @@ type Category =
6911
7037
  | "lint/nursery/noParametersOnlyUsedInRecursion"
6912
7038
  | "lint/nursery/noProto"
6913
7039
  | "lint/nursery/noReactForwardRef"
7040
+ | "lint/nursery/noScriptUrl"
6914
7041
  | "lint/nursery/noShadow"
6915
- | "lint/nursery/noDuplicatedSpreadProps"
6916
7042
  | "lint/nursery/noSyncScripts"
6917
7043
  | "lint/nursery/noTernary"
7044
+ | "lint/nursery/noUndeclaredEnvVars"
6918
7045
  | "lint/nursery/noUnknownAttribute"
6919
7046
  | "lint/nursery/noUnnecessaryConditions"
6920
7047
  | "lint/nursery/noUnresolvedImports"
@@ -6927,14 +7054,17 @@ type Category =
6927
7054
  | "lint/nursery/noVueDuplicateKeys"
6928
7055
  | "lint/nursery/noVueReservedKeys"
6929
7056
  | "lint/nursery/noVueReservedProps"
7057
+ | "lint/nursery/noVueSetupPropsReactivityLoss"
6930
7058
  | "lint/nursery/noVueVIfWithVFor"
6931
7059
  | "lint/nursery/useAnchorHref"
6932
7060
  | "lint/nursery/useArraySortCompare"
7061
+ | "lint/nursery/useAwaitThenable"
6933
7062
  | "lint/nursery/useBiomeSuppressionComment"
6934
7063
  | "lint/nursery/useConsistentArrowReturn"
6935
7064
  | "lint/nursery/useConsistentGraphqlDescriptions"
6936
7065
  | "lint/nursery/useConsistentObjectDefinition"
6937
7066
  | "lint/nursery/useDeprecatedDate"
7067
+ | "lint/nursery/useDestructuring"
6938
7068
  | "lint/nursery/useExhaustiveSwitchCases"
6939
7069
  | "lint/nursery/useExplicitFunctionReturnType"
6940
7070
  | "lint/nursery/useExplicitType"
@@ -6944,6 +7074,8 @@ type Category =
6944
7074
  | "lint/nursery/useMaxParams"
6945
7075
  | "lint/nursery/useQwikMethodUsage"
6946
7076
  | "lint/nursery/useQwikValidLexicalScope"
7077
+ | "lint/nursery/useRegexpExec"
7078
+ | "lint/nursery/useRequiredScripts"
6947
7079
  | "lint/nursery/useSortedClasses"
6948
7080
  | "lint/nursery/useSpread"
6949
7081
  | "lint/nursery/useUniqueGraphqlOperationName"
@@ -7382,7 +7514,6 @@ interface GritFileSource {
7382
7514
  variant: GritVariant;
7383
7515
  }
7384
7516
  type EmbeddingKind =
7385
- | "Vue"
7386
7517
  | "Svelte"
7387
7518
  | "None"
7388
7519
  | {
@@ -7392,6 +7523,14 @@ type EmbeddingKind =
7392
7523
  */
7393
7524
  frontmatter: boolean;
7394
7525
  };
7526
+ }
7527
+ | {
7528
+ Vue: {
7529
+ /**
7530
+ * Whether the script is inside script tag with setup attribute
7531
+ */
7532
+ setup: boolean;
7533
+ };
7395
7534
  };
7396
7535
  type Language = "javaScript" | { typeScript: { definition_file: boolean } };
7397
7536
  type ModuleKind = "script" | "module";