import{isString as e,isRegExp as r}from"../../utils/validateTypes.mjs";import s from"../../utils/isStandardSyntaxProperty.mjs";import t from"../../utils/matchesStringOrRegExp.mjs";import o from"../../utils/report.mjs";import i from"../../utils/ruleMessages.mjs";import m from"../../utils/validateOptions.mjs";import l from"../../utils/vendor.mjs";const p="property-disallowed-list",a=i(p,{rejected:e=>`Unexpected property "${e}"`}),u=i=>(u,d)=>{m(d,p,{actual:i,possible:[e,r]})&&u.walkDecls(e=>{const r=e.prop;s(r)&&t([r,l.unprefixed(r)],i)&&o({message:a.rejected,messageArgs:[r],word:r,node:e,result:d,ruleName:p})})};u.primaryOptionArray=!0,u.ruleName=p,u.messages=a,u.meta={url:"https://stylelint.io/user-guide/rules/property-disallowed-list"};export{u as default};