Skip to content

Commit b431e46

Browse files
nschonniota-meshi
andauthored
fix: minor typos (#359)
* fix: minor typos * Update rules/no-native.js Co-authored-by: Yosuke Ota <[email protected]> Co-authored-by: Yosuke Ota <[email protected]>
1 parent 5fa8a9e commit b431e46

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
## 4.3.0
3939

4040
- https://github.com/eslint-community/eslint-plugin-promise/pull/202
41-
- Udpated jest
41+
- Updated jest
4242

4343
## 4.2.2
4444

__tests__/no-promise-in-callback.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ruleTester.run('no-promise-in-callback', rule, {
2020
// arrow functions and other things
2121
'go(() => Promise.resolve(4))',
2222
'go((errrr) => a.then(b))',
23-
'go((elpers) => { b.catch(c) })',
23+
'go((helpers) => { b.catch(c) })',
2424
'go((e) => { b.then(c, d) })',
2525

2626
// within promises it won't complain

docs/rules/no-callback-in-promise.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Callback got called with: null data
5353
```
5454

5555
Finally, if your callbacks have a Node.js signature (i.e.
56-
`callback(err, data)`), consider using [util.promsify] for promisifying your
56+
`callback(err, data)`), consider using [util.promisify] for promisifying your
5757
callback code instead of combining the approaches.
5858

5959
[util.promisify]:

rules/no-native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ module.exports = {
3838
/**
3939
* Checks for and reports reassigned constants
4040
*
41-
* @param {Scope} scope - an escope Scope object
41+
* @param {Scope} scope - an eslint-scope Scope object
4242
* @returns {void}
4343
* @private
4444
*/

0 commit comments

Comments
 (0)