Enumeration
PreflightRuleFlag
The flag indicating whether the rule is disabled, set for error, warning, or just informational.
In UXP, compare with equals() — the == and === operators do not work on DOM objects: myPath.pathType.equals(PathType.CLOSED_PATH), not myPath.pathType == PathType.CLOSED_PATH.
Values
| Name | Type | Access | Description |
|---|---|---|---|
| Number = 1699890546 | readonly | Treat as error if rule check failed. | |
| Number = 1699893865 | readonly | Treat as information only if rule check failed. | |
| Number = 1699893879 | readonly | Treat as warning if rule check failed. | |
| Number = 1699890274 | readonly | Rule is currently disabled. |
Object of 2
Properties elsewhere that hold an PreflightRuleFlag value.