Code Monkey home page Code Monkey logo

Comments (7)

yuschick avatar yuschick commented on May 26, 2024

Thanks for the screenshots. I will take a look at getting this fixed this week.

from stylelint-plugin-defensive-css.

yuschick avatar yuschick commented on May 26, 2024

@aakashgill

Testing this now, and a selector with multiple pseudo-elements passes as expected.

What line is throwing the initial error in the file you showed, line 237? I wonder if there may be an issue stemming from there, because I don't see any linting underlines in the pseudo-selector screen shot.

from stylelint-plugin-defensive-css.

aakashgill avatar aakashgill commented on May 26, 2024

Look at line number 634 in the screenshot.
I tried again with ::before, ::after
It still gives an error.

Did you try combining two pseudo elements with a comma and with no space between the two?

from stylelint-plugin-defensive-css.

yuschick avatar yuschick commented on May 26, 2024

I have added a couple tests and they are passing as expected.

image

Since I cannot recreate an issue here, I would need a sample repo with the error happening. I would take a look around line 237 to see if there's an issue stemming from there, but hard to say what it could be at this point.

from stylelint-plugin-defensive-css.

aakashgill avatar aakashgill commented on May 26, 2024

I replicated the error in this sample repo https://github.com/aakashgill/stylelint-plugin-defensive-css/
I'm still getting the error in this. Still not sure what I'm doing wrong.

image

from stylelint-plugin-defensive-css.

yuschick avatar yuschick commented on May 26, 2024

Thanks for the repo. It looks like the RegEx was matching -type-. But I've got an update coming shortly.

Appreciate the help in catching this 👍

from stylelint-plugin-defensive-css.

yuschick avatar yuschick commented on May 26, 2024

This has been closed in #5 and released in version 0.2.0.

from stylelint-plugin-defensive-css.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.