import{isAbsolute as t,resolve as i,relative as r}from"node:path";import o from"../../../_virtual/index15.mjs";import e from"./utils/filterFilePaths.mjs";import n from"./getConfigForFile.mjs";import s from"./utils/getFileIgnorer.mjs";async function f(f,l){if(!l)return!1;const m=f._options.cwd,a=await n({stylelint:f,searchPath:l,filePath:l});if(!a)return!0;const p=a.config.ignoreFiles||[],u=t(l)?l:i(m,l);if(o([u],p).length>0)return!0;const c=s(f._options);return 0===e(c,[r(m,u)]).length}export{f as default};