diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e40cb4a..9b924c9d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -38,7 +38,7 @@ ## 4.3.0 - https://github.com/eslint-community/eslint-plugin-promise/pull/202 -- Udpated jest +- Updated jest ## 4.2.2 diff --git a/__tests__/no-promise-in-callback.js b/__tests__/no-promise-in-callback.js index 61086e15..37830c3e 100644 --- a/__tests__/no-promise-in-callback.js +++ b/__tests__/no-promise-in-callback.js @@ -20,7 +20,7 @@ ruleTester.run('no-promise-in-callback', rule, { // arrow functions and other things 'go(() => Promise.resolve(4))', 'go((errrr) => a.then(b))', - 'go((elpers) => { b.catch(c) })', + 'go((helpers) => { b.catch(c) })', 'go((e) => { b.then(c, d) })', // within promises it won't complain diff --git a/docs/rules/no-callback-in-promise.md b/docs/rules/no-callback-in-promise.md index 75c4136a..a86c4b1a 100644 --- a/docs/rules/no-callback-in-promise.md +++ b/docs/rules/no-callback-in-promise.md @@ -53,7 +53,7 @@ Callback got called with: null data ``` Finally, if your callbacks have a Node.js signature (i.e. -`callback(err, data)`), consider using [util.promsify] for promisifying your +`callback(err, data)`), consider using [util.promisify] for promisifying your callback code instead of combining the approaches. [util.promisify]: diff --git a/rules/no-native.js b/rules/no-native.js index b77716eb..fa96be7d 100644 --- a/rules/no-native.js +++ b/rules/no-native.js @@ -38,7 +38,7 @@ module.exports = { /** * Checks for and reports reassigned constants * - * @param {Scope} scope - an escope Scope object + * @param {Scope} scope - an scope Scope object * @returns {void} * @private */