зеркало из https://github.com/twbs/bootlint.git
Страница:
Home
Страницы
E001
E002
E003
E004
E005
E006
E007
E009
E010
E011
E012
E013
E014
E015
E016
E017
E018
E019
E020
E021
E022
E023
E024
E025
E026
E027
E028
E029
E030
E031
E032
E033
E034
E035
E036
E037
E038
E039
E040
E041
E042
E043
E044 (Missing children within `.input group`)
E044
E045
E046
E047
E048
E049
E050
E051
E052
Home
W001
W002
W003
W004
W005
W006
W007
W008
W009
W010
W012
W013
W014
W015
W016
W017
W018
66
Home
Herst редактировал(а) эту страницу 2018-12-26 22:06:40 +01:00
Lint Problem ID Index for v.0.x
Warnings
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>
missingtype
attribute) - W008 (tooltip/popover in
.btn-group
requirescontainer: 'body'
) - W009 (empty spacer column)
- W010 (
.pull-left
or.pull-right
in.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.disabled
class on a.btn
) - W017 (
<input>
missingtype
attribute) - W018 (
.col-*-12
classes used alone are not useful)
Errors
Errors represent definite errors. Under the assumptions explained in the "Caveats" section of the README, they should never have any false-positives.
- E001 (HTML5
DOCTYPE
required) - E002 (Bootstrap v2 grid)
- E003 (misplaced
.row
) - E004 (nested containers)
- E005 (
.row.col-*-*
) - E006 (non-
<input>
.form-control
within.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-control
s) - 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-body
parent) - E024 (wrong
.panel-heading
parent) - E025 (wrong
.panel-footer
parent) - E026 (wrong
.panel-title
parent) - E027 (
table.table-responsive
) - E028 (
.form-control-feedback
missing.has-feedback
) - E029 (redundant grid column classes)
- E030 (
.glyphicon-*
without.glyphicon
) - E031 (
.glyphicon
on element with content or children) - E032 (incorrectly structured modal markup)
- E033 (
.alert
with dismiss button missing.alert-dismissible
) - E034 (
.close
button is present but isn't first element in.alert
) - E035 (
.form-horizontal
or.form-inline
on.form-group
) E036 (Multiple.btn
s or.dropdown-menu
s in one.input-group-btn
)- E037 (
.col-*-0
classes) - E038 (
.media-left
/.media-right
outside of.media
) - E039 (
.navbar-left
/.navbar-right
outside of.navbar
) - E040 (
.modal.hide
) - E041 (incorrectly structured carousel markup)
- E042 (
.form-control
on wrong element or<input>
of wrongtype
) - E043 (btn classes on
<a>
s within.navbar-nav
s) - E044 (
.input-group
must have a.form-control
and either an add-on or a btn) - E045 (
.img-responsive
on non-<img>
) - E046 (
.modal
missing[tabindex]
) - E047 (Used
.btn
on something other than an<a>
/<button>
/<input>
/<label>
) - E048 (
.modal
missing[role="dialog"]
) - E049 (
.modal-dialog
missing[role="document"]
) - E050(
.form-group
s cannot be nested) - E051(
.pull-right
and.pull-left
classes, and manual style attributes withfloat: left
orfloat: right
are not allowed on.col-*-*
elements) - E052(
.pull-right
and.pull-left
classes, and manualstyle
attributes withfloat: left
orfloat: right
are not allowed on.row
elements)
Lint Problem ID Index for v.1.x (Bootlint for Bootstrap v4 and newer)
Warnings
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>
missingtype
attribute) - W008 (tooltip/popover in
.btn-group
requirescontainer: 'body'
) - W009 (empty spacer column)
W010 (.pull-left
or.pull-right
in.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.disabled
class on a.btn
) - W017 (
<input>
missingtype
attribute) - W018 (
.col-*-12
classes used alone are not useful)
Errors
Errors represent definite errors. Under the assumptions explained in the "Caveats" section of the README, they should never have any false-positives.
- E001 (HTML5
DOCTYPE
required) E002 (Bootstrap v2 grid)- E003 (misplaced
.row
) E004 (nested containers)- E005 (
.row.col-*-*
) - E006 (non-
<input>
.form-control
within.input-group
) - E007 (
bootstrap.js
&bootstrap.min.js
) - E009 (forgot about
input-group-sm
/input-group-lg
) - E010 (input group with multiple
.form-control
s) - 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-body
parent) - E024 (wrong
.panel-heading
parent) - E025 (wrong
.panel-footer
parent) - E026 (wrong
.panel-title
parent) - E027 (
table.table-responsive
) - E028 (
.form-control-feedback
missing.has-feedback
) - E029 (redundant grid column classes)
E030 (.glyphicon-*
without.glyphicon
)E031 (.glyphicon
on element with content or children)- E032 (incorrectly structured modal markup)
- E033 (
.alert
with dismiss button missing.alert-dismissible
) - E034 (
.close
button is present but isn't first element in.alert
) - E035 (
.form-horizontal
or.form-inline
on.form-group
) - E037 (
.col-*-0
classes) E038 (.media-left
/.media-right
outside of.media
)- E039 (
.navbar-left
/.navbar-right
outside of.navbar
) E040 (.modal.hide
)- E041 (incorrectly structured carousel markup)
- E042 (
.form-control
on wrong element or<input>
of wrongtype
) - E043 (btn classes on
<a>
s within.navbar-nav
s) - E044 (
.input-group
must have a.form-control
and either an add-on or a btn) - E045 (
.img-responsive
on non-<img>
) - E046 (
.modal
missing[tabindex]
) - E047 (Used
.btn
on something other than an<a>
/<button>
/<input>
/<label>
) - E048 (
.modal
missing[role="dialog"]
) - E049 (
.modal-dialog
missing[role="document"]
) - E050(
.form-group
s cannot be nested) - E051(
.pull-right
and.pull-left
classes, and manual style attributes withfloat: left
orfloat: right
are not allowed on.col-*-*
elements) - E052(
.pull-right
and.pull-left
classes, and manualstyle
attributes withfloat: left
orfloat: right
are not allowed on.row
elements)
Bootlint documentation wiki content is licensed under the CC BY 3.0 License, and based on Bootstrap's docs which are copyright Twitter, Inc.