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