Skip to content

Commit

Permalink
docs: add missing header to prefer-spread (#19224)
Browse files Browse the repository at this point in the history
  • Loading branch information
lumirlumir authored Dec 6, 2024
1 parent b607ae6 commit ba098bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/rules/prefer-spread.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ obj.foo.apply(obj, [1, 2, 3]);

:::

Known limitations:
## Known Limitations

This rule analyzes code statically to check whether or not the `this` argument is changed. So, if the `this` argument is computed in a dynamic expression, this rule cannot detect a violation.

Expand Down

0 comments on commit ba098bd

Please sign in to comment.