Skip to content

Commit 9487069

Browse files
committed
Move spaces around operators guideline back to general
1 parent 60e3c61 commit 9487069

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

general/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

ruby/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
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

0 commit comments

Comments
 (0)