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

Improve stylelint config to accept Sass at-rules #289

Merged
merged 1 commit into from
Jun 14, 2022
Merged

Conversation

kamilzyla
Copy link
Collaborator

Changes

Closes #285.

How to test

Initialize a fresh project and add the following code to app/styles/main.scss:

@mixin shadow {
  box-shadow:
    0 4px 8px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.2);
}

.card {
  @include shadow;
}

Try to run rhino::lint_sass(). There should be no errors reported.

Copy link
Member

@jakubnowicki jakubnowicki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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

Successfully merging this pull request may close these issues.

Style linter complains about unknown at-rules
2 participants