Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

property-no-unknown feature is not compatible with other feature #667

Open
rehberbey opened this issue Sep 11, 2022 · 0 comments
Open

property-no-unknown feature is not compatible with other feature #667

rehberbey opened this issue Sep 11, 2022 · 0 comments

Comments

@rehberbey
Copy link

.foo {
    text-transform: uppercase; //
    text-decoration: none; //
 /* ^? Expected property "text-transform" to be in a nested form
    (scss/declaration-nested-properties) Stylelintscss/declaration-nested-properties */
}

Feature scss/declaration-nested-properties asks us to be like this.
But the property-no-unknown property does not allow it:

.foo {
    text {
        transform: uppercase;
        decoration: none; //
    /*  ^? Unexpected unknown property "decoration"
        (property-no-unknown) Stylelintproperty-no-unknown */
    }
}
@rehberbey rehberbey changed the title [BUG]: property-no-unknown feature is not compatible with other feature property-no-unknown feature is not compatible with other feature Sep 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant