Repository: couchdb-fauxton Updated Branches: refs/heads/master 3c88b1b97 -> c1e01b8c2
Feedback from @robertkowalski Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/c1e01b8c Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/c1e01b8c Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/c1e01b8c Branch: refs/heads/master Commit: c1e01b8c22485abcecec4f36630aa06dd271bf3d Parents: a35348e Author: Benjamin Keen <[email protected]> Authored: Mon Nov 10 13:50:26 2014 -0800 Committer: Benjamin Keen <[email protected]> Committed: Tue Nov 18 08:45:32 2014 -0800 ---------------------------------------------------------------------- styleguide.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/c1e01b8c/styleguide.md ---------------------------------------------------------------------- diff --git a/styleguide.md b/styleguide.md index 622c59f..8197a68 100644 --- a/styleguide.md +++ b/styleguide.md @@ -236,9 +236,16 @@ styled; they should be used for JS hooks only. We use Less to generate our CSS. -#### Indentation +#### Indentation / Whitespace - Indent using 2 spaces. Donât use tabs. - Put selectors and braces on their own lines. +- One space between the end of the selector and the opening brace, e.g. + +``` +.my-class { + /* rules here */ +} +``` #### Naming - As noted in the HTML section above, selectors should be lowercase.
