Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: minor typos #359

Merged
merged 2 commits into from Sep 29, 2022
Merged

chore: minor typos #359

merged 2 commits into from Sep 29, 2022

Conversation

nschonni
Copy link
Contributor

What is the purpose of this pull request?

  • Documentation update
  • Bug fix
  • New rule
  • Changes an existing rule
  • Add autofixing to a rule
  • Other, please explain:

What changes did you make? (Give an overview)

Used cSpell to find a few minor typos

@@ -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))',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why the testing was unhappy when I tried changing this to err/error/errr, but I reverted it

    Message:
      Should have no errors but had 1: [
      {
        ruleId: 'no-promise-in-callback',
        severity: 1,
        message: 'Avoid using promises inside of callbacks.',
        line: 1,
        column: 13,
        nodeType: 'MemberExpression',
        endLine: 1,
        endColumn: 19
      }
    ]

rules/no-native.js Outdated Show resolved Hide resolved
Co-authored-by: Yosuke Ota <otameshiyo23@gmail.com>
Copy link
Member

@ota-meshi ota-meshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@ota-meshi ota-meshi merged commit b431e46 into eslint-community:main Sep 29, 2022
@nschonni nschonni deleted the typos branch September 29, 2022 05:19
@MichaelDeBoey MichaelDeBoey changed the title fix: minor typos chore: minor typos Sep 29, 2022
@github-actions
Copy link

🎉 This PR is included in version 6.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link

@SuzukiSteveTB SuzukiSteveTB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cease and desist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants