Skip to content

Commit

Permalink
Fix quote type in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jan 16, 2022
1 parent 0a81ce5 commit 4e005d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/rules/no-array-method-this-argument.md
Expand Up @@ -10,7 +10,7 @@
The rule forbids using the `thisArg` argument in array methods:

- If the callback is an arrow function or a bound function, the `thisArg` won't affect it.
- If you intent to use a custom `this` in the callback, its better to use the variable directly or use `callback.bind(thisArg)`.
- If you intent to use a custom `this` in the callback, it's better to use the variable directly or use `callback.bind(thisArg)`.

This rule checks following array methods accepts `thisArg`:

Expand Down
2 changes: 1 addition & 1 deletion docs/rules/prefer-prototype-methods.md
Expand Up @@ -7,7 +7,7 @@
🔧 *This rule is [auto-fixable](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems).*
<!-- /RULE_NOTICE -->

When “borrowing” a method from `Array` or `Object`, its clearer to get it from the prototype than from an instance.
When “borrowing” a method from `Array` or `Object`, it's clearer to get it from the prototype than from an instance.

## Fail

Expand Down

0 comments on commit 4e005d8

Please sign in to comment.