Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

added reporting exact selector matches with a test #95

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

aunueget
Copy link

@zmoazeni @icijavon @carsonmcdonald @prsimp @laserlemon @viveksachdeva
resolve #94
resolve #93
This could use some code review.
First time with ruby, thanks to @icijavon.
Tried to match the style you had in the files.
I'm easy about changes so feel free to kill this in Code Review and I'll fix it up.

I could use some help finding out how to identify selectors that are nested(ex. @media) to have a accurate report. Is any variable set to identify what nested area a selector is in?

Test instructions
1)gem install bundle
2)pull branch
3)Install dependencies: bundle install
4) Run tests: bundle exec rake test
5) to test your own css file run: bundle exec csscss my_css_file

@aunueget
Copy link
Author

I'll be squashing this once we are happy with it if we reach that point.

@aunueget
Copy link
Author

@zmoazeni
Havent heard anything from you. You got any thoughts on this?

@zmoazeni
Copy link
Owner

@aunueget Things have been pretty busy on my side. I'll try and carve out some time in the near future.

@aunueget
Copy link
Author

Did this ever make it in?

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

Successfully merging this pull request may close these issues.

Multiple Rulesets with exact same Selector Duplicate CSS selectors not returned int result
3 participants