Skip to content

lint-scss fails on _post.scss due to missing Sass interpolation in custom property #2665

@KKamJi98

Description

@KKamJi98

Description

lint-scss can fail on branches that do not modify _sass/pages/_post.scss because the file currently violates scss/dollar-variable-no-missing-interpolation.

Current line:

--wc-stm-font-family: v.$font-family-base;

Expected by stylelint:

--wc-stm-font-family: #{v.$font-family-base};

Why this matters

This blocks unrelated feature PRs when lint-scss runs, even if no SCSS changes are included in those PRs.

Evidence

Proposed fix

Update _sass/pages/_post.scss line 130 to use interpolation for the Sass variable in the custom property value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions