- Run
pnpm install - Run
pnpm stylelint test.scss --fixto see the issue. - Comment
scss/dollar-variable-colon-space-afterin.stylelintrc.jsand run the command again to see how the variable is prepended to the block without errors.
The problem can be solved by explicitly specifying raws: { between: ': ' } when creating a Declaration, but this is optional for creating a Declaration and therefore can be expected not to be explicitly specified.