Skip to content

Commit 12dfa12

Browse files
chore: fix typos in some comments
1 parent 927a7f0 commit 12dfa12

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rules/always-return.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ module.exports = {
6868
// funcInfoStack[i].branchInfoMap is an object representing information
6969
// about all branches within the given function
7070
// funcInfoStack[i].branchInfoMap[j].good is a boolean representing whether
71-
// the given branch explictly `return`s or `throw`s. It starts as `false`
71+
// the given branch explicitly `return`s or `throw`s. It starts as `false`
7272
// for every branch and is updated to `true` if a `return` or `throw`
7373
// statement is found
7474
// funcInfoStack[i].branchInfoMap[j].loc is a eslint SourceLocation object

rules/lib/has-promise-callback.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Library: Has Promis eCallback
2+
* Library: Has Promise Callback
33
* Makes sure that an Expression node is part of a promise
44
* with callback functions (like then() or catch())
55
*/

0 commit comments

Comments
 (0)