An HTML linter for Bootstrap projects

What's Bootlint?

Checks for several common HTML mistakes in webpages that are using Bootstrap in a fairly “vanilla” way. Vanilla Bootstrap’s components/widgets require their parts of the DOM to conform to certain structures. Bootlint checks that instances of Bootstrap components have correctly-structured HTML. Optimal usage of Bootstrap also requires that your pages include certain <meta> tags, an HTML5 doctype declaration, etc.; Bootlint checks that these are present.

What's Bootlint Online?

An implementation of Bootlint tool to check remote websites. This site is NOT operated by Bootstrap Team. 

You can contribute to Bootlint Online on Github.

Dependencies

 

Caveats

Bootlint assumes that your webpage is already valid HTML5. Use another tool, such as the W3C valiator, to check that first.

Bootlint assumes that you are using Bootstrap’s default class names in your webpage, as opposed to taking advantage of the “mixins” functionality of Less or Sass to map them to custom class names. If you are using mixins, Bootlint may report some false-positive warnings. However, there are some Bootlint checks that are applicable even if you are using mixins pervasively.

Using querystring

Validates given URL and triggers bootlint check up.

http://www.bootlint.com/?url=
Github star