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

Force double quotes #274

Merged
merged 3 commits into from
May 20, 2015
Merged

Force double quotes #274

merged 3 commits into from
May 20, 2015

Conversation

vast
Copy link
Contributor

@vast vast commented May 18, 2015

Using double quotes in Ruby and CoffeeScript will reduce the number of changes we have to make when a string transitions into something that needs interpolation or escaped characters:

  • "Isn't this nice?"
  • "It is #{nice}"
  • "[data-behavour='exceprt']"

This will also make our code consistent: all strings will now have double quotes regardless of their content.

In order to be completely consistent and not to have different conventions we should also force the same rule in SCSS.

@vast vast force-pushed the double-quotes branch from b2e0491 to ddab716 Compare May 18, 2015 15:22
@vast vast force-pushed the double-quotes branch from ddab716 to d229651 Compare May 20, 2015 17:22
@vast vast changed the title [wip] Force double quotes Force double quotes May 20, 2015
@vast
Copy link
Contributor Author

vast commented May 20, 2015

/cc @timurvafin, @rustemginiyatullin

@timurvafin
Copy link
Member

@vast I believe we should mention this thing in changelog with the link to pull request.

@vast
Copy link
Contributor Author

vast commented May 20, 2015

@timurvafin, thanks, done in 9132965

timurvafin added a commit that referenced this pull request May 20, 2015
@timurvafin timurvafin merged commit 24953da into master May 20, 2015
@timurvafin timurvafin deleted the double-quotes branch May 20, 2015 17:37
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.

2 participants