You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/linter/javascript/rules.mdx
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -195,6 +195,7 @@ Below the list of rules supported by Biome, divided by group. Here's a legend of
195
195
|[useIndexOf](/linter/rules/use-index-of)| Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item. | <spanclass='inline-icon'title="The rule has an unsafe fix" ><Iconname="warning"label="The rule has an unsafe fix"size="1.2rem" /></span> |
196
196
|[useIterableCallbackReturn](/linter/rules/use-iterable-callback-return)| Enforce consistent return values in iterable callbacks. ||
197
197
|[useJsonImportAttribute](/linter/rules/use-json-import-attribute)| Enforces the use of `with { type: "json" }` for JSON module imports. | <spanclass='inline-icon'title='The rule has a safe fix.'><Iconname="seti:config"label="The rule has a safe fix"size="1.2rem" /></span> |
198
+
|[useMaxParams](/linter/rules/use-max-params)| Enforce a maximum number of parameters in function definitions. | <spanclass='inline-icon'title="This rule is not released yet"><Iconname="moon"label="This rule is not released yet"size="1.2rem" /></span> |
198
199
|[useNumericSeparators](/linter/rules/use-numeric-separators)| Enforce the use of numeric separators in numeric literals. | <spanclass='inline-icon'title='The rule has a safe fix.'><Iconname="seti:config"label="The rule has a safe fix"size="1.2rem" /></span> |
199
200
|[useObjectSpread](/linter/rules/use-object-spread)| Prefer object spread over `Object.assign()` when constructing new objects. | <spanclass='inline-icon'title='The rule has a safe fix.'><Iconname="seti:config"label="The rule has a safe fix"size="1.2rem" /></span> |
200
201
|[useParseIntRadix](/linter/rules/use-parse-int-radix)| Enforce the consistent use of the radix argument when using `parseInt()`. | <spanclass='inline-icon'title="The rule has an unsafe fix" ><Iconname="warning"label="The rule has an unsafe fix"size="1.2rem" /></span> |
0 commit comments