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

@keyframes "from"/"to" is detected as tag name #5

Closed
jens-duttke opened this issue Apr 18, 2021 · 2 comments
Closed

@keyframes "from"/"to" is detected as tag name #5

jens-duttke opened this issue Apr 18, 2021 · 2 comments

Comments

@jens-duttke
Copy link

In this code

@keyframes fade-in {
	from {
		transform: translateY(-40px);

		opacity: 0;
	}

	to {
		transform: translateY(0);

		opacity: 1;
	}
}

the "from" and the "to" keywords are wrongly reported as "Unexpected tag from without class qualifier".

My config looks like this:

'plugin/selector-tag-no-without-class': ['/./'],

because I want to prevent any tag-without-class usage in CSS Modules.

@aboks
Copy link
Member

aboks commented Apr 19, 2021

That's an interesting issue! Thanks for reporting, we will have a look at it.

@aboks aboks closed this as completed in 5dbe0bf Apr 20, 2021
@aboks
Copy link
Member

aboks commented Apr 20, 2021

Should be fixed in version 2.0.4.

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

2 participants