Skip to content

Commit

Permalink
docs(useAtIndex): fix typo chatAt -> charAt (#4363)
Browse files Browse the repository at this point in the history
  • Loading branch information
GeniusTimo authored Oct 21, 2024
1 parent 5579f9f commit a1ae7bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/biome_js_analyze/src/lint/nursery/use_at_index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ declare_lint_rule! {
/// A more convenient way to achieve the same thing is to use the `at()` method with a negative index.
/// To access the last element of an array or a string just write `array.at(-1)`.
///
/// This rule enforces the usage of `at()` over index access, `chatAt()`, and `slice()[0]` when `at()` is more convenient.
/// This rule enforces the usage of `at()` over index access, `charAt()`, and `slice()[0]` when `at()` is more convenient.
///
///
/// ## Examples
Expand Down

0 comments on commit a1ae7bf

Please sign in to comment.