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

operator-no-unspaced: "Expected single space before", but there is a single space #440

Closed
jens-duttke opened this issue Jan 16, 2020 · 2 comments · Fixed by #449
Closed

Comments

@jens-duttke
Copy link

The "operator-no-unspaced" (set to true) returns the error:

Expected single space before "*"

for the following code:

.container {
	// IE7-hack
	@at-root * + html & {
		width: 176px;
		height: 176px;
	}
}

but like you see, there is a single space before *.

For this code:

.container {
	@at-root * {
		color: red;
	}
}

it even returns:

Expected single space before "*"
Expected single space after "*"

but there is a single space before and after the *.

I'm using

"stylelint": "13.0.0"
"stylelint-scss": "3.13.0"
@jens-duttke jens-duttke changed the title operator-no-unspaced: "Expected single space before", but there is a space operator-no-unspaced: "Expected single space before", but there is a single space Jan 16, 2020
@kristerkari
Copy link
Collaborator

Thanks! I'll have a look at it.

@kristerkari
Copy link
Collaborator

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

Successfully merging a pull request may close this issue.

2 participants