Skip to content

💅 noDuplicateProperties falst positive with postcss/mantine #6615

Description

@astanciu

MantineUI lib uses this postcss plugin:
https://github.com/mantinedev/postcss-preset-mantine

Which allows css code like this:

.class {
  color: red;
  
  @mixin hover {
    color: blue;
  }
}

And this triggers the noDuplicateProperties rule.

Is there a way to add options to this rule to only look at scope of the current block, not child blocks?

Rule name

noDuplicateProperties

Playground link

n/a

Expected result

Should not throw error

Code of Conduct

  • I agree to follow Biome's Code of Conduct

Activity

  1. added theissue type on Jun 28, 2025
  2. self-assigned this
    on Sep 2, 2026
  3. added
    L-CSSLanguage: CSS and super languages
    S-Bug-confirmedStatus: report has been confirmed as a valid bug
    on Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-LinterArea: linterL-CSSLanguage: CSS and super languagesS-Bug-confirmedStatus: report has been confirmed as a valid bug

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions