Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.

Implement "Unknown At Rule" lint rule #7

Open
srawlins opened this issue Jul 6, 2018 · 2 comments
Open

Implement "Unknown At Rule" lint rule #7

srawlins opened this issue Jul 6, 2018 · 2 comments

Comments

@srawlins
Copy link
Collaborator

srawlins commented Jul 6, 2018

Need to implement a lint rule that reports unknown rules that start with @:

@warn("Hello.");    // OK
@warning("Hello."); // LINT

This is similar to stylelint's at-rule-no-unknown.

@nex3
Copy link

nex3 commented Jul 6, 2018

It's worth considering whether this might be worth leaving this to the plain CSS linter. Any unknown at-rules will get pushed through to plain CSS, and tracking which ones exist and which ones don't will involve a lot of keeping up to date with the latest CSS specs, which isn't super fun.

@srawlins
Copy link
Collaborator Author

srawlins commented Jul 6, 2018

Good point! OK not high priority while I mull this.

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

No branches or pull requests

2 participants