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

transform-related function names incorrectly marked as lints #30

Closed
lifeiscontent opened this issue Jul 3, 2013 · 2 comments
Closed
Labels

Comments

@lifeiscontent
Copy link

when I do something like this

.arrow {
  @include transform(scaleY(-1));
}

I get this scss-lint error Names of variables, functions, and mixins should be lowercase and not contain underscores. Use hyphens instead.

@lencioni
Copy link
Collaborator

lencioni commented Jul 3, 2013

Duplicate of #27

@lencioni lencioni closed this as completed Jul 3, 2013
@sds
Copy link
Owner

sds commented Jul 4, 2013

Not quite a duplicate. The problem here is that scaleY is actually a transform-specific function containing capital letter. We didn't think about this when we created the lint, so it seems like we're going to have to include a whitelist of functions that are allowed within the context of a transform.

I've renamed this issue to correctly describe the problem and have reopened it.

@sds sds reopened this Jul 4, 2013
@sds sds closed this as completed in 0ae1793 Aug 31, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants