Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

E013 false positive? #276

Closed
alexander-akait opened this issue Apr 26, 2015 · 2 comments
Closed

E013 false positive? #276

alexander-akait opened this issue Apr 26, 2015 · 2 comments

Comments

@alexander-akait
Copy link

My code:

<div class="col-xs-12 col-sm-6 col-md-4">
    Grid item
</div>
<div class="col-xs-12 col-sm-6 col-md-4">
    Grid item
</div>
<div class="clear visible-sm"></div>
<div class="col-xs-12 col-sm-6 col-md-4">
    Grid item
</div>
<div class="clear visible-md"></div>
<div class="col-xs-12 col-sm-6 col-md-4">
    Grid item
</div>
<div class="clear visible-sm"></div>
<div class="col-xs-12 col-sm-6 col-md-4">
    Grid item
</div>
<div class="col-xs-12 col-sm-6 col-md-4">
    Grid item
</div>
<div class="clear visible-sm"></div>
<div class="clear visible-md"></div>
<div class="col-xs-12 col-sm-6 col-md-4">
    Grid item
</div>
<div class="col-xs-12 col-sm-6 col-md-4">
    Grid item
</div>
<div class="clear visible-sm"></div>
<div class="col-xs-12 col-sm-6 col-md-4">
    Grid item
</div>
<div class="clear visible-md"></div>
<div class="col-xs-12 col-sm-6 col-md-4">
    Grid item
</div>
<div class="clear visible-sm"></div>

I get this code from: twbs/bootstrap#9454

@cvrebert
Copy link
Collaborator

I assume you're referring to a "E013: Only columns (.col-*-*) may be children of .rows" error?
Your code has clear instead of the original code's clearfix.

It would be good for the error message to mention that .clearfixes are valid children though.

@cvrebert cvrebert changed the title The error in html or bootlint? E013 false positive? Apr 26, 2015
@alexander-akait
Copy link
Author

@cvrebert thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants