elirasza / stylelint-stylistic

Plugin for endangered stylelint stylistic rules.
Other
64 stars 3 forks source link

`string-quotes`: fix @charset quotes #16

Closed Mouvedia closed 9 months ago

Mouvedia commented 1 year ago

Rationale

https://github.com/stylelint/stylelint/pull/2959#discussion_r145541376 https://github.com/stylelint/stylelint/issues/7060

What minimal example or steps are needed to reproduce the bug?

@charset 'utf-8';

What minimal configuration is needed to reproduce the bug?

{
  "fix": true,
  "rules": {
    "string-quotes": "single" // or "double"
  }
}

How did you run Stylelint?

https://stylelint.io/demo

What did you expect to happen?

after --fix

@charset "utf-8";

What actually happened?

after --fix

@charset 'utf-8';
firefoxic commented 9 months ago

The new plugin also inherited this bug.

@Mouvedia Could you please duplicate this issue here so that I can deal with it as soon as possible.

Mouvedia commented 9 months ago

stylelint-stylistic/stylelint-stylistic#13