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

colons catches not only usage at declarations #145

Closed
kizu opened this issue Jul 19, 2015 · 2 comments
Closed

colons catches not only usage at declarations #145

kizu opened this issue Jul 19, 2015 · 2 comments
Labels

Comments

@kizu
Copy link

kizu commented Jul 19, 2015

In Stylint 1.0.9 "colons": "always" gives warnings not only for usage with declarations, but also in some cases where there shouldn't be a colon.

  1. Return statements:

    foo()
      return 'bar'
    
    .test
      width: foo()
  2. Stuff inside mixins (conditions and some other expressions):

    foo()
      if $bar
        width: 10px
    foo()
      $bar = $baz
@rossPatton rossPatton added the bug label Jul 20, 2015
@rossPatton
Copy link
Collaborator

This is fixed in develop, it'll be in 1.0.10 when it goes up, once I take a look at some of the other issues / PRs

@rossPatton
Copy link
Collaborator

1.0.10 is out now, this issue should be fixed. Lemme know if you still have issues.

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