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

Don't use spaces around .. #74

Merged
merged 1 commit into from
Oct 22, 2024
Merged

Don't use spaces around .. #74

merged 1 commit into from
Oct 22, 2024

Conversation

fredrikekre
Copy link
Owner

.. is typically used similarly to : which is already excluded from the space-around-operator rule.

`..` is typically used similarly to `:` which is already excluded from
the space-around-operator rule.
@fredrikekre fredrikekre merged commit 7d26dcf into master Oct 22, 2024
8 of 10 checks passed
@fredrikekre fredrikekre deleted the fe/dot-dot branch October 22, 2024 19:49
fredrikekre added a commit that referenced this pull request Nov 6, 2024
Behavior of `..` is more tricky than `:`. Sometimes the space is
required like in e.g. `a .. -b` which, formatted as `a..-b`, would give
`ParseError: invalid operator ..-`.

This reverts commit 7d26dcf.
fredrikekre added a commit that referenced this pull request Nov 6, 2024
Behavior of `..` is more tricky than `:`. Sometimes the space is
required like in e.g. `a .. -b` which, formatted as `a..-b`, would give
`ParseError: invalid operator ..-`.

This reverts commit 7d26dcf.
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.

1 participant