Skip to content

Fix declaration-property-value-no-unknown false positives for calc-size() containing size keyword #9104

@dsine-de

Description

@dsine-de

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

.example {
  width: calc-size(auto, round(up, size, 1px));
}

What minimal configuration is needed to reproduce the bug?

export default {
	extends: ['stylelint-config-standard']
};

How did you run Stylelint?

vscode plugin

Which Stylelint-related dependencies are you using?

{
	"@stylistic/stylelint-config": "^4.0.0",
	"@stylistic/stylelint-plugin": "^5.0.1",
	"stylelint": "^17.3.0",
	"stylelint-config-standard": "^40.0.0",
	"stylelint-config-standard-vue": "^1.0.0",
}

What did you expect to happen?

There is also #8320 but it seems it stalled.

What actually happened?

See vscode tooltip screenshot:

Image

Do you have a proposal to fix the bug?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: wipis being worked on by someone

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions