Skip to content

add composes for noUnknownProperty. #3000

@denbezrukov

Description

@denbezrukov

The current implementation of noUnknownProperty raises an error for the composes property, which is a part of the CSS Modules syntax (refer to CSS Modules Documentation). We need to modify the implementation so that it does not raise an error for the composes property if the css_modules option is enabled.

.className {
  color: green;
  background: red;
}

.otherClassName {
  composes: className;
  color: yellow;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions