[rspec-users] Coding standards and whitespace

David Chelimsky dchelimsky at gmail.com
Fri Jul 27 17:38:23 EDT 2007


On 7/26/07, Wincent Colaiuta <win at wincent.com> wrote:
> Recently as a result of using Git I've noticed a number of
> inconsistencies in the RSpec codebase with respect to whitespace
> (mixed line endings, mixed use of spaces and tabs for indentation,
> and trailing whitespace at the end of lines). I never would have
> noticed, but Git produces nice colorized diff output which highlights
> these kinds of inconsistencies.
>
> I wanted to ask if the core RSpec team had established any
> conventions/standards for these things. The basic rationale is that
> if all contributors agree to a small number of conventions for
> whitespace there are less likely to be changesets with non-
> substantive whitespace differences (really, false alarms).

Your thinking makes sense, but we haven't set a standard for this. Do
you know how to configure TextMate (which most of us use) to take care
of this automagically when saving files?


More information about the rspec-users mailing list