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 rule about spacing #57

Merged
merged 3 commits into from
Mar 21, 2017
Merged

Add rule about spacing #57

merged 3 commits into from
Mar 21, 2017

Conversation

ABaldwinHunter
Copy link
Contributor

@ABaldwinHunter ABaldwinHunter requested a review from wfleming March 2, 2017 21:54
sass/README.md Outdated
Use space between neighboring nested blocks, but not before or after.

### Good
```scss
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add a space above this block element.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

so fast :)

will do

sass/README.md Outdated
color: $green-dark;
}
}

Copy link
Contributor

Choose a reason for hiding this comment

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

Please remove this space.

sass/README.md Outdated
```

### Bad
```scss
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add a space above this block element.

Copy link
Contributor

@pbrisbin pbrisbin left a comment

Choose a reason for hiding this comment

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

Given the nature of this PR, it seemed appropriate to nit-pick your markdown spacing :)

@ABaldwinHunter
Copy link
Contributor Author

@pbrisbin heh naturally :)

updated

Copy link
Contributor

@pbrisbin pbrisbin left a comment

Choose a reason for hiding this comment

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

sass/README.md Outdated

```scss
.btn {
font-size: 15px;
Copy link
Contributor

Choose a reason for hiding this comment

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

💄 should probably sort the rules in all examples since that's what we do in real SCSS.

}
```

### Bad
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think this 3rd example is needed: the two examples above sufficiently demonstrate the desired style, so this just makes the file longer without much need IMHO.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think the third adds to the goldilocks trifecta and there's not much else on this page. Going to leave unless you feel strongly about removing - then let me know!

sass/README.md Outdated
@@ -16,3 +16,61 @@ Notable exceptions:
* prefer double quotes

[1]: http://csswizardry.com/2013/01/mindbemding-getting-your-head-round-bem-syntax/

## whitespace
Copy link
Contributor

Choose a reason for hiding this comment

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

💄 capitalize the headline?

@dblandin
Copy link
Contributor

@ABaldwinHunter Is this PR still active?

@ABaldwinHunter
Copy link
Contributor Author

Oo yes. Updating and merging

@ABaldwinHunter ABaldwinHunter merged commit 2c148d5 into master Mar 21, 2017
@ABaldwinHunter ABaldwinHunter deleted the abh/scss-spacing branch March 21, 2017 15:24
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.

4 participants