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

Forbid nth-ancestor cosmetic rules #65

Merged
merged 1 commit into from Apr 6, 2020
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

forbid nth-ancestor cosmetic rules

  • Loading branch information
antonok-edm committed Jan 20, 2020
commit e3ba27d32e7355f39992a85ac71b71ee07e902c8
@@ -168,6 +168,7 @@ impl CosmeticFilter {
|| content_after_colon.starts_with("properties")
|| content_after_colon.starts_with("subject")
|| content_after_colon.starts_with("xpath")
|| content_after_colon.starts_with("nth-ancestor")
{
return Err(CosmeticFilterError::UnsupportedSyntax);
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.