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

Can't use no-misspelled-properties with interoperable CSS #1296

Open
richard-ling opened this issue Oct 2, 2019 · 0 comments
Open

Can't use no-misspelled-properties with interoperable CSS #1296

richard-ling opened this issue Oct 2, 2019 · 0 comments

Comments

@richard-ling
Copy link

richard-ling commented Oct 2, 2019

What version of Sass Lint are you using?

1.13.1

What did you do? Please include the actual source code causing the issue.

$exit-duration: 200ms;

:export {
  exitDuration: $exit-duration;
}

What did you expect to happen?

No linter errors. The :export pseudo-class block defines the variables that I need to export to Javascript, and the variable names should obviously not match property names already defined in CSS. (Strictly speaking they can, and renaming my variable 'width' does in fact solve the linter error, but needless to say I'd prefer not to :))

What actually happened? Please include any error messages given to you by Sass Lint.

Property 'exitDuration' appears to be spelled incorrectly

If you're using a IDE plugin have you tried the CLI too?

No

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

1 participant