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

Stylelint not catching quotes in function #54

Open
Tregonia opened this issue Feb 28, 2020 · 1 comment
Open

Stylelint not catching quotes in function #54

Tregonia opened this issue Feb 28, 2020 · 1 comment
Assignees

Comments

@Tregonia
Copy link
Contributor

Stylelint is not catching rules in SCSS functions.

To reproduce:

  • Create the function below
// Get unit of number.
@function get-unit($value) {
  @return str-slice($value * 0 + "", 2, -1);
}
  • Use the function to get unit of a number

Notice that the double quote do not trip the linter.

@Tregonia Tregonia self-assigned this Feb 28, 2020
@mariohernandez
Copy link
Contributor

Could you provide a quick recommendation for addressing this, @Tregonia ?

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

2 participants