Skip to content

Commit

Permalink
Fix: A few typos
Browse files Browse the repository at this point in the history
  • Loading branch information
stewx authored and Stewart Rand committed Jan 11, 2017
1 parent d80d994 commit c97dc72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/rules/no-alert.md
@@ -1,6 +1,6 @@
# Disallow Use of Alert (no-alert)

JavaScripts' alert, confirm, and prompt functions are widely considered to be obtrusive as UI elements and should be replaced by a more appropriate custom UI implementation. Furthermore, alert is often used while debugging code, which should be removed before deployment to production.
JavaScript's `alert`, `confirm`, and `prompt` functions are widely considered to be obtrusive as UI elements and should be replaced by a more appropriate custom UI implementation. Furthermore, `alert` is often used while debugging code, which should be removed before deployment to production.

```js
alert("here!");
Expand Down
4 changes: 2 additions & 2 deletions lib/ast-utils.js
Expand Up @@ -158,9 +158,9 @@ function isCallee(node) {
}

/**
* Checks whether or not a node is `Reclect.apply`.
* Checks whether or not a node is `Reflect.apply`.
* @param {ASTNode} node - A node to check.
* @returns {boolean} Whether or not the node is a `Reclect.apply`.
* @returns {boolean} Whether or not the node is a `Reflect.apply`.
*/
function isReflectApply(node) {
return (
Expand Down

0 comments on commit c97dc72

Please sign in to comment.