bootlint
bootlint copied to clipboard
HTML linter for Bootstrap projects
Similar to #11. Refs https://github.com/twbs/bootstrap/issues/16703
An `.input-group` can only have exactly 2 or 3 direct children. These children must be a `.form-control` preceded and/or followed by an addon. Refs https://github.com/twbs/bootstrap/issues/16540
See https://github.com/twbs/bootstrap/issues/15512#issuecomment-69067108 Also, looks like the current check only looks for direct children rather than descendants?
From the docs: > While button classes can be used on `` and `` elements, only `` elements are supported within our nav and navbar components. Not sure if this...
Regarding the [quick floats](http://getbootstrap.com/css/#helper-classes-floats): > To align components in navbars with utility classes, use `.navbar-left` or `.navbar-right` instead. See the navbar docs for details.