Skip to content

Commit

Permalink
chore: fix typos in some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cherryblossom000 committed Jul 2, 2020
1 parent 927a7f0 commit 12dfa12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rules/always-return.js
Expand Up @@ -68,7 +68,7 @@ module.exports = {
// funcInfoStack[i].branchInfoMap is an object representing information
// about all branches within the given function
// funcInfoStack[i].branchInfoMap[j].good is a boolean representing whether
// the given branch explictly `return`s or `throw`s. It starts as `false`
// the given branch explicitly `return`s or `throw`s. It starts as `false`
// for every branch and is updated to `true` if a `return` or `throw`
// statement is found
// funcInfoStack[i].branchInfoMap[j].loc is a eslint SourceLocation object
Expand Down
2 changes: 1 addition & 1 deletion rules/lib/has-promise-callback.js
@@ -1,5 +1,5 @@
/**
* Library: Has Promis eCallback
* Library: Has Promise Callback
* Makes sure that an Expression node is part of a promise
* with callback functions (like then() or catch())
*/
Expand Down

0 comments on commit 12dfa12

Please sign in to comment.