Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

duplicate property or selector, consider merging {block} #462

Open
piraveen opened this issue Sep 16, 2020 · 0 comments
Open

duplicate property or selector, consider merging {block} #462

piraveen opened this issue Sep 16, 2020 · 0 comments

Comments

@piraveen
Copy link

Stylint complains about "duplicate property or selector, consider merging" for the usage of "{block}" in completely different functions.

// Should be used for "Print" style
view-print()
    @media print
        {block}

// For devices with a viewport up to 320px width
breakpoint-mobile-xs-view()
    @media screen and (max-width: 320px)
        {block}

// For devices with a viewport up to 1280px width (usually laptops & desktops)
breakpoint-desktop-view()
    @media screen and (min-width: 981px)
        {block}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant