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

Comma rule does not get triggered in all situations #876

Merged
merged 3 commits into from
Nov 25, 2016

Conversation

sadefigu
Copy link
Contributor

Improving comma rule to support expressions that begin with the comma. (fixes a gap when there are consecutive comma violations)

For example, if the expression is 'let a = [1,2,3]', the previous comma rule regexp would consume '1,2' and the remaining ',3' would not be consumed by the regexp because it does not support something that begins with a comma.

… (fixes a gap when there are consecutive comma violations)

Fixing swiflint warnings

Improving comma rule to support expressions that begin with the comma (fixes a gap when there are consecutive comma violations)
For example, if the expression is 'let a = [1,2,3]', the previous comma rule regexp would consume '1,2' and the remaining ',3' would not be consumed by the regexp because it does not support something that begins with a comma.
… (fixes a gap when there are consecutive comma violations)

Fixing swiflint warnings

Improving comma rule to support expressions that begin with the comma (fixes a gap when there are consecutive comma violations)
For example, if the expression is 'let a = [1,2,3]', the previous comma rule regexp would consume '1,2' and the remaining ',3' would not be consumed by the regexp because it does not support something that begins with a comma.

Updating changelog.md

Improving comma rule to support expressions that begin with the comma (fixes a gap when there are consecutive comma violations)
@sadefigu sadefigu changed the title #872 Comma rule does not get triggered in all situations Comma rule does not get triggered in all situations Nov 12, 2016
@codecov-io
Copy link

codecov-io commented Nov 12, 2016

Current coverage is 85.72% (diff: 100%)

No coverage report found for master at 1b82909.

Powered by Codecov. Last update 1b82909...60ba8a9

@jpsim
Copy link
Collaborator

jpsim commented Nov 25, 2016

Thanks for the PR, @sadefigu!

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