travis-ci/travis-core — pull request #62 by dvyjones (2012-05-20 20:08:05+00:00)
Title: Add styleguide

I think we should have a style guide for the travis-ci projects. I've started with an example here, and I've pushed it to the original repo instead of my fork so anyone (with push rights) can push up changes to this.

I'm not saying we should change all code to this, at least not right away. What we could do is change code as we touch it.

I'm making this as a pull request so everyone can discuss. Feel free to add comments. Should we change something? Add something? I've used [bbatsov's style guide][bbatsov-styleguide] as the base, with a few changes, and a lot of extraneous things removed.

[bbatsov-styleguide]: https://github.com/bbatsov/ruby-style-guide