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

Update documentation for sigil order cop #120

Merged
merged 1 commit into from
Aug 12, 2022

Conversation

ameketa
Copy link
Contributor

@ameketa ameketa commented Aug 12, 2022

The EnforceSigilOrder cop originally preferred to put the typed sigil
first, above the encoding sigil, which caused Ruby to ignore the
encoding sigil if present. This was corrected in:

66b2d6f

but the documentation was not updated in that same commit.

This change updates the documentation in the cop to reflect the correct
ordering of the sigils enforced by the cop.

The EnforceSigilOrder cop originally preferred to put the `typed` sigil
first, above the `encoding` sigil, which caused Ruby to ignore the
`encoding` sigil if present. This was corrected in:

66b2d6f

but the documentation was not updated in that same commit.

This change updates the documentation in the cop to reflect the correct
ordering of the sigils enforced by the cop.
@ameketa ameketa requested a review from a team as a code owner August 12, 2022 16:11
Copy link
Contributor

@Morriar Morriar left a comment

Choose a reason for hiding this comment

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

Good catch, thanks!

@ameketa
Copy link
Contributor Author

ameketa commented Aug 12, 2022

I just signed the CLA as well!

@Morriar Morriar merged commit 219adf0 into Shopify:main Aug 12, 2022
@ameketa ameketa deleted the ameketa/fix-sigil-order-documentation branch August 12, 2022 17:01
@shopify-shipit shopify-shipit bot temporarily deployed to production February 3, 2023 21:42 Inactive
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.

None yet

2 participants