Open Herst opened 5 years ago
Progress when it comes to porting/removing existing checks (wiki changes not included). Help appreciated.
<meta charset="UTF-8">
<meta name="viewport">
<button>
type
.btn-group
container: 'body'
.pull-left
.pull-right
.media
[disabled]
.disabled
.btn
<input>
DOCTYPE
.row
.row.col-*-*
.form-control
.input-group
bootstrap.js
bootstrap.min.js
input-group-sm
input-group-lg
.form-group.input-group
.input-group.col-*-*
.radio
.checkbox-inline
.radio-inline
.active
[checked]
.panel-body
.panel-heading
.panel-footer
.panel-title
table.table-responsive
.form-control-feedback
.has-feedback
.glyphicon-*
.glyphicon
.alert
.alert-dismissible
.close
.form-horizontal
.form-inline
.form-group
.col-*-0
.media-left
.media-right
.navbar-left
.navbar-right
.navbar
.modal.hide
<a>
.navbar-nav
.img-responsive
<img>
.modal
[tabindex]
<label>
[role="dialog"]
.modal-dialog
[role="document"]
float: left
float: right
.col-*-*
style
See also https://github.com/twbs/bootlint/milestone/16
Progress when it comes to porting/removing existing checks (wiki changes not included). Help appreciated.
<meta charset="UTF-8">
➡ #454<meta name="viewport">
<button>
missingtype
attribute ➡ #450.btn-group
requirescontainer: 'body'
.pull-left
or.pull-right
in.media
➡ #426[disabled]
attribute instead of the.disabled
class on a.btn
➡ #450<input>
missingtype
attribute ➡ #450DOCTYPE
required.row
➡ #422.row.col-*-*
➡ #420<input>
.form-control
within.input-group
➡ #423bootstrap.js
&bootstrap.min.js
(remove for now?)input-group-sm
/input-group-lg
➡ #423.form-control
s ➡ #423.form-group.input-group
➡ #423.input-group.col-*-*
➡ #420, #423.radio
.checkbox-inline
.radio-inline
.active
&[checked]
➡ #450.panel-body
parent ➡ #425.panel-heading
parent ➡ #425.panel-footer
parent ➡ #425.panel-title
parent ➡ #425table.table-responsive
➡ #455.form-control-feedback
missing.has-feedback
.glyphicon-*
without.glyphicon
➡ #426.glyphicon
on element with content or children ➡ #426.alert
with dismiss button missing.alert-dismissible
.close
button is present but isn't first element in.alert
.form-horizontal
or.form-inline
on.form-group
.col-*-0
classes ➡ #420.media-left
/.media-right
outside of.media
➡ #426.navbar-left
/.navbar-right
outside of.navbar
.modal.hide
➡ #428.form-control
on wrong element or<input>
of wrongtype
<a>
s within.navbar-nav
s.input-group
must have a.form-control
and either an add-on or a btn ➡ #423.img-responsive
on non-<img>
➡ #453.modal
missing[tabindex]
➡ #428.btn
on something other than an<a>
/<button>
/<input>
/<label>
➡ #450.modal
missing[role="dialog"]
➡ #428.modal-dialog
missing[role="document"]
➡ #428.form-group
s cannot be nested.pull-right
and.pull-left
classes, and manual style attributes withfloat: left
orfloat: right
are not allowed on.col-*-*
elements ➡ #420.pull-right
and.pull-left
classes, and manualstyle
attributes withfloat: left
orfloat: right
are not allowed on.row
elements ➡ #420See also https://github.com/twbs/bootlint/milestone/16