Skip to content
This repository has been archived by the owner on Mar 28, 2019. It is now read-only.

Improved reporting for MISSING_CSS_BLOCK_OPENER #95

Open
flukeout opened this issue Sep 29, 2017 · 0 comments
Open

Improved reporting for MISSING_CSS_BLOCK_OPENER #95

flukeout opened this issue Sep 29, 2017 · 0 comments

Comments

@flukeout
Copy link

flukeout commented Sep 29, 2017

See here...

image

In this rule we get access to the selector which is the following string...

div font-weight: bold

This is used to add the highlight above, which seems like overkill. We should modify this somewhat to maybe parse out the selector used? An easy solution would be to just look for the first space in this string and then assume that the selector is whatever precedes the space?

cc @Pomax

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

1 participant