Skip to content

New Rule: function-no-unknown #147

@SwetaTanwar

Description

@SwetaTanwar

Rule details

Disallow unknown functions.

What type of rule is this?

Warns about a potential problem

Example code

The following patterns are considered problems:


a { transform: unknown(1); }


The following patterns are not considered problems:


a { transform: scale(1); }



a { transform: --custom-function(1); }

Participation

  • I am willing to submit a pull request to implement this rule.

Additional comments

Prior Art: https://stylelint.io/user-guide/rules/function-no-unknown/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Complete

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions