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: add lint rule to prevent .only usage #3085

Merged
merged 1 commit into from
Dec 16, 2021
Merged

Conversation

nbbeeken
Copy link
Contributor

Description

What is changing?

Our linter will now error on (it/describe/context).only
This can just help us catch accidentally merging a .only usage

What is the motivation for this change?

Peace of mind

Double check the following

  • Ran npm run check:lint script
  • Self-review completed using the steps outlined here
  • PR title follows the correct format: <type>(NODE-xxxx)<!>: <description>
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket

Copy link
Contributor

@dariakp dariakp 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!

Copy link
Contributor

@baileympearson baileympearson left a comment

Choose a reason for hiding this comment

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

Thanks for just getting this PR up! LGTM

@dariakp dariakp merged commit 3e83a6a into main Dec 16, 2021
@dariakp dariakp deleted the chore/eslint-for-only branch December 16, 2021 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants