Skip to content

Deprecation Warning: stylelint unit blacklist & whitelist has been deprecated #39

@atatarenko

Description

@atatarenko

Context

Running a command in my project's directory dreact lint styles 'src/**/*.css'

Actual result

All lints pass but here is the warning in the console:

Deprecation Warning: 'declaration-property-unit-blacklist' has been deprecated. Instead use 'declaration-property-unit-disallowed-list'. See: https://github.com/stylelint/stylelint/blob/13.7.0/lib/rules/declaration-property-unit-blacklist/README.md
Deprecation Warning: 'declaration-property-unit-whitelist' has been deprecated. Instead use 'declaration-property-unit-allowed-list'. See: https://github.com/stylelint/stylelint/blob/13.7.0/lib/rules/declaration-property-unit-whitelist/README.md
Deprecation Warning: 'unit-whitelist' has been deprecated. Instead use 'unit-allowed-list'. See: https://github.com/stylelint/stylelint/blob/13.7.0/lib/rules/unit-whitelist/README.md

Expected result

No warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions