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

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

Open
wants to merge 5 commits into
base: next
Choose a base branch
from
Open

Conversation

Herst
Copy link
Collaborator

@Herst Herst commented Sep 29, 2018

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
Copy link
Member

@Johann-S Johann-S left a comment

Choose a reason for hiding this comment

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

LGTM 👍

src/bootlint.js Outdated Show resolved Hide resolved
@Herst
Copy link
Collaborator Author

Herst commented Oct 15, 2018

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

src/bootlint.js Outdated Show resolved Hide resolved
@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
Copy link
Member

XhmikosR commented Aug 1, 2019

Isn't this ready to be merged?

@Herst
Copy link
Collaborator Author

Herst commented Aug 1, 2019

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.

None yet

3 participants