Home - Herst/bootlint-ng GitHub Wiki
Warnings represents potential errors. They may have false-positives.
-
W001 (
<meta charset="UTF-8">) - W002 (X-UA-Compatible)
-
W003 (
<meta name="viewport">) - W004 (deprecated remote modal)
W005 (jQuery)- W006 (disabled tooltip or popover)
-
W007 (
<button>missingtypeattribute) -
W008 (tooltip/popover in
.btn-grouprequirescontainer: 'body') - W009 (empty spacer column)
W010 (.pull-leftor.pull-rightin.media)W011 (Reserved for #188 / #189)- W012 (navbar missing inner container)
W013 (Outdated version of Bootstrap)- W014 (Incorrect carousel targets)
W015 (Unreleased major version of Bootstrap)-
W016 (Perhaps you meant to use the
[disabled]attribute instead of the.disabledclass on a.btn) -
W017 (
<input>missingtypeattribute) -
W018 (
.col-*-12classes used alone are not useful)
Errors represent definite errors. Under the assumptions explained in the "Caveats" section of the README, they should never have any false-positives.
-
E001 (HTML5
DOCTYPErequired) E002 (Bootstrap v2 grid)-
E003 (misplaced
.row) E004 (nested containers)-
E005 (
.row.col-*-*) -
E006 (non-
<input>.form-controlwithin.input-group) E007 (bootstrap.js&bootstrap.min.js)E008 was replaced by W008-
E009 (forgot about
input-group-sm/input-group-lg) -
E010 (input group with multiple
.form-controls) -
E011 (
.form-group.input-group) -
E012 (
.input-group.col-*-*) - E013 (row children must be columns)
- E014 (column parent must be a row)
- E015 (multiple add-ons on a single side of an input group)
- E016 (dropdown within button group)
-
E017 (
.checkbox) -
E018 (
.radio) -
E019 (
.checkbox-inline) -
E020 (
.radio-inline) -
E021 (
.active&[checked]) - E022 (modal within another component)
-
E023 (wrong
.panel-bodyparent) -
E024 (wrong
.panel-headingparent) -
E025 (wrong
.panel-footerparent) -
E026 (wrong
.panel-titleparent) E027 (table.table-responsive)-
E028 (
.form-control-feedbackmissing.has-feedback) - E029 (redundant grid column classes)
E030 (.glyphicon-*without.glyphicon)E031 (.glyphiconon element with content or children)- E032 (incorrectly structured modal markup)
-
E033 (
.alertwith dismiss button missing.alert-dismissible) E034 (.closebutton is present but isn't first element in.alert)-
E035 (
.form-horizontalor.form-inlineon.form-group) E036 (Multiple.btns or.dropdown-menus in one.input-group-btn)-
E037 (
.col-*-0classes) -
E038 (
.media-left/.media-rightoutside of.media) -
E039 (
.navbar-left/.navbar-rightoutside of.navbar) E040 (.modal.hide)- E041 (incorrectly structured carousel markup)
-
E042 (
.form-controlon wrong element or<input>of wrongtype) -
E043 (btn classes on
<a>s within.navbar-navs) -
E044 (
.input-groupmust have a.form-controland either an add-on or a btn) -
E045 (
.img-responsiveon non-<img>) -
E046 (
.modalmissing[tabindex]) -
E047 (Used
.btnon something other than an<a>/<button>/<input>/<label>) -
E048 (
.modalmissing[role="dialog"]) -
E049 (
.modal-dialogmissing[role="document"]) -
E050(
.form-groups cannot be nested) -
E051(
.pull-rightand.pull-leftclasses, and manual style attributes withfloat: leftorfloat: rightare not allowed on.col-*-*elements) -
E052(
.pull-rightand.pull-leftclasses, and manualstyleattributes withfloat: leftorfloat: rightare not allowed on.rowelements)