Sometimes another developer will ask me. "Hyphens or underscores?" "Spaces or tabs?" That's when I realized that creating a personal styleguide would be the best thing ever.
This styleguide is how I write code. Styleguides are meant to help teams of developers to create a strategy on how they write their code. If you find this useful, I encourage you to fork it and use it for your own team's guide.
I setup a nice site for the style guide, but you can also read through it on GitHub. ToC below.
If you really want to run this locally, here's what works on my machine ™
bundle install
bundle exec jekyll serve
open http://localhost:4000/
I've created a nice little bundle of editor style goodies that will match my coding style. You can download here.
This styleguide is inspired by some styleguides from these awesome developers and organizations.
- codeguide.co by @mdo
- idiomatic-css by @necolas
- Javascript by @airbnb
MIT © Jon Rohan