Open drusepth opened 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?
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?
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
Modeled after GitHub, AirBnB, etc all