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

Asterisk sometimes considered universal selector when used for multiplication #446

Open
openjck opened this issue Nov 15, 2018 · 0 comments

Comments

@openjck
Copy link

openjck commented Nov 15, 2018

Setup

.stylintrc

{
    "universal": "never"
}

example.styl

p
    margin: 2*(10)

Result

example.styl
2:13 universal warning * selector is disallowed

Other notes

If there is a space after the asterisk (i.e., margin: 2* (10)), the rule does not fail.

openjck added a commit to mozilla/ensemble that referenced this issue Nov 15, 2018
The styling test was failing due to this bug:
SimenB/stylint#446
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