import n from"../getConfigForFile.mjs";async function t({stylelint:t,name:o,default:i}){const f=t._options,e=f[o]??f.config?.[o];if(null!=e)return e;const l=await n({stylelint:t,failIfNoConfig:!1});return l?.config?.[o]??i}export{t as default};