File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ violations.
2323- Delete trailing spaces.
2424- Don't misspell.
2525- Use [ Unix-style line endings] (` \n ` ).
26+ - Use spaces around operators, except for unary operators, such as ` ! ` .
2627
2728[ unix-style line endings ] : http://unix.stackexchange.com/questions/23903/should-i-end-my-text-script-files-with-a-newline
2829
Original file line number Diff line number Diff line change 4141- Prefer ` private ` when indicating scope. Use ` protected ` only with comparison
4242 methods like ` def ==(other) ` , ` def <(other) ` , and ` def >(other) ` .
4343- Use empty lines around multi-line blocks.
44- - Use spaces around operators, except for unary operators, such as ` ! ` .
4544
4645[ standard ] : https://github.com/testdouble/standard
4746[ #63 ] : https://github.com/thoughtbot/guides/pull/63
You can’t perform that action at this time.
0 commit comments