property-disallowed-list
What it does
Section titled “What it does”Reports a property that is in the list option (names, or /regex/). Custom properties are not reported.
Why it matters
Section titled “Why it matters”A project can forbid properties that its browsers or its design system do not support, or that cause layout trouble (float in a flex design). The rule is a policy: with no list it reports nothing.
Example
Section titled “Example”... a { float: left; width: 1em }}...Configuration
Section titled “Configuration”css: lint: rules: property-disallowed-list: level: warn # off (default), warn, error options: list: []less: lint: rules: property-disallowed-list: level: warn # off (default), warn, error options: list: []scss: lint: rules: property-disallowed-list: level: warn # off (default), warn, error options: list: []| Option | Type | Default | Description |
|---|---|---|---|
list |
list | [] |
The disallowed properties: names, or /regex/. |
Suppress one line with sudsy-disable-next-line property-disallowed-list in a comment of the file’s language.
Upstream equivalents
Section titled “Upstream equivalents”The same check in other tools; Sudsy reports what each upstream rule reports.
| Tool | Rule | Match |
|---|---|---|
| stylelint | property-disallowed-list |
full |