Re:Google HTML/CSS Style Guide – Omit Optional Tags
by parr0t on Sunday September 18, 2016 @11:56PM
(#12528763)
That's really interesting, first I have heard about automated tools to validate code.
Are there public tools out there you can use prior to commits for this purpose or are they generally done in-house?
Re:Google HTML/CSS Style Guide – Omit Optional Tags
by __derek__ on Monday September 19, 2016 @12:16AM
(#12528850)
The big one for Git is Overcommit[1]. The tools that it runs depend on the language, though. Some are community-driven[2], while others are baked into the language.[3]
[1]: https://github.com/brigade/overcommit
[2]: E.g., flake8 for Python: https://pypi.python.org/pypi/flake8
[3]: E.g., gofmt for Go: https://golang.org/cmd/gofmt/
[1]: This is my opinion. Anecdotally, places with style guides tend to have better engineering cultures.
[2]: Again, opinion. This tends to indicate a weak culture (dictatorial lead or a lack of awareness/ability when it comes to tools) and can produce a negative atmosphere (nit-picking isn't fun).