-
Notifications
You must be signed in to change notification settings - Fork 528
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
Add Sass tests for rules & fix related issues #258
Conversation
$invalid-mixed-letters-med: #abc4 | ||
$invalid-mixed-letters-short: #a1 | ||
|
||
$invalid-character-map: (invalid-characters-upper-letters: #GHIJKL, invalid-characters-upper-letters-short: #GHI, even-more-invalid-map: ( invalid-characters-lower-letters-short: #ghijkl, invalid-characters-lower-letters-short: #ghi )) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you forced to write a map on a single line in Sass?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah... it's....different...
@@ -17,3 +17,21 @@ describe('indentation', function () { | |||
}); | |||
}); | |||
}); | |||
|
|||
|
|||
////////////////////////////// |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets not forget about these in 1.4.0
😄
Great stuff. This should make sass-lint even more bullet proof moving forward, although this hides the fact that you've actually fixed a lot of these rules in hotfixes already so thanks for those! My only other comment is maybe to add a few more comments as in the |
This |
Awesome! |
Add Sass tests for rules & fix related issues
Add Sass tests for rules & fix related issues
Apologies for the size of this PR.
It adds Sass tests for the majority of the rules listed here #166. The only one missing is indentation as this needs a rewrite.
It also includes a fix for the
empty-line-between-block
rule as this required helpers bundled with the soon to be released version 1.3 on develop which will close #216 and close #228DCO 1.1 Signed-off-by: Ben Griffith [email protected]