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

Add 3 rules from Shopify #19

Merged
merged 1 commit into from
Jul 17, 2024
Merged

Add 3 rules from Shopify #19

merged 1 commit into from
Jul 17, 2024

Conversation

dcroote
Copy link
Collaborator

@dcroote dcroote commented Jul 17, 2024

Closes #17 by adding 3 rules discussed in the issue comment thread. I tested using pnpm pack then incorporating that into ois where the new return early caught 2 instances where it'll be helpful.

I'll release v2.0.0 after this then?

@dcroote dcroote requested a review from Siegrift July 17, 2024 05:57
@dcroote dcroote self-assigned this Jul 17, 2024
@@ -19,7 +19,7 @@ module.exports = {
'plugin:promise/recommended',
'plugin:lodash/recommended',
],
plugins: ['@typescript-eslint', 'deprecation', 'functional', 'unicorn', 'check-file', 'import', 'lodash'],
plugins: ['@shopify', '@typescript-eslint', 'check-file', 'deprecation', 'functional', 'import', 'lodash', 'unicorn'],
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Added @shopify and alphabetized.

Copy link
Collaborator

@Siegrift Siegrift left a comment

Choose a reason for hiding this comment

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

👍 LGTM

I'll release v2.0.0 after this then?

I'd wait with 2.0.0 until #13 is done so that we batch these breaking changes in one go.

@dcroote dcroote merged commit 540f71a into main Jul 17, 2024
2 checks passed
@dcroote dcroote deleted the dcroote/issue17 branch July 17, 2024 14:42
@dcroote dcroote mentioned this pull request Jul 19, 2024
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.

Add prefer early return rule
2 participants