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

[v1] Warning if Bootstrap 3 classes are used#427

Open
Herst wants to merge 5 commits into
nextfrom
next-bs3-check
Open

[v1] Warning if Bootstrap 3 classes are used#427
Herst wants to merge 5 commits into
nextfrom
next-bs3-check

Conversation

@Herst

@Herst Herst commented Sep 29, 2018

Copy link
Copy Markdown
Collaborator

Check for some Bootstrap 3 classes, at least those where I assume that are unlikely to be used for anything else, if they are detected then a new warning with the is id W018 is printed.

Status

  • Code: Done
  • Tests: TBD, help appreciated
  • Wiki: TBD, help appreciated

For the wiki it would be nice to give some hints on what the Bootstrap 4 replacements for some of the things, see also #410 (comment)

/cc @XhmikosR @Johann-S

Johann-S
Johann-S previously approved these changes Sep 30, 2018

@Johann-S Johann-S left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Comment thread src/bootlint.js Outdated
@Herst

Herst commented Oct 15, 2018

Copy link
Copy Markdown
Collaborator Author

I've changed it now to more specific selectors where it makes sense.
/cc @Johann-S @XhmikosR

Comment thread src/bootlint.js Outdated
@Herst Herst force-pushed the next branch 2 times, most recently from 622ae8b to 65d8daf Compare November 10, 2018 17:34
@Herst Herst changed the title [v.next] Warning if Bootstrap 3 classes are used [v1] Warning if Bootstrap 3 classes are used Dec 26, 2018
@Herst Herst self-assigned this Dec 26, 2018
@Herst Herst force-pushed the next-bs3-check branch 3 times, most recently from 76147e0 to f79eb02 Compare December 27, 2018 11:40
Ports the following checks:

- W009 (empty spacer column)
- E005 (row and col on same element)
- E012 (input-group and col on the same element)
- E013 (invalid children of rows)
- E014 (invalid parent of cols)
- E029 (col 0 classes)
- E037 (float classes and col)
- E051 (float style and col)
- E052 (float style and row)
@Herst Herst added this to the v1.0.0 milestone Jul 29, 2019
@XhmikosR

XhmikosR commented Aug 1, 2019

Copy link
Copy Markdown
Member

Isn't this ready to be merged?

@Herst

Herst commented Aug 1, 2019

Copy link
Copy Markdown
Collaborator Author

Tests and wiki missing

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants