const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./src-DOXSqm-S.js","./chunk-CNMia1zD.js","./globals-OJLF8q7L.js"])))=>i.map(i=>d[i]);
import{o as e}from"./chunk-CNMia1zD.js";import{t}from"./preload-helper-DXCjA0eP.js";async function n(n){let r=(await t(async()=>{let{Linter:e}=await import(`./linter-DM74m547.js`);return{Linter:e}},[],import.meta.url)).Linter,i=await t(()=>import(`./src-DOXSqm-S.js`).then(t=>e(t.default,1)),__vite__mapDeps([0,1]),import.meta.url),a=await t(()=>import(`./globals-OJLF8q7L.js`).then(t=>e(t.default,1)),__vite__mapDeps([2,1]),import.meta.url),o={...a.browser,api:`readonly`,module:`readonly`};if(n.startsWith(`text/typescript`))return[];n===`application/javascript;env=frontend`?o={...o,...a.jquery}:n===`application/javascript;env=backend`&&(o={...o,...a.nodeBuiltin});let s=[i.configs.recommended,{languageOptions:{parserOptions:{ecmaVersion:2024},globals:o},rules:{"no-unused-vars":[`warn`,{vars:`local`,args:`after-used`}]}}];return{linter:new r,config:s}}export{n as lint};