# twbs/bootlint

HTML linter for Bootstrap projects

Repository: https://github.com/twbs/bootlint
Canonical: https://ross.abutalabs.com/products/bootlint
Language: JavaScript
License: MIT
License Family: permissive
Topics: bootlint, bootstrap, html, bookmarklet, linter
Archived: true
Last push: 2022-01-27T15:10:29+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4445, "days_push": 1679, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2379, forks 308 (observed 2026-08-28T04:06:42.222086+00:00)

## What it is
Bootlint is an HTML linter that checks webpages using Bootstrap for common markup mistakes, verifying that Bootstrap components have correctly-structured DOM and required meta tags and doctype are present. It is available as a CLI, an npm library, and via Grunt/Gulp plugins or a bookmarklet.

## Use cases
- lint html files for bootstrap markup mistakes
- check bootstrap component dom structure is correct
- verify required meta tags and html5 doctype in bootstrap pages
- run bootstrap lint checks in a grunt or gulp build
- lint bootstrap pages from the browser with a bookmarklet

## When to choose
- your project uses vanilla Bootstrap with default class names
- you want automated checks for common Bootstrap HTML mistakes in CI or builds
- you need a quick CLI or bookmarklet to audit Bootstrap pages

## When to avoid
- your pages are not using Bootstrap
- you rely heavily on Less/Sass mixins with custom class names, which can cause false positives
- you need full HTML5 validity checking rather than Bootstrap-specific linting

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: linter, cli, developer-tools
- domain: web-development, frontend, developer-tools
- platform: cli, browser, cross-platform
- tags: bootstrap, html-linting, bookmarklet, grunt-plugin, gulp-plugin, command-line, nodejs

## Member repositories
- twbs/bootlint (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:42.222086+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:34:53.354322+00:00, confidence not recorded.
  - readme: https://github.com/twbs/bootlint (fetched 2026-08-28T04:06:42.222086+00:00, sha 96e3a3a4b1a1)
  - registry_npm: https://registry.npmjs.org/bootlint (fetched 2026-08-29T10:16:02.795783+00:00, sha 084b56428bc0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
