drusepth / Indent

Indent is a set of tools for writers, game designers, and roleplayers to create magnificent universes – and everything within them.
http://indentapp.com
1 stars 1 forks source link

Include Ruby, JS, and CSS style guides #357

Open drusepth opened 10 years ago

drusepth commented 10 years ago

Modeled after GitHub, AirBnB, etc all

Cantido commented 10 years ago

Where is the GitHub style guide? I tried poking around for it and no luck.

If you really want to dig into it, you could add some static code analysis and then the agreed-upon coding style could at least partially be right there in the repo. For instance, linting the Ruby and JS?

drusepth commented 10 years ago

GitHub styleguide is at https://github.com/styleguide. I think it'd make the most sense to just create a GitHub wiki page and link to the Ruby, JS, and CSS style guides, and then setting up something like jslint and whatever-jslint-exists-for-ruby.

Mostly, as more people start contributing, I'd just like somewhere central to point to so everyone is on the same page, and GitHub's style guide is pretty widely accepted as Good, I think.

By static code analysis, do you mean linting? Or, some other kind of analysis?

Cantido commented 10 years ago

I generally mean linting, yeah. It would include heavier-duty tools that analyze stuff like cyclomatic complexity and coupling, but I mostly mean linting lol