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

Negative percentage values still flagged by shorthand-values #435

Closed
attila opened this issue Nov 30, 2015 · 2 comments
Closed

Negative percentage values still flagged by shorthand-values #435

attila opened this issue Nov 30, 2015 · 2 comments
Labels
Milestone

Comments

@attila
Copy link

attila commented Nov 30, 2015

This could be related to #429 but

.foo {
  margin: -10% -20%;
}

is flagged by "shorthand-values" in latest develop.

Command output:

$ ./$ node_modules/.bin/sass-lint -v test.scss

test.scss
  2:11  warning  Property `margin` should be written more concisely as `-` instead of `- -`  shorthand-values

✖ 1 problem (0 errors, 1 warning)
@DanPurdy
Copy link
Member

Confirmed, looks like something to do with percentage values and their structure in gonzales. Will look into it, thanks @attila .

@DanPurdy
Copy link
Member

DanPurdy commented Dec 9, 2015

sorted in #441 will be part of the 1.4.0 release scheduled for this week

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

2 participants