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

double slash comment inside @forward gets converted to block comment #810

Open
jdufresne opened this issue Apr 15, 2023 · 0 comments
Open

Comments

@jdufresne
Copy link

config:

{
  "extends": [
    "stylelint-config-standard-scss"
  ]
}

input:

@forward "module" with (
  $var1: 1,
  // comment
  $var2: 2
}

command:

npx stylelint --fix test.scss

output:

@forward "module" with (
  $var1: 1,
  /* comment*/
  $var2: 2
}

Expected:

Comment remains double slash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant