@kitschpatrol/eslint-config 8.3.0 → 8.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.js +6 -6
- package/dist/index.d.ts +47 -15
- package/dist/index.js +1 -1
- package/package.json +16 -17
- package/readme.md +4 -4
package/bin/cli.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{cosmiconfig as e}from"cosmiconfig";import{TypeScriptLoader as t}from"cosmiconfig-typescript-loader";import{execa as n}from"execa";import r from"fs-extra";import i from"node:fs";import{availableParallelism as a}from"node:os";import o from"node:path";import{PassThrough as s,Transform as c}from"node:stream";import{
|
|
3
|
-
`);try{return await r.execute(a,t,n)}catch(e){return console.error(String(e)),1}}function U(e,t,n,r,i){return[...e.subcommands??[],...e.receiveOptionFlags?n:[],...r??[],...i&&e.cache!==void 0?[...e.cache.flags,`--cache-location`,o.join(F(),`node_modules`,`.cache`,`ksc`,e.cache.name)]:[],...e.receivePositionalArguments?t:[],...e.positionalArguments??[]]}async function
|
|
4
|
-
`);for(let e of t)l.write(`${e}\n`)}c=t.exitCode??1}catch(e){console.error(`${i.name} failed with error:`),console.error(e),
|
|
5
|
-
`),1;let
|
|
6
|
-
`),0;let o=
|
|
7
|
-
`);for(let e of o)t.write(`${e}\n`);return 0},name:`Cosmiconfig ${e}`}}async function
|
|
2
|
+
import{cosmiconfig as e}from"cosmiconfig";import{TypeScriptLoader as t}from"cosmiconfig-typescript-loader";import{execa as n}from"execa";import r from"fs-extra";import i from"node:fs";import{availableParallelism as a}from"node:os";import o from"node:path";import{PassThrough as s,Transform as c}from"node:stream";import{packageUp as l,packageUpSync as u}from"package-up";import d from"yargs";import{hideBin as f}from"yargs/helpers";import p from"picocolors";import{stripVTControlCharacters as m}from"node:util";import h from"@pinojs/json-colorizer";import g from"decircular";import _ from"deepmerge";import v from"json-stringify-pretty-compact";import{findWorkspacesRoot as y}from"find-workspaces";import b from"node:fs/promises";var ee=`8.5.0`;const x=[`json`,`machine`,`native`],te=x;function S(e){return typeof e==`string`&&x.includes(e)}function C(){let e=process.env.KSC_FORMAT;return S(e)?e:`native`}function ne(){let{argv:e}=process;for(let[t,n]of e.entries()){let r;n===`--format`?r=e[t+1]:n.startsWith(`--format=`)&&(r=n.slice(9)),S(r)&&(process.env.KSC_FORMAT=r)}}function re(){let{env:e}=process;if(e.NO_COLOR!==void 0&&e.NO_COLOR!==``)return!1;if(e.FORCE_COLOR!==void 0)return e.FORCE_COLOR!==`0`&&e.FORCE_COLOR!==`false`;if(e.TERM===`dumb`)return!1}function w(e,{ciColor:t=!0}={}){let n=re();return n===void 0?e.isTTY===!0||t&&!!process.env.CI:n}function T(){return C()===`json`?process.stderr:process.stdout}function E(){return C()===`machine`?p.createColors(!1):p.createColors(w(T()))}function D(e){if(!e)return{FORCE_COLOR:`0`,NO_COLOR:`1`};let t=process.env.FORCE_COLOR;return t===void 0||t===``?{FORCE_COLOR:`1`}:{}}function ie(e,t){let n=o.isAbsolute(e)?e:o.resolve(t,e),r=o.relative(process.cwd(),n);return r===``?`.`:r}const ae=/\s*\n\s*/gv,oe=/\r?\n/v;function se(e){let t=e.message.replaceAll(ae,` `),n=e.rule===void 0?e.tool:`${e.tool}/${e.rule}`;return e.file===void 0?`${e.severity}: ${t} [${n}]`:`${e.file}:${e.line??1}:${e.column??1}: ${e.severity}: ${t} [${n}]`}function ce(e,t){let n=(e.file??``).localeCompare(t.file??``);if(n!==0)return n;let r=(e.line??0)-(t.line??0);return r===0?(e.column??0)-(t.column??0):r}function le(e,t){let n=t.toSorted(ce);return{cwd:process.cwd(),diagnostics:n,success:e.every(e=>e.exitCode===0),summary:{errors:n.filter(e=>e.severity===`error`).length,infos:n.filter(e=>e.severity===`info`).length,warnings:n.filter(e=>e.severity===`warning`).length},tools:e,version:1}}function O(e){return m(e).split(oe).map(e=>e.trimEnd()).filter(e=>e.trim().length>0)}function k(e){return e instanceof Error&&`exitCode`in e&&typeof e.exitCode==`number`}function A(e){return w(process.stdout,{ciColor:!1})?ue(e):j(e)}function j(e){return v(g(e),{indent:2,replacer(e,t){return typeof t==`function`?t.name:t}})}function ue(e){return h(j(e),{colors:{BRACKET:`gray`}})}const de=(e,t,n)=>{let r=[...e];for(let[i,a]of t.entries())r[i]===void 0?r[i]=n.cloneUnlessOtherwiseSpecified(a,n):n.isMergeableObject(a)?r[i]=M(e[i],a,n):e.includes(a)||r.push(a);return r};function M(e,t,n={arrayMerge:de}){return _(e,t,n)}function N(e){let{tasks:t}=e;return Array.isArray(t)?t:[]}function fe(e,t){let n=[...N(e)];for(let e of N(t)){let t=n.findIndex(t=>t.label!==void 0&&t.label===e.label);t===-1?n.push(e):n[t]=e}return{...e,...t,tasks:n}}function P(){let e=u();if(e===void 0)throw Error(`No package.json found.`);return o.dirname(e)}function F(){let e=y();return e===null?P():o.resolve(e.location)}function I(e){if(e===`workspace-root`)return F();if(e===`package-dir`)return P();if(typeof e==`string`){if(!r.pathExistsSync(e))throw Error(`Custom cwd directory does not exist: ${e}`);return e}return process.cwd()}async function pe(e,t){try{let{default:n}=await import(`prettier`),r=await n.resolveConfig(e),i=await n.format(t,{filepath:e,...r});await b.writeFile(e,i,`utf8`)}catch{console.warn(`Skipped formatting ${e} since Prettier is not installed.`)}}async function L(e){try{await pe(e,await b.readFile(e,`utf8`))}catch{}}const R=/\r?\n/v;function z(e){let t=``,n=t=>t.filter(t=>{let n=m(t);return n.trim()!==``&&!e(n)}).map(e=>`${e}\n`).join(``);return new c({flush(e){e(void 0,n([t]))},transform(e,r,i){let a=(t+e.toString()).split(R);t=a.pop()??``,i(void 0,n(a))}})}function B(e,t){let n=C()===`native`?e:void 0,r=n===void 0||n===``?``:t===void 0?n:E()[t](n),i=``,a=e=>e.filter(e=>e.trim().length>0).map(e=>r===``?`${e}\n`:`${r} ${e}\n`).join(``);return new c({flush(e){e(void 0,a([i]))},transform(e,t,n){let r=(i+e.toString()).split(R);i=r.pop()??``,n(void 0,a(r))}})}async function me(e){let t=[];return new Promise((n,r)=>{e.on(`data`,e=>{t.push(e)}),e.on(`error`,e=>{r(e)}),e.on(`end`,()=>{n(Buffer.concat(t).toString(`utf8`))})})}function V(e,t){return t===1?e:e+`s`}async function H(e){return typeof e==`function`?e():e}async function he(e,t,n,r,i){let a;if(r.logPrefix===void 0)a=e;else{let t=B(r.logPrefix,r.logColor);t.pipe(e),a=t}i&&a.write(E().bold(`Running: "${r.name}() with Positional arguments: ${String(t)} and Option flags: ${String(n)}"`)+`
|
|
3
|
+
`);try{return await r.execute(a,t,n)}catch(e){return console.error(String(e)),1}}function U(e,t,n,r,i){return[...e.subcommands??[],...e.receiveOptionFlags?n:[],...r??[],...i&&e.cache!==void 0?[...e.cache.flags,`--cache-location`,o.join(F(),`node_modules`,`.cache`,`ksc`,e.cache.name)]:[],...e.receivePositionalArguments?t:[],...e.positionalArguments??[]]}async function ge(e,t,r,i,a,o){let c=1,l;if(i.logPrefix===void 0)l=e;else{let t=B(i.logPrefix,i.logColor);t.pipe(e),l=t}let u=U(i,t,r,i.optionFlags,a),d=I(i.cwdOverride);o&&l.write(`Running: "${i.name} ${u.join(` `)}"\n`);let f=i.prettyJsonOutput?new s:void 0,p=f??l,m=D(C()===`native`&&i.prettyJsonOutput!==!0&&w(T()));try{let e=n(i.name,u,{cwd:d,env:m,preferLocal:!0,reject:!1,stdin:`inherit`});if(i.outputFilter){let t=z(i.outputFilter),n=z(i.outputFilter);e.stdout.pipe(t).pipe(p,{end:!1}),e.stderr.pipe(n).pipe(p,{end:!1})}else e.stdout.pipe(p,{end:!1}),e.stderr.pipe(p,{end:!1});let t=await e;if(f!==void 0){f.end();let e=await me(f),t=A(JSON.parse(e)).split(`
|
|
4
|
+
`);for(let e of t)l.write(`${e}\n`)}c=t.exitCode??1}catch(e){console.error(`${i.name} failed with error:`),console.error(e),k(e)&&(c=typeof e.exitCode==`number`?e.exitCode:1)}return c}function W(e){return`execute`in e}function G(e){return`kind`in e}async function K(e,t,r,i,a){let o=U(r,e,t,r.collect?.optionFlags??r.optionFlags,i),s=I(r.cwdOverride);try{let e=n(r.name,o,{cwd:s,env:D(!1),preferLocal:!0,reject:!1,stdin:`inherit`});a!==void 0&&e.stderr.pipe(a,{end:!1});let t=await e;return{cwd:s,exitCode:t.exitCode??1,stderr:t.stderr,stdout:t.stdout}}catch(e){return console.error(`${r.name} failed with error:`),console.error(e),{cwd:s,exitCode:k(e)&&typeof e.exitCode==`number`?e.exitCode:1,stderr:``,stdout:``}}}function _e(e){return typeof e==`object`&&!!e&&`version`in e&&e.version===1&&`diagnostics`in e&&Array.isArray(e.diagnostics)&&`success`in e&&typeof e.success==`boolean`&&`tools`in e&&Array.isArray(e.tools)}function q(e,t){return e===0&&t.some(({severity:e})=>e===`error`)?1:e}async function ve(e,t,n,r,i){let a=Date.now(),o=()=>Date.now()-a;if(W(r)){if(r.collect!==void 0)try{let e=await r.collect(t,n),i=q(e.exitCode,e.diagnostics);return{diagnostics:e.diagnostics,exitCode:i,tools:[{durationMs:o(),exitCode:i,name:r.name,unparsed:e.unparsed}]}}catch(e){return{diagnostics:[],exitCode:1,tools:[{durationMs:o(),exitCode:1,name:r.name,unparsed:[String(e)]}]}}let e=``,i=new s;i.on(`data`,t=>{e+=t.toString()});let a;try{a=await r.execute(i,t,n)}catch(t){e+=`\n${String(t)}`,a=1}return{diagnostics:[],exitCode:a,tools:[{durationMs:o(),exitCode:a,name:r.name,unparsed:O(e)}]}}if(G(r))throw Error(`Command groups must be expanded before collection`);if(r.outputFormatAware){let a=await K(t,n,r,i,e);try{let e=JSON.parse(a.stdout);if(!_e(e))throw Error(`Child output is not a lint report`);return{diagnostics:e.diagnostics,exitCode:a.exitCode===0&&e.success&&e.diagnostics.every(({severity:e})=>e!==`error`)?0:1,tools:e.tools}}catch{return{diagnostics:[],exitCode:a.exitCode,tools:[{durationMs:o(),exitCode:a.exitCode,name:r.name,unparsed:O(a.stdout)}]}}}let c=await K(t,n,r,i);if(r.collect!==void 0)try{let{diagnostics:e,unparsed:t}=r.collect.parse(c),n=q(c.exitCode,e);return{diagnostics:e,exitCode:n,tools:[{durationMs:o(),exitCode:n,name:r.name,unparsed:t}]}}catch(e){return{diagnostics:[],exitCode:c.exitCode,tools:[{durationMs:o(),exitCode:c.exitCode,name:r.name,unparsed:[...O(c.stdout),...O(c.stderr),String(e)]}]}}return{diagnostics:[],exitCode:c.exitCode,tools:[{durationMs:o(),exitCode:c.exitCode,name:r.name,unparsed:[...O(c.stdout),...O(c.stderr)]}]}}const ye=/^ksc-/v;function J(e){return e.replace(ye,``)}function Y(e){return e===void 0||e.length===0?[]:e.flatMap(e=>e.split(`,`)).map(e=>J(e.trim()))}function X(e){return e.option(`skip`,{array:!0,describe:`Tool names to skip (with or without "ksc-" prefix).`,type:`string`})}function be(e){return e.option(`format`,{choices:te,default:`native`,describe:`Output format: "native" streams each tool's own output, "machine" prints one parseable line per issue for editor problem matchers, "json" prints an aggregate report.`})}function xe(e){return e.option(`cache`,{boolean:!0,default:!0,describe:`Use tool-native caches stored below node_modules/.cache/ksc at the workspace root. Disable with --no-cache.`})}function Se(e,t){return t===`native`||t===`machine`&&!W(e)&&!G(e)&&e.outputFormatAware===!0}function Ce(e,t){for(let n of t.diagnostics)e.write(`${se(n)}\n`);for(let n of t.tools)for(let t of n.unparsed)e.write(`${t}\n`)}function we(){return Math.min(4,a())}var Te=class{concurrency;active=0;queue=[];constructor(e){this.concurrency=e}async run(e){this.active>=this.concurrency&&await new Promise(e=>{this.queue.push(e)}),this.active+=1;try{return await e()}finally{--this.active,this.queue.shift()?.()}}};async function Ee(e){let t=e.cache??!1,n=e.concurrency??we();if(!Number.isInteger(n)||n<1)throw Error(`Concurrency must be a positive integer.`);return t&&await r.ensureDir(o.join(F(),`node_modules`,`.cache`,`ksc`)),{cache:t,scheduler:new Te(n)}}function De(e,t){return e.positionalArgumentMode===`none`?[]:t.length>0?t:e.positionalArgumentDefault===void 0?[]:[e.positionalArgumentDefault]}function Oe(e,t){if(t.logPrefix===void 0)return e;let n=B(t.logPrefix,t.logColor);return n.pipe(e),n}function ke(e){return G(e)?`${e.name} ${e.subcommand}`:!W(e)&&e.subcommands!==void 0?[e.name,...e.subcommands].join(` `):e.name}async function Ae(e,t){if(G(e)){let n=Oe(t.logStream,e);try{let r=await H(e.commands);if(t.nativeVerbose){let n=[e.subcommand,...t.positionalArguments].join(` `),i=e.showResolvedCommands?` (${r.map(e=>ke(e)).join(`, `)})`:``;t.logStream.write(`Running: "${e.name} ${n}"${i}\n`)}let i=await je(r,{...t,logStream:n,nativeVerbose:e.verbose,positionalArguments:De(e,t.positionalArguments)},e.parallel===!0);return{diagnostics:i.flatMap(({diagnostics:e})=>e),exitCode:+!i.every(({exitCode:e})=>e===0),machineOutcomes:i.flatMap(({machineOutcomes:e})=>e),name:e.name,tools:i.flatMap(({tools:e})=>e)}}catch(r){let i=String(r),a={durationMs:0,exitCode:1,name:e.name,unparsed:[i]};return t.format===`native`&&n.write(`${i}\n`),{diagnostics:[],exitCode:1,machineOutcomes:[{diagnostics:[],exitCode:1,tools:[a]}],name:e.name,tools:[a]}}}return t.scheduler.run(async()=>{if(Se(e,t.format))return{diagnostics:[],exitCode:await(W(e)?he(t.logStream,t.positionalArguments,t.optionFlags,e,t.nativeVerbose):ge(t.logStream,t.positionalArguments,t.optionFlags,e,t.cache,t.nativeVerbose)),machineOutcomes:[],name:e.name,tools:[]};let n=await ve(t.logStream,t.positionalArguments,t.optionFlags,e,t.cache);return{diagnostics:n.diagnostics,exitCode:n.exitCode,machineOutcomes:[n],name:e.name,tools:n.tools}})}async function je(e,t,n){if(!n||t.scheduler.concurrency===1){let n=[];for(let r of e)n.push(await Ae(r,t));return n}await Promise.resolve();let r=new Map;for(let[t,n]of e.entries()){let e=n.stage??0,i=r.get(e)??[];i.push({command:n,index:t}),r.set(e,i)}let i=Array.from({length:e.length}),a=r.keys().toArray().toSorted((e,t)=>e-t);for(let e of a){let n=r.get(e)??[],a=await Promise.all(n.map(async({command:e,index:n})=>({index:n,outcome:await Ae(e,t)})));for(let{index:e,outcome:t}of a)i[e]=t}return i.filter(e=>e!==void 0)}function Me(e,t,n){let r=[],i=[];for(let e of t)n.length>0&&n.includes(J(e.name))?i.push(e):r.push(e);if(n.length>0){let r=new Set(i.map(e=>J(e.name))),a=n.filter(e=>!r.has(e));if(a.length>0){let n=t.map(e=>J(e.name)).join(`, `);e.write(`⚠️ ${E().yellow(`Unrecognized --skip ${V(`value`,a.length)}: ${a.join(`, `)}. Available: ${n}`)}\n`)}}return{commandsToRun:r,skippedCommands:i}}async function Z(e,t,n,r,i,a,o,s=`native`){let c=typeof s==`string`?{}:s,l=typeof s==`string`?s:c.format??`native`,{commandsToRun:u,skippedCommands:d}=Me(e,r,o??[]),f=l===`native`&&i,{cache:p,scheduler:m}=await Ee(c),h=await je(u,{cache:p,format:l,logStream:e,nativeVerbose:f,optionFlags:n,positionalArguments:t,scheduler:m},c.parallel===!0),g=h.map(({exitCode:e,name:t})=>({exitCode:e,name:t})),_=h.flatMap(({tools:e})=>e),v=h.flatMap(({diagnostics:e})=>e);if(l===`machine`)for(let t of h)for(let n of t.machineOutcomes)Ce(e,n);let y=r.length,b=E();if(l===`native`&&d.length>0){let t=d.map(({name:e})=>e),n=b.bold(`${t.length} / ${y} ${V(`Command`,t.length)} Skipped:`);e.write(`⏭️ ${b.dim(n)} ${b.dim(t.join(`, `))}\n`)}if(l===`native`&&a){let t=g.filter(({exitCode:e})=>e===0).map(({name:e})=>e),n=g.filter(({exitCode:e})=>e!==0).map(({name:e})=>e);if(t.length>0){let n=b.bold(`${t.length} / ${y} ${V(`Command`,t.length)} Succeeded:`);e.write(`✅ ${b.green(n)} ${b.green(t.join(`, `))}\n`)}if(n.length>0){let t=b.bold(`${n.length} / ${y} ${V(`Command`,n.length)} Failed:`);e.write(`❌ ${b.red(t)} ${b.red(n.join(`, `))}\n`)}}return{exitCode:+!g.every(({exitCode:e})=>e===0),report:l===`json`?le(_,v):void 0}}async function Ne(e){let t=await l({cwd:e});return t===void 0?void 0:o.join(o.dirname(t),`init`)}async function Pe(e,t,n,a){let s=await l();if(s===void 0)throw Error("The `init` command must be used in a directory with a package.json file");let c=await Ne(import.meta.dirname);if(c===void 0)return e.write(`Error: Could not locate the package containing this CLI.
|
|
5
|
+
`),1;let u=o.dirname(s),d=(t===`file`||t===`package`)&&n!==void 0&&a!==void 0;try{if(d){let n=Object.keys(a)[0],i=r.readJsonSync(s);if(t===`package`){e.write(`Merging: \nPackage config key "${n}" → "${u}" (Because --location is set to "package")\n`);let t=M(i,a);r.writeJSONSync(s,t,{spaces:` `}),await L(s)}else n!==void 0&&Object.keys(i).includes(n)&&(e.write(`Deleting: \nPackage config key "${n}" in "${u}" (Because --location is set to "file")\n`),delete i[n],r.writeJSONSync(s,i,{spaces:` `}),await L(s))}if(!await r.pathExists(c))return 0;if((await r.readdir(c)).length===0)return e.write(`Source directory "${c}" is empty.\n`),0;e.write(`Adding initial configuration files from:\n"${c}" → "${u}"\n`),await r.copy(c,u,{async filter(a,s){let c=i.statSync(a).isFile(),l=i.existsSync(s);if(c){if(d&&t===`package`&&a.includes(n))return l?(e.write(`Deleting: \n"${a}" → "${s}" (Because --location is set to "package")\n`),r.removeSync(s)):e.write(`Skipping: \n"${a}" → "${s}" (Because --location is set to "package")\n`),!1;if(l&&(s.includes(`.vscode/`)||s.includes(`package.json`))&&o.extname(s)===`.json`){e.write(`Merging: \n"${a}" → "${s}"\n`);let t=r.readJSONSync(a),n=r.readJSONSync(s),i=s.endsWith(`.vscode/tasks.json`)?fe(n,t):M(n,t);return r.writeJSONSync(s,i,{spaces:` `}),await L(s),!1}return l?(e.write(`Overwriting: \n"${a}" → "${s}"\n`),await L(s),!0):(e.write(`Copying: \n"${a}" → "${s}"\n`),await L(s),!0)}return!0},overwrite:!0})}catch(e){return console.error(String(e)),1}return 0}async function Fe(e){let{commands:{fix:t,init:n,lint:r,printConfig:i},description:a,logColor:o,logPrefix:s,name:c,showSummary:l,verbose:u}=e;ne();let p=B(s,o);p.pipe(T());let m=d(f(process.argv)).scriptName(c).usage(`$0 <command>`,a);n!==void 0&&m.command({builder(e){let t=n.locationOptionFlag?e.option(`location`,{choices:[`file`,`package`],default:`file`,describe:`Where to store the configuration.`,type:`string`}):e;return l?X(t):t},command:`init`,describe:n.description??`Initialize by copying starter config files to your project root${n.locationOptionFlag?` or to your package.json file.`:`.`}`,async handler(e){let t=n.locationOptionFlag?e.location:void 0,r=Y(e.skip),{exitCode:i}=await Z(p,[],t===void 0?[]:[`--location`,t],[{async execute(e,t,r){return Pe(e,r.at(1),n.configFile,n.configPackageJson)},name:`copyAndMergeInitFiles`},...n.commands??[]],void 0,void 0,r);process.exitCode=i}}),r!==void 0&&m.command({builder(e){let t=xe(be(r.positionalArgumentMode===`none`?e:e.positional(`files`,{array:!0,...r.positionalArgumentDefault!==void 0&&{default:r.positionalArgumentDefault},describe:`Files or glob pattern to lint.`,type:`string`})));return l?X(t):t},command:r.positionalArgumentMode===`none`?`lint`:r.positionalArgumentMode===`optional`?`lint [files..]`:`lint <files..>`,describe:r.description,async handler(e){let t=e.files??[],n=Y(e.skip),i=C(),{exitCode:a,report:o}=await Z(p,t,[],await H(r.commands),u,l,n,{cache:e.cache,format:i,parallel:r.parallel});o!==void 0&&process.stdout.write(`${A(o)}\n`),process.exitCode=a}}),t!==void 0&&m.command({builder(e){let n=xe(be(t.positionalArgumentMode===`none`?e:e.positional(`files`,{array:!0,...t.positionalArgumentDefault!==void 0&&{default:t.positionalArgumentDefault},describe:`Files or glob pattern to fix.`,type:`string`})));return l?X(n):n},command:t.positionalArgumentMode===`none`?`fix`:t.positionalArgumentMode===`optional`?`fix [files..]`:`fix <files..>`,describe:t.description,async handler(e){let n=e.files??[],r=Y(e.skip),i=C(),{exitCode:a,report:o}=await Z(p,n,[],await H(t.commands),void 0,void 0,r,{cache:e.cache,format:i,parallel:t.parallel});o!==void 0&&process.stdout.write(`${A(o)}\n`),process.exitCode=a}}),i!==void 0&&m.command({builder(e){let t=i.positionalArgumentMode===`none`?e:e.positional(`file`,{...i.positionalArgumentDefault!==void 0&&{default:i.positionalArgumentDefault},describe:`File or glob pattern to print configuration for.`,type:`string`});return l?X(t):t},command:i.positionalArgumentMode===`none`?`print-config`:i.positionalArgumentMode===`optional`?`print-config [file]`:`print-config <file>`,describe:i.description,async handler(e){let t=e.file??void 0,n=t===void 0?[]:[t],r=Y(e.skip),{exitCode:a}=await Z(p,n,[],await H(i.commands),u,l,r);process.exitCode=a}}),m.alias(`h`,`help`),m.version(ee),m.alias(`v`,`version`),m.help(),m.wrap(process.stdout.isTTY?Math.min(120,m.terminalWidth()):0),await m.parseAsync()}function Ie(e){return{async execute(t){let n=await Le(e);if(n===void 0)return 1;let{config:r,filepath:i,isEmpty:a}=n;if(t.write(`Found ${e} configuration at "${i}"\n`),a)return t.write(`Configuration is empty.
|
|
6
|
+
`),0;let o=A(r).split(`
|
|
7
|
+
`);for(let e of o)t.write(`${e}\n`);return 0},name:`Cosmiconfig ${e}`}}async function Le(n){let r=e(n,{loaders:{".ts":t()},searchStrategy:`project`});try{let e=await r.search();if(e===null){console.error(`No ${n} configuration found.`);return}return e}catch(e){console.error(`Error while searching for ${n} configuration:`,e);return}}const Q={fileRun:`Matches files below the current working directory by default.`,monorepoRun:`In a monorepo, it will also run in all packages below the current working directory.`,monorepoSearch:`Searches up to the root of a monorepo if necessary.`,multiArgumentCaveat:`Will use file arguments / globs where possible if provided, but some of the invoked tools only operate at the package scope.`,multiOptionCaveat:`Will use option flags where possible if provided, but some of the invoked tools will ignore them.`,optionalFileRun:`Package-scoped by default, file-scoped if a file argument is provided.`,packageRun:`Package-scoped.`,packageSearch:`Package-scoped.`};async function Re(e,t){let n,[r]=t;if(r===void 0)n=Ie(`eslint`);else{let t=o.join(process.cwd(),r);e.write(`Showing configuration for file: ${t}\n`),n={name:`eslint`,optionFlags:[`--print-config`],receivePositionalArguments:!0}}let{exitCode:i}=await Z(e,t,[],[n]);return i}function $(e){let t;try{t=JSON.parse(e.stdout)}catch{return{diagnostics:[],unparsed:[...O(e.stdout),...O(e.stderr)]}}let n=[];for(let r of t)for(let t of r.messages)n.push({column:t.column,endColumn:t.endColumn,endLine:t.endLine,file:ie(r.filePath,e.cwd),line:t.line,message:t.message,rule:t.ruleId??void 0,severity:t.fatal===!0||t.severity===2?`error`:`warning`,tool:`eslint`});return{diagnostics:n,unparsed:O(e.stderr)}}await Fe({commands:{fix:{commands:[{cache:{flags:[`--cache`,`--cache-strategy`,`content`],name:`eslint`},collect:{optionFlags:[`--fix`,`--max-warnings`,`0`,`--format`,`json`],parse:$},name:`eslint`,optionFlags:[`--fix`,`--max-warnings`,`0`],receivePositionalArguments:!0}],description:`Fix your project with ESLint. ${Q.fileRun}`,positionalArgumentDefault:`.`,positionalArgumentMode:`optional`},init:{locationOptionFlag:!1},lint:{commands:[{cache:{flags:[`--cache`,`--cache-strategy`,`content`],name:`eslint`},collect:{optionFlags:[`--max-warnings`,`0`,`--format`,`json`],parse:$},name:`eslint`,optionFlags:[`--max-warnings`,`0`],receivePositionalArguments:!0}],description:`Lint your project with ESLint. ${Q.fileRun}`,positionalArgumentDefault:`.`,positionalArgumentMode:`optional`},printConfig:{commands:[{execute:Re,name:`eslint-config`}],description:`Print the effective ESLint configuration. ${Q.optionalFileRun} Use \`@eslint/config-inspector\` for a more detailed view.`,positionalArgumentMode:`optional`}},description:`Kitschpatrol's ESLint shared configuration tools.`,logColor:`magenta`,logPrefix:`[ESLint]`,name:`ksc-eslint`,order:4});export{};
|
package/dist/index.d.ts
CHANGED
|
@@ -603,6 +603,11 @@ interface RuleOptions {
|
|
|
603
603
|
* Prefer Array.prototype.toSpliced() over copying and splicing arrays
|
|
604
604
|
*/
|
|
605
605
|
'e18e/prefer-array-to-spliced'?: Linter.RuleEntry<[]>;
|
|
606
|
+
/**
|
|
607
|
+
* Prefer `charCodeAt()` over indexed string access for single-character
|
|
608
|
+
* comparisons inside loops
|
|
609
|
+
*/
|
|
610
|
+
'e18e/prefer-charcode-at-in-loop'?: Linter.RuleEntry<[]>;
|
|
606
611
|
/**
|
|
607
612
|
* Prefer Date.now() over new Date().getTime() and +new Date()
|
|
608
613
|
*/
|
|
@@ -649,6 +654,11 @@ interface RuleOptions {
|
|
|
649
654
|
* checking for match existence
|
|
650
655
|
*/
|
|
651
656
|
'e18e/prefer-regex-test'?: Linter.RuleEntry<[]>;
|
|
657
|
+
/**
|
|
658
|
+
* Prefer `indexOf(needle)` and `slice(...)` over `split()[N]` when splitting
|
|
659
|
+
* a string into two pieces.
|
|
660
|
+
*/
|
|
661
|
+
'e18e/prefer-slice-over-split-index'?: Linter.RuleEntry<[]>;
|
|
652
662
|
/**
|
|
653
663
|
* Prefer spread syntax over Array.concat(), Array.from(), Object.assign({},
|
|
654
664
|
* ...), and Function.apply()
|
|
@@ -669,6 +679,11 @@ interface RuleOptions {
|
|
|
669
679
|
* below 0x10000
|
|
670
680
|
*/
|
|
671
681
|
'e18e/prefer-string-fromcharcode'?: Linter.RuleEntry<[]>;
|
|
682
|
+
/**
|
|
683
|
+
* Prefer `{throwIfNoEntry: false}` over relying on a thrown error for missing
|
|
684
|
+
* fs entries from sync stat calls
|
|
685
|
+
*/
|
|
686
|
+
'e18e/prefer-throw-if-no-entry'?: Linter.RuleEntry<[]>;
|
|
672
687
|
/**
|
|
673
688
|
* Prefer passing function and arguments directly to setTimeout/setInterval
|
|
674
689
|
* instead of wrapping in an arrow function or using bind
|
|
@@ -8766,6 +8781,7 @@ interface RuleOptions {
|
|
|
8766
8781
|
/**
|
|
8767
8782
|
* Disallow specified modules when loaded by `import`
|
|
8768
8783
|
*
|
|
8784
|
+
* @deprecated
|
|
8769
8785
|
* @see https://typescript-eslint.io/rules/no-restricted-imports
|
|
8770
8786
|
*/
|
|
8771
8787
|
'ts/no-restricted-imports'?: Linter.RuleEntry<TsNoRestrictedImports>;
|
|
@@ -12706,6 +12722,7 @@ type JsdocNoUndefinedTypes = [] | [{
|
|
|
12706
12722
|
type JsdocNormalizeSeeLinks = [] | [{
|
|
12707
12723
|
canonicalForm?: 'pipe' | 'prefix';
|
|
12708
12724
|
enableFixer?: boolean;
|
|
12725
|
+
wrapBareUrls?: boolean;
|
|
12709
12726
|
}];
|
|
12710
12727
|
// ----- jsdoc/prefer-import-tag -----
|
|
12711
12728
|
type JsdocPreferImportTag = [] | [{
|
|
@@ -21434,16 +21451,15 @@ type Yoda = [] | ['always' | 'never'] | ['always' | 'never', {
|
|
|
21434
21451
|
onlyEquality?: boolean;
|
|
21435
21452
|
}];
|
|
21436
21453
|
// Names of all the configs
|
|
21437
|
-
type ConfigNames = 'kp/astro/setup' | 'kp/astro/
|
|
21454
|
+
type ConfigNames = 'kp/astro/setup' | 'kp/astro/component' | 'kp/astro/rules' | 'kp/astro/script-ts' | 'kp/disables/stylelint-config' | 'kp/disables/prettier' | 'kp/html-script' | 'kp/html/setup' | 'kp/html' | 'kp/html/markdown-code-blocks' | 'kp/ignores' | 'kp/js/rules' | 'kp/js/cjs' | 'kp/json/setup' | 'kp/json/rules-json' | 'kp/json/rules-jsonc' | 'kp/json/rules-json5' | 'kp/json/rules' | 'kp/json/rules-settings' | 'kp/json/rules-package' | 'kp/json/rules-tsconfig' | 'kp/json/rules-overrides' | 'kp/jsx/rules' | 'kp/markdown/remark' | 'kp/markdown/code-blocks' | 'kp/mdx/remark' | 'kp/mdx/code-blocks' | 'kp/react/setup' | 'kp/react/rules' | 'kp/react/disable-type-aware' | 'kp/svelte/setup' | 'kp/svelte/scripts' | 'kp/svelte/component' | 'kp/svelte/rules' | 'kp/svelte/sveltekit-routes' | 'kp/svelte/sveltekit-app' | 'kp/svelte/modules' | 'kp/test/setup' | 'kp/test/rules' | 'kp/toml/setup' | 'kp/toml/rules' | 'kp/ts/rules' | 'kp/ts/dts' | 'kp/tsx/rules' | 'kp/yaml/setup' | 'kp/yaml/rules';
|
|
21438
21455
|
//#endregion
|
|
21439
21456
|
//#region src/types.d.ts
|
|
21440
21457
|
type Awaitable<T> = Promise<T> | T;
|
|
21441
|
-
type OptionsConfig = {
|
|
21458
|
+
type OptionsConfig = OptionsTsconfigRootDirectory & {
|
|
21442
21459
|
/**
|
|
21443
21460
|
* Enable Astro support.
|
|
21444
21461
|
*
|
|
21445
21462
|
* @default auto-detect based on the dependencies
|
|
21446
|
-
* TODO typescript support?
|
|
21447
21463
|
*/
|
|
21448
21464
|
astro?: boolean | (OptionsOverrides & OptionsOverridesEmbeddedScripts & OptionsTypeAware);
|
|
21449
21465
|
/**
|
|
@@ -21497,7 +21513,7 @@ type OptionsConfig = {
|
|
|
21497
21513
|
*
|
|
21498
21514
|
* @default auto-detect based on the dependencies
|
|
21499
21515
|
*/
|
|
21500
|
-
svelte?: boolean | OptionsOverrides;
|
|
21516
|
+
svelte?: boolean | (OptionsOverrides & OptionsTypeAware);
|
|
21501
21517
|
/** Enable test support. */
|
|
21502
21518
|
test?: OptionsOverrides;
|
|
21503
21519
|
/**
|
|
@@ -21531,6 +21547,16 @@ type OptionsOverrides = {
|
|
|
21531
21547
|
type OptionsOverridesEmbeddedScripts = {
|
|
21532
21548
|
overridesEmbeddedScripts?: TypedFlatConfigItem['rules'];
|
|
21533
21549
|
};
|
|
21550
|
+
type OptionsTsconfigRootDirectory = {
|
|
21551
|
+
/**
|
|
21552
|
+
* Directory from which to begin searching upward for `tsconfig.json`.
|
|
21553
|
+
*
|
|
21554
|
+
* By default this is inferred from the active `eslint.config.*` call frame,
|
|
21555
|
+
* which follows ESLint 10's per-file config lookup. It falls back to the
|
|
21556
|
+
* current working directory for programmatic use.
|
|
21557
|
+
*/
|
|
21558
|
+
tsconfigRootDirectory?: string;
|
|
21559
|
+
};
|
|
21534
21560
|
type OptionsTypeAware = {
|
|
21535
21561
|
typeAware?: {
|
|
21536
21562
|
/**
|
|
@@ -21546,8 +21572,10 @@ type OptionsTypeAware = {
|
|
|
21546
21572
|
/**
|
|
21547
21573
|
* [Minimatch](https://github.com/isaacs/minimatch/tree/v3]) patterns of
|
|
21548
21574
|
* specific files to exclude from type aware rules.
|
|
21575
|
+
*
|
|
21576
|
+
* @default Empty array
|
|
21549
21577
|
*/
|
|
21550
|
-
ignores
|
|
21578
|
+
ignores?: string[];
|
|
21551
21579
|
};
|
|
21552
21580
|
};
|
|
21553
21581
|
type Rules = RuleOptions;
|
|
@@ -21624,8 +21652,9 @@ declare function eslintConfig(options?: Omit<TypedFlatConfigItem, 'files'> & Opt
|
|
|
21624
21652
|
*
|
|
21625
21653
|
* @param typeAware - Whether to enable type-aware linting.
|
|
21626
21654
|
* @param isJsxEnabled - Whether to enable JSX parsing.
|
|
21655
|
+
* @param tsconfigRootDirectory - Root directory for TypeScript project lookup.
|
|
21627
21656
|
*/
|
|
21628
|
-
declare function getLanguageOptions(typeAware?: boolean, isJsxEnabled?: boolean): Linter.LanguageOptions;
|
|
21657
|
+
declare function getLanguageOptions(typeAware?: boolean, isJsxEnabled?: boolean, tsconfigRootDirectory?: string): Linter.LanguageOptions;
|
|
21629
21658
|
/**
|
|
21630
21659
|
* Get the overrides for a specific key.
|
|
21631
21660
|
*
|
|
@@ -21658,7 +21687,7 @@ declare function getOverridesEmbeddedScripts<K extends keyof OptionsConfig>(opti
|
|
|
21658
21687
|
declare function resolveSubOptions<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): ResolvedOptions<OptionsConfig[K]>;
|
|
21659
21688
|
//#endregion
|
|
21660
21689
|
//#region src/configs/astro.d.ts
|
|
21661
|
-
declare function astro(options?: OptionsOverrides & OptionsOverridesEmbeddedScripts & OptionsTypeAware): Promise<TypedFlatConfigItem[]>;
|
|
21690
|
+
declare function astro(options?: OptionsOverrides & OptionsOverridesEmbeddedScripts & OptionsTsconfigRootDirectory & OptionsTypeAware): Promise<TypedFlatConfigItem[]>;
|
|
21662
21691
|
//#endregion
|
|
21663
21692
|
//#region src/configs/disables.d.ts
|
|
21664
21693
|
/**
|
|
@@ -21676,13 +21705,13 @@ declare function ignores(userIgnores?: string[]): Promise<TypedFlatConfigItem[]>
|
|
|
21676
21705
|
/**
|
|
21677
21706
|
* JavaScript configuration, note use of TypeScript rules
|
|
21678
21707
|
*/
|
|
21679
|
-
declare function js(options?: OptionsOverrides & OptionsTypeAware): Promise<TypedFlatConfigItem[]>;
|
|
21708
|
+
declare function js(options?: OptionsOverrides & OptionsTsconfigRootDirectory & OptionsTypeAware): Promise<TypedFlatConfigItem[]>;
|
|
21680
21709
|
//#endregion
|
|
21681
21710
|
//#region src/configs/json.d.ts
|
|
21682
21711
|
declare function json(options?: OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
21683
21712
|
//#endregion
|
|
21684
21713
|
//#region src/configs/jsx.d.ts
|
|
21685
|
-
declare function jsx(options?: OptionsOverrides & OptionsTypeAware): Promise<TypedFlatConfigItem[]>;
|
|
21714
|
+
declare function jsx(options?: OptionsOverrides & OptionsTsconfigRootDirectory & OptionsTypeAware): Promise<TypedFlatConfigItem[]>;
|
|
21686
21715
|
//#endregion
|
|
21687
21716
|
//#region src/configs/md.d.ts
|
|
21688
21717
|
declare function md(options?: OptionsOverrides & OptionsOverridesEmbeddedScripts): Promise<TypedFlatConfigItem[]>;
|
|
@@ -21691,10 +21720,14 @@ declare function md(options?: OptionsOverrides & OptionsOverridesEmbeddedScripts
|
|
|
21691
21720
|
declare function mdx(options?: OptionsOverrides & OptionsOverridesEmbeddedScripts): Promise<TypedFlatConfigItem[]>;
|
|
21692
21721
|
//#endregion
|
|
21693
21722
|
//#region src/configs/react.d.ts
|
|
21694
|
-
declare function react(options?: OptionsOverrides & OptionsTypeAware
|
|
21723
|
+
declare function react(options?: OptionsOverrides & OptionsTsconfigRootDirectory & OptionsTypeAware & {
|
|
21724
|
+
typeAwareJavaScript?: boolean;
|
|
21725
|
+
}): Promise<TypedFlatConfigItem[]>;
|
|
21695
21726
|
//#endregion
|
|
21696
21727
|
//#region src/configs/svelte.d.ts
|
|
21697
|
-
declare function svelte(options?: OptionsOverrides
|
|
21728
|
+
declare function svelte(options?: OptionsOverrides & OptionsTsconfigRootDirectory & OptionsTypeAware & {
|
|
21729
|
+
typeAwareJavaScript?: boolean;
|
|
21730
|
+
}): Promise<TypedFlatConfigItem[]>;
|
|
21698
21731
|
//#endregion
|
|
21699
21732
|
//#region src/configs/test.d.ts
|
|
21700
21733
|
declare function test(options?: OptionsIsInEditor & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
@@ -21703,10 +21736,10 @@ declare function test(options?: OptionsIsInEditor & OptionsOverrides): Promise<T
|
|
|
21703
21736
|
declare function toml(options?: OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
21704
21737
|
//#endregion
|
|
21705
21738
|
//#region src/configs/ts.d.ts
|
|
21706
|
-
declare function ts(options?: OptionsOverrides & OptionsTypeAware): Promise<TypedFlatConfigItem[]>;
|
|
21739
|
+
declare function ts(options?: OptionsOverrides & OptionsTsconfigRootDirectory & OptionsTypeAware): Promise<TypedFlatConfigItem[]>;
|
|
21707
21740
|
//#endregion
|
|
21708
21741
|
//#region src/configs/tsx.d.ts
|
|
21709
|
-
declare function tsx(options?: OptionsOverrides & OptionsTypeAware): Promise<TypedFlatConfigItem[]>;
|
|
21742
|
+
declare function tsx(options?: OptionsOverrides & OptionsTsconfigRootDirectory & OptionsTypeAware): Promise<TypedFlatConfigItem[]>;
|
|
21710
21743
|
//#endregion
|
|
21711
21744
|
//#region src/configs/yaml.d.ts
|
|
21712
21745
|
declare function yaml(options?: OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
@@ -21737,7 +21770,6 @@ declare const GLOB_XML = "**/*.xml";
|
|
|
21737
21770
|
declare const GLOB_SVG = "**/*.svg";
|
|
21738
21771
|
declare const GLOB_HTML = "**/*.htm?(l)";
|
|
21739
21772
|
declare const GLOB_ASTRO = "**/*.astro";
|
|
21740
|
-
declare const GLOB_ASTRO_JS = "**/*.astro/*.js";
|
|
21741
21773
|
declare const GLOB_ASTRO_TS = "**/*.astro/*.ts";
|
|
21742
21774
|
declare const GLOB_GRAPHQL = "**/*.{g,graph}ql";
|
|
21743
21775
|
declare const GLOB_MARKDOWN_CODE = "**/*.md/**/*.?([cm])[jt]s?(x)";
|
|
@@ -21849,4 +21881,4 @@ declare function generatePerfectionistSortConfig(strings: string[], matchType?:
|
|
|
21849
21881
|
};
|
|
21850
21882
|
};
|
|
21851
21883
|
//#endregion
|
|
21852
|
-
export { type Awaitable, type ConfigNames, type FileType, GLOB_ALL_SRC, GLOB_ASTRO,
|
|
21884
|
+
export { type Awaitable, type ConfigNames, type FileType, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_HTML_CODE, GLOB_MDX, GLOB_MDX_CODE, GLOB_MDX_HTML_CODE, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVELTE_JS, GLOB_SVELTE_TS, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_XML, GLOB_YAML, type OptionsConfig, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsOverridesEmbeddedScripts, type OptionsTsconfigRootDirectory, type OptionsTypeAware, ResolvedOptions, type Rules, type TypedFlatConfigItem, astro, clearCache, combine, eslintConfig as default, eslintConfig, defaultPluginRenaming, disables, fix, fixFile, generatePerfectionistSortConfig, getLanguageOptions, getOverrides, getOverridesEmbeddedScripts, html, ignores, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, js, json, jsx, md, mdx, react, renamePluginInConfigs, renameRules, resolveSubOptions, svelte, test, toArray, toml, ts, tsx, yaml };
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"node:fs/promises";import t from"node:path";import{FlatConfigComposer as n}from"eslint-flat-config-utils";import r from"globals";import{isPackageExists as i}from"local-pkg";import a from"node:process";import*as o from"@typescript-eslint/parser";import s from"@e18e/eslint-plugin";import c from"@eslint-community/eslint-plugin-eslint-comments";import l from"@stylistic/eslint-plugin";import u from"@typescript-eslint/eslint-plugin";import{createTypeScriptImportResolver as d}from"eslint-import-resolver-typescript";import ee from"eslint-plugin-de-morgan";import*as te from"eslint-plugin-depend";import ne from"eslint-plugin-import-x";import re from"eslint-plugin-jsdoc";import*as ie from"eslint-plugin-math";import ae from"eslint-plugin-n";import oe from"eslint-plugin-perfectionist";import*as se from"eslint-plugin-regexp";import ce from"eslint-plugin-unicorn";import f from"@html-eslint/eslint-plugin";import le from"@html-eslint/parser";import ue from"eslint-plugin-html";import de from"eslint-plugin-jsonc";import fe from"eslint-plugin-package-json";import*as p from"jsonc-eslint-parser";import{sortOrder as pe}from"sort-package-json";import me from"eslint-plugin-jsx-a11y";import*as he from"eslint-mdx";import*as m from"eslint-plugin-mdx";import ge from"@vitest/eslint-plugin";import _e from"eslint-plugin-no-only-tests";const h=`?([cm])[jt]s?(x)`,g=`**/*.${h}`,ve=`**/*.?([cm])js`,ye=`**/*.?([cm])jsx`,be=`**/*.?([cm])ts`,xe=`**/*.?([cm])tsx`,Se=`**/*.{c,le,sc}ss`,Ce=`**/*.css`,we=`**/*.{p,post}css`,Te=`**/*.less`,Ee=`**/*.scss`,_=`**/*.json`,v=`**/*.json5`,y=`**/*.jsonc`,b=`**/*.md`,x=`**/*.mdx`,S=`**/*.svelte`,C=`**/*.svelte.ts`,w=`**/*.svelte.js`,T=`**/*.y?(a)ml`,E=`**/*.toml`,D=`**/*.xml`,De=`**/*.svg`,O=`**/*.htm?(l)`,k=`**/*.astro`,A=`${k}/*.js`,j=`${k}/*.ts`,Oe=`**/*.{g,graph}ql`,M=`${b}/${g}`,N=`${x}/${g}`,P=`${b}/${O}`,F=`${x}/${O}`,I=[`**/__tests__/**/*.${h}`,`**/*.spec.${h}`,`**/*.test.${h}`,`**/*.bench.${h}`,`**/*.benchmark.${h}`],ke=[g,Se,_,v,b,x,S,w,C,T,D,O],L=`**/node_modules,**/dist,**/package-lock.json,**/yarn.lock,**/pnpm-lock.yaml,**/bun.lockb,**/output,**/coverage,**/temp,**/.temp,**/tmp,**/.tmp,**/.history,**/.vitepress/cache,**/.nuxt,**/.next,**/.svelte-kit,**/.vercel,**/.changeset,**/.idea,**/.cache,**/.output,**/.vite-inspect,**/.yarn,**/vite.config.*.timestamp-*,**/CHANGELOG*.md,**/*.min.*,**/LICENSE*,**/__snapshots__,**/auto-import?(s).d.ts,**/components.d.ts,**/.agents,**/.claude,**/.worktrees,**/skills-lock.json`.split(`,`),Ae={"astro/missing-client-only-directive-value":`error`,"astro/no-conflict-set-directives":`error`,"astro/no-deprecated-astro-canonicalurl":`error`,"astro/no-deprecated-astro-fetchcontent":`error`,"astro/no-deprecated-astro-resolve":`error`,"astro/no-deprecated-getentrybyslug":`error`,"astro/no-exports-from-components":`error`,"astro/no-prerender-export-outside-pages":`error`,"astro/no-unused-define-vars-in-style":`error`},je={"astro/jsx-a11y/alt-text":`error`,"astro/jsx-a11y/anchor-ambiguous-text":`off`,"astro/jsx-a11y/anchor-has-content":`error`,"astro/jsx-a11y/anchor-is-valid":`error`,"astro/jsx-a11y/aria-activedescendant-has-tabindex":`error`,"astro/jsx-a11y/aria-props":`error`,"astro/jsx-a11y/aria-proptypes":`error`,"astro/jsx-a11y/aria-role":`error`,"astro/jsx-a11y/aria-unsupported-elements":`error`,"astro/jsx-a11y/autocomplete-valid":`error`,"astro/jsx-a11y/click-events-have-key-events":`error`,"astro/jsx-a11y/control-has-associated-label":[`off`,{ignoreElements:[`audio`,`canvas`,`embed`,`input`,`textarea`,`tr`,`video`],ignoreRoles:[`grid`,`listbox`,`menu`,`menubar`,`radiogroup`,`row`,`tablist`,`toolbar`,`tree`,`treegrid`],includeRoles:[`alert`,`dialog`]}],"astro/jsx-a11y/heading-has-content":`error`,"astro/jsx-a11y/html-has-lang":`error`,"astro/jsx-a11y/iframe-has-title":`error`,"astro/jsx-a11y/img-redundant-alt":`error`,"astro/jsx-a11y/interactive-supports-focus":[`error`,{tabbable:[`button`,`checkbox`,`link`,`searchbox`,`spinbutton`,`switch`,`textbox`]}],"astro/jsx-a11y/label-has-associated-control":`error`,"astro/jsx-a11y/media-has-caption":`error`,"astro/jsx-a11y/mouse-events-have-key-events":`error`,"astro/jsx-a11y/no-access-key":`error`,"astro/jsx-a11y/no-autofocus":`error`,"astro/jsx-a11y/no-distracting-elements":`error`,"astro/jsx-a11y/no-interactive-element-to-noninteractive-role":[`error`,{tr:[`none`,`presentation`],canvas:[`img`]}],"astro/jsx-a11y/no-noninteractive-element-interactions":[`error`,{handlers:[`onClick`,`onError`,`onLoad`,`onMouseDown`,`onMouseUp`,`onKeyPress`,`onKeyDown`,`onKeyUp`],alert:[`onKeyUp`,`onKeyDown`,`onKeyPress`],body:[`onError`,`onLoad`],dialog:[`onKeyUp`,`onKeyDown`,`onKeyPress`],iframe:[`onError`,`onLoad`],img:[`onError`,`onLoad`]}],"astro/jsx-a11y/no-noninteractive-element-to-interactive-role":[`error`,{ul:[`listbox`,`menu`,`menubar`,`radiogroup`,`tablist`,`tree`,`treegrid`],ol:[`listbox`,`menu`,`menubar`,`radiogroup`,`tablist`,`tree`,`treegrid`],li:[`menuitem`,`menuitemradio`,`menuitemcheckbox`,`option`,`row`,`tab`,`treeitem`],table:[`grid`],td:[`gridcell`],fieldset:[`radiogroup`,`presentation`]}],"astro/jsx-a11y/no-noninteractive-tabindex":[`error`,{tags:[],roles:[`tabpanel`],allowExpressionValues:!0}],"astro/jsx-a11y/no-redundant-roles":`error`,"astro/jsx-a11y/no-static-element-interactions":[`error`,{allowExpressionValues:!0,handlers:[`onClick`,`onMouseDown`,`onMouseUp`,`onKeyPress`,`onKeyDown`,`onKeyUp`]}],"astro/jsx-a11y/role-has-required-aria-props":`error`,"astro/jsx-a11y/role-supports-aria-props":`error`,"astro/jsx-a11y/scope":`error`,"astro/jsx-a11y/tabindex-no-positive":`error`},Me={"de-morgan/no-negated-conjunction":`error`,"de-morgan/no-negated-disjunction":`error`},Ne={"depend/ban-dependencies":`error`},Pe={"eslint-comments/disable-enable-pair":`error`,"eslint-comments/no-aggregating-enable":`error`,"eslint-comments/no-duplicate-disable":`error`,"eslint-comments/no-unlimited-disable":`error`,"eslint-comments/no-unused-enable":`error`},Fe={"constructor-super":`error`,"for-direction":`error`,"getter-return":`error`,"no-async-promise-executor":`error`,"no-case-declarations":`error`,"no-class-assign":`error`,"no-compare-neg-zero":`error`,"no-cond-assign":`error`,"no-const-assign":`error`,"no-constant-binary-expression":`error`,"no-constant-condition":`error`,"no-control-regex":`error`,"no-debugger":`error`,"no-delete-var":`error`,"no-dupe-args":`error`,"no-dupe-class-members":`error`,"no-dupe-else-if":`error`,"no-dupe-keys":`error`,"no-duplicate-case":`error`,"no-empty":`error`,"no-empty-character-class":`error`,"no-empty-pattern":`error`,"no-empty-static-block":`error`,"no-ex-assign":`error`,"no-extra-boolean-cast":`error`,"no-fallthrough":`error`,"no-func-assign":`error`,"no-global-assign":`error`,"no-import-assign":`error`,"no-invalid-regexp":`error`,"no-irregular-whitespace":`error`,"no-loss-of-precision":`error`,"no-misleading-character-class":`error`,"no-new-native-nonconstructor":`error`,"no-nonoctal-decimal-escape":`error`,"no-obj-calls":`error`,"no-octal":`error`,"no-prototype-builtins":`error`,"no-redeclare":`error`,"no-regex-spaces":`error`,"no-self-assign":`error`,"no-setter-return":`error`,"no-shadow-restricted-names":`error`,"no-sparse-arrays":`error`,"no-this-before-super":`error`,"no-unassigned-vars":`error`,"no-undef":`error`,"no-unexpected-multiline":`error`,"no-unreachable":`error`,"no-unsafe-finally":`error`,"no-unsafe-negation":`error`,"no-unsafe-optional-chaining":`error`,"no-unused-labels":`error`,"no-unused-private-class-members":`error`,"no-unused-vars":`error`,"no-useless-assignment":`error`,"no-useless-backreference":`error`,"no-useless-catch":`error`,"no-useless-escape":`error`,"no-with":`error`,"preserve-caught-error":`error`,"require-yield":`error`,"use-isnan":`error`,"valid-typeof":`error`},Ie={"constructor-super":`off`,"getter-return":`off`,"no-class-assign":`off`,"no-const-assign":`off`,"no-dupe-args":`off`,"no-dupe-class-members":`off`,"no-dupe-keys":`off`,"no-func-assign":`off`,"no-import-assign":`off`,"no-new-native-nonconstructor":`off`,"no-new-symbol":`off`,"no-obj-calls":`off`,"no-redeclare":`off`,"no-setter-return":`off`,"no-this-before-super":`off`,"no-undef":`off`,"no-unreachable":`off`,"no-unsafe-negation":`off`,"no-var":`error`,"no-with":`off`,"prefer-const":`error`,"prefer-rest-params":`error`,"prefer-spread":`error`},Le={"ts/await-thenable":`error`,"ts/ban-ts-comment":[`error`,{minimumDescriptionLength:10}],"no-array-constructor":`off`,"ts/no-array-constructor":`error`,"ts/no-array-delete":`error`,"ts/no-base-to-string":`error`,"ts/no-confusing-void-expression":`error`,"ts/no-deprecated":`error`,"ts/no-duplicate-enum-values":`error`,"ts/no-duplicate-type-constituents":`error`,"ts/no-dynamic-delete":`error`,"ts/no-empty-object-type":`error`,"ts/no-explicit-any":`error`,"ts/no-extra-non-null-assertion":`error`,"ts/no-extraneous-class":`error`,"ts/no-floating-promises":`error`,"ts/no-for-in-array":`error`,"no-implied-eval":`off`,"ts/no-implied-eval":`error`,"ts/no-invalid-void-type":`error`,"ts/no-meaningless-void-operator":`error`,"ts/no-misused-new":`error`,"ts/no-misused-promises":`error`,"ts/no-misused-spread":`error`,"ts/no-mixed-enums":`error`,"ts/no-namespace":`error`,"ts/no-non-null-asserted-nullish-coalescing":`error`,"ts/no-non-null-asserted-optional-chain":`error`,"ts/no-non-null-assertion":`error`,"ts/no-redundant-type-constituents":`error`,"ts/no-require-imports":`error`,"ts/no-this-alias":`error`,"ts/no-unnecessary-boolean-literal-compare":`error`,"ts/no-unnecessary-condition":`error`,"ts/no-unnecessary-template-expression":`error`,"ts/no-unnecessary-type-arguments":`error`,"ts/no-unnecessary-type-assertion":`error`,"ts/no-unnecessary-type-constraint":`error`,"ts/no-unnecessary-type-conversion":`error`,"ts/no-unnecessary-type-parameters":`error`,"ts/no-unsafe-argument":`error`,"ts/no-unsafe-assignment":`error`,"ts/no-unsafe-call":`error`,"ts/no-unsafe-declaration-merging":`error`,"ts/no-unsafe-enum-comparison":`error`,"ts/no-unsafe-function-type":`error`,"ts/no-unsafe-member-access":`error`,"ts/no-unsafe-return":`error`,"ts/no-unsafe-unary-minus":`error`,"no-unused-expressions":`off`,"ts/no-unused-expressions":`error`,"no-unused-vars":`off`,"ts/no-unused-vars":`error`,"no-useless-constructor":`off`,"ts/no-useless-constructor":`error`,"ts/no-useless-default-assignment":`error`,"ts/no-wrapper-object-types":`error`,"no-throw-literal":`off`,"ts/only-throw-error":`error`,"ts/prefer-as-const":`error`,"ts/prefer-literal-enum-member":`error`,"ts/prefer-namespace-keyword":`error`,"prefer-promise-reject-errors":`off`,"ts/prefer-promise-reject-errors":`error`,"ts/prefer-reduce-type-parameter":`error`,"ts/prefer-return-this-type":`error`,"ts/related-getter-setter-pairs":`error`,"require-await":`off`,"ts/require-await":`error`,"ts/restrict-plus-operands":[`error`,{allowAny:!1,allowBoolean:!1,allowNullish:!1,allowNumberAndString:!1,allowRegExp:!1}],"ts/restrict-template-expressions":[`error`,{allowAny:!1,allowBoolean:!1,allowNever:!1,allowNullish:!1,allowNumber:!1,allowRegExp:!1}],"ts/return-await":[`error`,`error-handling-correctness-only`],"ts/triple-slash-reference":`error`,"ts/unbound-method":`error`,"ts/unified-signatures":`error`,"ts/use-unknown-in-catch-callback-variable":`error`},Re={"ts/adjacent-overload-signatures":`error`,"ts/array-type":`error`,"ts/ban-tslint-comment":`error`,"ts/class-literal-property-style":`error`,"ts/consistent-generic-constructors":`error`,"ts/consistent-indexed-object-style":`error`,"ts/consistent-type-assertions":`error`,"ts/consistent-type-definitions":`error`,"dot-notation":`off`,"ts/dot-notation":`error`,"ts/no-confusing-non-null-assertion":`error`,"no-empty-function":`off`,"ts/no-empty-function":`error`,"ts/no-inferrable-types":`error`,"ts/non-nullable-type-assertion-style":`error`,"ts/prefer-find":`error`,"ts/prefer-for-of":`error`,"ts/prefer-function-type":`error`,"ts/prefer-includes":`error`,"ts/prefer-nullish-coalescing":`error`,"ts/prefer-optional-chain":`error`,"ts/prefer-regexp-exec":`error`,"ts/prefer-string-starts-ends-with":`error`},ze={"ts/await-thenable":`off`,"ts/consistent-return":`off`,"ts/consistent-type-exports":`off`,"ts/dot-notation":`off`,"ts/naming-convention":`off`,"ts/no-array-delete":`off`,"ts/no-base-to-string":`off`,"ts/no-confusing-void-expression":`off`,"ts/no-deprecated":`off`,"ts/no-duplicate-type-constituents":`off`,"ts/no-floating-promises":`off`,"ts/no-for-in-array":`off`,"ts/no-implied-eval":`off`,"ts/no-meaningless-void-operator":`off`,"ts/no-misused-promises":`off`,"ts/no-misused-spread":`off`,"ts/no-mixed-enums":`off`,"ts/no-redundant-type-constituents":`off`,"ts/no-unnecessary-boolean-literal-compare":`off`,"ts/no-unnecessary-condition":`off`,"ts/no-unnecessary-qualifier":`off`,"ts/no-unnecessary-template-expression":`off`,"ts/no-unnecessary-type-arguments":`off`,"ts/no-unnecessary-type-assertion":`off`,"ts/no-unnecessary-type-conversion":`off`,"ts/no-unnecessary-type-parameters":`off`,"ts/no-unsafe-argument":`off`,"ts/no-unsafe-assignment":`off`,"ts/no-unsafe-call":`off`,"ts/no-unsafe-enum-comparison":`off`,"ts/no-unsafe-member-access":`off`,"ts/no-unsafe-return":`off`,"ts/no-unsafe-type-assertion":`off`,"ts/no-unsafe-unary-minus":`off`,"ts/no-useless-default-assignment":`off`,"ts/non-nullable-type-assertion-style":`off`,"ts/only-throw-error":`off`,"ts/prefer-destructuring":`off`,"ts/prefer-find":`off`,"ts/prefer-includes":`off`,"ts/prefer-nullish-coalescing":`off`,"ts/prefer-optional-chain":`off`,"ts/prefer-promise-reject-errors":`off`,"ts/prefer-readonly":`off`,"ts/prefer-readonly-parameter-types":`off`,"ts/prefer-reduce-type-parameter":`off`,"ts/prefer-regexp-exec":`off`,"ts/prefer-return-this-type":`off`,"ts/prefer-string-starts-ends-with":`off`,"ts/promise-function-async":`off`,"ts/related-getter-setter-pairs":`off`,"ts/require-array-sort-compare":`off`,"ts/require-await":`off`,"ts/restrict-plus-operands":`off`,"ts/restrict-template-expressions":`off`,"ts/return-await":`off`,"ts/strict-boolean-expressions":`off`,"ts/strict-void-return":`off`,"ts/switch-exhaustiveness-check":`off`,"ts/unbound-method":`off`,"ts/use-unknown-in-catch-callback-variable":`off`},Be={"import/no-unresolved":`error`,"import/named":`error`,"import/namespace":`error`,"import/default":`error`,"import/export":`error`,"import/no-named-as-default":`warn`,"import/no-named-as-default-member":`warn`,"import/no-duplicates":`warn`},Ve={"import/named":`off`},He={"jsdoc/check-access":`warn`,"jsdoc/check-alignment":`warn`,"jsdoc/check-examples":`off`,"jsdoc/check-indentation":`off`,"jsdoc/check-line-alignment":`off`,"jsdoc/check-param-names":`warn`,"jsdoc/check-property-names":`warn`,"jsdoc/check-syntax":`off`,"jsdoc/check-tag-names":`warn`,"jsdoc/check-template-names":`off`,"jsdoc/check-types":`warn`,"jsdoc/check-values":`warn`,"jsdoc/convert-to-jsdoc-comments":`off`,"jsdoc/empty-tags":`warn`,"jsdoc/escape-inline-tags":`warn`,"jsdoc/implements-on-classes":`warn`,"jsdoc/imports-as-dependencies":`off`,"jsdoc/informative-docs":`off`,"jsdoc/lines-before-block":`off`,"jsdoc/match-description":`off`,"jsdoc/match-name":`off`,"jsdoc/multiline-blocks":`warn`,"jsdoc/no-bad-blocks":`off`,"jsdoc/no-blank-block-descriptions":`off`,"jsdoc/no-blank-blocks":`off`,"jsdoc/no-defaults":`warn`,"jsdoc/no-missing-syntax":`off`,"jsdoc/no-multi-asterisks":`warn`,"jsdoc/no-restricted-syntax":`off`,"jsdoc/no-types":`off`,"jsdoc/no-undefined-types":`off`,"jsdoc/normalize-see-links":`off`,"jsdoc/prefer-import-tag":`off`,"jsdoc/reject-any-type":`warn`,"jsdoc/reject-function-type":`warn`,"jsdoc/require-asterisk-prefix":`off`,"jsdoc/require-description":`off`,"jsdoc/require-description-complete-sentence":`off`,"jsdoc/require-example":`off`,"jsdoc/require-file-overview":`off`,"jsdoc/require-hyphen-before-param-description":`off`,"jsdoc/require-jsdoc":`warn`,"jsdoc/require-next-description":`off`,"jsdoc/require-next-type":`warn`,"jsdoc/require-param":`warn`,"jsdoc/require-param-description":`warn`,"jsdoc/require-param-name":`warn`,"jsdoc/require-param-type":`warn`,"jsdoc/require-property":`warn`,"jsdoc/require-property-description":`warn`,"jsdoc/require-property-name":`warn`,"jsdoc/require-property-type":`warn`,"jsdoc/require-rejects":`off`,"jsdoc/require-returns":`warn`,"jsdoc/require-returns-check":`warn`,"jsdoc/require-returns-description":`warn`,"jsdoc/require-returns-type":`warn`,"jsdoc/require-tags":`off`,"jsdoc/require-template":`off`,"jsdoc/require-template-description":`off`,"jsdoc/require-throws":`off`,"jsdoc/require-throws-description":`off`,"jsdoc/require-throws-type":`warn`,"jsdoc/require-yields":`warn`,"jsdoc/require-yields-check":`warn`,"jsdoc/require-yields-description":`off`,"jsdoc/require-yields-type":`warn`,"jsdoc/sort-tags":`off`,"jsdoc/tag-lines":`warn`,"jsdoc/text-escaping":`off`,"jsdoc/ts-method-signature-style":`off`,"jsdoc/ts-no-empty-object-type":`warn`,"jsdoc/ts-no-unnecessary-template-expression":`off`,"jsdoc/ts-prefer-function-type":`off`,"jsdoc/type-formatting":`off`,"jsdoc/valid-types":`warn`},Ue={"jsdoc/check-access":`warn`,"jsdoc/check-alignment":`warn`,"jsdoc/check-examples":`off`,"jsdoc/check-indentation":`off`,"jsdoc/check-line-alignment":`off`,"jsdoc/check-param-names":`warn`,"jsdoc/check-property-names":`warn`,"jsdoc/check-syntax":`off`,"jsdoc/check-tag-names":[`warn`,{typed:!0}],"jsdoc/check-template-names":`off`,"jsdoc/check-types":`warn`,"jsdoc/check-values":`warn`,"jsdoc/convert-to-jsdoc-comments":`off`,"jsdoc/empty-tags":`warn`,"jsdoc/escape-inline-tags":`warn`,"jsdoc/implements-on-classes":`warn`,"jsdoc/imports-as-dependencies":`off`,"jsdoc/informative-docs":`off`,"jsdoc/lines-before-block":`off`,"jsdoc/match-description":`off`,"jsdoc/match-name":`off`,"jsdoc/multiline-blocks":`warn`,"jsdoc/no-bad-blocks":`off`,"jsdoc/no-blank-block-descriptions":`off`,"jsdoc/no-blank-blocks":`off`,"jsdoc/no-defaults":`warn`,"jsdoc/no-missing-syntax":`off`,"jsdoc/no-multi-asterisks":`warn`,"jsdoc/no-restricted-syntax":`off`,"jsdoc/no-types":`warn`,"jsdoc/no-undefined-types":`off`,"jsdoc/normalize-see-links":`off`,"jsdoc/prefer-import-tag":`off`,"jsdoc/reject-any-type":`warn`,"jsdoc/reject-function-type":`warn`,"jsdoc/require-asterisk-prefix":`off`,"jsdoc/require-description":`off`,"jsdoc/require-description-complete-sentence":`off`,"jsdoc/require-example":`off`,"jsdoc/require-file-overview":`off`,"jsdoc/require-hyphen-before-param-description":`off`,"jsdoc/require-jsdoc":`warn`,"jsdoc/require-next-description":`off`,"jsdoc/require-next-type":`warn`,"jsdoc/require-param":`warn`,"jsdoc/require-param-description":`warn`,"jsdoc/require-param-name":`warn`,"jsdoc/require-param-type":`off`,"jsdoc/require-property":`warn`,"jsdoc/require-property-description":`warn`,"jsdoc/require-property-name":`warn`,"jsdoc/require-property-type":`off`,"jsdoc/require-rejects":`off`,"jsdoc/require-returns":`warn`,"jsdoc/require-returns-check":`warn`,"jsdoc/require-returns-description":`warn`,"jsdoc/require-returns-type":`off`,"jsdoc/require-tags":`off`,"jsdoc/require-template":`off`,"jsdoc/require-template-description":`off`,"jsdoc/require-throws":`off`,"jsdoc/require-throws-description":`off`,"jsdoc/require-throws-type":`warn`,"jsdoc/require-yields":`warn`,"jsdoc/require-yields-check":`warn`,"jsdoc/require-yields-description":`off`,"jsdoc/require-yields-type":`warn`,"jsdoc/sort-tags":`off`,"jsdoc/tag-lines":`warn`,"jsdoc/text-escaping":`off`,"jsdoc/ts-method-signature-style":`off`,"jsdoc/ts-no-empty-object-type":`warn`,"jsdoc/ts-no-unnecessary-template-expression":`off`,"jsdoc/ts-prefer-function-type":`off`,"jsdoc/type-formatting":`off`,"jsdoc/valid-types":`warn`},We={strict:`off`,"no-unused-expressions":`off`,"no-unused-vars":`off`},Ge={"json/comma-dangle":`error`,"json/no-bigint-literals":`error`,"json/no-binary-expression":`error`,"json/no-binary-numeric-literals":`error`,"json/no-comments":`error`,"json/no-dupe-keys":`error`,"json/no-escape-sequence-in-identifier":`error`,"json/no-floating-decimal":`error`,"json/no-hexadecimal-numeric-literals":`error`,"json/no-infinity":`error`,"json/no-irregular-whitespace":`error`,"json/no-multi-str":`error`,"json/no-nan":`error`,"json/no-number-props":`error`,"json/no-numeric-separators":`error`,"json/no-octal-numeric-literals":`error`,"json/no-octal":`error`,"json/no-parenthesized":`error`,"json/no-plus-sign":`error`,"json/no-regexp-literals":`error`,"json/no-sparse-arrays":`error`,"json/no-template-literals":`error`,"json/no-undefined-value":`error`,"json/no-unicode-codepoint-escapes":`error`,"json/no-useless-escape":`error`,"json/quote-props":`error`,"json/quotes":`error`,"json/space-unary-ops":`error`,"json/valid-json-number":`error`,"json/vue-custom-block/no-parsing-error":`error`},R={"json/no-bigint-literals":`error`,"json/no-binary-expression":`error`,"json/no-binary-numeric-literals":`error`,"json/no-dupe-keys":`error`,"json/no-escape-sequence-in-identifier":`error`,"json/no-floating-decimal":`error`,"json/no-hexadecimal-numeric-literals":`error`,"json/no-infinity":`error`,"json/no-irregular-whitespace":`error`,"json/no-multi-str":`error`,"json/no-nan":`error`,"json/no-number-props":`error`,"json/no-numeric-separators":`error`,"json/no-octal-numeric-literals":`error`,"json/no-octal":`error`,"json/no-parenthesized":`error`,"json/no-plus-sign":`error`,"json/no-regexp-literals":`error`,"json/no-sparse-arrays":`error`,"json/no-template-literals":`error`,"json/no-undefined-value":`error`,"json/no-unicode-codepoint-escapes":`error`,"json/no-useless-escape":`error`,"json/quote-props":`error`,"json/quotes":`error`,"json/space-unary-ops":`error`,"json/valid-json-number":`error`,"json/vue-custom-block/no-parsing-error":`error`},Ke={"json/no-bigint-literals":`error`,"json/no-binary-expression":`error`,"json/no-binary-numeric-literals":`error`,"json/no-dupe-keys":`error`,"json/no-escape-sequence-in-identifier":`error`,"json/no-irregular-whitespace":`error`,"json/no-number-props":`error`,"json/no-numeric-separators":`error`,"json/no-octal-numeric-literals":`error`,"json/no-octal":`error`,"json/no-parenthesized":`error`,"json/no-regexp-literals":`error`,"json/no-sparse-arrays":`error`,"json/no-template-literals":`error`,"json/no-undefined-value":`error`,"json/no-unicode-codepoint-escapes":`error`,"json/no-useless-escape":`error`,"json/space-unary-ops":`error`,"json/vue-custom-block/no-parsing-error":`error`},qe={"json/array-bracket-newline":`off`,"json/array-bracket-spacing":`off`,"json/array-element-newline":`off`,"json/comma-dangle":`off`,"json/comma-style":`off`,"json/indent":`off`,"json/key-spacing":`off`,"json/no-floating-decimal":`off`,"json/object-curly-newline":`off`,"json/object-curly-spacing":`off`,"json/object-property-newline":`off`,"json/quote-props":`off`,"json/quotes":`off`,"json/space-unary-ops":`off`},Je={"json-package/no-empty-fields":`error`,"json-package/no-redundant-files":`error`,"json-package/no-redundant-publishConfig":`error`,"json-package/require-attribution":`error`,"json-package/require-description":`error`,"json-package/require-exports":`error`,"json-package/require-files":`error`,"json-package/require-license":`error`,"json-package/require-name":`error`,"json-package/require-repository":`error`,"json-package/require-sideEffects":`error`,"json-package/require-type":`error`,"json-package/require-version":`error`,"json-package/repository-shorthand":`error`,"json-package/sort-collections":`error`,"json-package/specify-peers-locally":`error`,"json-package/unique-dependencies":`error`,"json-package/valid-author":`error`,"json-package/valid-bin":`error`,"json-package/valid-browser":`error`,"json-package/valid-bugs":`error`,"json-package/valid-bundleDependencies":`error`,"json-package/valid-config":`error`,"json-package/valid-contributors":`error`,"json-package/valid-cpu":`error`,"json-package/valid-description":`error`,"json-package/valid-dependencies":`error`,"json-package/valid-devDependencies":`error`,"json-package/valid-devEngines":`error`,"json-package/valid-directories":`error`,"json-package/valid-engines":`error`,"json-package/valid-exports":`error`,"json-package/valid-files":`error`,"json-package/valid-funding":`error`,"json-package/valid-gypfile":`error`,"json-package/valid-homepage":`error`,"json-package/valid-keywords":`error`,"json-package/valid-libc":`error`,"json-package/valid-license":`error`,"json-package/valid-main":`error`,"json-package/valid-man":`error`,"json-package/valid-module":`error`,"json-package/valid-name":`error`,"json-package/valid-optionalDependencies":`error`,"json-package/valid-os":`error`,"json-package/valid-packageManager":`error`,"json-package/valid-peerDependencies":`error`,"json-package/valid-peerDependenciesMeta":`error`,"json-package/valid-private":`error`,"json-package/valid-publishConfig":`error`,"json-package/valid-repository":`error`,"json-package/valid-scripts":`error`,"json-package/valid-sideEffects":`error`,"json-package/valid-type":`error`,"json-package/valid-version":`error`,"json-package/valid-workspaces":`error`,"json-package/valid-peerDependenciesMeta-relationship":`error`,"json-package/valid-repository-directory":`error`},Ye={"jsx-a11y/alt-text":`error`,"jsx-a11y/anchor-ambiguous-text":`off`,"jsx-a11y/anchor-has-content":`error`,"jsx-a11y/anchor-is-valid":`error`,"jsx-a11y/aria-activedescendant-has-tabindex":`error`,"jsx-a11y/aria-props":`error`,"jsx-a11y/aria-proptypes":`error`,"jsx-a11y/aria-role":`error`,"jsx-a11y/aria-unsupported-elements":`error`,"jsx-a11y/autocomplete-valid":`error`,"jsx-a11y/click-events-have-key-events":`error`,"jsx-a11y/control-has-associated-label":[`off`,{ignoreElements:[`audio`,`canvas`,`embed`,`input`,`textarea`,`tr`,`video`],ignoreRoles:[`grid`,`listbox`,`menu`,`menubar`,`radiogroup`,`row`,`tablist`,`toolbar`,`tree`,`treegrid`],includeRoles:[`alert`,`dialog`]}],"jsx-a11y/heading-has-content":`error`,"jsx-a11y/html-has-lang":`error`,"jsx-a11y/iframe-has-title":`error`,"jsx-a11y/img-redundant-alt":`error`,"jsx-a11y/interactive-supports-focus":[`error`,{tabbable:[`button`,`checkbox`,`link`,`searchbox`,`spinbutton`,`switch`,`textbox`]}],"jsx-a11y/label-has-associated-control":`error`,"jsx-a11y/label-has-for":`off`,"jsx-a11y/media-has-caption":`error`,"jsx-a11y/mouse-events-have-key-events":`error`,"jsx-a11y/no-access-key":`error`,"jsx-a11y/no-autofocus":`error`,"jsx-a11y/no-distracting-elements":`error`,"jsx-a11y/no-interactive-element-to-noninteractive-role":[`error`,{tr:[`none`,`presentation`],canvas:[`img`]}],"jsx-a11y/no-noninteractive-element-interactions":[`error`,{handlers:[`onClick`,`onError`,`onLoad`,`onMouseDown`,`onMouseUp`,`onKeyPress`,`onKeyDown`,`onKeyUp`],alert:[`onKeyUp`,`onKeyDown`,`onKeyPress`],body:[`onError`,`onLoad`],dialog:[`onKeyUp`,`onKeyDown`,`onKeyPress`],iframe:[`onError`,`onLoad`],img:[`onError`,`onLoad`]}],"jsx-a11y/no-noninteractive-element-to-interactive-role":[`error`,{ul:[`listbox`,`menu`,`menubar`,`radiogroup`,`tablist`,`tree`,`treegrid`],ol:[`listbox`,`menu`,`menubar`,`radiogroup`,`tablist`,`tree`,`treegrid`],li:[`menuitem`,`menuitemradio`,`menuitemcheckbox`,`option`,`row`,`tab`,`treeitem`],table:[`grid`],td:[`gridcell`],fieldset:[`radiogroup`,`presentation`]}],"jsx-a11y/no-noninteractive-tabindex":[`error`,{tags:[],roles:[`tabpanel`],allowExpressionValues:!0}],"jsx-a11y/no-redundant-roles":`error`,"jsx-a11y/no-static-element-interactions":[`error`,{allowExpressionValues:!0,handlers:[`onClick`,`onMouseDown`,`onMouseUp`,`onKeyPress`,`onKeyDown`,`onKeyUp`]}],"jsx-a11y/role-has-required-aria-props":`error`,"jsx-a11y/role-supports-aria-props":`error`,"jsx-a11y/scope":`error`,"jsx-a11y/tabindex-no-positive":`error`},Xe={"math/no-static-infinity-calculations":`error`,"math/no-static-nan-calculations":`error`,"math/prefer-math-cbrt":`error`,"math/prefer-math-e":`error`,"math/prefer-math-hypot":`error`,"math/prefer-math-ln10":`error`,"math/prefer-math-ln2":`error`,"math/prefer-math-log10":`error`,"math/prefer-math-log10e":`error`,"math/prefer-math-log2":`error`,"math/prefer-math-log2e":`error`,"math/prefer-math-pi":`error`,"math/prefer-math-sqrt":`error`,"math/prefer-math-sqrt1-2":`error`,"math/prefer-math-sqrt2":`error`,"math/prefer-math-trunc":`error`,"math/prefer-number-epsilon":`error`,"math/prefer-number-is-finite":`error`,"math/prefer-number-is-integer":`error`,"math/prefer-number-is-nan":`error`,"math/prefer-number-is-safe-integer":`error`,"math/prefer-number-max-safe-integer":`error`,"math/prefer-number-max-value":`error`,"math/prefer-number-min-safe-integer":`error`,"math/prefer-number-min-value":`error`},Ze={"node/no-deprecated-api":`error`,"node/no-exports-assign":`error`,"node/no-extraneous-import":`error`,"node/no-extraneous-require":`error`,"node/no-missing-import":`error`,"node/no-missing-require":`error`,"node/no-process-exit":`error`,"node/no-unpublished-import":`error`,"node/no-unpublished-require":`error`,"node/no-unsupported-features/es-builtins":`error`,"node/no-unsupported-features/es-syntax":[`error`,{ignores:[`modules`]}],"node/no-unsupported-features/node-builtins":`error`,"node/process-exit-as-throw":`error`,"node/hashbang":`error`},Qe={"perfectionist/sort-variable-declarations":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-intersection-types":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-import-attributes":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-export-attributes":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-heritage-clauses":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-array-includes":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-named-imports":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-named-exports":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-object-types":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-union-types":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-switch-case":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-decorators":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-interfaces":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-jsx-props":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-modules":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-classes":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-imports":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-exports":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-objects":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-enums":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-sets":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-maps":[`error`,{type:`natural`,order:`asc`}]},$e={curly:0,"no-unexpected-multiline":0,"ts/lines-around-comment":0,"ts/quotes":0,"babel/quotes":0,"unicorn/template-indent":0,"vue/html-self-closing":0,"vue/max-len":0,"@babel/object-curly-spacing":`off`,"@babel/semi":`off`,"ts/block-spacing":`off`,"ts/brace-style":`off`,"ts/comma-dangle":`off`,"ts/comma-spacing":`off`,"ts/func-call-spacing":`off`,"ts/indent":`off`,"ts/key-spacing":`off`,"ts/keyword-spacing":`off`,"ts/member-delimiter-style":`off`,"ts/no-extra-parens":`off`,"ts/no-extra-semi":`off`,"ts/object-curly-spacing":`off`,"ts/semi":`off`,"ts/space-before-blocks":`off`,"ts/space-before-function-paren":`off`,"ts/space-infix-ops":`off`,"ts/type-annotation-spacing":`off`,"babel/object-curly-spacing":`off`,"babel/semi":`off`,"flowtype/boolean-style":`off`,"flowtype/delimiter-dangle":`off`,"flowtype/generic-spacing":`off`,"flowtype/object-type-curly-spacing":`off`,"flowtype/object-type-delimiter":`off`,"flowtype/quotes":`off`,"flowtype/semi":`off`,"flowtype/space-after-type-colon":`off`,"flowtype/space-before-generic-bracket":`off`,"flowtype/space-before-type-colon":`off`,"flowtype/union-intersection-spacing":`off`,"react/jsx-child-element-spacing":`off`,"react/jsx-closing-bracket-location":`off`,"react/jsx-closing-tag-location":`off`,"react/jsx-curly-newline":`off`,"react/jsx-curly-spacing":`off`,"react/jsx-equals-spacing":`off`,"react/jsx-first-prop-new-line":`off`,"react/jsx-indent":`off`,"react/jsx-indent-props":`off`,"react/jsx-max-props-per-line":`off`,"react/jsx-newline":`off`,"react/jsx-one-expression-per-line":`off`,"react/jsx-props-no-multi-spaces":`off`,"react/jsx-tag-spacing":`off`,"react/jsx-wrap-multilines":`off`,"standard/array-bracket-even-spacing":`off`,"standard/computed-property-even-spacing":`off`,"standard/object-curly-even-spacing":`off`,"unicorn/empty-brace-spaces":`off`,"unicorn/no-nested-ternary":`off`,"unicorn/number-literal-case":`off`,"vue/array-bracket-newline":`off`,"vue/array-bracket-spacing":`off`,"vue/array-element-newline":`off`,"vue/arrow-spacing":`off`,"vue/block-spacing":`off`,"vue/block-tag-newline":`off`,"vue/brace-style":`off`,"vue/comma-dangle":`off`,"vue/comma-spacing":`off`,"vue/comma-style":`off`,"vue/dot-location":`off`,"vue/func-call-spacing":`off`,"vue/html-closing-bracket-newline":`off`,"vue/html-closing-bracket-spacing":`off`,"vue/html-end-tags":`off`,"vue/html-indent":`off`,"vue/html-quotes":`off`,"vue/key-spacing":`off`,"vue/keyword-spacing":`off`,"vue/max-attributes-per-line":`off`,"vue/multiline-html-element-content-newline":`off`,"vue/multiline-ternary":`off`,"vue/mustache-interpolation-spacing":`off`,"vue/no-extra-parens":`off`,"vue/no-multi-spaces":`off`,"vue/no-spaces-around-equal-signs-in-attribute":`off`,"vue/object-curly-newline":`off`,"vue/object-curly-spacing":`off`,"vue/object-property-newline":`off`,"vue/operator-linebreak":`off`,"vue/quote-props":`off`,"vue/script-indent":`off`,"vue/singleline-html-element-content-newline":`off`,"vue/space-in-parens":`off`,"vue/space-infix-ops":`off`,"vue/space-unary-ops":`off`,"vue/template-curly-spacing":`off`,"space-unary-word-ops":`off`,"generator-star":`off`,"no-comma-dangle":`off`,"no-reserved-keys":`off`,"no-space-before-semi":`off`,"no-wrap-func":`off`,"space-after-function-name":`off`,"space-before-function-parentheses":`off`,"space-in-brackets":`off`,"no-arrow-condition":`off`,"space-after-keywords":`off`,"space-before-keywords":`off`,"space-return-throw-case":`off`,"no-spaced-func":`off`,"indent-legacy":`off`,"array-bracket-newline":`off`,"array-bracket-spacing":`off`,"array-element-newline":`off`,"arrow-parens":`off`,"arrow-spacing":`off`,"block-spacing":`off`,"brace-style":`off`,"comma-dangle":`off`,"comma-spacing":`off`,"comma-style":`off`,"computed-property-spacing":`off`,"dot-location":`off`,"eol-last":`off`,"func-call-spacing":`off`,"function-call-argument-newline":`off`,"function-paren-newline":`off`,"generator-star-spacing":`off`,"implicit-arrow-linebreak":`off`,indent:`off`,"jsx-quotes":`off`,"key-spacing":`off`,"keyword-spacing":`off`,"linebreak-style":`off`,"lines-around-comment":0,"max-len":0,"max-statements-per-line":`off`,"multiline-ternary":`off`,"new-parens":`off`,"newline-per-chained-call":`off`,"no-confusing-arrow":0,"no-extra-parens":`off`,"no-extra-semi":`off`,"no-floating-decimal":`off`,"no-mixed-operators":0,"no-mixed-spaces-and-tabs":`off`,"no-multi-spaces":`off`,"no-multiple-empty-lines":`off`,"no-tabs":0,"no-trailing-spaces":`off`,"no-whitespace-before-property":`off`,"nonblock-statement-body-position":`off`,"object-curly-newline":`off`,"object-curly-spacing":`off`,"object-property-newline":`off`,"one-var-declaration-per-line":`off`,"operator-linebreak":`off`,"padded-blocks":`off`,"quote-props":`off`,quotes:0,"rest-spread-spacing":`off`,semi:`off`,"semi-spacing":`off`,"semi-style":`off`,"space-before-blocks":`off`,"space-before-function-paren":`off`,"space-in-parens":`off`,"space-infix-ops":`off`,"space-unary-ops":`off`,"switch-colon-spacing":`off`,"template-curly-spacing":`off`,"template-tag-spacing":`off`,"wrap-iife":`off`,"wrap-regex":`off`,"yield-star-spacing":`off`,"react/jsx-space-before-closing":`off`},et={"react/error-boundaries":`error`,"react/exhaustive-deps":`warn`,"react/no-access-state-in-setstate":`error`,"react/no-array-index-key":`warn`,"react/no-children-count":`warn`,"react/no-children-for-each":`warn`,"react/no-children-map":`warn`,"react/no-children-only":`warn`,"react/no-children-to-array":`warn`,"react/no-clone-element":`warn`,"react/no-component-will-mount":`error`,"react/no-component-will-receive-props":`error`,"react/no-component-will-update":`error`,"react/no-context-provider":`warn`,"react/no-create-ref":`error`,"react/no-direct-mutation-state":`error`,"react/no-forward-ref":`warn`,"react/no-missing-key":`error`,"react/no-nested-component-definitions":`error`,"react/no-nested-lazy-component-declarations":`error`,"react/no-set-state-in-component-did-mount":`warn`,"react/no-set-state-in-component-did-update":`warn`,"react/no-set-state-in-component-will-update":`warn`,"react/no-unnecessary-use-prefix":`warn`,"react/no-unsafe-component-will-mount":`warn`,"react/no-unsafe-component-will-receive-props":`warn`,"react/no-unsafe-component-will-update":`warn`,"react/no-unused-class-component-members":`warn`,"react/no-use-context":`warn`,"react/purity":`warn`,"react/rules-of-hooks":`error`,"react/set-state-in-effect":`warn`,"react/set-state-in-render":`error`,"react/static-components":`error`,"react/unsupported-syntax":`error`,"react/use-memo":`error`,"react/use-state":`warn`,"react/jsx-no-children-prop":`warn`,"react/jsx-no-children-prop-with-children":`error`,"react/jsx-no-comment-textnodes":`warn`,"react/jsx-no-key-after-spread":`error`,"react/jsx-no-leaked-dollar":`warn`,"react/jsx-no-leaked-semicolon":`warn`,"react/jsx-no-namespace":`error`,"react/rsc-function-definition":`error`,"react/dom-no-dangerously-set-innerhtml":`warn`,"react/dom-no-dangerously-set-innerhtml-with-children":`error`,"react/dom-no-find-dom-node":`error`,"react/dom-no-flush-sync":`error`,"react/dom-no-hydrate":`error`,"react/dom-no-render":`error`,"react/dom-no-render-return-value":`error`,"react/dom-no-script-url":`warn`,"react/dom-no-unsafe-iframe-sandbox":`warn`,"react/dom-no-use-form-state":`error`,"react/dom-no-void-elements-with-children":`error`,"react/web-api-no-leaked-event-listener":`warn`,"react/web-api-no-leaked-fetch":`warn`,"react/web-api-no-leaked-intersection-observer":`warn`,"react/web-api-no-leaked-interval":`warn`,"react/web-api-no-leaked-resize-observer":`warn`,"react/web-api-no-leaked-timeout":`warn`,"react/naming-convention-context-name":`warn`,"react/naming-convention-id-name":`warn`,"react/naming-convention-ref-name":`warn`,"react/no-leaked-conditional-rendering":`error`},z={"react/no-implicit-children":`off`,"react/no-implicit-key":`off`,"react/no-implicit-ref":`off`,"react/no-leaked-conditional-rendering":`off`,"react/no-unused-props":`off`},tt={"no-control-regex":`error`,"no-misleading-character-class":`error`,"no-regex-spaces":`error`,"prefer-regex-literals":`error`,"no-invalid-regexp":`off`,"no-useless-backreference":`off`,"no-empty-character-class":`off`,"regexp/confusing-quantifier":`warn`,"regexp/control-character-escape":`error`,"regexp/match-any":`error`,"regexp/negation":`error`,"regexp/no-contradiction-with-assertion":`error`,"regexp/no-dupe-characters-character-class":`error`,"regexp/no-dupe-disjunctions":`error`,"regexp/no-empty-alternative":`warn`,"regexp/no-empty-capturing-group":`error`,"regexp/no-empty-character-class":`error`,"regexp/no-empty-group":`error`,"regexp/no-empty-lookarounds-assertion":`error`,"regexp/no-empty-string-literal":`error`,"regexp/no-escape-backspace":`error`,"regexp/no-extra-lookaround-assertions":`error`,"regexp/no-invalid-regexp":`error`,"regexp/no-invisible-character":`error`,"regexp/no-lazy-ends":`warn`,"regexp/no-legacy-features":`error`,"regexp/no-misleading-capturing-group":`error`,"regexp/no-misleading-unicode-character":`error`,"regexp/no-missing-g-flag":`error`,"regexp/no-non-standard-flag":`error`,"regexp/no-obscure-range":`error`,"regexp/no-optional-assertion":`error`,"regexp/no-potentially-useless-backreference":`warn`,"regexp/no-super-linear-backtracking":`error`,"regexp/no-trivially-nested-assertion":`error`,"regexp/no-trivially-nested-quantifier":`error`,"regexp/no-unused-capturing-group":`error`,"regexp/no-useless-assertions":`error`,"regexp/no-useless-backreference":`error`,"regexp/no-useless-character-class":`error`,"regexp/no-useless-dollar-replacements":`error`,"regexp/no-useless-escape":`error`,"regexp/no-useless-flag":`warn`,"regexp/no-useless-lazy":`error`,"regexp/no-useless-non-capturing-group":`error`,"regexp/no-useless-quantifier":`error`,"regexp/no-useless-range":`error`,"regexp/no-useless-set-operand":`error`,"regexp/no-useless-string-literal":`error`,"regexp/no-useless-two-nums-quantifier":`error`,"regexp/no-zero-quantifier":`error`,"regexp/optimal-lookaround-quantifier":`warn`,"regexp/optimal-quantifier-concatenation":`error`,"regexp/prefer-character-class":`error`,"regexp/prefer-d":`error`,"regexp/prefer-plus-quantifier":`error`,"regexp/prefer-predefined-assertion":`error`,"regexp/prefer-question-quantifier":`error`,"regexp/prefer-range":`error`,"regexp/prefer-set-operation":`error`,"regexp/prefer-star-quantifier":`error`,"regexp/prefer-unicode-codepoint-escapes":`error`,"regexp/prefer-w":`error`,"regexp/simplify-set-operations":`error`,"regexp/sort-flags":`error`,"regexp/strict":`error`,"regexp/use-ignore-case":`error`},nt={"svelte/comment-directive":`error`,"svelte/infinite-reactive-loop":`error`,"svelte/no-at-debug-tags":`warn`,"svelte/no-at-html-tags":`error`,"svelte/no-dom-manipulating":`error`,"svelte/no-dupe-else-if-blocks":`error`,"svelte/no-dupe-on-directives":`error`,"svelte/no-dupe-style-properties":`error`,"svelte/no-dupe-use-directives":`error`,"svelte/no-export-load-in-svelte-module-in-kit-pages":`error`,"svelte/no-immutable-reactive-statements":`error`,"svelte/no-inner-declarations":`error`,"svelte/no-inspect":`warn`,"svelte/no-navigation-without-resolve":`error`,"svelte/no-not-function-handler":`error`,"svelte/no-object-in-text-mustaches":`error`,"svelte/no-raw-special-elements":`error`,"svelte/no-reactive-functions":`error`,"svelte/no-reactive-literals":`error`,"svelte/no-reactive-reassign":`error`,"svelte/no-shorthand-style-property-overrides":`error`,"svelte/no-store-async":`error`,"svelte/no-svelte-internal":`error`,"svelte/no-unknown-style-directive-property":`error`,"svelte/no-unnecessary-state-wrap":`error`,"svelte/no-unused-props":`error`,"svelte/no-unused-svelte-ignore":`error`,"svelte/no-useless-children-snippet":`error`,"svelte/no-useless-mustaches":`error`,"svelte/prefer-svelte-reactivity":`error`,"svelte/prefer-writable-derived":`error`,"svelte/require-each-key":`error`,"svelte/require-event-dispatcher-types":`error`,"svelte/require-store-reactive-access":`error`,"svelte/system":`error`,"svelte/valid-each-key":`error`,"svelte/valid-prop-names-in-kit-pages":`error`},rt={"test/expect-expect":`error`,"test/no-commented-out-tests":`error`,"test/no-conditional-expect":`error`,"test/no-disabled-tests":`warn`,"test/no-focused-tests":`error`,"test/no-identical-title":`error`,"test/no-import-node-test":`error`,"test/no-interpolation-in-snapshots":`error`,"test/no-mocks-import":`error`,"test/no-standalone-expect":`error`,"test/no-unneeded-async-expect-function":`error`,"test/prefer-called-exactly-once-with":`error`,"test/require-local-test-context-for-concurrent-snapshots":`error`,"test/valid-describe-callback":`error`,"test/valid-expect":`error`,"test/valid-expect-in-promise":`error`,"test/valid-title":`error`},it={"toml/no-unreadable-number-separator":`error`,"toml/precision-of-fractional-seconds":`error`,"toml/precision-of-integer":`error`,"toml/vue-custom-block/no-parsing-error":`error`},at={"logical-assignment-operators":`off`,"no-negated-condition":`off`,"no-nested-ternary":`off`,"no-process-exit":`off`,"unicorn/better-dom-traversing":`error`,"unicorn/catch-error-name":`error`,"unicorn/class-reference-in-static-methods":`error`,"unicorn/comment-content":`off`,"unicorn/consistent-assert":`error`,"unicorn/consistent-boolean-name":`error`,"unicorn/consistent-class-member-order":`error`,"unicorn/consistent-compound-words":`error`,"unicorn/consistent-conditional-object-spread":`error`,"unicorn/consistent-date-clone":`error`,"unicorn/consistent-destructuring":`off`,"unicorn/consistent-empty-array-spread":`error`,"unicorn/consistent-existence-index-check":`error`,"unicorn/consistent-export-decorator-position":`error`,"unicorn/consistent-function-scoping":`error`,"unicorn/consistent-function-style":`off`,"unicorn/consistent-json-file-read":`error`,"unicorn/consistent-optional-chaining":`error`,"unicorn/consistent-template-literal-escape":`error`,"unicorn/consistent-tuple-labels":`error`,"unicorn/custom-error-definition":`off`,"unicorn/default-export-style":`error`,"unicorn/dom-node-dataset":`error`,"unicorn/empty-brace-spaces":`error`,"unicorn/error-message":`error`,"unicorn/escape-case":`error`,"unicorn/expiring-todo-comments":`error`,"unicorn/explicit-length-check":`error`,"unicorn/explicit-timer-delay":`error`,"unicorn/filename-case":`error`,"unicorn/id-match":`off`,"unicorn/import-style":`error`,"unicorn/isolated-functions":`error`,"unicorn/logical-assignment-operators":`error`,"unicorn/max-nested-calls":`error`,"unicorn/name-replacements":`error`,"unicorn/new-for-builtins":`error`,"unicorn/no-abusive-eslint-disable":`error`,"unicorn/no-accessor-recursion":`error`,"unicorn/no-accidental-bitwise-operator":`error`,"unicorn/no-anonymous-default-export":`error`,"unicorn/no-array-callback-reference":`error`,"unicorn/no-array-concat-in-loop":`error`,"unicorn/no-array-fill-with-reference-type":`error`,"unicorn/no-array-from-fill":`error`,"unicorn/no-array-front-mutation":`off`,"unicorn/no-array-method-this-argument":`error`,"unicorn/no-array-reduce":`error`,"unicorn/no-array-reverse":`error`,"unicorn/no-array-sort":`error`,"unicorn/no-array-sort-for-min-max":`error`,"unicorn/no-array-splice":`error`,"unicorn/no-asterisk-prefix-in-documentation-comments":`off`,"unicorn/no-async-promise-finally":`error`,"unicorn/no-await-expression-member":`error`,"unicorn/no-await-in-promise-methods":`error`,"unicorn/no-blob-to-file":`error`,"unicorn/no-boolean-sort-comparator":`error`,"unicorn/no-break-in-nested-loop":`error`,"unicorn/no-canvas-to-image":`error`,"unicorn/no-chained-comparison":`error`,"unicorn/no-collection-bracket-access":`error`,"unicorn/no-computed-property-existence-check":`error`,"unicorn/no-confusing-array-splice":`error`,"unicorn/no-confusing-array-with":`error`,"unicorn/no-console-spaces":`error`,"unicorn/no-constant-zero-expression":`error`,"unicorn/no-declarations-before-early-exit":`error`,"unicorn/no-document-cookie":`error`,"unicorn/no-double-comparison":`error`,"unicorn/no-duplicate-if-branches":`error`,"unicorn/no-duplicate-logical-operands":`error`,"unicorn/no-duplicate-loops":`error`,"unicorn/no-duplicate-set-values":`error`,"unicorn/no-empty-file":`error`,"unicorn/no-error-property-assignment":`error`,"unicorn/no-exports-in-scripts":`error`,"unicorn/no-for-each":`error`,"unicorn/no-for-loop":`error`,"unicorn/no-global-object-property-assignment":`error`,"unicorn/no-immediate-mutation":`error`,"unicorn/no-impossible-length-comparison":`error`,"unicorn/no-incorrect-query-selector":`error`,"unicorn/no-incorrect-template-string-interpolation":`error`,"unicorn/no-instanceof-builtins":`error`,"unicorn/no-invalid-argument-count":`error`,"unicorn/no-invalid-character-comparison":`error`,"unicorn/no-invalid-fetch-options":`error`,"unicorn/no-invalid-file-input-accept":`off`,"unicorn/no-invalid-remove-event-listener":`error`,"unicorn/no-invalid-well-known-symbol-methods":`error`,"unicorn/no-keyword-prefix":`off`,"unicorn/no-late-current-target-access":`error`,"unicorn/no-late-event-control":`error`,"unicorn/no-lonely-if":`error`,"unicorn/no-loop-iterable-mutation":`error`,"unicorn/no-magic-array-flat-depth":`error`,"unicorn/no-manually-wrapped-comments":`off`,"unicorn/no-mismatched-map-key":`error`,"unicorn/no-misrefactored-assignment":`error`,"unicorn/no-missing-local-resource":`off`,"unicorn/no-multiple-promise-resolver-calls":`error`,"unicorn/no-named-default":`error`,"unicorn/no-negated-array-predicate":`error`,"unicorn/no-negated-comparison":`error`,"unicorn/no-negated-condition":`error`,"unicorn/no-negation-in-equality-check":`error`,"unicorn/no-nested-ternary":`error`,"unicorn/no-new-array":`error`,"unicorn/no-new-buffer":`error`,"unicorn/no-non-function-verb-prefix":`error`,"unicorn/no-nonstandard-builtin-properties":`error`,"unicorn/no-null":`error`,"unicorn/no-object-as-default-parameter":`error`,"unicorn/no-object-methods-with-collections":`error`,"unicorn/no-optional-chaining-on-undeclared-variable":`error`,"unicorn/no-process-exit":`error`,"unicorn/no-redundant-comparison":`error`,"unicorn/no-return-array-push":`error`,"unicorn/no-selector-as-dom-name":`error`,"unicorn/no-shorthand-property-overrides":`error`,"unicorn/no-single-promise-in-promise-methods":`error`,"unicorn/no-static-only-class":`error`,"unicorn/no-subtraction-comparison":`error`,"unicorn/no-thenable":`error`,"unicorn/no-this-assignment":`error`,"unicorn/no-this-outside-of-class":`error`,"unicorn/no-top-level-assignment-in-function":`error`,"unicorn/no-top-level-side-effects":`error`,"unicorn/no-transition-all":`error`,"unicorn/no-typeof-undefined":`error`,"unicorn/no-uncalled-method":`error`,"unicorn/no-undeclared-class-members":`error`,"unicorn/no-unnecessary-array-flat-depth":`error`,"unicorn/no-unnecessary-array-flat-map":`error`,"unicorn/no-unnecessary-array-splice-count":`error`,"unicorn/no-unnecessary-await":`error`,"unicorn/no-unnecessary-boolean-comparison":`error`,"unicorn/no-unnecessary-fetch-options":`error`,"unicorn/no-unnecessary-global-this":`error`,"unicorn/no-unnecessary-nested-ternary":`error`,"unicorn/no-unnecessary-polyfills":`error`,"unicorn/no-unnecessary-slice-end":`error`,"unicorn/no-unnecessary-splice":`error`,"unicorn/no-unnecessary-string-trim":`error`,"unicorn/no-unreadable-array-destructuring":`error`,"unicorn/no-unreadable-for-of-expression":`error`,"unicorn/no-unreadable-iife":`error`,"unicorn/no-unreadable-new-expression":`off`,"unicorn/no-unreadable-object-destructuring":`error`,"unicorn/no-unsafe-buffer-conversion":`error`,"unicorn/no-unsafe-dom-html":`off`,"unicorn/no-unsafe-promise-all-settled-values":`error`,"unicorn/no-unsafe-property-key":`error`,"unicorn/no-unsafe-string-replacement":`error`,"unicorn/no-unused-array-method-return":`error`,"unicorn/no-unused-properties":`off`,"unicorn/no-useless-boolean-cast":`error`,"unicorn/no-useless-coercion":`error`,"unicorn/no-useless-collection-argument":`error`,"unicorn/no-useless-compound-assignment":`error`,"unicorn/no-useless-concat":`error`,"unicorn/no-useless-continue":`error`,"unicorn/no-useless-delete-check":`error`,"unicorn/no-useless-else":`error`,"unicorn/no-useless-error-capture-stack-trace":`error`,"unicorn/no-useless-fallback-in-spread":`error`,"unicorn/no-useless-iterator-to-array":`error`,"unicorn/no-useless-length-check":`error`,"unicorn/no-useless-logical-operand":`error`,"unicorn/no-useless-override":`error`,"unicorn/no-useless-promise-resolve-reject":`error`,"unicorn/no-useless-re-export":`error`,"unicorn/no-useless-recursion":`error`,"unicorn/no-useless-spread":`error`,"unicorn/no-useless-switch-case":`error`,"unicorn/no-useless-template-literals":`error`,"unicorn/no-useless-undefined":`error`,"unicorn/no-xor-as-exponentiation":`error`,"unicorn/no-zero-fractions":`error`,"unicorn/number-literal-case":`error`,"unicorn/numeric-separators-style":`error`,"unicorn/operator-assignment":`error`,"unicorn/prefer-abort-signal-any":`error`,"unicorn/prefer-abort-signal-timeout":`error`,"unicorn/prefer-add-event-listener":`error`,"unicorn/prefer-add-event-listener-options":`error`,"unicorn/prefer-aggregate-error":`error`,"unicorn/prefer-array-find":`error`,"unicorn/prefer-array-flat":`error`,"unicorn/prefer-array-flat-map":`error`,"unicorn/prefer-array-from-async":`error`,"unicorn/prefer-array-from-map":`error`,"unicorn/prefer-array-from-range":`error`,"unicorn/prefer-array-index-of":`error`,"unicorn/prefer-array-iterable-methods":`error`,"unicorn/prefer-array-last-methods":`error`,"unicorn/prefer-array-slice":`error`,"unicorn/prefer-array-some":`error`,"unicorn/prefer-at":`error`,"unicorn/prefer-await":`error`,"unicorn/prefer-bigint-literals":`error`,"unicorn/prefer-blob-reading-methods":`error`,"unicorn/prefer-block-statement-over-iife":`error`,"unicorn/prefer-boolean-return":`error`,"unicorn/prefer-class-fields":`error`,"unicorn/prefer-classlist-toggle":`error`,"unicorn/prefer-code-point":`error`,"unicorn/prefer-continue":`error`,"unicorn/prefer-date-now":`error`,"unicorn/prefer-default-parameters":`error`,"unicorn/prefer-direct-iteration":`error`,"unicorn/prefer-dispose":`off`,"unicorn/prefer-dom-node-append":`error`,"unicorn/prefer-dom-node-html-methods":`error`,"unicorn/prefer-dom-node-remove":`error`,"unicorn/prefer-dom-node-replace-children":`error`,"unicorn/prefer-dom-node-text-content":`error`,"unicorn/prefer-early-return":`error`,"unicorn/prefer-else-if":`error`,"unicorn/prefer-error-is-error":`off`,"unicorn/prefer-event-target":`error`,"unicorn/prefer-explicit-viewport-units":`off`,"unicorn/prefer-export-from":`error`,"unicorn/prefer-flat-math-min-max":`error`,"unicorn/prefer-get-or-insert-computed":`error`,"unicorn/prefer-global-number-constants":`error`,"unicorn/prefer-global-this":`error`,"unicorn/prefer-group-by":`error`,"unicorn/prefer-has-check":`error`,"unicorn/prefer-hoisting-branch-code":`error`,"unicorn/prefer-https":`error`,"unicorn/prefer-identifier-import-export-specifiers":`error`,"unicorn/prefer-import-meta-properties":`off`,"unicorn/prefer-includes":`error`,"unicorn/prefer-includes-over-repeated-comparisons":`error`,"unicorn/prefer-iterable-in-constructor":`error`,"unicorn/prefer-iterator-concat":`off`,"unicorn/prefer-iterator-helpers":`error`,"unicorn/prefer-iterator-to-array":`error`,"unicorn/prefer-iterator-to-array-at-end":`error`,"unicorn/prefer-keyboard-event-key":`error`,"unicorn/prefer-location-assign":`error`,"unicorn/prefer-logical-operator-over-ternary":`error`,"unicorn/prefer-map-from-entries":`error`,"unicorn/prefer-math-abs":`error`,"unicorn/prefer-math-constants":`error`,"unicorn/prefer-math-min-max":`error`,"unicorn/prefer-math-trunc":`error`,"unicorn/prefer-minimal-ternary":`error`,"unicorn/prefer-modern-dom-apis":`error`,"unicorn/prefer-modern-math-apis":`error`,"unicorn/prefer-module":`error`,"unicorn/prefer-native-coercion-functions":`error`,"unicorn/prefer-negative-index":`error`,"unicorn/prefer-node-protocol":`error`,"unicorn/prefer-number-coercion":`error`,"unicorn/prefer-number-is-safe-integer":`error`,"unicorn/prefer-number-properties":`error`,"unicorn/prefer-object-define-properties":`error`,"unicorn/prefer-object-destructuring-defaults":`error`,"unicorn/prefer-object-from-entries":`error`,"unicorn/prefer-object-iterable-methods":`error`,"unicorn/prefer-observer-apis":`error`,"unicorn/prefer-optional-catch-binding":`error`,"unicorn/prefer-path2d":`error`,"unicorn/prefer-private-class-fields":`error`,"unicorn/prefer-promise-try":`error`,"unicorn/prefer-promise-with-resolvers":`error`,"unicorn/prefer-prototype-methods":`error`,"unicorn/prefer-query-selector":`error`,"unicorn/prefer-queue-microtask":`error`,"unicorn/prefer-reflect-apply":`error`,"unicorn/prefer-regexp-escape":`off`,"unicorn/prefer-regexp-test":`error`,"unicorn/prefer-response-static-json":`error`,"unicorn/prefer-scoped-selector":`error`,"unicorn/prefer-set-has":`error`,"unicorn/prefer-set-methods":`error`,"unicorn/prefer-set-size":`error`,"unicorn/prefer-short-arrow-method":`off`,"unicorn/prefer-simple-condition-first":`error`,"unicorn/prefer-simple-sort-comparator":`error`,"unicorn/prefer-simplified-conditions":`error`,"unicorn/prefer-single-array-predicate":`error`,"unicorn/prefer-single-call":`error`,"unicorn/prefer-single-object-destructuring":`error`,"unicorn/prefer-single-replace":`error`,"unicorn/prefer-smaller-scope":`error`,"unicorn/prefer-split-limit":`error`,"unicorn/prefer-spread":`error`,"unicorn/prefer-string-match-all":`error`,"unicorn/prefer-string-pad-start-end":`error`,"unicorn/prefer-string-raw":`error`,"unicorn/prefer-string-repeat":`error`,"unicorn/prefer-string-replace-all":`error`,"unicorn/prefer-string-slice":`error`,"unicorn/prefer-string-starts-ends-with":`error`,"unicorn/prefer-string-trim-start-end":`error`,"unicorn/prefer-structured-clone":`error`,"unicorn/prefer-switch":`error`,"unicorn/prefer-temporal":`off`,"unicorn/prefer-ternary":`error`,"unicorn/prefer-then-catch":`error`,"unicorn/prefer-toggle-attribute":`error`,"unicorn/prefer-top-level-await":`error`,"unicorn/prefer-type-error":`error`,"unicorn/prefer-type-literal-last":`error`,"unicorn/prefer-uint8array-base64":`off`,"unicorn/prefer-unary-minus":`error`,"unicorn/prefer-unicode-code-point-escapes":`error`,"unicorn/prefer-url-can-parse":`error`,"unicorn/prefer-url-href":`error`,"unicorn/prefer-url-search-parameters":`error`,"unicorn/prefer-while-loop-condition":`error`,"unicorn/relative-url-style":`error`,"unicorn/require-array-join-separator":`error`,"unicorn/require-array-sort-compare":`error`,"unicorn/require-css-escape":`error`,"unicorn/require-frontmatter-fields":`off`,"unicorn/require-module-attributes":`error`,"unicorn/require-module-specifiers":`error`,"unicorn/require-number-to-fixed-digits-argument":`error`,"unicorn/require-passive-events":`error`,"unicorn/require-post-message-target-origin":`off`,"unicorn/require-proxy-trap-boolean-return":`error`,"unicorn/string-content":`off`,"unicorn/switch-case-braces":`error`,"unicorn/switch-case-break-position":`error`,"unicorn/template-indent":`error`,"unicorn/text-encoding-identifier-case":`error`,"unicorn/throw-new-error":`error`,"unicorn/try-complexity":`off`},ot={"logical-assignment-operators":`off`,"no-negated-condition":`off`,"no-nested-ternary":`off`,"no-process-exit":`off`,"function-call-argument-newline":`off`,"for-direction":`error`,"getter-return":`error`,"no-async-promise-executor":`error`,"no-await-in-loop":`error`,"no-compare-neg-zero":`error`,"no-cond-assign":`error`,"no-constant-condition":`error`,"no-control-regex":`error`,"no-debugger":`error`,"no-dupe-args":`error`,"no-dupe-else-if":`error`,"no-dupe-keys":`error`,"no-duplicate-case":`error`,"no-empty-character-class":`error`,"no-empty":[`error`,{allowEmptyCatch:!0}],"no-empty-static-block":`error`,"no-ex-assign":`error`,"no-extra-boolean-cast":`error`,"no-func-assign":`error`,"no-import-assign":`error`,"no-inner-declarations":`error`,"no-invalid-regexp":`error`,"no-irregular-whitespace":`error`,"no-loss-of-precision":`error`,"no-misleading-character-class":`error`,"no-obj-calls":`error`,"no-promise-executor-return":`error`,"no-prototype-builtins":`error`,"no-regex-spaces":`error`,"no-setter-return":`error`,"no-sparse-arrays":`error`,"no-template-curly-in-string":`error`,"no-unreachable":`error`,"no-unreachable-loop":`error`,"no-unsafe-finally":`error`,"no-unsafe-negation":[`error`,{enforceForOrderingRelations:!0}],"no-unsafe-optional-chaining":[`error`,{disallowArithmeticOperators:!0}],"no-unused-private-class-members":`error`,"no-useless-backreference":`error`,"use-isnan":`error`,"valid-typeof":[`error`,{requireStringLiterals:!1}],"no-unexpected-multiline":`error`,"accessor-pairs":[`error`,{enforceForClassMembers:!0}],"array-callback-return":[`error`,{allowImplicit:!0}],"block-scoped-var":`error`,complexity:`warn`,curly:`error`,"default-case":`error`,"default-case-last":`error`,"dot-notation":`error`,eqeqeq:`error`,"grouped-accessor-pairs":[`error`,`getBeforeSet`],"guard-for-in":`error`,"no-alert":`error`,"no-caller":`error`,"no-case-declarations":`error`,"no-constructor-return":`error`,"no-else-return":[`error`,{allowElseIf:!1}],"no-empty-pattern":`error`,"no-eq-null":`error`,"no-eval":`error`,"no-extend-native":`error`,"no-extra-bind":`error`,"no-extra-label":`error`,"no-fallthrough":`error`,"no-global-assign":`error`,"no-implicit-coercion":`error`,"no-implicit-globals":`error`,"no-implied-eval":`error`,"no-iterator":`error`,"no-labels":`error`,"no-lone-blocks":`error`,"no-multi-str":`error`,"no-new-func":`error`,"no-new-wrappers":`error`,"no-nonoctal-decimal-escape":`error`,"no-object-constructor":`error`,"no-new":`error`,"no-octal-escape":`error`,"no-octal":`error`,"no-proto":`error`,"no-redeclare":`error`,"no-return-assign":[`error`,`always`],"no-script-url":`error`,"no-self-assign":[`error`,{props:!0}],"no-self-compare":`error`,"no-sequences":[`error`,{allowInParentheses:!1}],"no-throw-literal":`error`,"no-unmodified-loop-condition":`error`,"no-unused-expressions":[`error`,{enforceForJSX:!0}],"no-unused-labels":`error`,"no-useless-call":`error`,"no-useless-catch":`error`,"no-useless-concat":`error`,"no-useless-escape":`error`,"no-useless-return":`error`,"no-void":`error`,"no-warning-comments":`warn`,"no-with":`error`,"prefer-promise-reject-errors":[`error`,{allowEmptyReject:!0}],"prefer-regex-literals":[`error`,{disallowRedundantWrapping:!0}],radix:`error`,"require-unicode-regexp":[`error`,{requireFlag:`v`}],yoda:`error`,"no-delete-var":`error`,"no-label-var":`error`,"no-shadow":[`error`,{ignoreOnInitialization:!0}],"no-shadow-restricted-names":`error`,"no-undef-init":`error`,"no-undef":[`error`,{typeof:!0}],"no-unused-vars":[`error`,{vars:`all`,varsIgnorePattern:`^_`,args:`after-used`,ignoreRestSiblings:!0,argsIgnorePattern:`^_`,caughtErrors:`all`,caughtErrorsIgnorePattern:`^_$`}],"no-restricted-imports":[`error`,`domain`,`freelist`,`smalloc`,`punycode`,`sys`,`querystring`,`colors`,{name:`mkdirp`,message:"Use `fs.mkdir` with `{recursive: true}` instead."},{name:`rimraf`,message:"Use `fs.rm` with `{recursive: true}` instead."},{name:`object-assign`,message:"Use `Object.assign()` or object spread instead."},{name:`xtend`,message:"Use `Object.assign()` or object spread instead."},{name:`extend-shallow`,message:"Use `Object.assign()` or object spread instead."},{name:`left-pad`,message:"Use `String.prototype.padStart()` instead."},{name:`pad-left`,message:"Use `String.prototype.padStart()` instead."},{name:`right-pad`,message:"Use `String.prototype.padEnd()` instead."},{name:`pad-right`,message:"Use `String.prototype.padEnd()` instead."},{name:`safe-buffer`,message:"Use `Buffer.alloc()` or `Buffer.from()` instead."},{name:`safer-buffer`,message:"Use `Buffer.alloc()` or `Buffer.from()` instead."},{name:`buffer-alloc`,message:"Use `Buffer.alloc()` instead."},{name:`array-flatten`,message:"Use `Array.prototype.flat()` instead."},{name:`concat-map`,message:"Use `Array.prototype.flatMap()` instead."},{name:`pad`,message:"Use `String.prototype.padStart()` / `String.prototype.padEnd()` instead."},{name:`co`,message:`Use async/await instead.`},{name:`inherits`,message:"Use `class extends` instead."},{name:`windows-1252`,message:"Use `TextDecoder` instead."},{name:`string_decoder`,message:"Use `TextDecoder` instead."},{name:`isarray`,message:"Use `Array.isArray()` instead."},{name:`object-keys`,message:"Use `Object.keys()` instead."},{name:`object.assign`,message:"Use `Object.assign()` or object spread instead."},{name:`globalthis`,message:"Use the `globalThis` global instead."},{name:`es6-promise`,message:"Use `Promise` instead."},{name:`abort-controller`,message:"Use the native `AbortController` instead."},{name:`queue-microtask`,message:"Use `queueMicrotask()` instead."},{name:`buffer-from`,message:"Use `Buffer.from()` instead."},{name:`has`,message:"Use `Object.hasOwn()` instead."},{name:`hasown`,message:"Use `Object.hasOwn()` instead."},{name:`repeat-string`,message:"Use `String.prototype.repeat()` instead."},{name:`path-parse`,message:"Use `path.parse()` instead."},{name:`node.extend`,message:"Use `Object.assign()` or object spread instead."},{name:`aggregate-error`,message:"Use the native `AggregateError` instead."},{name:`is-nan`,message:"Use `Number.isNaN()` instead."},{name:`is-finite`,message:"Use `Number.isFinite()` instead."},{name:`object-is`,message:"Use `Object.is()` instead."},{name:`defaults`,message:"Use `Object.assign()` instead."},{name:`whatwg-url`,message:"Use the native `URL` API instead."}],camelcase:[`error`,{properties:`always`}],"capitalized-comments":[`error`,`always`,{ignorePattern:String.raw`pragma|\w{1,40}[\-:]ignore|ignore|webpack\w+:|c8|v8|type-coverage:|const |let |var |import |export |function |class |if \(|for \(|while \(|switch \(`,ignoreInlineComments:!0,ignoreConsecutiveComments:!0}],"func-name-matching":[`error`,{considerPropertyDescriptor:!0}],"func-names":[`error`,`never`],"max-depth":`warn`,"max-lines":[`warn`,{max:1500,skipComments:!0}],"max-nested-callbacks":[`warn`,4],"max-params":[`warn`,{max:4}],"new-cap":[`error`,{newIsCap:!0,capIsNew:!0}],"no-array-constructor":`error`,"no-bitwise":`error`,"no-lonely-if":`error`,"no-multi-assign":`error`,"no-unneeded-ternary":`error`,"one-var":[`error`,`never`],"operator-assignment":[`error`,`always`],"prefer-exponentiation-operator":`error`,"prefer-object-spread":`error`,"unicode-bom":[`error`,`never`],"arrow-body-style":`error`,"constructor-super":`error`,"no-class-assign":`error`,"no-const-assign":`error`,"no-constant-binary-expression":[`error`,{checkRelationalComparisons:!0}],"no-dupe-class-members":`error`,"no-new-native-nonconstructor":`error`,"no-this-before-super":`error`,"no-unassigned-vars":`error`,"no-useless-computed-key":[`error`,{enforceForClassMembers:!0}],"no-useless-constructor":`error`,"no-useless-rename":`error`,"no-var":`error`,"object-shorthand":[`error`,`always`,{avoidExplicitReturnArrows:!0}],"prefer-arrow-callback":[`error`,{allowNamedFunctions:!0}],"prefer-const":[`error`,{destructuring:`all`}],"prefer-destructuring":[`error`,{VariableDeclarator:{array:!1,object:!0},AssignmentExpression:{array:!1,object:!1}},{enforceForRenamedProperties:!1}],"prefer-numeric-literals":`error`,"prefer-object-has-own":`error`,"prefer-rest-params":`error`,"prefer-spread":`error`,"preserve-caught-error":`error`,"require-yield":`error`,"symbol-description":`error`,"no-restricted-globals":[`error`,{globals:[`event`,{name:`atob`,message:`This API is deprecated. Use https://github.com/sindresorhus/uint8array-extras instead.`},{name:`btoa`,message:`This API is deprecated. Use https://github.com/sindresorhus/uint8array-extras instead.`}],checkGlobalObject:!0}]},st={"ts/adjacent-overload-signatures":`error`,"ts/array-type":[`error`,{default:`array-simple`}],"ts/await-thenable":`error`,"ts/ban-ts-comment":[`error`,{"ts-expect-error":`allow-with-description`,minimumDescriptionLength:4}],"ts/ban-tslint-comment":`error`,"ts/no-restricted-types":[`error`,{types:{object:{message:"The `object` type is hard to use. Use `Record<string, unknown>` instead. See: https://github.com/typescript-eslint/typescript-eslint/pull/848",fixWith:`Record<string, unknown>`},null:{message:"Use `undefined` instead. See: https://github.com/sindresorhus/meta/issues/7",fixWith:`undefined`},Buffer:{message:`Use Uint8Array instead. See: https://sindresorhus.com/blog/goodbye-nodejs-buffer`,suggest:[`Uint8Array`]},"[]":"Don't use the empty array type `[]`. It only allows empty arrays. Use `SomeType[]` instead.","[[]]":"Don't use `[[]]`. It only allows an array with a single element which is an empty array. Use `SomeType[][]` instead.","[[[]]]":"Don't use `[[[]]]`. Use `SomeType[][][]` instead.","[[[[]]]]":`ur drunk 🤡`,"[[[[[]]]]]":`🦄💥`}}],"ts/class-literal-property-style":[`error`,`getters`],"ts/consistent-generic-constructors":[`error`,`constructor`],"ts/consistent-indexed-object-style":`error`,"brace-style":`off`,"comma-dangle":`off`,"comma-spacing":`off`,"default-param-last":`off`,"ts/default-param-last":`error`,"dot-notation":`off`,"ts/dot-notation":`error`,"ts/consistent-type-assertions":[`error`,{assertionStyle:`as`,objectLiteralTypeAssertions:`allow-as-parameter`}],"ts/consistent-type-definitions":[`error`,`type`],"ts/consistent-type-exports":[`error`,{fixMixedExportsWithInlineTypeSpecifier:!0}],"ts/consistent-type-imports":[`error`,{fixStyle:`inline-type-imports`}],"func-call-spacing":`off`,indent:`off`,"keyword-spacing":`off`,"lines-between-class-members":`off`,"ts/member-ordering":`off`,camelcase:`off`,"ts/naming-convention":[`error`,{selector:[`variable`,`function`,`classProperty`,`objectLiteralProperty`,`parameterProperty`,`classMethod`,`objectLiteralMethod`,`typeMethod`,`accessor`],format:[`strictCamelCase`],leadingUnderscore:`allowSingleOrDouble`,trailingUnderscore:`allow`},{selector:`variable`,modifiers:[`const`,`global`],format:[`strictCamelCase`,`UPPER_CASE`],leadingUnderscore:`allowSingleOrDouble`,trailingUnderscore:`allow`,filter:{regex:`[- ]`,match:!1}},{selector:`classProperty`,modifiers:[`static`,`readonly`],format:[`strictCamelCase`,`UPPER_CASE`],leadingUnderscore:`allowSingleOrDouble`,trailingUnderscore:`allow`,filter:{regex:`[- ]`,match:!1}},{selector:`typeLike`,format:[`StrictPascalCase`]},{selector:`interface`,filter:`^[A-HJ-Z]`,format:[`StrictPascalCase`]},{selector:`typeParameter`,filter:`^T$|^[A-Z][A-Za-z]+$`,format:[`StrictPascalCase`]},{selector:[`classProperty`,`objectLiteralProperty`,`parameterProperty`,`classMethod`,`objectLiteralMethod`,`typeMethod`,`accessor`],format:null,modifiers:[`requiresQuotes`]}],"ts/no-base-to-string":`error`,"no-array-constructor":`off`,"ts/no-array-constructor":`error`,"ts/no-array-delete":`error`,"no-dupe-class-members":`off`,"ts/no-dupe-class-members":`error`,"ts/no-confusing-void-expression":`error`,"ts/no-deprecated":`error`,"ts/no-duplicate-enum-values":`error`,"ts/no-duplicate-type-constituents":`error`,"ts/no-dynamic-delete":`error`,"no-empty-function":`off`,"ts/no-empty-function":`error`,"ts/no-empty-object-type":`error`,"ts/no-extra-non-null-assertion":`error`,"no-extra-parens":`off`,"no-extra-semi":`off`,"no-loop-func":`off`,"ts/no-loop-func":`error`,"ts/no-extraneous-class":[`error`,{allowConstructorOnly:!1,allowEmpty:!1,allowStaticOnly:!1,allowWithDecorator:!0}],"no-void":[`error`,{allowAsStatement:!0}],"ts/no-floating-promises":[`error`,{checkThenables:!0,ignoreVoid:!0,ignoreIIFE:!0}],"ts/no-for-in-array":`error`,"ts/no-inferrable-types":`error`,"ts/no-meaningless-void-operator":`error`,"ts/no-misused-new":`error`,"ts/no-misused-promises":[`error`,{checksConditionals:!0,checksVoidReturn:!1}],"ts/no-namespace":`error`,"ts/no-non-null-asserted-nullish-coalescing":`error`,"ts/no-non-null-asserted-optional-chain":`error`,"no-redeclare":`off`,"ts/no-redeclare":`error`,"no-shadow":`off`,"ts/no-shadow":[`error`,{ignoreOnInitialization:!0}],"no-restricted-imports":`off`,"ts/no-restricted-imports":[`error`,{paths:[`domain`,`freelist`,`smalloc`,`punycode`,`sys`,`querystring`,`colors`,{name:`mkdirp`,message:"Use `fs.mkdir` with `{recursive: true}` instead."},{name:`rimraf`,message:"Use `fs.rm` with `{recursive: true}` instead."},{name:`object-assign`,message:"Use `Object.assign()` or object spread instead."},{name:`xtend`,message:"Use `Object.assign()` or object spread instead."},{name:`extend-shallow`,message:"Use `Object.assign()` or object spread instead."},{name:`left-pad`,message:"Use `String.prototype.padStart()` instead."},{name:`pad-left`,message:"Use `String.prototype.padStart()` instead."},{name:`right-pad`,message:"Use `String.prototype.padEnd()` instead."},{name:`pad-right`,message:"Use `String.prototype.padEnd()` instead."},{name:`safe-buffer`,message:"Use `Buffer.alloc()` or `Buffer.from()` instead."},{name:`safer-buffer`,message:"Use `Buffer.alloc()` or `Buffer.from()` instead."},{name:`buffer-alloc`,message:"Use `Buffer.alloc()` instead."},{name:`array-flatten`,message:"Use `Array.prototype.flat()` instead."},{name:`concat-map`,message:"Use `Array.prototype.flatMap()` instead."},{name:`pad`,message:"Use `String.prototype.padStart()` / `String.prototype.padEnd()` instead."},{name:`co`,message:`Use async/await instead.`},{name:`inherits`,message:"Use `class extends` instead."},{name:`windows-1252`,message:"Use `TextDecoder` instead."},{name:`string_decoder`,message:"Use `TextDecoder` instead."},{name:`isarray`,message:"Use `Array.isArray()` instead."},{name:`object-keys`,message:"Use `Object.keys()` instead."},{name:`object.assign`,message:"Use `Object.assign()` or object spread instead."},{name:`globalthis`,message:"Use the `globalThis` global instead."},{name:`es6-promise`,message:"Use `Promise` instead."},{name:`abort-controller`,message:"Use the native `AbortController` instead."},{name:`queue-microtask`,message:"Use `queueMicrotask()` instead."},{name:`buffer-from`,message:"Use `Buffer.from()` instead."},{name:`has`,message:"Use `Object.hasOwn()` instead."},{name:`hasown`,message:"Use `Object.hasOwn()` instead."},{name:`repeat-string`,message:"Use `String.prototype.repeat()` instead."},{name:`path-parse`,message:"Use `path.parse()` instead."},{name:`node.extend`,message:"Use `Object.assign()` or object spread instead."},{name:`aggregate-error`,message:"Use the native `AggregateError` instead."},{name:`is-nan`,message:"Use `Number.isNaN()` instead."},{name:`is-finite`,message:"Use `Number.isFinite()` instead."},{name:`object-is`,message:"Use `Object.is()` instead."},{name:`defaults`,message:"Use `Object.assign()` instead."},{name:`whatwg-url`,message:"Use the native `URL` API instead."}]}],"ts/no-require-imports":`error`,"ts/no-this-alias":[`error`,{allowDestructuring:!0}],"no-throw-literal":`off`,"ts/only-throw-error":[`error`,{allowThrowingUnknown:!0,allowThrowingAny:!1}],"ts/no-unnecessary-boolean-literal-compare":`off`,"no-constant-condition":`error`,"ts/no-unnecessary-qualifier":`error`,"ts/no-unnecessary-type-arguments":`error`,"ts/no-unnecessary-type-assertion":`error`,"ts/no-unnecessary-type-constraint":`error`,"ts/no-unnecessary-type-conversion":`error`,"ts/no-unsafe-argument":`error`,"ts/no-unsafe-assignment":`error`,"ts/no-unsafe-call":`error`,"ts/no-unsafe-declaration-merging":`error`,"ts/no-unsafe-enum-comparison":`error`,"ts/no-unsafe-function-type":`error`,"ts/no-unsafe-member-access":`error`,"ts/no-unsafe-return":`error`,"ts/no-useless-empty-export":`error`,"no-unused-expressions":`off`,"no-unused-private-class-members":`off`,"ts/no-unused-private-class-members":`error`,"ts/no-unused-expressions":`error`,"no-unused-vars":`off`,"no-useless-constructor":`off`,"ts/no-useless-constructor":`error`,"ts/no-useless-default-assignment":`error`,"object-curly-spacing":`off`,"padding-line-between-statements":`off`,"ts/no-wrapper-object-types":`error`,"ts/non-nullable-type-assertion-style":`error`,"ts/prefer-as-const":`error`,"ts/prefer-find":`error`,"ts/prefer-for-of":`error`,"ts/prefer-function-type":`error`,"ts/prefer-includes":`error`,"ts/prefer-literal-enum-member":`error`,"ts/prefer-namespace-keyword":`error`,"ts/prefer-nullish-coalescing":[`error`,{ignoreTernaryTests:!1,ignoreConditionalTests:!1,ignoreMixedLogicalExpressions:!1}],"ts/prefer-optional-chain":`error`,"prefer-promise-reject-errors":`off`,"ts/prefer-promise-reject-errors":`error`,"ts/prefer-readonly":`error`,"ts/prefer-reduce-type-parameter":`error`,"ts/prefer-string-starts-ends-with":`error`,"ts/promise-function-async":`error`,"ts/related-getter-setter-pairs":`error`,quotes:`off`,"ts/restrict-plus-operands":[`error`,{allowAny:!1}],"ts/restrict-template-expressions":[`error`,{allowNumber:!0}],"unicorn/no-useless-template-literals":`off`,"ts/no-unnecessary-template-expression":`error`,"ts/return-await":`error`,"unicorn/require-array-sort-compare":`off`,"ts/require-array-sort-compare":[`error`,{ignoreStringArrays:!0}],"space-before-function-paren":`off`,"space-infix-ops":`off`,semi:`off`,"space-before-blocks":`off`,"ts/strict-boolean-expressions":[`error`,{allowNullableBoolean:!0,allowNullableObject:!0,allowNumber:!1,allowString:!1}],"ts/strict-void-return":`error`,"default-case":`off`,"ts/switch-exhaustiveness-check":[`error`,{allowDefaultCaseForExhaustiveSwitch:!1,requireDefaultForNonUnion:!0}],"ts/triple-slash-reference":[`error`,{path:`never`,types:`never`,lib:`never`}],"regexp/prefer-regexp-exec":`off`,"ts/prefer-regexp-exec":`error`,"ts/prefer-return-this-type":`error`,"ts/unified-signatures":[`error`,{ignoreDifferentlyNamedParameters:!0}],"ts/use-unknown-in-catch-callback-variable":`error`,"constructor-super":`off`,"getter-return":`off`,"no-class-assign":`off`,"no-const-assign":`off`,"no-dupe-args":`off`,"no-dupe-keys":`off`,"no-func-assign":`off`,"no-import-assign":`off`,"no-new-native-nonconstructor":`off`,"no-obj-calls":`off`,"no-setter-return":`off`,"no-this-before-super":`off`,"no-undef":`off`,"no-unreachable":`off`,"no-unsafe-negation":`off`,"no-with":`off`,"node/no-unsupported-features/es-syntax":`off`,"node/no-unsupported-features/es-builtins":`off`,"import/namespace":`off`,"import/named":`off`,"no-duplicate-imports":`off`,"unicorn/import-style":`off`,"import/extensions":`off`,"import/export":`off`,"import/default":`off`},ct={"ts/no-unused-vars":`off`},lt={"ts/no-unsafe-call":`off`,"ts/no-confusing-void-expression":`off`,"ts/no-unnecessary-type-arguments":`off`,"ts/no-unsafe-argument":`off`},ut={"ts/naming-convention":[`error`,{selector:[`variable`,`function`,`classProperty`,`objectLiteralProperty`,`parameterProperty`,`classMethod`,`objectLiteralMethod`,`typeMethod`,`accessor`],format:[`strictCamelCase`,`StrictPascalCase`],leadingUnderscore:`allowSingleOrDouble`,trailingUnderscore:`allow`},{selector:`variable`,modifiers:[`const`,`global`],format:[`strictCamelCase`,`StrictPascalCase`,`UPPER_CASE`],leadingUnderscore:`allowSingleOrDouble`,trailingUnderscore:`allow`,filter:{regex:`[- ]`,match:!1}},{selector:`classProperty`,modifiers:[`static`,`readonly`],format:[`strictCamelCase`,`StrictPascalCase`,`UPPER_CASE`],leadingUnderscore:`allowSingleOrDouble`,trailingUnderscore:`allow`,filter:{regex:`[- ]`,match:!1}},{selector:`typeLike`,format:[`StrictPascalCase`]},{selector:`interface`,filter:`^[A-HJ-Z]`,format:[`StrictPascalCase`]},{selector:`typeParameter`,filter:`^T$|^[A-Z][A-Za-z]+$`,format:[`StrictPascalCase`]},{selector:[`classProperty`,`objectLiteralProperty`,`parameterProperty`,`classMethod`,`objectLiteralMethod`,`typeMethod`,`accessor`],format:null,modifiers:[`requiresQuotes`]}]},dt={"yaml/no-empty-document":`error`,"yaml/no-empty-key":`error`,"yaml/no-empty-mapping-value":`error`,"yaml/no-empty-sequence-entry":`error`,"yaml/no-irregular-whitespace":`error`,"yaml/no-tab-indent":`error`,"yaml/vue-custom-block/no-parsing-error":`error`};async function ft(...e){return(await Promise.all(e)).flat()}async function B(e){let t=await e;return t.default??t}function V(){return a.env.CI!==void 0&&a.env.CI!==``||pt()?!1:[a.env.VSCODE_PID,a.env.VSCODE_CWD,a.env.JETBRAINS_IDE,a.env.VIM,a.env.NVIM].some(Boolean)}function pt(){let e=a.env.npm_lifecycle_script?.startsWith(`lint-staged`);return[a.env.GIT_PARAMS,a.env.VSCODE_GIT_COMMAND,e].some(Boolean)}function mt(e,t){return e.map(e=>{let n={...e};return n.rules&&=ht(n.rules,t),n.plugins&&=Object.fromEntries(Object.entries(n.plugins).map(([e,n])=>[t[e]??e,n])),n})}function ht(e,t){return Object.fromEntries(Object.entries(e).map(([e,n])=>{for(let[r,i]of Object.entries(t))if(e.startsWith(`${r}/`))return[i+e.slice(r.length),n];return[e,n]}))}function gt(e){return Array.isArray(e)?e:[e]}function _t(e,t){switch(t){case`exact`:return`^${e}$`;case`leading`:return`^${e}.*$`;case`trailing`:return`^.*${e}$`}}function H(e,t=`exact`){let n=e.map(e=>({elementNamePattern:_t(e,t),groupName:e})),r=e.join(`|`),i;switch(t){case`exact`:i=`^(${r})$`;break;case`leading`:i=`^(${e.join(`|`)}).*$`;break;case`trailing`:i=`^.*(${e.join(`|`)})$`;break}return{customGroups:n,groups:e,useConfigurationIf:{allNamesMatchPattern:i}}}const vt={"jsdoc/check-tag-names":[`error`,{typed:!1}],"jsdoc/no-types":`off`},yt=[H([`width`,`height`,`depth`]),H([`width`,`height`,`depth`],`leading`),H([`Width`,`Height`,`depth`],`trailing`),H([`min`,`max`]),H([`min`,`max`],`leading`),H([`Min`,`Max`],`trailing`),H([`a`,`b`]),H([`r`,`g`,`b`,`a`]),H([`R`,`G`,`B`,`A`],`trailing`),H([`red`,`green`,`blue`,`alpha`]),H([`Red`,`Green`,`Blue`,`Alpha`],`trailing`),H([`h`,`s`,`l`,`a`]),H([`H`,`S`,`L`,`A`],`trailing`),H([`hue`,`saturation`,`lightness`,`alpha`]),H([`Hue`,`Saturation`,`Lightness`,`Alpha`],`trailing`),H([`h`,`s`,`v`]),H([`hue`,`saturation`,`value`,`alpha`]),H([`Hue`,`Saturation`,`Value`,`Alpha`],`trailing`),H([`o`,`k`,`l`,`c`,`h`]),H([`x`,`y`,`z`,`w`]),H([`x`,`y`,`z`,`w`],`leading`),H([`X`,`Y`,`Z`,`W`],`trailing`),H([`x1`,`y1`,`x2`,`y2`,`z1`,`z2`]),H([`x1`,`y1`,`x2`,`y2`,`z1`,`z2`],`leading`),H([`X1`,`Y1`,`X2`,`Y2`,`Z1`,`Z2`],`trailing`),H([`open`,`close`]),H([`open`,`close`],`leading`),H([`Open`,`Close`],`trailing`),H([`start`,`end`]),H([`start`,`end`],`leading`),H([`Start`,`End`],`trailing`),H([`pre`,`post`]),H([`pre`,`post`],`leading`),H([`Pre`,`post`],`trailing`),H([`name`,`command`,`arguments`,`logUpload`,`schedule`,`update`])],U={plugins:{"de-morgan":ee,depend:te,e18e:s,"eslint-comments":c,import:ne,jsdoc:re,math:ie,node:ae,perfectionist:oe,regexp:se,stylistic:l,ts:u,unicorn:ce},rules:{...Fe,...Ie,...Le,...Re,...Ze,...at,...ot,...st,...Be,...Ve,...Qe,...He,...Ue,...Pe,...tt,...Me,...Ne,...Xe,"capitalized-comments":[`error`,`always`,{ignoreConsecutiveComments:!0,ignoreInlineComments:!0,ignorePattern:String.raw`await|c8|console\.log|const|cspell|else|eslint|export|if|ignore|import|let|macOS|pragma|prettier-ignore|svelte-ignore|type-coverage:|var|webpack\w+:`}],"e18e/prefer-array-fill":`error`,"e18e/prefer-array-from-map":`error`,"e18e/prefer-array-to-reversed":`error`,"e18e/prefer-array-to-sorted":`error`,"e18e/prefer-array-to-spliced":`error`,"e18e/prefer-static-regex":`error`,"e18e/prefer-timer-args":`error`,"e18e/prefer-url-canparse":`error`,"eslint-comments/disable-enable-pair":[`error`,{allowWholeFile:!0}],"import/consistent-type-specifier-style":[`error`,`prefer-top-level`],"import/default":`off`,"import/no-duplicates":[`error`,{considerQueryString:!0}],"import/no-named-as-default-member":`off`,"import/no-unresolved":[`error`,{ignore:[`^astro:`,`^@astrojs`,`^virtual:`,`^~aphex/`,`^~photos/`]}],"import/order":`off`,"jsdoc/check-tag-names":[`error`,{definedTags:[`public`]}],"jsdoc/require-description":[`error`,{descriptionStyle:`body`}],"jsdoc/require-jsdoc":[`error`,{publicOnly:!0}],"jsdoc/tag-lines":`off`,"max-params":[`warn`,{max:8}],"new-cap":[`error`,{capIsNew:!0,capIsNewExceptionPattern:String.raw`^Intl\..`,newIsCap:!0}],"no-await-in-loop":`off`,"no-else-return":`off`,"no-restricted-syntax":[`error`,{message:"Use a top-level `export type { … }` statement instead of an inline type specifier.",selector:`ExportSpecifier[exportKind="type"]`}],"no-unreachable":`warn`,"no-useless-concat":`off`,"no-warning-comments":`off`,"node/hashbang":`off`,"node/no-extraneous-import":`off`,"node/no-missing-import":`off`,"node/no-process-exit":`off`,"node/no-unpublished-import":`off`,"node/no-unsupported-features/node-builtins":`error`,"operator-assignment":`off`,"perfectionist/sort-imports":[`error`,{internalPattern:[`^~/.+`,`^@/.+`,String.raw`^\$.+`],newlinesBetween:0,partitionByComment:{block:!1,line:!0}}],"perfectionist/sort-modules":`off`,"perfectionist/sort-object-types":[`error`,...yt,{newlinesBetween:0,order:`asc`,type:`natural`}],"perfectionist/sort-objects":[`error`,...yt,{newlinesBetween:0,order:`asc`,type:`natural`}],"sort-imports":`off`,"stylistic/padding-line-between-statements":[`error`,{blankLine:`always`,next:`*`,prev:`block-like`}],"ts/adjacent-overload-signatures":`off`,"ts/consistent-type-exports":[`error`,{fixMixedExportsWithInlineTypeSpecifier:!1}],"ts/consistent-type-imports":[`error`,{fixStyle:`separate-type-imports`}],"ts/member-ordering":`off`,"ts/naming-convention":[`error`,{format:[`camelCase`],selector:`default`},{format:null,leadingUnderscore:`require`,modifiers:[`unused`],selector:`function`},{format:null,leadingUnderscore:`require`,modifiers:[`unused`],selector:`parameter`},{format:null,leadingUnderscore:`require`,modifiers:[`unused`],selector:`variable`},{format:null,leadingUnderscore:`require`,modifiers:[`unused`],selector:`variableLike`},{format:null,modifiers:[`requiresQuotes`],selector:`default`},{format:[`StrictPascalCase`],selector:`typeLike`},{format:[`camelCase`],leadingUnderscore:`allow`,selector:`variableLike`,trailingUnderscore:`allow`},{format:[`camelCase`,`StrictPascalCase`],selector:`import`},{format:[`camelCase`,`StrictPascalCase`],modifiers:[`destructured`],selector:`variable`},{format:[`UPPER_CASE`,`camelCase`],modifiers:[`const`],selector:`variable`}],"ts/no-import-type-side-effects":`error`,"ts/no-non-null-assertion":`off`,"ts/no-restricted-types":[`error`,{types:{"[[[[[]]]]]":"Don't use `[[[[[]]]]]`. Use `SomeType[][][][][]` instead.","[[[[]]]]":"Don't use `[[[[]]]]`. Use `SomeType[][][][]` instead.","[[[]]]":"Don't use `[[[]]]`. Use `SomeType[][][]` instead.","[[]]":"Don't use `[[]]`. It only allows an array with a single element which is an empty array. Use `SomeType[][]` instead.","[]":"Don't use the empty array type `[]`. It only allows empty arrays. Use `SomeType[]` instead.",Buffer:{message:`Use Uint8Array instead. See: https://sindresorhus.com/blog/goodbye-nodejs-buffer`,suggest:[`Uint8Array`]},null:{message:"Use `undefined` instead. See: https://github.com/sindresorhus/meta/issues/7",suggest:[`undefined`]},object:{message:"The `object` type is hard to use. Use `Record<string, unknown>` instead. See: https://github.com/typescript-eslint/typescript-eslint/pull/848",suggest:[`Record<string, unknown>`]}}}],"ts/no-unused-vars":[`error`,{args:`after-used`,argsIgnorePattern:`^_`,caughtErrors:`all`,caughtErrorsIgnorePattern:`^_$`,destructuredArrayIgnorePattern:`^_`,ignoreRestSiblings:!0,vars:`all`,varsIgnorePattern:`^_`}],"ts/sort-type-constituents":`off`,"unicorn/consistent-boolean-name":`off`,"unicorn/consistent-class-member-order":`off`,"unicorn/filename-case":[`error`,{checkDirectories:!1}],"unicorn/import-style":`off`,"unicorn/max-nested-calls":`off`,"unicorn/name-replacements":[`error`,{replacements:{acc:!1,arg:!1,args:!1,db:!1,dev:!1,doc:!1,docs:!1,env:!1,fn:!1,i:!1,j:!1,lib:!1,param:!1,params:!1,pkg:!1,prop:!1,props:!1,ref:!1,refs:!1,sep:!1,src:!1,temp:!1,util:!1,utils:!1}}],"unicorn/no-top-level-assignment-in-function":`off`,"unicorn/prefer-math-trunc":`off`,"unicorn/prefer-modern-math-apis":`off`,"unicorn/prefer-number-is-safe-integer":`off`,"unicorn/prefer-number-properties":`off`,"unicorn/prefer-type-literal-last":`off`},settings:{"import-x/extensions":[`.ts`,`.tsx`,`.cts`,`.mts`,`.js`,`.jsx`,`.cjs`,`.mjs`],"import-x/external-module-folders":[`node_modules`,`node_modules/@types`],"import-x/parsers":{"@typescript-eslint/parser":[`.ts`,`.tsx`,`.cts`,`.mts`]},"import-x/resolver-next":[d({alwaysTryTypes:!0,noWarnOnMultipleProjects:!0,project:[`packages/*/tsconfig.json`,`<root>/tsconfig.json`]})]}},W={...ze,...vt};async function bt(e={}){let{overrides:n={},overridesEmbeddedScripts:i={},typeAware:s={enabled:!0,ignores:[]}}=e,[c,l]=await Promise.all([B(import(`eslint-plugin-astro`)),B(import(`astro-eslint-parser`))]),u={"unicorn/filename-case":`off`};return[{name:`kp/astro/setup`,plugins:{astro:c}},{...U,files:[k],languageOptions:{globals:{...r.nodeBuiltin,...c.environments.astro.globals},parser:l,parserOptions:{extraFileExtensions:[`.astro`],parser:o,...s.enabled?{project:t.join(a.cwd(),`tsconfig.json`)}:{project:void 0}}},name:`kp/astro/rules`,processor:`astro/client-side-ts`,rules:{...U.rules,...Ae,...je,"perfectionist/sort-intersection-types":[`error`,{groups:[`named`,`union`,`intersection`,`conditional`,`function`,`import`,`keyword`,`operator`,`literal`,`tuple`,`object`]}],"ts/no-unsafe-return":`off`,"unicorn/filename-case":[`error`,{cases:{kebabCase:!0,pascalCase:!0},checkDirectories:!1,ignore:[String.raw`^\[slug\]\.astro$`]}],...n}},s.ignores.length>0?{files:s.ignores,languageOptions:{parserOptions:{project:void 0,projectService:!1}},name:`kp/astro/disable-type-aware`,rules:{...W}}:{},{files:[A],languageOptions:{ecmaVersion:2023,globals:{...r.browser},parser:void 0,sourceType:`module`},name:`kp/astro/script-js`,rules:{...W,...u,...i}},{files:[j],languageOptions:{ecmaVersion:2023,globals:{...r.browser},parser:o,parserOptions:{projectService:!1},sourceType:`module`},name:`kp/astro/script-ts`,rules:{...W,...u,...i}}]}async function xt(){return[{files:[`**/*.d.?([cm])ts`],name:`kp/disables/dts`,rules:{"eslint-comments/no-unlimited-disable":`off`,"import/no-duplicates":`off`,"no-restricted-syntax":`off`}},{files:[`**/*.cjs`],name:`kp/disables/cjs`,rules:{"ts/no-require-imports":`off`}},{files:[`**/stylelint.config.js`,`**/stylelint.config.ts`],name:`kp/disables/stylelint-config`,rules:{"unicorn/no-null":`off`}},{name:`kp/disables/prettier`,rules:{...$e,curly:`error`}}]}const St={"html/require-lang":`error`,"html/require-img-alt":`error`,"html/require-doctype":`error`,"html/require-title":`error`,"html/no-multiple-h1":`error`,"html/no-extra-spacing-tags":`error`,"html/attrs-newline":`error`,"html/element-newline":[`error`,{inline:[`$inline`]}],"html/no-duplicate-id":`error`,"html/indent":`error`,"html/require-li-container":`error`,"html/quotes":`error`,"html/no-obsolete-tags":`error`,"html/no-obsolete-attrs":`error`,"html/require-closing-tags":`error`,"html/no-duplicate-attrs":`error`,"html/use-baseline":`error`,"html/no-duplicate-in-head":`error`};async function Ct(e={}){let{overrides:t={},overridesEmbeddedScripts:n={}}=e,r=[O];return[{files:r,name:`kp/html-script`,plugins:{"html-script":ue},rules:{...n}},{files:r,languageOptions:{parser:le},name:`kp/html/setup`,plugins:{html:f}},{name:`kp/html`,plugins:{html:f},rules:{...St,"html/attrs-newline":`off`,"html/element-newline":`off`,"html/indent":`off`,"html/no-abstract-roles":`error`,"html/no-accesskey-attrs":`error`,"html/no-aria-hidden-body":`error`,"html/no-duplicate-attrs":`error`,"html/no-duplicate-id":`error`,"html/no-extra-spacing-tags":`off`,"html/no-inline-styles":`error`,"html/no-multiple-h1":`error`,"html/no-non-scalable-viewport":`error`,"html/no-obsolete-tags":`error`,"html/no-positive-tabindex":`error`,"html/no-restricted-attr-values":`error`,"html/no-restricted-attrs":`error`,"html/no-script-style-type":`error`,"html/no-skip-heading-levels":`error`,"html/no-target-blank":`error`,"html/quotes":`off`,"html/require-attrs":`error`,"html/require-button-type":`error`,"html/require-closing-tags":`off`,"html/require-doctype":`error`,"html/require-frame-title":`error`,"html/require-img-alt":`error`,"html/require-lang":`error`,"html/require-li-container":`error`,"html/require-meta-charset":`error`,"html/require-meta-viewport":`error`,"html/require-title":`error`,...t}},{files:[P,F],name:`kp/html/markdown-code-blocks`,rules:{"html/no-multiple-h1":`off`,"html/require-doctype":`off`,"html/require-lang":`off`,"html/require-meta-charset":`off`,"html/require-meta-viewport":`off`,"html/require-title":`off`}}]}async function wt(e=[]){return[{ignores:[...L,...e],name:`kp/ignores`}]}async function Tt(e={}){let{overrides:t={},typeAware:n={enabled:!0,ignores:[]}}=e;return[{...U,files:[ve],languageOptions:J(n.enabled,!1),name:`kp/js/rules`,rules:{...U.rules,"jsdoc/check-tag-names":`off`,"jsdoc/no-types":`off`,...!n.enabled&&W,...t}},n.enabled&&n.ignores.length>0?{files:n.ignores,languageOptions:J(!1,!1),name:`kp/js/disable-type-aware`,rules:{...W}}:{}]}async function Et(e={}){let{overrides:t={}}=e;return[{name:`kp/json/setup`,plugins:{json:de,"json-package":fe}},{files:[_],languageOptions:{parser:p},name:`kp/json/rules-json`,rules:{...Ge}},{files:[y],languageOptions:{parser:p},name:`kp/json/rules-jsonc`,rules:{...R}},{files:[v],languageOptions:{parser:p},name:`kp/json/rules-json5`,rules:{...Ke}},{files:[_,y,v],name:`kp/json/rules`,rules:{...We,...qe}},{files:[`.vscode/**.json`],name:`kp/json/rules-settings`,rules:{...R,"json/no-comments":`off`}},{files:[`**/package.json`],name:`kp/json/rules-package`,rules:{...Je,"json-package/no-redundant-files":`error`,"json-package/order-properties":[`error`,{order:Dt(pe,[`cspell`,`knip`,`mdat`,`prettier`,`remarkConfig`,`stylelint`])}],"json-package/require-author":`error`,"json-package/require-keywords":`error`,"package-json/require-exports":`off`}},{files:[`**/tsconfig.json`,`**/tsconfig.*.json`,`**/tsconfigs/**/*.json`],name:`kp/json/rules-tsconfig`,rules:{"json/no-comments":`off`,"jsonc/sort-keys":[`error`,{order:[`extends`,`compilerOptions`,`references`,`files`,`include`,`exclude`],pathPattern:`^$`},{order:`incremental.composite.tsBuildInfoFile.disableSourceOfProjectReferenceRedirect.disableSolutionSearching.disableReferencedProjectLoad.target.jsx.jsxFactory.jsxFragmentFactory.jsxImportSource.lib.moduleDetection.noLib.reactNamespace.useDefineForClassFields.emitDecoratorMetadata.experimentalDecorators.libReplacement.baseUrl.rootDir.rootDirs.customConditions.module.moduleResolution.moduleSuffixes.noResolve.paths.resolveJsonModule.resolvePackageJsonExports.resolvePackageJsonImports.typeRoots.types.allowArbitraryExtensions.allowImportingTsExtensions.allowUmdGlobalAccess.allowJs.checkJs.maxNodeModuleJsDepth.strict.strictBindCallApply.strictFunctionTypes.strictNullChecks.strictPropertyInitialization.allowUnreachableCode.allowUnusedLabels.alwaysStrict.exactOptionalPropertyTypes.noFallthroughCasesInSwitch.noImplicitAny.noImplicitOverride.noImplicitReturns.noImplicitThis.noPropertyAccessFromIndexSignature.noUncheckedIndexedAccess.noUnusedLocals.noUnusedParameters.useUnknownInCatchVariables.declaration.declarationDir.declarationMap.downlevelIteration.emitBOM.emitDeclarationOnly.importHelpers.importsNotUsedAsValues.inlineSourceMap.inlineSources.mapRoot.newLine.noEmit.noEmitHelpers.noEmitOnError.outDir.outFile.preserveConstEnums.preserveValueImports.removeComments.sourceMap.sourceRoot.stripInternal.allowSyntheticDefaultImports.esModuleInterop.forceConsistentCasingInFileNames.isolatedDeclarations.isolatedModules.preserveSymlinks.verbatimModuleSyntax.erasableSyntaxOnly.skipDefaultLibCheck.skipLibCheck`.split(`.`),pathPattern:`^compilerOptions$`}]}},{files:[_,y,v],name:`kp/json/rules-overrides`,rules:{...t}}]}function Dt(e,t){return[...e.filter(e=>!t.includes(e)),...t]}const G={plugins:{...U.plugins,"jsx-a11y":me},rules:{...U.rules,...Ye,...ut}};async function Ot(e={}){let{overrides:t={},typeAware:n={enabled:!0,ignores:[]}}=e;return[{...G,files:[ye],languageOptions:J(n.enabled,!0),name:`kp/jsx/rules`,rules:{...G.rules,...!n.enabled&&W,...t}},n.enabled&&n.ignores.length>0?{files:n.ignores,languageOptions:J(!1,!0),name:`kp/jsx/disable-type-aware`,rules:{...W}}:{}]}async function kt(e={}){let{overrides:t={},overridesEmbeddedScripts:n={}}=e;return[{files:[b],ignores:[`${b}/*.md`,`${b}/*.mdx`,`${x}/*.md`,`${x}/*.mdx`],languageOptions:{ecmaVersion:`latest`,globals:{React:!1},parser:he,sourceType:`module`},name:`kp/markdown/remark`,plugins:{...U.plugins,mdx:m},processor:m.createRemarkProcessor({lintCodeBlocks:!0}),rules:{"mdx/remark":`warn`,"react/react-in-jsx-scope":0,"unicorn/filename-case":[`error`,{checkDirectories:!1}],...t}},{...U,files:[M],languageOptions:{parserOptions:{projectService:!1}},name:`kp/markdown/code-blocks`,rules:{...W,"no-unused-expressions":`off`,"no-unused-vars":`off`,"ts/no-unused-expressions":`off`,"ts/no-unused-vars":`off`,"unicorn/filename-case":`off`,...n}}]}async function At(e={}){let{overrides:t={},overridesEmbeddedScripts:n={}}=e;return[{files:[x],ignores:[`${b}/*.md`,`${b}/*.mdx`,`${x}/*.md`,`${x}/*.mdx`],languageOptions:{ecmaVersion:`latest`,globals:{React:!1},parser:he,sourceType:`module`},name:`kp/mdx/remark`,plugins:{...U.plugins,mdx:m},processor:m.createRemarkProcessor({lintCodeBlocks:!0}),rules:{"mdx/remark":`warn`,"react/react-in-jsx-scope":0,"unicorn/filename-case":[`error`,{cases:{kebabCase:!0,pascalCase:!0},checkDirectories:!1}],...t}},{files:[N],name:`kp/mdx/code-blocks`,rules:{"no-unused-expressions":`off`,"no-unused-vars":`off`,"ts/no-unused-expressions":`off`,"ts/no-unused-vars":`off`,"unicorn/filename-case":`off`,...n}}]}async function jt(e={}){let{overrides:t={},typeAware:n={enabled:!0,ignores:[]}}=e,r=[g,`${b}/**`,`${x}/**`,j],i=[`${b}/**`,`${x}/**`,j,...n.ignores],a=await B(import(`@eslint-react/eslint-plugin`)),o=a.configs[`recommended-typescript`];return[{name:`kp/react/setup`,plugins:{react:a},settings:o.settings??{}},{files:r,languageOptions:{parserOptions:{ecmaFeatures:{impliedStrict:!0,jsx:!0}},sourceType:`module`},name:`kp/react/rules`,rules:{...et,...!n.enabled&&z,...t}},n.enabled?{files:i,languageOptions:{parserOptions:{ecmaFeatures:{impliedStrict:!0,jsx:!0},projectService:!1}},name:`kp/react/disable-type-aware`,rules:{...z}}:{}]}async function Mt(e={}){let{overrides:n={}}=e,r=[S,w,C],[i,s]=await Promise.all([B(import(`eslint-plugin-svelte`)),B(import(`svelte-eslint-parser`))]);return[{name:`kp/svelte/setup`,plugins:{svelte:i}},{...U,files:r,languageOptions:{parser:s,parserOptions:{extraFileExtensions:[`.svelte`,`.svelte.ts`],parser:o,projectService:!0,svelteConfig:t.join(a.cwd(),`svelte.config.js`),svelteFeatures:{experimentalGenerics:!0},tsconfigRootDir:a.cwd()}},name:`kp/svelte/rules`,processor:i.processors[`.svelte`],rules:{...U.rules,...nt,"import/no-duplicates":`off`,"import/no-mutable-exports":`off`,"no-sequences":`off`,"no-undef-init":`off`,"prefer-const":`off`,"svelte/block-lang":[`error`,{enforceScriptPresent:!1,enforceStylePresent:!1,script:`ts`,style:void 0}],"svelte/button-has-type":`error`,"svelte/consistent-selector-style":`off`,"svelte/derived-has-same-inputs-outputs":`error`,"svelte/experimental-require-slot-types":`error`,"svelte/experimental-require-strict-events":`error`,"svelte/html-self-closing":`error`,"svelte/no-add-event-listener":`error`,"svelte/no-extra-reactive-curlies":`error`,"svelte/no-ignored-unsubscribe":`error`,"svelte/no-nested-style-tag":`error`,"svelte/no-spaces-around-equal-signs-in-attribute":`error`,"svelte/no-target-blank":`error`,"svelte/no-trailing-spaces":`error`,"svelte/no-unused-class-name":`error`,"svelte/prefer-class-directive":`error`,"svelte/prefer-const":`error`,"svelte/prefer-derived-over-derived-by":`error`,"svelte/prefer-destructured-store-props":`error`,"svelte/prefer-style-directive":`error`,"svelte/require-event-prefix":`error`,"svelte/require-optimized-style-attribute":`error`,"svelte/require-store-callbacks-use-set-param":`error`,"svelte/require-stores-init":`error`,"svelte/shorthand-attribute":`error`,"svelte/shorthand-directive":`error`,"svelte/sort-attributes":`error`,"svelte/spaced-html-comment":`error`,"svelte/valid-compile":`error`,"svelte/valid-style-parse":`error`,"ts/no-confusing-void-expression":`off`,"ts/no-unused-expressions":`off`,"unicorn/filename-case":[`error`,{case:`pascalCase`,checkDirectories:!1,ignore:[String.raw`^\+`]}],"unicorn/no-useless-undefined":`off`,...n}},{files:[`**/routes/**/+*.ts`],rules:{"ts/no-throw-literal":`off`}},{files:[`src/app.html`],rules:{"html/no-inline-styles":`off`,"html/no-non-scalable-viewport":`off`,"html/require-title":`off`}},{files:[w,C],rules:{"unicorn/filename-case":[`error`,{cases:{kebabCase:!0},checkDirectories:!1}]}}]}let K;async function Nt(e={}){let{isInEditor:t=!1,overrides:n={}}=e;return K??={...ge,rules:{...ge.rules,..._e.rules}},[{name:`kp/test/setup`,plugins:{test:K},settings:{vitest:{typecheck:!0}}},{files:[I],languageOptions:{globals:{...r.vitest}},name:`kp/test/rules`,rules:{...rt,...lt,"test/no-only-tests":t?`off`:`error`,"unicorn/consistent-function-scoping":`off`,...n}}]}async function Pt(e={}){let{overrides:t={}}=e,n=[E],[r,i]=await Promise.all([B(import(`eslint-plugin-toml`)),B(import(`toml-eslint-parser`))]);return[{name:`kp/toml/setup`,plugins:{toml:r}},{files:n,languageOptions:{parser:i},name:`kp/toml/rules`,rules:{...it,...t}}]}async function Ft(e={}){let{overrides:t={},typeAware:n={enabled:!0,ignores:[]}}=e;return[{...U,files:[be],languageOptions:J(n.enabled,!1),name:`kp/ts/rules`,rules:{...U.rules,...!n.enabled&&W,"jsdoc/require-param":`off`,"jsdoc/require-returns":`off`,...t}},{files:[`**/*.d.?([cm])ts`],name:`kp/ts/dts`,rules:{...ct}},n.enabled&&n.ignores.length>0?{files:n.ignores,languageOptions:J(!1,!1),name:`kp/ts/disable-type-aware`,rules:{...W}}:{}]}async function It(e={}){let{overrides:t={},typeAware:n={enabled:!0,ignores:[]}}=e;return[{...G,files:[xe],languageOptions:J(n.enabled,!0),name:`kp/tsx/rules`,rules:{...G.rules,...!n.enabled&&W,...t}},n.enabled&&n.ignores.length>0?{files:n.ignores,languageOptions:J(!1,!0),name:`kp/tsx/disable-type-aware`,rules:{...W}}:{}]}async function Lt(e={}){let{overrides:t={}}=e,n=[T],[r,i]=await Promise.all([B(import(`eslint-plugin-yml`)),B(import(`yaml-eslint-parser`))]);return[{name:`kp/yaml/setup`,plugins:{yaml:r}},{files:n,languageOptions:{parser:i},name:`kp/yaml/rules`,rules:{...dt,...t}}]}const Rt=[`name`,`languageOptions`,`linterOptions`,`processor`,`plugins`,`rules`,`settings`],zt={"@eslint-community/eslint-comments":`eslint-comments`,"@eslint-react":`react`,jsonc:`json`,"@html-eslint":`html`,"package-json":`json-package`,"@typescript-eslint":`ts`,"@stylistic-eslint":`stylistic`,"import-x":`import`,n:`node`,vitest:`test`,yml:`yaml`};async function q(e={},...t){let{astro:r=i(`astro`),gitignore:a=!0,react:o=i(`react`),svelte:s=i(`svelte`)}=e,{isInEditor:c}=e;c===void 0&&(c=V(),c&&console.log(`[@kitschpatrol/eslint-config] Detected running in editor, some rules are disabled.`));let l=[];if(a!==!1&&l.push(Bt(typeof a==`boolean`?{name:`kp/gitignore`,strict:!1}:{name:`kp/gitignore`,...a})),l.push(wt(e.ignores),[{linterOptions:{reportUnusedDisableDirectives:`error`}}],Tt({typeAware:{enabled:!0,ignores:[]},...Z(e,`js`),overrides:Y(e,`js`)}),Ot({typeAware:{enabled:!0,ignores:[]},...Z(e,`jsx`),overrides:Y(e,`jsx`)}),Ft({typeAware:{enabled:!0,ignores:[]},...Z(e,`ts`),overrides:Y(e,`ts`)}),It({typeAware:{enabled:!0,ignores:[]},...Z(e,`tsx`),overrides:Y(e,`tsx`)}),Nt({isInEditor:c,overrides:Y(e,`test`)}),Et({overrides:Y(e,`json`)}),Lt({overrides:Y(e,`yaml`)}),Pt({overrides:Y(e,`toml`)}),kt({overrides:Y(e,`md`),overridesEmbeddedScripts:X(e,`md`)}),At({overrides:Y(e,`mdx`),overridesEmbeddedScripts:X(e,`mdx`)}),Ct({overrides:Y(e,`html`),overridesEmbeddedScripts:X(e,`html`)})),o!==!1&&l.push(jt({overrides:Y(e,`react`)})),s!==!1&&l.push(Mt({overrides:Y(e,`svelte`)})),r!==!1&&l.push(bt({overrides:Y(e,`astro`),overridesEmbeddedScripts:X(e,`astro`)})),l.push(xt()),`files`in e)throw Error(`[@kitschpatrol/eslint-config] The first argument should not contain the "files" property as the options are supposed to be global. Place it in the second or later config instead.`);let u=Rt.reduce((t,n)=>(Object.hasOwn(e,n)&&(t[n]=e[n]),t),{});Object.keys(u).length>0&&l.push([u]);let d=new n;return d=d.append(...l,...t),d=d.renamePlugins(zt),d}async function Bt(e){return[(await B(import(`eslint-config-flat-gitignore`)))(e)]}function J(e=!0,t=!1){return{ecmaVersion:2023,globals:{...r.browser,...r.es2023,...r.nodeBuiltin},parser:o,parserOptions:{ecmaFeatures:{impliedStrict:!0,jsx:t},...e?{projectService:!0,tsconfigRootDir:process.cwd()}:{projectService:!1},ecmaVersion:2023,sourceType:`module`}}}function Y(e,t){let n=Z(e,t);return{...`overrides`in n&&n.overrides}}function X(e,t){let n=Z(e,t);return{...`overridesEmbeddedScripts`in n&&n.overridesEmbeddedScripts}}function Z(e,t){return typeof e[t]==`boolean`?{}:e[t]??{}}const Vt=/[.\/\\]/v;function Ht(e){return Vt.test(e)?e:`file.${e}`}let Q,$;async function Ut(){return Q??=await import(`eslint`),Q}async function Wt(e){$??=new Map;let t=JSON.stringify(e??{});if(!$.has(t)){let{ESLint:n}=await Ut(),r=new n({baseConfig:[...await q({isInEditor:!1,...e}),{languageOptions:{parserOptions:{projectService:{allowDefaultProject:[`*.ts`,`*.tsx`,`*.js`,`*.jsx`]}}}}],fix:!0,overrideConfigFile:!0});$.set(t,r)}return $.get(t)}async function Gt(e,t,n){let r=`file.ts`,i=n;typeof t==`string`?r=Ht(t):t!==void 0&&(i=t);let[a]=await(await Wt(i)).lintText(e,{filePath:r});return a?.output??e}async function Kt(n,r){let i=await e.readFile(n,`utf8`),[a]=await(await Wt(r)).lintText(i,{filePath:t.basename(n)});a?.output!==void 0&&await e.writeFile(n,a.output,`utf8`)}function qt(){Q=void 0,$=void 0}export{ke as GLOB_ALL_SRC,k as GLOB_ASTRO,A as GLOB_ASTRO_JS,j as GLOB_ASTRO_TS,Ce as GLOB_CSS,L as GLOB_EXCLUDE,Oe as GLOB_GRAPHQL,O as GLOB_HTML,ve as GLOB_JS,_ as GLOB_JSON,v as GLOB_JSON5,y as GLOB_JSONC,ye as GLOB_JSX,Te as GLOB_LESS,b as GLOB_MARKDOWN,M as GLOB_MARKDOWN_CODE,P as GLOB_MARKDOWN_HTML_CODE,x as GLOB_MDX,N as GLOB_MDX_CODE,F as GLOB_MDX_HTML_CODE,we as GLOB_POSTCSS,Ee as GLOB_SCSS,g as GLOB_SRC,h as GLOB_SRC_EXT,Se as GLOB_STYLE,S as GLOB_SVELTE,w as GLOB_SVELTE_JS,C as GLOB_SVELTE_TS,De as GLOB_SVG,I as GLOB_TESTS,E as GLOB_TOML,be as GLOB_TS,xe as GLOB_TSX,D as GLOB_XML,T as GLOB_YAML,bt as astro,qt as clearCache,ft as combine,q as default,q as eslintConfig,zt as defaultPluginRenaming,xt as disables,Gt as fix,Kt as fixFile,H as generatePerfectionistSortConfig,J as getLanguageOptions,Y as getOverrides,X as getOverridesEmbeddedScripts,Ct as html,wt as ignores,B as interopDefault,V as isInEditorEnv,pt as isInGitHooksOrLintStaged,Tt as js,Et as json,Ot as jsx,kt as md,At as mdx,jt as react,mt as renamePluginInConfigs,ht as renameRules,Z as resolveSubOptions,Mt as svelte,Nt as test,gt as toArray,Pt as toml,Ft as ts,It as tsx,Lt as yaml};
|
|
1
|
+
import{getTsconfig as e}from"get-tsconfig";import t from"node:fs/promises";import n from"node:path";import r from"node:process";import{FlatConfigComposer as i}from"eslint-flat-config-utils";import a from"globals";import{isPackageExists as o}from"local-pkg";import{fileURLToPath as s}from"node:url";import*as c from"@typescript-eslint/parser";import l from"@e18e/eslint-plugin";import u from"@eslint-community/eslint-plugin-eslint-comments";import d from"@stylistic/eslint-plugin";import f from"@typescript-eslint/eslint-plugin";import{createTypeScriptImportResolver as p}from"eslint-import-resolver-typescript";import m from"eslint-plugin-de-morgan";import*as h from"eslint-plugin-depend";import g from"eslint-plugin-import-x";import _ from"eslint-plugin-jsdoc";import*as v from"eslint-plugin-math";import y from"eslint-plugin-n";import ee from"eslint-plugin-perfectionist";import*as te from"eslint-plugin-regexp";import ne from"eslint-plugin-unicorn";import re from"@html-eslint/eslint-plugin";import ie from"@html-eslint/parser";import ae from"eslint-plugin-html";import oe from"eslint-plugin-jsonc";import se from"eslint-plugin-package-json";import{sortOrder as ce}from"sort-package-json";import le from"eslint-plugin-jsx-a11y";import*as b from"eslint-plugin-mdx";import ue from"@vitest/eslint-plugin";import de from"eslint-plugin-no-only-tests";const x=`?([cm])[jt]s?(x)`,S=`**/*.${x}`,C=`**/*.?([cm])js`,w=`**/*.?([cm])jsx`,T=`**/*.?([cm])ts`,E=`**/*.?([cm])tsx`,fe=`**/*.{c,le,sc}ss`,pe=`**/*.css`,me=`**/*.{p,post}css`,he=`**/*.less`,ge=`**/*.scss`,D=`**/*.json`,O=`**/*.json5`,k=`**/*.jsonc`,A=`**/*.md`,j=`**/*.mdx`,M=`**/*.svelte`,N=`**/*.svelte.ts`,P=`**/*.svelte.js`,F=`**/*.y?(a)ml`,_e=`**/*.toml`,ve=`**/*.xml`,ye=`**/*.svg`,I=`**/*.htm?(l)`,L=`**/*.astro`,R=`${L}/*.ts`,be=`**/*.{g,graph}ql`,xe=`${A}/${S}`,Se=`${j}/${S}`,Ce=`${A}/${I}`,we=`${j}/${I}`,Te=[`**/__tests__/**/*.${x}`,`**/*.spec.${x}`,`**/*.test.${x}`,`**/*.bench.${x}`,`**/*.benchmark.${x}`],Ee=[S,fe,D,O,A,j,M,P,N,F,ve,I],De=`**/node_modules,**/dist,**/package-lock.json,**/yarn.lock,**/pnpm-lock.yaml,**/bun.lockb,**/output,**/coverage,**/temp,**/.temp,**/tmp,**/.tmp,**/.history,**/.vitepress/cache,**/.nuxt,**/.next,**/.svelte-kit,**/.vercel,**/.changeset,**/.idea,**/.cache,**/.output,**/.vite-inspect,**/.yarn,**/vite.config.*.timestamp-*,**/CHANGELOG*.md,**/*.min.*,**/LICENSE*,**/__snapshots__,**/auto-import?(s).d.ts,**/components.d.ts,**/.agents,**/.claude,**/.worktrees,**/skills-lock.json`.split(`,`),Oe={"astro/missing-client-only-directive-value":`error`,"astro/no-conflict-set-directives":`error`,"astro/no-deprecated-astro-canonicalurl":`error`,"astro/no-deprecated-astro-fetchcontent":`error`,"astro/no-deprecated-astro-resolve":`error`,"astro/no-deprecated-getentrybyslug":`error`,"astro/no-exports-from-components":`error`,"astro/no-prerender-export-outside-pages":`error`,"astro/no-unused-define-vars-in-style":`error`},ke={"astro/jsx-a11y/alt-text":`error`,"astro/jsx-a11y/anchor-ambiguous-text":`off`,"astro/jsx-a11y/anchor-has-content":`error`,"astro/jsx-a11y/anchor-is-valid":`error`,"astro/jsx-a11y/aria-activedescendant-has-tabindex":`error`,"astro/jsx-a11y/aria-props":`error`,"astro/jsx-a11y/aria-proptypes":`error`,"astro/jsx-a11y/aria-role":`error`,"astro/jsx-a11y/aria-unsupported-elements":`error`,"astro/jsx-a11y/autocomplete-valid":`error`,"astro/jsx-a11y/click-events-have-key-events":`error`,"astro/jsx-a11y/control-has-associated-label":[`off`,{ignoreElements:[`audio`,`canvas`,`embed`,`input`,`textarea`,`tr`,`video`],ignoreRoles:[`grid`,`listbox`,`menu`,`menubar`,`radiogroup`,`row`,`tablist`,`toolbar`,`tree`,`treegrid`],includeRoles:[`alert`,`dialog`]}],"astro/jsx-a11y/heading-has-content":`error`,"astro/jsx-a11y/html-has-lang":`error`,"astro/jsx-a11y/iframe-has-title":`error`,"astro/jsx-a11y/img-redundant-alt":`error`,"astro/jsx-a11y/interactive-supports-focus":[`error`,{tabbable:[`button`,`checkbox`,`link`,`searchbox`,`spinbutton`,`switch`,`textbox`]}],"astro/jsx-a11y/label-has-associated-control":`error`,"astro/jsx-a11y/media-has-caption":`error`,"astro/jsx-a11y/mouse-events-have-key-events":`error`,"astro/jsx-a11y/no-access-key":`error`,"astro/jsx-a11y/no-autofocus":`error`,"astro/jsx-a11y/no-distracting-elements":`error`,"astro/jsx-a11y/no-interactive-element-to-noninteractive-role":[`error`,{tr:[`none`,`presentation`],canvas:[`img`]}],"astro/jsx-a11y/no-noninteractive-element-interactions":[`error`,{handlers:[`onClick`,`onError`,`onLoad`,`onMouseDown`,`onMouseUp`,`onKeyPress`,`onKeyDown`,`onKeyUp`],alert:[`onKeyUp`,`onKeyDown`,`onKeyPress`],body:[`onError`,`onLoad`],dialog:[`onKeyUp`,`onKeyDown`,`onKeyPress`],iframe:[`onError`,`onLoad`],img:[`onError`,`onLoad`]}],"astro/jsx-a11y/no-noninteractive-element-to-interactive-role":[`error`,{ul:[`listbox`,`menu`,`menubar`,`radiogroup`,`tablist`,`tree`,`treegrid`],ol:[`listbox`,`menu`,`menubar`,`radiogroup`,`tablist`,`tree`,`treegrid`],li:[`menuitem`,`menuitemradio`,`menuitemcheckbox`,`option`,`row`,`tab`,`treeitem`],table:[`grid`],td:[`gridcell`],fieldset:[`radiogroup`,`presentation`]}],"astro/jsx-a11y/no-noninteractive-tabindex":[`error`,{tags:[],roles:[`tabpanel`],allowExpressionValues:!0}],"astro/jsx-a11y/no-redundant-roles":`error`,"astro/jsx-a11y/no-static-element-interactions":[`error`,{allowExpressionValues:!0,handlers:[`onClick`,`onMouseDown`,`onMouseUp`,`onKeyPress`,`onKeyDown`,`onKeyUp`]}],"astro/jsx-a11y/role-has-required-aria-props":`error`,"astro/jsx-a11y/role-supports-aria-props":`error`,"astro/jsx-a11y/scope":`error`,"astro/jsx-a11y/tabindex-no-positive":`error`},Ae={"de-morgan/no-negated-conjunction":`error`,"de-morgan/no-negated-disjunction":`error`},je={"depend/ban-dependencies":`error`},Me={"eslint-comments/disable-enable-pair":`error`,"eslint-comments/no-aggregating-enable":`error`,"eslint-comments/no-duplicate-disable":`error`,"eslint-comments/no-unlimited-disable":`error`,"eslint-comments/no-unused-enable":`error`},Ne={"constructor-super":`error`,"for-direction":`error`,"getter-return":`error`,"no-async-promise-executor":`error`,"no-case-declarations":`error`,"no-class-assign":`error`,"no-compare-neg-zero":`error`,"no-cond-assign":`error`,"no-const-assign":`error`,"no-constant-binary-expression":`error`,"no-constant-condition":`error`,"no-control-regex":`error`,"no-debugger":`error`,"no-delete-var":`error`,"no-dupe-args":`error`,"no-dupe-class-members":`error`,"no-dupe-else-if":`error`,"no-dupe-keys":`error`,"no-duplicate-case":`error`,"no-empty":`error`,"no-empty-character-class":`error`,"no-empty-pattern":`error`,"no-empty-static-block":`error`,"no-ex-assign":`error`,"no-extra-boolean-cast":`error`,"no-fallthrough":`error`,"no-func-assign":`error`,"no-global-assign":`error`,"no-import-assign":`error`,"no-invalid-regexp":`error`,"no-irregular-whitespace":`error`,"no-loss-of-precision":`error`,"no-misleading-character-class":`error`,"no-new-native-nonconstructor":`error`,"no-nonoctal-decimal-escape":`error`,"no-obj-calls":`error`,"no-octal":`error`,"no-prototype-builtins":`error`,"no-redeclare":`error`,"no-regex-spaces":`error`,"no-self-assign":`error`,"no-setter-return":`error`,"no-shadow-restricted-names":`error`,"no-sparse-arrays":`error`,"no-this-before-super":`error`,"no-unassigned-vars":`error`,"no-undef":`error`,"no-unexpected-multiline":`error`,"no-unreachable":`error`,"no-unsafe-finally":`error`,"no-unsafe-negation":`error`,"no-unsafe-optional-chaining":`error`,"no-unused-labels":`error`,"no-unused-private-class-members":`error`,"no-unused-vars":`error`,"no-useless-assignment":`error`,"no-useless-backreference":`error`,"no-useless-catch":`error`,"no-useless-escape":`error`,"no-with":`error`,"preserve-caught-error":`error`,"require-yield":`error`,"use-isnan":`error`,"valid-typeof":`error`},Pe={"constructor-super":`off`,"getter-return":`off`,"no-class-assign":`off`,"no-const-assign":`off`,"no-dupe-args":`off`,"no-dupe-class-members":`off`,"no-dupe-keys":`off`,"no-func-assign":`off`,"no-import-assign":`off`,"no-new-native-nonconstructor":`off`,"no-new-symbol":`off`,"no-obj-calls":`off`,"no-redeclare":`off`,"no-setter-return":`off`,"no-this-before-super":`off`,"no-undef":`off`,"no-unreachable":`off`,"no-unsafe-negation":`off`,"no-var":`error`,"no-with":`off`,"prefer-const":`error`,"prefer-rest-params":`error`,"prefer-spread":`error`},Fe={"ts/await-thenable":`error`,"ts/ban-ts-comment":[`error`,{minimumDescriptionLength:10}],"no-array-constructor":`off`,"ts/no-array-constructor":`error`,"ts/no-array-delete":`error`,"ts/no-base-to-string":`error`,"ts/no-confusing-void-expression":`error`,"ts/no-deprecated":`error`,"ts/no-duplicate-enum-values":`error`,"ts/no-duplicate-type-constituents":`error`,"ts/no-dynamic-delete":`error`,"ts/no-empty-object-type":`error`,"ts/no-explicit-any":`error`,"ts/no-extra-non-null-assertion":`error`,"ts/no-extraneous-class":`error`,"ts/no-floating-promises":`error`,"ts/no-for-in-array":`error`,"no-implied-eval":`off`,"ts/no-implied-eval":`error`,"ts/no-invalid-void-type":`error`,"ts/no-meaningless-void-operator":`error`,"ts/no-misused-new":`error`,"ts/no-misused-promises":`error`,"ts/no-misused-spread":`error`,"ts/no-mixed-enums":`error`,"ts/no-namespace":`error`,"ts/no-non-null-asserted-nullish-coalescing":`error`,"ts/no-non-null-asserted-optional-chain":`error`,"ts/no-non-null-assertion":`error`,"ts/no-redundant-type-constituents":`error`,"ts/no-require-imports":`error`,"ts/no-this-alias":`error`,"ts/no-unnecessary-boolean-literal-compare":`error`,"ts/no-unnecessary-condition":`error`,"ts/no-unnecessary-template-expression":`error`,"ts/no-unnecessary-type-arguments":`error`,"ts/no-unnecessary-type-assertion":`error`,"ts/no-unnecessary-type-constraint":`error`,"ts/no-unnecessary-type-conversion":`error`,"ts/no-unnecessary-type-parameters":`error`,"ts/no-unsafe-argument":`error`,"ts/no-unsafe-assignment":`error`,"ts/no-unsafe-call":`error`,"ts/no-unsafe-declaration-merging":`error`,"ts/no-unsafe-enum-comparison":`error`,"ts/no-unsafe-function-type":`error`,"ts/no-unsafe-member-access":`error`,"ts/no-unsafe-return":`error`,"ts/no-unsafe-unary-minus":`error`,"no-unused-expressions":`off`,"ts/no-unused-expressions":`error`,"no-unused-vars":`off`,"ts/no-unused-vars":`error`,"no-useless-constructor":`off`,"ts/no-useless-constructor":`error`,"ts/no-useless-default-assignment":`error`,"ts/no-wrapper-object-types":`error`,"no-throw-literal":`off`,"ts/only-throw-error":`error`,"ts/prefer-as-const":`error`,"ts/prefer-literal-enum-member":`error`,"ts/prefer-namespace-keyword":`error`,"prefer-promise-reject-errors":`off`,"ts/prefer-promise-reject-errors":`error`,"ts/prefer-reduce-type-parameter":`error`,"ts/prefer-return-this-type":`error`,"ts/related-getter-setter-pairs":`error`,"require-await":`off`,"ts/require-await":`error`,"ts/restrict-plus-operands":[`error`,{allowAny:!1,allowBoolean:!1,allowNullish:!1,allowNumberAndString:!1,allowRegExp:!1}],"ts/restrict-template-expressions":[`error`,{allowAny:!1,allowBoolean:!1,allowNever:!1,allowNullish:!1,allowNumber:!1,allowRegExp:!1}],"ts/return-await":[`error`,`error-handling-correctness-only`],"ts/triple-slash-reference":`error`,"ts/unbound-method":`error`,"ts/unified-signatures":`error`,"ts/use-unknown-in-catch-callback-variable":`error`},Ie={"ts/adjacent-overload-signatures":`error`,"ts/array-type":`error`,"ts/ban-tslint-comment":`error`,"ts/class-literal-property-style":`error`,"ts/consistent-generic-constructors":`error`,"ts/consistent-indexed-object-style":`error`,"ts/consistent-type-assertions":`error`,"ts/consistent-type-definitions":`error`,"dot-notation":`off`,"ts/dot-notation":`error`,"ts/no-confusing-non-null-assertion":`error`,"no-empty-function":`off`,"ts/no-empty-function":`error`,"ts/no-inferrable-types":`error`,"ts/non-nullable-type-assertion-style":`error`,"ts/prefer-find":`error`,"ts/prefer-for-of":`error`,"ts/prefer-function-type":`error`,"ts/prefer-includes":`error`,"ts/prefer-nullish-coalescing":`error`,"ts/prefer-optional-chain":`error`,"ts/prefer-regexp-exec":`error`,"ts/prefer-string-starts-ends-with":`error`},Le={"ts/await-thenable":`off`,"ts/consistent-return":`off`,"ts/consistent-type-exports":`off`,"ts/dot-notation":`off`,"ts/naming-convention":`off`,"ts/no-array-delete":`off`,"ts/no-base-to-string":`off`,"ts/no-confusing-void-expression":`off`,"ts/no-deprecated":`off`,"ts/no-duplicate-type-constituents":`off`,"ts/no-floating-promises":`off`,"ts/no-for-in-array":`off`,"ts/no-implied-eval":`off`,"ts/no-meaningless-void-operator":`off`,"ts/no-misused-promises":`off`,"ts/no-misused-spread":`off`,"ts/no-mixed-enums":`off`,"ts/no-redundant-type-constituents":`off`,"ts/no-unnecessary-boolean-literal-compare":`off`,"ts/no-unnecessary-condition":`off`,"ts/no-unnecessary-qualifier":`off`,"ts/no-unnecessary-template-expression":`off`,"ts/no-unnecessary-type-arguments":`off`,"ts/no-unnecessary-type-assertion":`off`,"ts/no-unnecessary-type-conversion":`off`,"ts/no-unnecessary-type-parameters":`off`,"ts/no-unsafe-argument":`off`,"ts/no-unsafe-assignment":`off`,"ts/no-unsafe-call":`off`,"ts/no-unsafe-enum-comparison":`off`,"ts/no-unsafe-member-access":`off`,"ts/no-unsafe-return":`off`,"ts/no-unsafe-type-assertion":`off`,"ts/no-unsafe-unary-minus":`off`,"ts/no-useless-default-assignment":`off`,"ts/non-nullable-type-assertion-style":`off`,"ts/only-throw-error":`off`,"ts/prefer-destructuring":`off`,"ts/prefer-find":`off`,"ts/prefer-includes":`off`,"ts/prefer-nullish-coalescing":`off`,"ts/prefer-optional-chain":`off`,"ts/prefer-promise-reject-errors":`off`,"ts/prefer-readonly":`off`,"ts/prefer-readonly-parameter-types":`off`,"ts/prefer-reduce-type-parameter":`off`,"ts/prefer-regexp-exec":`off`,"ts/prefer-return-this-type":`off`,"ts/prefer-string-starts-ends-with":`off`,"ts/promise-function-async":`off`,"ts/related-getter-setter-pairs":`off`,"ts/require-array-sort-compare":`off`,"ts/require-await":`off`,"ts/restrict-plus-operands":`off`,"ts/restrict-template-expressions":`off`,"ts/return-await":`off`,"ts/strict-boolean-expressions":`off`,"ts/strict-void-return":`off`,"ts/switch-exhaustiveness-check":`off`,"ts/unbound-method":`off`,"ts/use-unknown-in-catch-callback-variable":`off`},Re={"import/no-unresolved":`error`,"import/named":`error`,"import/namespace":`error`,"import/default":`error`,"import/export":`error`,"import/no-named-as-default":`warn`,"import/no-named-as-default-member":`warn`,"import/no-duplicates":`warn`},ze={"import/named":`off`},Be={"jsdoc/check-access":`warn`,"jsdoc/check-alignment":`warn`,"jsdoc/check-examples":`off`,"jsdoc/check-indentation":`off`,"jsdoc/check-line-alignment":`off`,"jsdoc/check-param-names":`warn`,"jsdoc/check-property-names":`warn`,"jsdoc/check-syntax":`off`,"jsdoc/check-tag-names":`warn`,"jsdoc/check-template-names":`off`,"jsdoc/check-types":`warn`,"jsdoc/check-values":`warn`,"jsdoc/convert-to-jsdoc-comments":`off`,"jsdoc/empty-tags":`warn`,"jsdoc/escape-inline-tags":`warn`,"jsdoc/implements-on-classes":`warn`,"jsdoc/imports-as-dependencies":`off`,"jsdoc/informative-docs":`off`,"jsdoc/lines-before-block":`off`,"jsdoc/match-description":`off`,"jsdoc/match-name":`off`,"jsdoc/multiline-blocks":`warn`,"jsdoc/no-bad-blocks":`off`,"jsdoc/no-blank-block-descriptions":`off`,"jsdoc/no-blank-blocks":`off`,"jsdoc/no-defaults":`warn`,"jsdoc/no-missing-syntax":`off`,"jsdoc/no-multi-asterisks":`warn`,"jsdoc/no-restricted-syntax":`off`,"jsdoc/no-types":`off`,"jsdoc/no-undefined-types":`off`,"jsdoc/normalize-see-links":`off`,"jsdoc/prefer-import-tag":`off`,"jsdoc/reject-any-type":`warn`,"jsdoc/reject-function-type":`warn`,"jsdoc/require-asterisk-prefix":`off`,"jsdoc/require-description":`off`,"jsdoc/require-description-complete-sentence":`off`,"jsdoc/require-example":`off`,"jsdoc/require-file-overview":`off`,"jsdoc/require-hyphen-before-param-description":`off`,"jsdoc/require-jsdoc":`warn`,"jsdoc/require-next-description":`off`,"jsdoc/require-next-type":`warn`,"jsdoc/require-param":`warn`,"jsdoc/require-param-description":`warn`,"jsdoc/require-param-name":`warn`,"jsdoc/require-param-type":`warn`,"jsdoc/require-property":`warn`,"jsdoc/require-property-description":`warn`,"jsdoc/require-property-name":`warn`,"jsdoc/require-property-type":`warn`,"jsdoc/require-rejects":`off`,"jsdoc/require-returns":`warn`,"jsdoc/require-returns-check":`warn`,"jsdoc/require-returns-description":`warn`,"jsdoc/require-returns-type":`warn`,"jsdoc/require-tags":`off`,"jsdoc/require-template":`off`,"jsdoc/require-template-description":`off`,"jsdoc/require-throws":`off`,"jsdoc/require-throws-description":`off`,"jsdoc/require-throws-type":`warn`,"jsdoc/require-yields":`warn`,"jsdoc/require-yields-check":`warn`,"jsdoc/require-yields-description":`off`,"jsdoc/require-yields-type":`warn`,"jsdoc/sort-tags":`off`,"jsdoc/tag-lines":`warn`,"jsdoc/text-escaping":`off`,"jsdoc/ts-method-signature-style":`off`,"jsdoc/ts-no-empty-object-type":`warn`,"jsdoc/ts-no-unnecessary-template-expression":`off`,"jsdoc/ts-prefer-function-type":`off`,"jsdoc/type-formatting":`off`,"jsdoc/valid-types":`warn`},Ve={"jsdoc/check-access":`warn`,"jsdoc/check-alignment":`warn`,"jsdoc/check-examples":`off`,"jsdoc/check-indentation":`off`,"jsdoc/check-line-alignment":`off`,"jsdoc/check-param-names":`warn`,"jsdoc/check-property-names":`warn`,"jsdoc/check-syntax":`off`,"jsdoc/check-tag-names":[`warn`,{typed:!0}],"jsdoc/check-template-names":`off`,"jsdoc/check-types":`warn`,"jsdoc/check-values":`warn`,"jsdoc/convert-to-jsdoc-comments":`off`,"jsdoc/empty-tags":`warn`,"jsdoc/escape-inline-tags":`warn`,"jsdoc/implements-on-classes":`warn`,"jsdoc/imports-as-dependencies":`off`,"jsdoc/informative-docs":`off`,"jsdoc/lines-before-block":`off`,"jsdoc/match-description":`off`,"jsdoc/match-name":`off`,"jsdoc/multiline-blocks":`warn`,"jsdoc/no-bad-blocks":`off`,"jsdoc/no-blank-block-descriptions":`off`,"jsdoc/no-blank-blocks":`off`,"jsdoc/no-defaults":`warn`,"jsdoc/no-missing-syntax":`off`,"jsdoc/no-multi-asterisks":`warn`,"jsdoc/no-restricted-syntax":`off`,"jsdoc/no-types":`warn`,"jsdoc/no-undefined-types":`off`,"jsdoc/normalize-see-links":`off`,"jsdoc/prefer-import-tag":`off`,"jsdoc/reject-any-type":`warn`,"jsdoc/reject-function-type":`warn`,"jsdoc/require-asterisk-prefix":`off`,"jsdoc/require-description":`off`,"jsdoc/require-description-complete-sentence":`off`,"jsdoc/require-example":`off`,"jsdoc/require-file-overview":`off`,"jsdoc/require-hyphen-before-param-description":`off`,"jsdoc/require-jsdoc":`warn`,"jsdoc/require-next-description":`off`,"jsdoc/require-next-type":`warn`,"jsdoc/require-param":`warn`,"jsdoc/require-param-description":`warn`,"jsdoc/require-param-name":`warn`,"jsdoc/require-param-type":`off`,"jsdoc/require-property":`warn`,"jsdoc/require-property-description":`warn`,"jsdoc/require-property-name":`warn`,"jsdoc/require-property-type":`off`,"jsdoc/require-rejects":`off`,"jsdoc/require-returns":`warn`,"jsdoc/require-returns-check":`warn`,"jsdoc/require-returns-description":`warn`,"jsdoc/require-returns-type":`off`,"jsdoc/require-tags":`off`,"jsdoc/require-template":`off`,"jsdoc/require-template-description":`off`,"jsdoc/require-throws":`off`,"jsdoc/require-throws-description":`off`,"jsdoc/require-throws-type":`warn`,"jsdoc/require-yields":`warn`,"jsdoc/require-yields-check":`warn`,"jsdoc/require-yields-description":`off`,"jsdoc/require-yields-type":`warn`,"jsdoc/sort-tags":`off`,"jsdoc/tag-lines":`warn`,"jsdoc/text-escaping":`off`,"jsdoc/ts-method-signature-style":`off`,"jsdoc/ts-no-empty-object-type":`warn`,"jsdoc/ts-no-unnecessary-template-expression":`off`,"jsdoc/ts-prefer-function-type":`off`,"jsdoc/type-formatting":`off`,"jsdoc/valid-types":`warn`},He={strict:`off`,"no-unused-expressions":`off`,"no-unused-vars":`off`},Ue={"json/comma-dangle":`error`,"json/no-bigint-literals":`error`,"json/no-binary-expression":`error`,"json/no-binary-numeric-literals":`error`,"json/no-comments":`error`,"json/no-dupe-keys":`error`,"json/no-escape-sequence-in-identifier":`error`,"json/no-floating-decimal":`error`,"json/no-hexadecimal-numeric-literals":`error`,"json/no-infinity":`error`,"json/no-irregular-whitespace":`error`,"json/no-multi-str":`error`,"json/no-nan":`error`,"json/no-number-props":`error`,"json/no-numeric-separators":`error`,"json/no-octal-numeric-literals":`error`,"json/no-octal":`error`,"json/no-parenthesized":`error`,"json/no-plus-sign":`error`,"json/no-regexp-literals":`error`,"json/no-sparse-arrays":`error`,"json/no-template-literals":`error`,"json/no-undefined-value":`error`,"json/no-unicode-codepoint-escapes":`error`,"json/no-useless-escape":`error`,"json/quote-props":`error`,"json/quotes":`error`,"json/space-unary-ops":`error`,"json/valid-json-number":`error`,"json/vue-custom-block/no-parsing-error":`error`},We={"json/no-bigint-literals":`error`,"json/no-binary-expression":`error`,"json/no-binary-numeric-literals":`error`,"json/no-dupe-keys":`error`,"json/no-escape-sequence-in-identifier":`error`,"json/no-floating-decimal":`error`,"json/no-hexadecimal-numeric-literals":`error`,"json/no-infinity":`error`,"json/no-irregular-whitespace":`error`,"json/no-multi-str":`error`,"json/no-nan":`error`,"json/no-number-props":`error`,"json/no-numeric-separators":`error`,"json/no-octal-numeric-literals":`error`,"json/no-octal":`error`,"json/no-parenthesized":`error`,"json/no-plus-sign":`error`,"json/no-regexp-literals":`error`,"json/no-sparse-arrays":`error`,"json/no-template-literals":`error`,"json/no-undefined-value":`error`,"json/no-unicode-codepoint-escapes":`error`,"json/no-useless-escape":`error`,"json/quote-props":`error`,"json/quotes":`error`,"json/space-unary-ops":`error`,"json/valid-json-number":`error`,"json/vue-custom-block/no-parsing-error":`error`},Ge={"json/no-bigint-literals":`error`,"json/no-binary-expression":`error`,"json/no-binary-numeric-literals":`error`,"json/no-dupe-keys":`error`,"json/no-escape-sequence-in-identifier":`error`,"json/no-irregular-whitespace":`error`,"json/no-number-props":`error`,"json/no-numeric-separators":`error`,"json/no-octal-numeric-literals":`error`,"json/no-octal":`error`,"json/no-parenthesized":`error`,"json/no-regexp-literals":`error`,"json/no-sparse-arrays":`error`,"json/no-template-literals":`error`,"json/no-undefined-value":`error`,"json/no-unicode-codepoint-escapes":`error`,"json/no-useless-escape":`error`,"json/space-unary-ops":`error`,"json/vue-custom-block/no-parsing-error":`error`},Ke={"json/array-bracket-newline":`off`,"json/array-bracket-spacing":`off`,"json/array-element-newline":`off`,"json/comma-dangle":`off`,"json/comma-style":`off`,"json/indent":`off`,"json/key-spacing":`off`,"json/no-floating-decimal":`off`,"json/object-curly-newline":`off`,"json/object-curly-spacing":`off`,"json/object-property-newline":`off`,"json/quote-props":`off`,"json/quotes":`off`,"json/space-unary-ops":`off`},qe={"json-package/no-empty-fields":`error`,"json-package/no-redundant-files":`error`,"json-package/no-redundant-publishConfig":`error`,"json-package/require-attribution":`error`,"json-package/require-description":`error`,"json-package/require-exports":`error`,"json-package/require-files":`error`,"json-package/require-license":`error`,"json-package/require-name":`error`,"json-package/require-repository":`error`,"json-package/require-sideEffects":`error`,"json-package/require-type":`error`,"json-package/require-version":`error`,"json-package/repository-shorthand":`error`,"json-package/sort-collections":`error`,"json-package/specify-peers-locally":`error`,"json-package/unique-dependencies":`error`,"json-package/valid-author":`error`,"json-package/valid-bin":`error`,"json-package/valid-browser":`error`,"json-package/valid-bugs":`error`,"json-package/valid-bundleDependencies":`error`,"json-package/valid-config":`error`,"json-package/valid-contributors":`error`,"json-package/valid-cpu":`error`,"json-package/valid-description":`error`,"json-package/valid-dependencies":`error`,"json-package/valid-devDependencies":`error`,"json-package/valid-devEngines":`error`,"json-package/valid-directories":`error`,"json-package/valid-engines":`error`,"json-package/valid-exports":`error`,"json-package/valid-files":`error`,"json-package/valid-funding":`error`,"json-package/valid-gypfile":`error`,"json-package/valid-homepage":`error`,"json-package/valid-keywords":`error`,"json-package/valid-libc":`error`,"json-package/valid-license":`error`,"json-package/valid-main":`error`,"json-package/valid-man":`error`,"json-package/valid-module":`error`,"json-package/valid-name":`error`,"json-package/valid-optionalDependencies":`error`,"json-package/valid-os":`error`,"json-package/valid-packageManager":`error`,"json-package/valid-peerDependencies":`error`,"json-package/valid-peerDependenciesMeta":`error`,"json-package/valid-private":`error`,"json-package/valid-publishConfig":`error`,"json-package/valid-repository":`error`,"json-package/valid-scripts":`error`,"json-package/valid-sideEffects":`error`,"json-package/valid-type":`error`,"json-package/valid-version":`error`,"json-package/valid-workspaces":`error`,"json-package/valid-peerDependenciesMeta-relationship":`error`,"json-package/valid-repository-directory":`error`},Je={"jsx-a11y/alt-text":`error`,"jsx-a11y/anchor-ambiguous-text":`off`,"jsx-a11y/anchor-has-content":`error`,"jsx-a11y/anchor-is-valid":`error`,"jsx-a11y/aria-activedescendant-has-tabindex":`error`,"jsx-a11y/aria-props":`error`,"jsx-a11y/aria-proptypes":`error`,"jsx-a11y/aria-role":`error`,"jsx-a11y/aria-unsupported-elements":`error`,"jsx-a11y/autocomplete-valid":`error`,"jsx-a11y/click-events-have-key-events":`error`,"jsx-a11y/control-has-associated-label":[`off`,{ignoreElements:[`audio`,`canvas`,`embed`,`input`,`textarea`,`tr`,`video`],ignoreRoles:[`grid`,`listbox`,`menu`,`menubar`,`radiogroup`,`row`,`tablist`,`toolbar`,`tree`,`treegrid`],includeRoles:[`alert`,`dialog`]}],"jsx-a11y/heading-has-content":`error`,"jsx-a11y/html-has-lang":`error`,"jsx-a11y/iframe-has-title":`error`,"jsx-a11y/img-redundant-alt":`error`,"jsx-a11y/interactive-supports-focus":[`error`,{tabbable:[`button`,`checkbox`,`link`,`searchbox`,`spinbutton`,`switch`,`textbox`]}],"jsx-a11y/label-has-associated-control":`error`,"jsx-a11y/label-has-for":`off`,"jsx-a11y/media-has-caption":`error`,"jsx-a11y/mouse-events-have-key-events":`error`,"jsx-a11y/no-access-key":`error`,"jsx-a11y/no-autofocus":`error`,"jsx-a11y/no-distracting-elements":`error`,"jsx-a11y/no-interactive-element-to-noninteractive-role":[`error`,{tr:[`none`,`presentation`],canvas:[`img`]}],"jsx-a11y/no-noninteractive-element-interactions":[`error`,{handlers:[`onClick`,`onError`,`onLoad`,`onMouseDown`,`onMouseUp`,`onKeyPress`,`onKeyDown`,`onKeyUp`],alert:[`onKeyUp`,`onKeyDown`,`onKeyPress`],body:[`onError`,`onLoad`],dialog:[`onKeyUp`,`onKeyDown`,`onKeyPress`],iframe:[`onError`,`onLoad`],img:[`onError`,`onLoad`]}],"jsx-a11y/no-noninteractive-element-to-interactive-role":[`error`,{ul:[`listbox`,`menu`,`menubar`,`radiogroup`,`tablist`,`tree`,`treegrid`],ol:[`listbox`,`menu`,`menubar`,`radiogroup`,`tablist`,`tree`,`treegrid`],li:[`menuitem`,`menuitemradio`,`menuitemcheckbox`,`option`,`row`,`tab`,`treeitem`],table:[`grid`],td:[`gridcell`],fieldset:[`radiogroup`,`presentation`]}],"jsx-a11y/no-noninteractive-tabindex":[`error`,{tags:[],roles:[`tabpanel`],allowExpressionValues:!0}],"jsx-a11y/no-redundant-roles":`error`,"jsx-a11y/no-static-element-interactions":[`error`,{allowExpressionValues:!0,handlers:[`onClick`,`onMouseDown`,`onMouseUp`,`onKeyPress`,`onKeyDown`,`onKeyUp`]}],"jsx-a11y/role-has-required-aria-props":`error`,"jsx-a11y/role-supports-aria-props":`error`,"jsx-a11y/scope":`error`,"jsx-a11y/tabindex-no-positive":`error`},Ye={"math/no-static-infinity-calculations":`error`,"math/no-static-nan-calculations":`error`,"math/prefer-math-cbrt":`error`,"math/prefer-math-e":`error`,"math/prefer-math-hypot":`error`,"math/prefer-math-ln10":`error`,"math/prefer-math-ln2":`error`,"math/prefer-math-log10":`error`,"math/prefer-math-log10e":`error`,"math/prefer-math-log2":`error`,"math/prefer-math-log2e":`error`,"math/prefer-math-pi":`error`,"math/prefer-math-sqrt":`error`,"math/prefer-math-sqrt1-2":`error`,"math/prefer-math-sqrt2":`error`,"math/prefer-math-trunc":`error`,"math/prefer-number-epsilon":`error`,"math/prefer-number-is-finite":`error`,"math/prefer-number-is-integer":`error`,"math/prefer-number-is-nan":`error`,"math/prefer-number-is-safe-integer":`error`,"math/prefer-number-max-safe-integer":`error`,"math/prefer-number-max-value":`error`,"math/prefer-number-min-safe-integer":`error`,"math/prefer-number-min-value":`error`},Xe={"mdx/remark":`warn`,"no-unused-expressions":`error`},Ze={"eol-last":`off`,"no-undef":`off`,"no-unused-expressions":`off`,"no-unused-vars":`off`,"ts/no-unused-vars":`off`,"padded-blocks":`off`,strict:`off`,"unicode-bom":`off`},Qe={"node/no-deprecated-api":`error`,"node/no-exports-assign":`error`,"node/no-extraneous-import":`error`,"node/no-extraneous-require":`error`,"node/no-missing-import":`error`,"node/no-missing-require":`error`,"node/no-process-exit":`error`,"node/no-unpublished-import":`error`,"node/no-unpublished-require":`error`,"node/no-unsupported-features/es-builtins":`error`,"node/no-unsupported-features/es-syntax":[`error`,{ignores:[`modules`]}],"node/no-unsupported-features/node-builtins":`error`,"node/process-exit-as-throw":`error`,"node/hashbang":`error`},$e={"perfectionist/sort-variable-declarations":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-intersection-types":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-import-attributes":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-export-attributes":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-heritage-clauses":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-array-includes":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-named-imports":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-named-exports":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-object-types":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-union-types":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-switch-case":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-decorators":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-interfaces":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-jsx-props":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-modules":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-classes":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-imports":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-exports":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-objects":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-enums":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-sets":[`error`,{type:`natural`,order:`asc`}],"perfectionist/sort-maps":[`error`,{type:`natural`,order:`asc`}]},et={curly:0,"no-unexpected-multiline":0,"ts/lines-around-comment":0,"ts/quotes":0,"babel/quotes":0,"unicorn/template-indent":0,"vue/html-self-closing":0,"vue/max-len":0,"@babel/object-curly-spacing":`off`,"@babel/semi":`off`,"ts/block-spacing":`off`,"ts/brace-style":`off`,"ts/comma-dangle":`off`,"ts/comma-spacing":`off`,"ts/func-call-spacing":`off`,"ts/indent":`off`,"ts/key-spacing":`off`,"ts/keyword-spacing":`off`,"ts/member-delimiter-style":`off`,"ts/no-extra-parens":`off`,"ts/no-extra-semi":`off`,"ts/object-curly-spacing":`off`,"ts/semi":`off`,"ts/space-before-blocks":`off`,"ts/space-before-function-paren":`off`,"ts/space-infix-ops":`off`,"ts/type-annotation-spacing":`off`,"babel/object-curly-spacing":`off`,"babel/semi":`off`,"flowtype/boolean-style":`off`,"flowtype/delimiter-dangle":`off`,"flowtype/generic-spacing":`off`,"flowtype/object-type-curly-spacing":`off`,"flowtype/object-type-delimiter":`off`,"flowtype/quotes":`off`,"flowtype/semi":`off`,"flowtype/space-after-type-colon":`off`,"flowtype/space-before-generic-bracket":`off`,"flowtype/space-before-type-colon":`off`,"flowtype/union-intersection-spacing":`off`,"react/jsx-child-element-spacing":`off`,"react/jsx-closing-bracket-location":`off`,"react/jsx-closing-tag-location":`off`,"react/jsx-curly-newline":`off`,"react/jsx-curly-spacing":`off`,"react/jsx-equals-spacing":`off`,"react/jsx-first-prop-new-line":`off`,"react/jsx-indent":`off`,"react/jsx-indent-props":`off`,"react/jsx-max-props-per-line":`off`,"react/jsx-newline":`off`,"react/jsx-one-expression-per-line":`off`,"react/jsx-props-no-multi-spaces":`off`,"react/jsx-tag-spacing":`off`,"react/jsx-wrap-multilines":`off`,"standard/array-bracket-even-spacing":`off`,"standard/computed-property-even-spacing":`off`,"standard/object-curly-even-spacing":`off`,"unicorn/empty-brace-spaces":`off`,"unicorn/no-nested-ternary":`off`,"unicorn/number-literal-case":`off`,"vue/array-bracket-newline":`off`,"vue/array-bracket-spacing":`off`,"vue/array-element-newline":`off`,"vue/arrow-spacing":`off`,"vue/block-spacing":`off`,"vue/block-tag-newline":`off`,"vue/brace-style":`off`,"vue/comma-dangle":`off`,"vue/comma-spacing":`off`,"vue/comma-style":`off`,"vue/dot-location":`off`,"vue/func-call-spacing":`off`,"vue/html-closing-bracket-newline":`off`,"vue/html-closing-bracket-spacing":`off`,"vue/html-end-tags":`off`,"vue/html-indent":`off`,"vue/html-quotes":`off`,"vue/key-spacing":`off`,"vue/keyword-spacing":`off`,"vue/max-attributes-per-line":`off`,"vue/multiline-html-element-content-newline":`off`,"vue/multiline-ternary":`off`,"vue/mustache-interpolation-spacing":`off`,"vue/no-extra-parens":`off`,"vue/no-multi-spaces":`off`,"vue/no-spaces-around-equal-signs-in-attribute":`off`,"vue/object-curly-newline":`off`,"vue/object-curly-spacing":`off`,"vue/object-property-newline":`off`,"vue/operator-linebreak":`off`,"vue/quote-props":`off`,"vue/script-indent":`off`,"vue/singleline-html-element-content-newline":`off`,"vue/space-in-parens":`off`,"vue/space-infix-ops":`off`,"vue/space-unary-ops":`off`,"vue/template-curly-spacing":`off`,"space-unary-word-ops":`off`,"generator-star":`off`,"no-comma-dangle":`off`,"no-reserved-keys":`off`,"no-space-before-semi":`off`,"no-wrap-func":`off`,"space-after-function-name":`off`,"space-before-function-parentheses":`off`,"space-in-brackets":`off`,"no-arrow-condition":`off`,"space-after-keywords":`off`,"space-before-keywords":`off`,"space-return-throw-case":`off`,"no-spaced-func":`off`,"indent-legacy":`off`,"array-bracket-newline":`off`,"array-bracket-spacing":`off`,"array-element-newline":`off`,"arrow-parens":`off`,"arrow-spacing":`off`,"block-spacing":`off`,"brace-style":`off`,"comma-dangle":`off`,"comma-spacing":`off`,"comma-style":`off`,"computed-property-spacing":`off`,"dot-location":`off`,"eol-last":`off`,"func-call-spacing":`off`,"function-call-argument-newline":`off`,"function-paren-newline":`off`,"generator-star-spacing":`off`,"implicit-arrow-linebreak":`off`,indent:`off`,"jsx-quotes":`off`,"key-spacing":`off`,"keyword-spacing":`off`,"linebreak-style":`off`,"lines-around-comment":0,"max-len":0,"max-statements-per-line":`off`,"multiline-ternary":`off`,"new-parens":`off`,"newline-per-chained-call":`off`,"no-confusing-arrow":0,"no-extra-parens":`off`,"no-extra-semi":`off`,"no-floating-decimal":`off`,"no-mixed-operators":0,"no-mixed-spaces-and-tabs":`off`,"no-multi-spaces":`off`,"no-multiple-empty-lines":`off`,"no-tabs":0,"no-trailing-spaces":`off`,"no-whitespace-before-property":`off`,"nonblock-statement-body-position":`off`,"object-curly-newline":`off`,"object-curly-spacing":`off`,"object-property-newline":`off`,"one-var-declaration-per-line":`off`,"operator-linebreak":`off`,"padded-blocks":`off`,"quote-props":`off`,quotes:0,"rest-spread-spacing":`off`,semi:`off`,"semi-spacing":`off`,"semi-style":`off`,"space-before-blocks":`off`,"space-before-function-paren":`off`,"space-in-parens":`off`,"space-infix-ops":`off`,"space-unary-ops":`off`,"switch-colon-spacing":`off`,"template-curly-spacing":`off`,"template-tag-spacing":`off`,"wrap-iife":`off`,"wrap-regex":`off`,"yield-star-spacing":`off`,"react/jsx-space-before-closing":`off`},tt={"react/error-boundaries":`error`,"react/exhaustive-deps":`warn`,"react/no-access-state-in-setstate":`error`,"react/no-array-index-key":`warn`,"react/no-children-count":`warn`,"react/no-children-for-each":`warn`,"react/no-children-map":`warn`,"react/no-children-only":`warn`,"react/no-children-to-array":`warn`,"react/no-clone-element":`warn`,"react/no-component-will-mount":`error`,"react/no-component-will-receive-props":`error`,"react/no-component-will-update":`error`,"react/no-context-provider":`warn`,"react/no-create-ref":`error`,"react/no-direct-mutation-state":`error`,"react/no-forward-ref":`warn`,"react/no-missing-key":`error`,"react/no-nested-component-definitions":`error`,"react/no-nested-lazy-component-declarations":`error`,"react/no-set-state-in-component-did-mount":`warn`,"react/no-set-state-in-component-did-update":`warn`,"react/no-set-state-in-component-will-update":`warn`,"react/no-unnecessary-use-prefix":`warn`,"react/no-unsafe-component-will-mount":`warn`,"react/no-unsafe-component-will-receive-props":`warn`,"react/no-unsafe-component-will-update":`warn`,"react/no-unused-class-component-members":`warn`,"react/no-use-context":`warn`,"react/purity":`warn`,"react/rules-of-hooks":`error`,"react/set-state-in-effect":`warn`,"react/set-state-in-render":`error`,"react/static-components":`error`,"react/unsupported-syntax":`error`,"react/use-memo":`error`,"react/use-state":`warn`,"react/jsx-no-children-prop":`warn`,"react/jsx-no-children-prop-with-children":`error`,"react/jsx-no-comment-textnodes":`warn`,"react/jsx-no-key-after-spread":`error`,"react/jsx-no-leaked-dollar":`warn`,"react/jsx-no-leaked-semicolon":`warn`,"react/jsx-no-namespace":`error`,"react/rsc-function-definition":`error`,"react/dom-no-dangerously-set-innerhtml":`warn`,"react/dom-no-dangerously-set-innerhtml-with-children":`error`,"react/dom-no-find-dom-node":`error`,"react/dom-no-flush-sync":`error`,"react/dom-no-hydrate":`error`,"react/dom-no-render":`error`,"react/dom-no-render-return-value":`error`,"react/dom-no-script-url":`warn`,"react/dom-no-unsafe-iframe-sandbox":`warn`,"react/dom-no-use-form-state":`error`,"react/dom-no-void-elements-with-children":`error`,"react/web-api-no-leaked-event-listener":`warn`,"react/web-api-no-leaked-fetch":`warn`,"react/web-api-no-leaked-intersection-observer":`warn`,"react/web-api-no-leaked-interval":`warn`,"react/web-api-no-leaked-resize-observer":`warn`,"react/web-api-no-leaked-timeout":`warn`,"react/naming-convention-context-name":`warn`,"react/naming-convention-id-name":`warn`,"react/naming-convention-ref-name":`warn`,"react/no-leaked-conditional-rendering":`error`},z={"react/no-implicit-children":`off`,"react/no-implicit-key":`off`,"react/no-implicit-ref":`off`,"react/no-leaked-conditional-rendering":`off`,"react/no-unused-props":`off`},nt={"no-control-regex":`error`,"no-misleading-character-class":`error`,"no-regex-spaces":`error`,"prefer-regex-literals":`error`,"no-invalid-regexp":`off`,"no-useless-backreference":`off`,"no-empty-character-class":`off`,"regexp/confusing-quantifier":`warn`,"regexp/control-character-escape":`error`,"regexp/match-any":`error`,"regexp/negation":`error`,"regexp/no-contradiction-with-assertion":`error`,"regexp/no-dupe-characters-character-class":`error`,"regexp/no-dupe-disjunctions":`error`,"regexp/no-empty-alternative":`warn`,"regexp/no-empty-capturing-group":`error`,"regexp/no-empty-character-class":`error`,"regexp/no-empty-group":`error`,"regexp/no-empty-lookarounds-assertion":`error`,"regexp/no-empty-string-literal":`error`,"regexp/no-escape-backspace":`error`,"regexp/no-extra-lookaround-assertions":`error`,"regexp/no-invalid-regexp":`error`,"regexp/no-invisible-character":`error`,"regexp/no-lazy-ends":`warn`,"regexp/no-legacy-features":`error`,"regexp/no-misleading-capturing-group":`error`,"regexp/no-misleading-unicode-character":`error`,"regexp/no-missing-g-flag":`error`,"regexp/no-non-standard-flag":`error`,"regexp/no-obscure-range":`error`,"regexp/no-optional-assertion":`error`,"regexp/no-potentially-useless-backreference":`warn`,"regexp/no-super-linear-backtracking":`error`,"regexp/no-trivially-nested-assertion":`error`,"regexp/no-trivially-nested-quantifier":`error`,"regexp/no-unused-capturing-group":`error`,"regexp/no-useless-assertions":`error`,"regexp/no-useless-backreference":`error`,"regexp/no-useless-character-class":`error`,"regexp/no-useless-dollar-replacements":`error`,"regexp/no-useless-escape":`error`,"regexp/no-useless-flag":`warn`,"regexp/no-useless-lazy":`error`,"regexp/no-useless-non-capturing-group":`error`,"regexp/no-useless-quantifier":`error`,"regexp/no-useless-range":`error`,"regexp/no-useless-set-operand":`error`,"regexp/no-useless-string-literal":`error`,"regexp/no-useless-two-nums-quantifier":`error`,"regexp/no-zero-quantifier":`error`,"regexp/optimal-lookaround-quantifier":`warn`,"regexp/optimal-quantifier-concatenation":`error`,"regexp/prefer-character-class":`error`,"regexp/prefer-d":`error`,"regexp/prefer-plus-quantifier":`error`,"regexp/prefer-predefined-assertion":`error`,"regexp/prefer-question-quantifier":`error`,"regexp/prefer-range":`error`,"regexp/prefer-set-operation":`error`,"regexp/prefer-star-quantifier":`error`,"regexp/prefer-unicode-codepoint-escapes":`error`,"regexp/prefer-w":`error`,"regexp/simplify-set-operations":`error`,"regexp/sort-flags":`error`,"regexp/strict":`error`,"regexp/use-ignore-case":`error`},rt={"svelte/comment-directive":`error`,"svelte/infinite-reactive-loop":`error`,"svelte/no-at-debug-tags":`warn`,"svelte/no-at-html-tags":`error`,"svelte/no-dom-manipulating":`error`,"svelte/no-dupe-else-if-blocks":`error`,"svelte/no-dupe-on-directives":`error`,"svelte/no-dupe-style-properties":`error`,"svelte/no-dupe-use-directives":`error`,"svelte/no-export-load-in-svelte-module-in-kit-pages":`error`,"svelte/no-immutable-reactive-statements":`error`,"svelte/no-inner-declarations":`error`,"svelte/no-inspect":`warn`,"svelte/no-navigation-without-resolve":`error`,"svelte/no-not-function-handler":`error`,"svelte/no-object-in-text-mustaches":`error`,"svelte/no-raw-special-elements":`error`,"svelte/no-reactive-functions":`error`,"svelte/no-reactive-literals":`error`,"svelte/no-reactive-reassign":`error`,"svelte/no-shorthand-style-property-overrides":`error`,"svelte/no-store-async":`error`,"svelte/no-svelte-internal":`error`,"svelte/no-unknown-style-directive-property":`error`,"svelte/no-unnecessary-state-wrap":`error`,"svelte/no-unused-props":`error`,"svelte/no-unused-svelte-ignore":`error`,"svelte/no-useless-children-snippet":`error`,"svelte/no-useless-mustaches":`error`,"svelte/prefer-svelte-reactivity":`error`,"svelte/prefer-writable-derived":`error`,"svelte/require-each-key":`error`,"svelte/require-event-dispatcher-types":`error`,"svelte/require-store-reactive-access":`error`,"svelte/system":`error`,"svelte/valid-each-key":`error`,"svelte/valid-prop-names-in-kit-pages":`error`},it={"test/expect-expect":`error`,"test/no-commented-out-tests":`error`,"test/no-conditional-expect":`error`,"test/no-disabled-tests":`warn`,"test/no-focused-tests":`error`,"test/no-identical-title":`error`,"test/no-import-node-test":`error`,"test/no-interpolation-in-snapshots":`error`,"test/no-mocks-import":`error`,"test/no-standalone-expect":`error`,"test/no-unneeded-async-expect-function":`error`,"test/prefer-called-exactly-once-with":`error`,"test/require-local-test-context-for-concurrent-snapshots":`error`,"test/valid-describe-callback":`error`,"test/valid-expect":`error`,"test/valid-expect-in-promise":`error`,"test/valid-title":`error`},at={"toml/no-unreadable-number-separator":`error`,"toml/precision-of-fractional-seconds":`error`,"toml/precision-of-integer":`error`,"toml/vue-custom-block/no-parsing-error":`error`},ot={"logical-assignment-operators":`off`,"no-negated-condition":`off`,"no-nested-ternary":`off`,"no-process-exit":`off`,"unicorn/better-dom-traversing":`error`,"unicorn/catch-error-name":`error`,"unicorn/class-reference-in-static-methods":`error`,"unicorn/comment-content":`off`,"unicorn/consistent-assert":`error`,"unicorn/consistent-boolean-name":`error`,"unicorn/consistent-class-member-order":`error`,"unicorn/consistent-compound-words":`error`,"unicorn/consistent-conditional-object-spread":`error`,"unicorn/consistent-date-clone":`error`,"unicorn/consistent-destructuring":`off`,"unicorn/consistent-empty-array-spread":`error`,"unicorn/consistent-existence-index-check":`error`,"unicorn/consistent-export-decorator-position":`error`,"unicorn/consistent-function-scoping":`error`,"unicorn/consistent-function-style":`off`,"unicorn/consistent-json-file-read":`error`,"unicorn/consistent-optional-chaining":`error`,"unicorn/consistent-template-literal-escape":`error`,"unicorn/consistent-tuple-labels":`error`,"unicorn/custom-error-definition":`off`,"unicorn/default-export-style":`error`,"unicorn/dom-node-dataset":`error`,"unicorn/empty-brace-spaces":`error`,"unicorn/error-message":`error`,"unicorn/escape-case":`error`,"unicorn/expiring-todo-comments":`error`,"unicorn/explicit-length-check":`error`,"unicorn/explicit-timer-delay":`error`,"unicorn/filename-case":`error`,"unicorn/id-match":`off`,"unicorn/import-style":`error`,"unicorn/isolated-functions":`error`,"unicorn/logical-assignment-operators":`error`,"unicorn/max-nested-calls":`error`,"unicorn/name-replacements":`error`,"unicorn/new-for-builtins":`error`,"unicorn/no-abusive-eslint-disable":`error`,"unicorn/no-accessor-recursion":`error`,"unicorn/no-accidental-bitwise-operator":`error`,"unicorn/no-anonymous-default-export":`error`,"unicorn/no-array-callback-reference":`error`,"unicorn/no-array-concat-in-loop":`error`,"unicorn/no-array-fill-with-reference-type":`error`,"unicorn/no-array-from-fill":`error`,"unicorn/no-array-front-mutation":`off`,"unicorn/no-array-method-this-argument":`error`,"unicorn/no-array-reduce":`error`,"unicorn/no-array-reverse":`error`,"unicorn/no-array-sort":`error`,"unicorn/no-array-sort-for-min-max":`error`,"unicorn/no-array-splice":`error`,"unicorn/no-asterisk-prefix-in-documentation-comments":`off`,"unicorn/no-async-promise-finally":`error`,"unicorn/no-await-expression-member":`error`,"unicorn/no-await-in-promise-methods":`error`,"unicorn/no-blob-to-file":`error`,"unicorn/no-boolean-sort-comparator":`error`,"unicorn/no-break-in-nested-loop":`error`,"unicorn/no-canvas-to-image":`error`,"unicorn/no-chained-comparison":`error`,"unicorn/no-collection-bracket-access":`error`,"unicorn/no-computed-property-existence-check":`error`,"unicorn/no-confusing-array-splice":`error`,"unicorn/no-confusing-array-with":`error`,"unicorn/no-console-spaces":`error`,"unicorn/no-constant-zero-expression":`error`,"unicorn/no-declarations-before-early-exit":`error`,"unicorn/no-document-cookie":`error`,"unicorn/no-double-comparison":`error`,"unicorn/no-duplicate-if-branches":`error`,"unicorn/no-duplicate-logical-operands":`error`,"unicorn/no-duplicate-loops":`error`,"unicorn/no-duplicate-set-values":`error`,"unicorn/no-empty-file":`error`,"unicorn/no-error-property-assignment":`error`,"unicorn/no-exports-in-scripts":`error`,"unicorn/no-for-each":`error`,"unicorn/no-for-loop":`error`,"unicorn/no-global-object-property-assignment":`error`,"unicorn/no-immediate-mutation":`error`,"unicorn/no-impossible-length-comparison":`error`,"unicorn/no-incorrect-query-selector":`error`,"unicorn/no-incorrect-template-string-interpolation":`error`,"unicorn/no-instanceof-builtins":`error`,"unicorn/no-invalid-argument-count":`error`,"unicorn/no-invalid-character-comparison":`error`,"unicorn/no-invalid-fetch-options":`error`,"unicorn/no-invalid-file-input-accept":`off`,"unicorn/no-invalid-remove-event-listener":`error`,"unicorn/no-invalid-well-known-symbol-methods":`error`,"unicorn/no-keyword-prefix":`off`,"unicorn/no-late-current-target-access":`error`,"unicorn/no-late-event-control":`error`,"unicorn/no-lonely-if":`error`,"unicorn/no-loop-iterable-mutation":`error`,"unicorn/no-magic-array-flat-depth":`error`,"unicorn/no-manually-wrapped-comments":`off`,"unicorn/no-mismatched-map-key":`error`,"unicorn/no-misrefactored-assignment":`error`,"unicorn/no-missing-local-resource":`off`,"unicorn/no-multiple-promise-resolver-calls":`error`,"unicorn/no-named-default":`error`,"unicorn/no-negated-array-predicate":`error`,"unicorn/no-negated-comparison":`error`,"unicorn/no-negated-condition":`error`,"unicorn/no-negation-in-equality-check":`error`,"unicorn/no-nested-ternary":`error`,"unicorn/no-new-array":`error`,"unicorn/no-new-buffer":`error`,"unicorn/no-non-function-verb-prefix":`error`,"unicorn/no-nonstandard-builtin-properties":`error`,"unicorn/no-null":`error`,"unicorn/no-object-as-default-parameter":`error`,"unicorn/no-object-methods-with-collections":`error`,"unicorn/no-optional-chaining-on-undeclared-variable":`error`,"unicorn/no-process-exit":`error`,"unicorn/no-redundant-comparison":`error`,"unicorn/no-return-array-push":`error`,"unicorn/no-selector-as-dom-name":`error`,"unicorn/no-shorthand-property-overrides":`error`,"unicorn/no-single-promise-in-promise-methods":`error`,"unicorn/no-static-only-class":`error`,"unicorn/no-subtraction-comparison":`error`,"unicorn/no-thenable":`error`,"unicorn/no-this-assignment":`error`,"unicorn/no-this-outside-of-class":`error`,"unicorn/no-top-level-assignment-in-function":`error`,"unicorn/no-top-level-side-effects":`error`,"unicorn/no-transition-all":`error`,"unicorn/no-typeof-undefined":`error`,"unicorn/no-uncalled-method":`error`,"unicorn/no-undeclared-class-members":`error`,"unicorn/no-unnecessary-array-flat-depth":`error`,"unicorn/no-unnecessary-array-flat-map":`error`,"unicorn/no-unnecessary-array-splice-count":`error`,"unicorn/no-unnecessary-await":`error`,"unicorn/no-unnecessary-boolean-comparison":`error`,"unicorn/no-unnecessary-fetch-options":`error`,"unicorn/no-unnecessary-global-this":`error`,"unicorn/no-unnecessary-nested-ternary":`error`,"unicorn/no-unnecessary-polyfills":`error`,"unicorn/no-unnecessary-slice-end":`error`,"unicorn/no-unnecessary-splice":`error`,"unicorn/no-unnecessary-string-trim":`error`,"unicorn/no-unreadable-array-destructuring":`error`,"unicorn/no-unreadable-for-of-expression":`error`,"unicorn/no-unreadable-iife":`error`,"unicorn/no-unreadable-new-expression":`off`,"unicorn/no-unreadable-object-destructuring":`error`,"unicorn/no-unsafe-buffer-conversion":`error`,"unicorn/no-unsafe-dom-html":`off`,"unicorn/no-unsafe-promise-all-settled-values":`error`,"unicorn/no-unsafe-property-key":`error`,"unicorn/no-unsafe-string-replacement":`error`,"unicorn/no-unused-array-method-return":`error`,"unicorn/no-unused-properties":`off`,"unicorn/no-useless-boolean-cast":`error`,"unicorn/no-useless-coercion":`error`,"unicorn/no-useless-collection-argument":`error`,"unicorn/no-useless-compound-assignment":`error`,"unicorn/no-useless-concat":`error`,"unicorn/no-useless-continue":`error`,"unicorn/no-useless-delete-check":`error`,"unicorn/no-useless-else":`error`,"unicorn/no-useless-error-capture-stack-trace":`error`,"unicorn/no-useless-fallback-in-spread":`error`,"unicorn/no-useless-iterator-to-array":`error`,"unicorn/no-useless-length-check":`error`,"unicorn/no-useless-logical-operand":`error`,"unicorn/no-useless-override":`error`,"unicorn/no-useless-promise-resolve-reject":`error`,"unicorn/no-useless-re-export":`error`,"unicorn/no-useless-recursion":`error`,"unicorn/no-useless-spread":`error`,"unicorn/no-useless-switch-case":`error`,"unicorn/no-useless-template-literals":`error`,"unicorn/no-useless-undefined":`error`,"unicorn/no-xor-as-exponentiation":`error`,"unicorn/no-zero-fractions":`error`,"unicorn/number-literal-case":`error`,"unicorn/numeric-separators-style":`error`,"unicorn/operator-assignment":`error`,"unicorn/prefer-abort-signal-any":`error`,"unicorn/prefer-abort-signal-timeout":`error`,"unicorn/prefer-add-event-listener":`error`,"unicorn/prefer-add-event-listener-options":`error`,"unicorn/prefer-aggregate-error":`error`,"unicorn/prefer-array-find":`error`,"unicorn/prefer-array-flat":`error`,"unicorn/prefer-array-flat-map":`error`,"unicorn/prefer-array-from-async":`error`,"unicorn/prefer-array-from-map":`error`,"unicorn/prefer-array-from-range":`error`,"unicorn/prefer-array-index-of":`error`,"unicorn/prefer-array-iterable-methods":`error`,"unicorn/prefer-array-last-methods":`error`,"unicorn/prefer-array-slice":`error`,"unicorn/prefer-array-some":`error`,"unicorn/prefer-at":`error`,"unicorn/prefer-await":`error`,"unicorn/prefer-bigint-literals":`error`,"unicorn/prefer-blob-reading-methods":`error`,"unicorn/prefer-block-statement-over-iife":`error`,"unicorn/prefer-boolean-return":`error`,"unicorn/prefer-class-fields":`error`,"unicorn/prefer-classlist-toggle":`error`,"unicorn/prefer-code-point":`error`,"unicorn/prefer-continue":`error`,"unicorn/prefer-date-now":`error`,"unicorn/prefer-default-parameters":`error`,"unicorn/prefer-direct-iteration":`error`,"unicorn/prefer-dispose":`off`,"unicorn/prefer-dom-node-append":`error`,"unicorn/prefer-dom-node-html-methods":`error`,"unicorn/prefer-dom-node-remove":`error`,"unicorn/prefer-dom-node-replace-children":`error`,"unicorn/prefer-dom-node-text-content":`error`,"unicorn/prefer-early-return":`error`,"unicorn/prefer-else-if":`error`,"unicorn/prefer-error-is-error":`off`,"unicorn/prefer-event-target":`error`,"unicorn/prefer-explicit-viewport-units":`off`,"unicorn/prefer-export-from":`error`,"unicorn/prefer-flat-math-min-max":`error`,"unicorn/prefer-get-or-insert-computed":`error`,"unicorn/prefer-global-number-constants":`error`,"unicorn/prefer-global-this":`error`,"unicorn/prefer-group-by":`error`,"unicorn/prefer-has-check":`error`,"unicorn/prefer-hoisting-branch-code":`error`,"unicorn/prefer-https":`error`,"unicorn/prefer-identifier-import-export-specifiers":`error`,"unicorn/prefer-import-meta-properties":`off`,"unicorn/prefer-includes":`error`,"unicorn/prefer-includes-over-repeated-comparisons":`error`,"unicorn/prefer-iterable-in-constructor":`error`,"unicorn/prefer-iterator-concat":`off`,"unicorn/prefer-iterator-helpers":`error`,"unicorn/prefer-iterator-to-array":`error`,"unicorn/prefer-iterator-to-array-at-end":`error`,"unicorn/prefer-keyboard-event-key":`error`,"unicorn/prefer-location-assign":`error`,"unicorn/prefer-logical-operator-over-ternary":`error`,"unicorn/prefer-map-from-entries":`error`,"unicorn/prefer-math-abs":`error`,"unicorn/prefer-math-constants":`error`,"unicorn/prefer-math-min-max":`error`,"unicorn/prefer-math-trunc":`error`,"unicorn/prefer-minimal-ternary":`error`,"unicorn/prefer-modern-dom-apis":`error`,"unicorn/prefer-modern-math-apis":`error`,"unicorn/prefer-module":`error`,"unicorn/prefer-native-coercion-functions":`error`,"unicorn/prefer-negative-index":`error`,"unicorn/prefer-node-protocol":`error`,"unicorn/prefer-number-coercion":`error`,"unicorn/prefer-number-is-safe-integer":`error`,"unicorn/prefer-number-properties":`error`,"unicorn/prefer-object-define-properties":`error`,"unicorn/prefer-object-destructuring-defaults":`error`,"unicorn/prefer-object-from-entries":`error`,"unicorn/prefer-object-iterable-methods":`error`,"unicorn/prefer-observer-apis":`error`,"unicorn/prefer-optional-catch-binding":`error`,"unicorn/prefer-path2d":`error`,"unicorn/prefer-private-class-fields":`error`,"unicorn/prefer-promise-try":`error`,"unicorn/prefer-promise-with-resolvers":`error`,"unicorn/prefer-prototype-methods":`error`,"unicorn/prefer-query-selector":`error`,"unicorn/prefer-queue-microtask":`error`,"unicorn/prefer-reflect-apply":`error`,"unicorn/prefer-regexp-escape":`off`,"unicorn/prefer-regexp-test":`error`,"unicorn/prefer-response-static-json":`error`,"unicorn/prefer-scoped-selector":`error`,"unicorn/prefer-set-has":`error`,"unicorn/prefer-set-methods":`error`,"unicorn/prefer-set-size":`error`,"unicorn/prefer-short-arrow-method":`off`,"unicorn/prefer-simple-condition-first":`error`,"unicorn/prefer-simple-sort-comparator":`error`,"unicorn/prefer-simplified-conditions":`error`,"unicorn/prefer-single-array-predicate":`error`,"unicorn/prefer-single-call":`error`,"unicorn/prefer-single-object-destructuring":`error`,"unicorn/prefer-single-replace":`error`,"unicorn/prefer-smaller-scope":`error`,"unicorn/prefer-split-limit":`error`,"unicorn/prefer-spread":`error`,"unicorn/prefer-string-match-all":`error`,"unicorn/prefer-string-pad-start-end":`error`,"unicorn/prefer-string-raw":`error`,"unicorn/prefer-string-repeat":`error`,"unicorn/prefer-string-replace-all":`error`,"unicorn/prefer-string-slice":`error`,"unicorn/prefer-string-starts-ends-with":`error`,"unicorn/prefer-string-trim-start-end":`error`,"unicorn/prefer-structured-clone":`error`,"unicorn/prefer-switch":`error`,"unicorn/prefer-temporal":`off`,"unicorn/prefer-ternary":`error`,"unicorn/prefer-then-catch":`error`,"unicorn/prefer-toggle-attribute":`error`,"unicorn/prefer-top-level-await":`error`,"unicorn/prefer-type-error":`error`,"unicorn/prefer-type-literal-last":`error`,"unicorn/prefer-uint8array-base64":`off`,"unicorn/prefer-unary-minus":`error`,"unicorn/prefer-unicode-code-point-escapes":`error`,"unicorn/prefer-url-can-parse":`error`,"unicorn/prefer-url-href":`error`,"unicorn/prefer-url-search-parameters":`error`,"unicorn/prefer-while-loop-condition":`error`,"unicorn/relative-url-style":`error`,"unicorn/require-array-join-separator":`error`,"unicorn/require-array-sort-compare":`error`,"unicorn/require-css-escape":`error`,"unicorn/require-frontmatter-fields":`off`,"unicorn/require-module-attributes":`error`,"unicorn/require-module-specifiers":`error`,"unicorn/require-number-to-fixed-digits-argument":`error`,"unicorn/require-passive-events":`error`,"unicorn/require-post-message-target-origin":`off`,"unicorn/require-proxy-trap-boolean-return":`error`,"unicorn/string-content":`off`,"unicorn/switch-case-braces":`error`,"unicorn/switch-case-break-position":`error`,"unicorn/template-indent":`error`,"unicorn/text-encoding-identifier-case":`error`,"unicorn/throw-new-error":`error`,"unicorn/try-complexity":`off`},st={"logical-assignment-operators":`off`,"no-negated-condition":`off`,"no-nested-ternary":`off`,"no-process-exit":`off`,"function-call-argument-newline":`off`,"for-direction":`error`,"getter-return":`error`,"no-async-promise-executor":`error`,"no-await-in-loop":`error`,"no-compare-neg-zero":`error`,"no-cond-assign":`error`,"no-constant-condition":`error`,"no-control-regex":`error`,"no-debugger":`error`,"no-dupe-args":`error`,"no-dupe-else-if":`error`,"no-dupe-keys":`error`,"no-duplicate-case":`error`,"no-empty-character-class":`error`,"no-empty":[`error`,{allowEmptyCatch:!0}],"no-empty-static-block":`error`,"no-ex-assign":`error`,"no-extra-boolean-cast":`error`,"no-func-assign":`error`,"no-import-assign":`error`,"no-inner-declarations":`error`,"no-invalid-regexp":`error`,"no-irregular-whitespace":`error`,"no-loss-of-precision":`error`,"no-misleading-character-class":`error`,"no-obj-calls":`error`,"no-promise-executor-return":`error`,"no-prototype-builtins":`error`,"no-regex-spaces":`error`,"no-setter-return":`error`,"no-sparse-arrays":`error`,"no-template-curly-in-string":`error`,"no-unreachable":`error`,"no-unreachable-loop":`error`,"no-unsafe-finally":`error`,"no-unsafe-negation":[`error`,{enforceForOrderingRelations:!0}],"no-unsafe-optional-chaining":[`error`,{disallowArithmeticOperators:!0}],"no-unused-private-class-members":`error`,"no-useless-backreference":`error`,"use-isnan":`error`,"valid-typeof":[`error`,{requireStringLiterals:!1}],"no-unexpected-multiline":`error`,"accessor-pairs":[`error`,{enforceForClassMembers:!0}],"array-callback-return":[`error`,{allowImplicit:!0}],"block-scoped-var":`error`,complexity:`warn`,curly:`error`,"default-case":`error`,"default-case-last":`error`,"dot-notation":`error`,eqeqeq:`error`,"grouped-accessor-pairs":[`error`,`getBeforeSet`],"guard-for-in":`error`,"no-alert":`error`,"no-caller":`error`,"no-case-declarations":`error`,"no-constructor-return":`error`,"no-else-return":[`error`,{allowElseIf:!1}],"no-empty-pattern":`error`,"no-eq-null":`error`,"no-eval":`error`,"no-extend-native":`error`,"no-extra-bind":`error`,"no-extra-label":`error`,"no-fallthrough":`error`,"no-global-assign":`error`,"no-implicit-coercion":`error`,"no-implicit-globals":`error`,"no-implied-eval":`error`,"no-iterator":`error`,"no-labels":`error`,"no-lone-blocks":`error`,"no-multi-str":`error`,"no-new-func":`error`,"no-new-wrappers":`error`,"no-nonoctal-decimal-escape":`error`,"no-object-constructor":`error`,"no-new":`error`,"no-octal-escape":`error`,"no-octal":`error`,"no-proto":`error`,"no-redeclare":`error`,"no-return-assign":[`error`,`always`],"no-script-url":`error`,"no-self-assign":[`error`,{props:!0}],"no-self-compare":`error`,"no-sequences":[`error`,{allowInParentheses:!1}],"no-throw-literal":`error`,"no-unmodified-loop-condition":`error`,"no-unused-expressions":[`error`,{enforceForJSX:!0}],"no-unused-labels":`error`,"no-useless-call":`error`,"no-useless-catch":`error`,"no-useless-concat":`error`,"no-useless-escape":`error`,"no-useless-return":`error`,"no-void":`error`,"no-warning-comments":`warn`,"no-with":`error`,"prefer-promise-reject-errors":[`error`,{allowEmptyReject:!0}],"prefer-regex-literals":[`error`,{disallowRedundantWrapping:!0}],radix:`error`,"require-unicode-regexp":[`error`,{requireFlag:`v`}],yoda:`error`,"no-delete-var":`error`,"no-label-var":`error`,"no-shadow":[`error`,{ignoreOnInitialization:!0}],"no-shadow-restricted-names":`error`,"no-undef-init":`error`,"no-undef":[`error`,{typeof:!0}],"no-unused-vars":[`error`,{vars:`all`,varsIgnorePattern:`^_`,args:`after-used`,ignoreRestSiblings:!0,argsIgnorePattern:`^_`,caughtErrors:`all`,caughtErrorsIgnorePattern:`^_$`}],"no-restricted-imports":[`error`,`domain`,`freelist`,`smalloc`,`punycode`,`sys`,`querystring`,`colors`,{name:`mkdirp`,message:"Use `fs.mkdir` with `{recursive: true}` instead."},{name:`rimraf`,message:"Use `fs.rm` with `{recursive: true}` instead."},{name:`object-assign`,message:"Use `Object.assign()` or object spread instead."},{name:`xtend`,message:"Use `Object.assign()` or object spread instead."},{name:`extend-shallow`,message:"Use `Object.assign()` or object spread instead."},{name:`left-pad`,message:"Use `String.prototype.padStart()` instead."},{name:`pad-left`,message:"Use `String.prototype.padStart()` instead."},{name:`right-pad`,message:"Use `String.prototype.padEnd()` instead."},{name:`pad-right`,message:"Use `String.prototype.padEnd()` instead."},{name:`safe-buffer`,message:"Use `Buffer.alloc()` or `Buffer.from()` instead."},{name:`safer-buffer`,message:"Use `Buffer.alloc()` or `Buffer.from()` instead."},{name:`buffer-alloc`,message:"Use `Buffer.alloc()` instead."},{name:`array-flatten`,message:"Use `Array.prototype.flat()` instead."},{name:`concat-map`,message:"Use `Array.prototype.flatMap()` instead."},{name:`pad`,message:"Use `String.prototype.padStart()` / `String.prototype.padEnd()` instead."},{name:`co`,message:`Use async/await instead.`},{name:`inherits`,message:"Use `class extends` instead."},{name:`windows-1252`,message:"Use `TextDecoder` instead."},{name:`string_decoder`,message:"Use `TextDecoder` instead."},{name:`isarray`,message:"Use `Array.isArray()` instead."},{name:`object-keys`,message:"Use `Object.keys()` instead."},{name:`object.assign`,message:"Use `Object.assign()` or object spread instead."},{name:`globalthis`,message:"Use the `globalThis` global instead."},{name:`es6-promise`,message:"Use `Promise` instead."},{name:`abort-controller`,message:"Use the native `AbortController` instead."},{name:`queue-microtask`,message:"Use `queueMicrotask()` instead."},{name:`buffer-from`,message:"Use `Buffer.from()` instead."},{name:`has`,message:"Use `Object.hasOwn()` instead."},{name:`hasown`,message:"Use `Object.hasOwn()` instead."},{name:`repeat-string`,message:"Use `String.prototype.repeat()` instead."},{name:`path-parse`,message:"Use `path.parse()` instead."},{name:`node.extend`,message:"Use `Object.assign()` or object spread instead."},{name:`aggregate-error`,message:"Use the native `AggregateError` instead."},{name:`is-nan`,message:"Use `Number.isNaN()` instead."},{name:`is-finite`,message:"Use `Number.isFinite()` instead."},{name:`object-is`,message:"Use `Object.is()` instead."},{name:`defaults`,message:"Use `Object.assign()` instead."},{name:`whatwg-url`,message:"Use the native `URL` API instead."}],camelcase:[`error`,{properties:`always`}],"capitalized-comments":[`error`,`always`,{ignorePattern:String.raw`pragma|\w{1,40}[\-:]ignore|ignore|webpack\w+:|c8|v8|type-coverage:|const |let |var |import |export |function |class |if \(|for \(|while \(|switch \(`,ignoreInlineComments:!0,ignoreConsecutiveComments:!0}],"func-name-matching":[`error`,{considerPropertyDescriptor:!0}],"func-names":[`error`,`never`],"max-depth":`warn`,"max-lines":[`warn`,{max:1500,skipComments:!0}],"max-nested-callbacks":[`warn`,4],"max-params":[`warn`,{max:4}],"new-cap":[`error`,{newIsCap:!0,capIsNew:!0}],"no-array-constructor":`error`,"no-bitwise":`error`,"no-lonely-if":`error`,"no-multi-assign":`error`,"no-unneeded-ternary":`error`,"one-var":[`error`,`never`],"operator-assignment":[`error`,`always`],"prefer-exponentiation-operator":`error`,"prefer-object-spread":`error`,"unicode-bom":[`error`,`never`],"arrow-body-style":`error`,"constructor-super":`error`,"no-class-assign":`error`,"no-const-assign":`error`,"no-constant-binary-expression":[`error`,{checkRelationalComparisons:!0}],"no-dupe-class-members":`error`,"no-new-native-nonconstructor":`error`,"no-this-before-super":`error`,"no-unassigned-vars":`error`,"no-useless-computed-key":[`error`,{enforceForClassMembers:!0}],"no-useless-constructor":`error`,"no-useless-rename":`error`,"no-var":`error`,"object-shorthand":[`error`,`always`,{avoidExplicitReturnArrows:!0}],"prefer-arrow-callback":[`error`,{allowNamedFunctions:!0}],"prefer-const":[`error`,{destructuring:`all`}],"prefer-destructuring":[`error`,{VariableDeclarator:{array:!1,object:!0},AssignmentExpression:{array:!1,object:!1}},{enforceForRenamedProperties:!1}],"prefer-numeric-literals":`error`,"prefer-object-has-own":`error`,"prefer-rest-params":`error`,"prefer-spread":`error`,"preserve-caught-error":`error`,"require-yield":`error`,"symbol-description":`error`,"no-restricted-globals":[`error`,{globals:[`event`,{name:`atob`,message:`This API is deprecated. Use https://github.com/sindresorhus/uint8array-extras instead.`},{name:`btoa`,message:`This API is deprecated. Use https://github.com/sindresorhus/uint8array-extras instead.`}],checkGlobalObject:!0}]},ct={"ts/adjacent-overload-signatures":`error`,"ts/array-type":[`error`,{default:`array-simple`}],"ts/await-thenable":`error`,"ts/ban-ts-comment":[`error`,{"ts-expect-error":`allow-with-description`,minimumDescriptionLength:4}],"ts/ban-tslint-comment":`error`,"ts/no-restricted-types":[`error`,{types:{object:{message:"The `object` type is hard to use. Use `Record<string, unknown>` instead. See: https://github.com/typescript-eslint/typescript-eslint/pull/848",fixWith:`Record<string, unknown>`},null:{message:"Use `undefined` instead. See: https://github.com/sindresorhus/meta/issues/7",fixWith:`undefined`},Buffer:{message:`Use Uint8Array instead. See: https://sindresorhus.com/blog/goodbye-nodejs-buffer`,suggest:[`Uint8Array`]},"[]":"Don't use the empty array type `[]`. It only allows empty arrays. Use `SomeType[]` instead.","[[]]":"Don't use `[[]]`. It only allows an array with a single element which is an empty array. Use `SomeType[][]` instead.","[[[]]]":"Don't use `[[[]]]`. Use `SomeType[][][]` instead.","[[[[]]]]":`ur drunk 🤡`,"[[[[[]]]]]":`🦄💥`}}],"ts/class-literal-property-style":[`error`,`getters`],"ts/consistent-generic-constructors":[`error`,`constructor`],"ts/consistent-indexed-object-style":`error`,"brace-style":`off`,"comma-dangle":`off`,"comma-spacing":`off`,"default-param-last":`off`,"ts/default-param-last":`error`,"dot-notation":`off`,"ts/dot-notation":`error`,"ts/consistent-type-assertions":[`error`,{assertionStyle:`as`,objectLiteralTypeAssertions:`allow-as-parameter`}],"ts/consistent-type-definitions":[`error`,`type`],"ts/consistent-type-exports":[`error`,{fixMixedExportsWithInlineTypeSpecifier:!0}],"ts/consistent-type-imports":[`error`,{fixStyle:`inline-type-imports`}],"func-call-spacing":`off`,indent:`off`,"keyword-spacing":`off`,"lines-between-class-members":`off`,"ts/member-ordering":`off`,camelcase:`off`,"ts/naming-convention":[`error`,{selector:[`variable`,`function`,`classProperty`,`objectLiteralProperty`,`parameterProperty`,`classMethod`,`objectLiteralMethod`,`typeMethod`,`accessor`],format:[`strictCamelCase`],leadingUnderscore:`allowSingleOrDouble`,trailingUnderscore:`allow`},{selector:`variable`,modifiers:[`const`,`global`],format:[`strictCamelCase`,`UPPER_CASE`],leadingUnderscore:`allowSingleOrDouble`,trailingUnderscore:`allow`,filter:{regex:`[- ]`,match:!1}},{selector:`classProperty`,modifiers:[`static`,`readonly`],format:[`strictCamelCase`,`UPPER_CASE`],leadingUnderscore:`allowSingleOrDouble`,trailingUnderscore:`allow`,filter:{regex:`[- ]`,match:!1}},{selector:`typeLike`,format:[`StrictPascalCase`]},{selector:`interface`,filter:`^[A-HJ-Z]`,format:[`StrictPascalCase`]},{selector:`typeParameter`,filter:`^T$|^[A-Z][A-Za-z]+$`,format:[`StrictPascalCase`]},{selector:[`classProperty`,`objectLiteralProperty`,`parameterProperty`,`classMethod`,`objectLiteralMethod`,`typeMethod`,`accessor`],format:null,modifiers:[`requiresQuotes`]}],"ts/no-base-to-string":`error`,"no-array-constructor":`off`,"ts/no-array-constructor":`error`,"ts/no-array-delete":`error`,"no-dupe-class-members":`off`,"ts/no-dupe-class-members":`error`,"ts/no-confusing-void-expression":`error`,"ts/no-deprecated":`error`,"ts/no-duplicate-enum-values":`error`,"ts/no-duplicate-type-constituents":`error`,"ts/no-dynamic-delete":`error`,"no-empty-function":`off`,"ts/no-empty-function":`error`,"ts/no-empty-object-type":`error`,"ts/no-extra-non-null-assertion":`error`,"no-extra-parens":`off`,"no-extra-semi":`off`,"no-loop-func":`off`,"ts/no-loop-func":`error`,"ts/no-extraneous-class":[`error`,{allowConstructorOnly:!1,allowEmpty:!1,allowStaticOnly:!1,allowWithDecorator:!0}],"no-void":[`error`,{allowAsStatement:!0}],"ts/no-floating-promises":[`error`,{checkThenables:!0,ignoreVoid:!0,ignoreIIFE:!0}],"ts/no-for-in-array":`error`,"ts/no-inferrable-types":`error`,"ts/no-meaningless-void-operator":`error`,"ts/no-misused-new":`error`,"ts/no-misused-promises":[`error`,{checksConditionals:!0,checksVoidReturn:!1}],"ts/no-namespace":`error`,"ts/no-non-null-asserted-nullish-coalescing":`error`,"ts/no-non-null-asserted-optional-chain":`error`,"no-redeclare":`off`,"ts/no-redeclare":`error`,"no-shadow":`off`,"ts/no-shadow":[`error`,{ignoreOnInitialization:!0}],"no-restricted-imports":`off`,"ts/no-restricted-imports":[`error`,{paths:[`domain`,`freelist`,`smalloc`,`punycode`,`sys`,`querystring`,`colors`,{name:`mkdirp`,message:"Use `fs.mkdir` with `{recursive: true}` instead."},{name:`rimraf`,message:"Use `fs.rm` with `{recursive: true}` instead."},{name:`object-assign`,message:"Use `Object.assign()` or object spread instead."},{name:`xtend`,message:"Use `Object.assign()` or object spread instead."},{name:`extend-shallow`,message:"Use `Object.assign()` or object spread instead."},{name:`left-pad`,message:"Use `String.prototype.padStart()` instead."},{name:`pad-left`,message:"Use `String.prototype.padStart()` instead."},{name:`right-pad`,message:"Use `String.prototype.padEnd()` instead."},{name:`pad-right`,message:"Use `String.prototype.padEnd()` instead."},{name:`safe-buffer`,message:"Use `Buffer.alloc()` or `Buffer.from()` instead."},{name:`safer-buffer`,message:"Use `Buffer.alloc()` or `Buffer.from()` instead."},{name:`buffer-alloc`,message:"Use `Buffer.alloc()` instead."},{name:`array-flatten`,message:"Use `Array.prototype.flat()` instead."},{name:`concat-map`,message:"Use `Array.prototype.flatMap()` instead."},{name:`pad`,message:"Use `String.prototype.padStart()` / `String.prototype.padEnd()` instead."},{name:`co`,message:`Use async/await instead.`},{name:`inherits`,message:"Use `class extends` instead."},{name:`windows-1252`,message:"Use `TextDecoder` instead."},{name:`string_decoder`,message:"Use `TextDecoder` instead."},{name:`isarray`,message:"Use `Array.isArray()` instead."},{name:`object-keys`,message:"Use `Object.keys()` instead."},{name:`object.assign`,message:"Use `Object.assign()` or object spread instead."},{name:`globalthis`,message:"Use the `globalThis` global instead."},{name:`es6-promise`,message:"Use `Promise` instead."},{name:`abort-controller`,message:"Use the native `AbortController` instead."},{name:`queue-microtask`,message:"Use `queueMicrotask()` instead."},{name:`buffer-from`,message:"Use `Buffer.from()` instead."},{name:`has`,message:"Use `Object.hasOwn()` instead."},{name:`hasown`,message:"Use `Object.hasOwn()` instead."},{name:`repeat-string`,message:"Use `String.prototype.repeat()` instead."},{name:`path-parse`,message:"Use `path.parse()` instead."},{name:`node.extend`,message:"Use `Object.assign()` or object spread instead."},{name:`aggregate-error`,message:"Use the native `AggregateError` instead."},{name:`is-nan`,message:"Use `Number.isNaN()` instead."},{name:`is-finite`,message:"Use `Number.isFinite()` instead."},{name:`object-is`,message:"Use `Object.is()` instead."},{name:`defaults`,message:"Use `Object.assign()` instead."},{name:`whatwg-url`,message:"Use the native `URL` API instead."}]}],"ts/no-require-imports":`error`,"ts/no-this-alias":[`error`,{allowDestructuring:!0}],"no-throw-literal":`off`,"ts/only-throw-error":[`error`,{allowThrowingUnknown:!0,allowThrowingAny:!1}],"ts/no-unnecessary-boolean-literal-compare":`off`,"no-constant-condition":`error`,"ts/no-unnecessary-qualifier":`error`,"ts/no-unnecessary-type-arguments":`error`,"ts/no-unnecessary-type-assertion":`error`,"ts/no-unnecessary-type-constraint":`error`,"ts/no-unnecessary-type-conversion":`error`,"ts/no-unsafe-argument":`error`,"ts/no-unsafe-assignment":`error`,"ts/no-unsafe-call":`error`,"ts/no-unsafe-declaration-merging":`error`,"ts/no-unsafe-enum-comparison":`error`,"ts/no-unsafe-function-type":`error`,"ts/no-unsafe-member-access":`error`,"ts/no-unsafe-return":`error`,"ts/no-useless-empty-export":`error`,"no-unused-expressions":`off`,"no-unused-private-class-members":`off`,"ts/no-unused-private-class-members":`error`,"ts/no-unused-expressions":`error`,"no-unused-vars":`off`,"no-useless-constructor":`off`,"ts/no-useless-constructor":`error`,"ts/no-useless-default-assignment":`error`,"object-curly-spacing":`off`,"padding-line-between-statements":`off`,"ts/no-wrapper-object-types":`error`,"ts/non-nullable-type-assertion-style":`error`,"ts/prefer-as-const":`error`,"ts/prefer-find":`error`,"ts/prefer-for-of":`error`,"ts/prefer-function-type":`error`,"ts/prefer-includes":`error`,"ts/prefer-literal-enum-member":`error`,"ts/prefer-namespace-keyword":`error`,"ts/prefer-nullish-coalescing":[`error`,{ignoreTernaryTests:!1,ignoreConditionalTests:!1,ignoreMixedLogicalExpressions:!1}],"ts/prefer-optional-chain":`error`,"prefer-promise-reject-errors":`off`,"ts/prefer-promise-reject-errors":`error`,"ts/prefer-readonly":`error`,"ts/prefer-reduce-type-parameter":`error`,"ts/prefer-string-starts-ends-with":`error`,"ts/promise-function-async":`error`,"ts/related-getter-setter-pairs":`error`,quotes:`off`,"ts/restrict-plus-operands":[`error`,{allowAny:!1}],"ts/restrict-template-expressions":[`error`,{allowNumber:!0}],"unicorn/no-useless-template-literals":`off`,"ts/no-unnecessary-template-expression":`error`,"ts/return-await":`error`,"unicorn/require-array-sort-compare":`off`,"ts/require-array-sort-compare":[`error`,{ignoreStringArrays:!0}],"space-before-function-paren":`off`,"space-infix-ops":`off`,semi:`off`,"space-before-blocks":`off`,"ts/strict-boolean-expressions":[`error`,{allowNullableBoolean:!0,allowNullableObject:!0,allowNumber:!1,allowString:!1}],"ts/strict-void-return":`error`,"default-case":`off`,"ts/switch-exhaustiveness-check":[`error`,{allowDefaultCaseForExhaustiveSwitch:!1,requireDefaultForNonUnion:!0}],"ts/triple-slash-reference":[`error`,{path:`never`,types:`never`,lib:`never`}],"regexp/prefer-regexp-exec":`off`,"ts/prefer-regexp-exec":`error`,"ts/prefer-return-this-type":`error`,"ts/unified-signatures":[`error`,{ignoreDifferentlyNamedParameters:!0}],"ts/use-unknown-in-catch-callback-variable":`error`,"constructor-super":`off`,"getter-return":`off`,"no-class-assign":`off`,"no-const-assign":`off`,"no-dupe-args":`off`,"no-dupe-keys":`off`,"no-func-assign":`off`,"no-import-assign":`off`,"no-new-native-nonconstructor":`off`,"no-obj-calls":`off`,"no-setter-return":`off`,"no-this-before-super":`off`,"no-undef":`off`,"no-unreachable":`off`,"no-unsafe-negation":`off`,"no-with":`off`,"node/no-unsupported-features/es-syntax":`off`,"node/no-unsupported-features/es-builtins":`off`,"import/namespace":`off`,"import/named":`off`,"no-duplicate-imports":`off`,"unicorn/import-style":`off`,"import/extensions":`off`,"import/export":`off`,"import/default":`off`},lt={"ts/no-unused-vars":`off`},ut={"ts/no-unsafe-call":`off`,"ts/no-confusing-void-expression":`off`,"ts/no-unnecessary-type-arguments":`off`,"ts/no-unsafe-argument":`off`},dt={"ts/naming-convention":[`error`,{selector:[`variable`,`function`,`classProperty`,`objectLiteralProperty`,`parameterProperty`,`classMethod`,`objectLiteralMethod`,`typeMethod`,`accessor`],format:[`strictCamelCase`,`StrictPascalCase`],leadingUnderscore:`allowSingleOrDouble`,trailingUnderscore:`allow`},{selector:`variable`,modifiers:[`const`,`global`],format:[`strictCamelCase`,`StrictPascalCase`,`UPPER_CASE`],leadingUnderscore:`allowSingleOrDouble`,trailingUnderscore:`allow`,filter:{regex:`[- ]`,match:!1}},{selector:`classProperty`,modifiers:[`static`,`readonly`],format:[`strictCamelCase`,`StrictPascalCase`,`UPPER_CASE`],leadingUnderscore:`allowSingleOrDouble`,trailingUnderscore:`allow`,filter:{regex:`[- ]`,match:!1}},{selector:`typeLike`,format:[`StrictPascalCase`]},{selector:`interface`,filter:`^[A-HJ-Z]`,format:[`StrictPascalCase`]},{selector:`typeParameter`,filter:`^T$|^[A-Z][A-Za-z]+$`,format:[`StrictPascalCase`]},{selector:[`classProperty`,`objectLiteralProperty`,`parameterProperty`,`classMethod`,`objectLiteralMethod`,`typeMethod`,`accessor`],format:null,modifiers:[`requiresQuotes`]}]},ft={"yaml/no-empty-document":`error`,"yaml/no-empty-key":`error`,"yaml/no-empty-mapping-value":`error`,"yaml/no-empty-sequence-entry":`error`,"yaml/no-irregular-whitespace":`error`,"yaml/no-tab-indent":`error`,"yaml/vue-custom-block/no-parsing-error":`error`};async function pt(...e){return(await Promise.all(e)).flat()}async function B(e){let t=await e;return t.default??t}function mt(){return r.env.CI!==void 0&&r.env.CI!==``||ht()?!1:[r.env.VSCODE_PID,r.env.VSCODE_CWD,r.env.JETBRAINS_IDE,r.env.VIM,r.env.NVIM].some(Boolean)}function ht(){let e=r.env.npm_lifecycle_script?.startsWith(`lint-staged`);return[r.env.GIT_PARAMS,r.env.VSCODE_GIT_COMMAND,e].some(Boolean)}function gt(e,t){return e.map(e=>{let n={...e};return n.rules&&=_t(n.rules,t),n.plugins&&=Object.fromEntries(Object.entries(n.plugins).map(([e,n])=>[t[e]??e,n])),n})}function _t(e,t){return Object.fromEntries(Object.entries(e).map(([e,n])=>{for(let[r,i]of Object.entries(t))if(e.startsWith(`${r}/`))return[i+e.slice(r.length),n];return[e,n]}))}function vt(e){return Array.isArray(e)?e:[e]}function yt(e,t){switch(t){case`exact`:return`^${e}$`;case`leading`:return`^${e}.*$`;case`trailing`:return`^.*${e}$`}}function V(e,t=`exact`){let n=e.map(e=>({elementNamePattern:yt(e,t),groupName:e})),r=e.join(`|`),i;switch(t){case`exact`:i=`^(${r})$`;break;case`leading`:i=`^(${e.join(`|`)}).*$`;break;case`trailing`:i=`^.*(${e.join(`|`)})$`;break}return{customGroups:n,groups:e,useConfigurationIf:{allNamesMatchPattern:i}}}const bt={"jsdoc/check-tag-names":[`error`,{typed:!1}],"jsdoc/no-types":`off`},xt=String.raw`pragma|\w{1,40}[\-:]ignore|ignore|webpack\w+:|c8|v8|type-coverage:|const|let|var|import|export|function |class |if|for \(|while \(|switch \(|await|console\.log|cspell|else|eslint|macOS|prettier-ignore|svelte-ignore`,St=[V([`width`,`height`,`depth`]),V([`width`,`height`,`depth`],`leading`),V([`Width`,`Height`,`depth`],`trailing`),V([`min`,`max`]),V([`min`,`max`],`leading`),V([`Min`,`Max`],`trailing`),V([`a`,`b`]),V([`r`,`g`,`b`,`a`]),V([`R`,`G`,`B`,`A`],`trailing`),V([`red`,`green`,`blue`,`alpha`]),V([`Red`,`Green`,`Blue`,`Alpha`],`trailing`),V([`h`,`s`,`l`,`a`]),V([`H`,`S`,`L`,`A`],`trailing`),V([`hue`,`saturation`,`lightness`,`alpha`]),V([`Hue`,`Saturation`,`Lightness`,`Alpha`],`trailing`),V([`h`,`s`,`v`]),V([`hue`,`saturation`,`value`,`alpha`]),V([`Hue`,`Saturation`,`Value`,`Alpha`],`trailing`),V([`o`,`k`,`l`,`c`,`h`]),V([`x`,`y`,`z`,`w`]),V([`x`,`y`,`z`,`w`],`leading`),V([`X`,`Y`,`Z`,`W`],`trailing`),V([`x1`,`y1`,`x2`,`y2`,`z1`,`z2`]),V([`x1`,`y1`,`x2`,`y2`,`z1`,`z2`],`leading`),V([`X1`,`Y1`,`X2`,`Y2`,`Z1`,`Z2`],`trailing`),V([`open`,`close`]),V([`open`,`close`],`leading`),V([`Open`,`Close`],`trailing`),V([`start`,`end`]),V([`start`,`end`],`leading`),V([`Start`,`End`],`trailing`),V([`pre`,`post`]),V([`pre`,`post`],`leading`),V([`Pre`,`post`],`trailing`),V([`name`,`command`,`arguments`,`logUpload`,`schedule`,`update`])],H={plugins:{"de-morgan":m,depend:h,e18e:l,"eslint-comments":u,import:g,jsdoc:_,math:v,node:y,perfectionist:ee,regexp:te,stylistic:d,ts:f,unicorn:ne},rules:{...Ne,...Pe,...Fe,...Ie,...Qe,...ot,...st,...ct,...Re,...ze,...$e,...Be,...Ve,...Me,...nt,...Ae,...je,...Ye,"capitalized-comments":[`error`,`always`,{ignoreConsecutiveComments:!0,ignoreInlineComments:!0,ignorePattern:xt}],"e18e/prefer-array-fill":`error`,"e18e/prefer-array-from-map":`error`,"e18e/prefer-array-to-reversed":`error`,"e18e/prefer-array-to-sorted":`error`,"e18e/prefer-array-to-spliced":`error`,"e18e/prefer-static-regex":`error`,"e18e/prefer-timer-args":`error`,"e18e/prefer-url-canparse":`error`,"eslint-comments/disable-enable-pair":[`error`,{allowWholeFile:!0}],"import/consistent-type-specifier-style":[`error`,`prefer-top-level`],"import/default":`off`,"import/no-duplicates":[`error`,{considerQueryString:!0}],"import/no-named-as-default-member":`off`,"import/no-unresolved":[`error`,{ignore:[`^astro:`,`^@astrojs`,`^virtual:`,`^~aphex/`,`^~photos/`]}],"import/order":`off`,"jsdoc/check-tag-names":[`error`,{definedTags:[`public`]}],"jsdoc/require-description":[`error`,{descriptionStyle:`body`}],"jsdoc/require-jsdoc":[`error`,{publicOnly:!0}],"jsdoc/tag-lines":`off`,"max-params":[`warn`,{max:8}],"new-cap":[`error`,{capIsNew:!0,capIsNewExceptionPattern:String.raw`^Intl\..`,newIsCap:!0}],"no-await-in-loop":`off`,"no-else-return":`off`,"no-restricted-syntax":[`error`,{message:"Use a top-level `export type { … }` statement instead of an inline type specifier.",selector:`ExportSpecifier[exportKind="type"]`}],"no-unreachable":`warn`,"no-useless-concat":`off`,"no-warning-comments":`off`,"node/hashbang":`off`,"node/no-extraneous-import":`off`,"node/no-missing-import":`off`,"node/no-process-exit":`off`,"node/no-unpublished-import":`off`,"node/no-unsupported-features/node-builtins":`error`,"operator-assignment":`off`,"perfectionist/sort-imports":[`error`,{internalPattern:[`^~/.+`,`^@/.+`,String.raw`^\$.+`],newlinesBetween:0,partitionByComment:{block:!1,line:!0}}],"perfectionist/sort-modules":`off`,"perfectionist/sort-object-types":[`error`,...St,{newlinesBetween:0,order:`asc`,type:`natural`}],"perfectionist/sort-objects":[`error`,...St,{newlinesBetween:0,order:`asc`,type:`natural`}],"sort-imports":`off`,"stylistic/padding-line-between-statements":[`error`,{blankLine:`always`,next:`*`,prev:`block-like`}],"ts/adjacent-overload-signatures":`off`,"ts/consistent-type-exports":[`error`,{fixMixedExportsWithInlineTypeSpecifier:!1}],"ts/consistent-type-imports":[`error`,{fixStyle:`separate-type-imports`}],"ts/member-ordering":`off`,"ts/naming-convention":[`error`,{format:[`camelCase`],selector:`default`},{format:null,leadingUnderscore:`require`,modifiers:[`unused`],selector:`function`},{format:null,leadingUnderscore:`require`,modifiers:[`unused`],selector:`parameter`},{format:null,leadingUnderscore:`require`,modifiers:[`unused`],selector:`variable`},{format:null,leadingUnderscore:`require`,modifiers:[`unused`],selector:`variableLike`},{format:null,modifiers:[`requiresQuotes`],selector:`default`},{format:[`StrictPascalCase`],selector:`typeLike`},{format:[`camelCase`],leadingUnderscore:`allow`,selector:`variableLike`,trailingUnderscore:`allow`},{format:[`camelCase`,`StrictPascalCase`],selector:`import`},{format:[`camelCase`,`StrictPascalCase`],modifiers:[`destructured`],selector:`variable`},{format:[`UPPER_CASE`,`camelCase`],modifiers:[`const`],selector:`variable`}],"ts/no-import-type-side-effects":`error`,"ts/no-non-null-assertion":`off`,"ts/no-restricted-types":[`error`,{types:{"[[[[[]]]]]":"Don't use `[[[[[]]]]]`. Use `SomeType[][][][][]` instead.","[[[[]]]]":"Don't use `[[[[]]]]`. Use `SomeType[][][][]` instead.","[[[]]]":"Don't use `[[[]]]`. Use `SomeType[][][]` instead.","[[]]":"Don't use `[[]]`. It only allows an array with a single element which is an empty array. Use `SomeType[][]` instead.","[]":"Don't use the empty array type `[]`. It only allows empty arrays. Use `SomeType[]` instead.",Buffer:{message:`Use Uint8Array instead. See: https://sindresorhus.com/blog/goodbye-nodejs-buffer`,suggest:[`Uint8Array`]},null:{message:"Use `undefined` instead. See: https://github.com/sindresorhus/meta/issues/7",suggest:[`undefined`]},object:{message:"The `object` type is hard to use. Use `Record<string, unknown>` instead. See: https://github.com/typescript-eslint/typescript-eslint/pull/848",suggest:[`Record<string, unknown>`]}}}],"ts/no-unused-vars":[`error`,{args:`after-used`,argsIgnorePattern:`^_`,caughtErrors:`all`,caughtErrorsIgnorePattern:`^_$`,destructuredArrayIgnorePattern:`^_`,ignoreRestSiblings:!0,vars:`all`,varsIgnorePattern:`^_`}],"ts/sort-type-constituents":`off`,"unicorn/consistent-boolean-name":`off`,"unicorn/consistent-class-member-order":`off`,"unicorn/filename-case":[`error`,{checkDirectories:!1}],"unicorn/import-style":`off`,"unicorn/max-nested-calls":`off`,"unicorn/name-replacements":[`error`,{replacements:{acc:!1,arg:!1,args:!1,db:!1,dev:!1,doc:!1,docs:!1,env:!1,fn:!1,i:!1,j:!1,lib:!1,param:!1,params:!1,pkg:!1,prop:!1,props:!1,ref:!1,refs:!1,sep:!1,src:!1,temp:!1,util:!1,utils:!1}}],"unicorn/no-top-level-assignment-in-function":`off`,"unicorn/prefer-math-trunc":`off`,"unicorn/prefer-modern-math-apis":`off`,"unicorn/prefer-number-is-safe-integer":`off`,"unicorn/prefer-number-properties":`off`,"unicorn/prefer-type-literal-last":`off`},settings:{"import-x/extensions":[`.ts`,`.tsx`,`.cts`,`.mts`,`.js`,`.jsx`,`.cjs`,`.mjs`],"import-x/external-module-folders":[`node_modules`,`node_modules/@types`],"import-x/parsers":{"@typescript-eslint/parser":[`.ts`,`.tsx`,`.cts`,`.mts`]},"import-x/resolver-next":[p({alwaysTryTypes:!0,noWarnOnMultipleProjects:!0,project:[`packages/*/tsconfig.json`,`<root>/tsconfig.json`]})]}},U={...Le,...bt};async function Ct(e={}){let{overrides:t={},overridesEmbeddedScripts:n={},tsconfigRootDirectory:r}=e,{enabled:i=!0,ignores:o=[]}=e.typeAware??{},[s,l]=await Promise.all([B(import(`eslint-plugin-astro`)),B(import(`astro-eslint-parser`))]);return[{name:`kp/astro/setup`,plugins:{astro:s}},{...H,files:[L],languageOptions:{globals:{...a.node,...s.environments.astro.globals},parser:l,parserOptions:{extraFileExtensions:[`.astro`],parser:c,...i?{project:!0,projectService:void 0,...r!==void 0&&{tsconfigRootDir:r}}:{project:void 0,projectService:!1}},sourceType:`module`},name:`kp/astro/component`,processor:`astro/client-side-ts`,rules:{...H.rules,...!i&&U,"perfectionist/sort-intersection-types":[`error`,{groups:[`named`,`union`,`intersection`,`conditional`,`function`,`import`,`keyword`,`operator`,`literal`,`tuple`,`object`]}]}},{files:[L],name:`kp/astro/rules`,rules:{...Oe,...ke,"unicorn/filename-case":[`error`,{cases:{kebabCase:!0,pascalCase:!0},checkDirectories:!1,ignore:[String.raw`^\[slug\]\.astro$`]}],...t}},i&&o.length>0?{files:o,languageOptions:{parserOptions:{project:void 0,projectService:!1}},name:`kp/astro/disable-type-aware`,rules:{...U}}:{},{...H,files:[R],languageOptions:{ecmaVersion:`latest`,globals:{...a.browser},parser:c,parserOptions:{project:null,projectService:!1},sourceType:`module`},name:`kp/astro/script-ts`,rules:{...H.rules,...U,"unicorn/filename-case":`off`,...n}}]}async function wt(){return[{files:[`**/stylelint.config.js`,`**/stylelint.config.ts`],name:`kp/disables/stylelint-config`,rules:{"unicorn/no-null":`off`}},{name:`kp/disables/prettier`,rules:{...et,curly:`error`}}]}const Tt={"html/require-lang":`error`,"html/require-img-alt":`error`,"html/require-doctype":`error`,"html/require-title":`error`,"html/no-multiple-h1":`error`,"html/no-extra-spacing-tags":`error`,"html/attrs-newline":`error`,"html/element-newline":[`error`,{inline:[`$inline`]}],"html/no-duplicate-id":`error`,"html/indent":`error`,"html/require-li-container":`error`,"html/quotes":`error`,"html/no-obsolete-tags":`error`,"html/no-obsolete-attrs":`error`,"html/require-closing-tags":`error`,"html/no-duplicate-attrs":`error`,"html/use-baseline":`error`,"html/no-duplicate-in-head":`error`};async function Et(e={}){let{overrides:t={},overridesEmbeddedScripts:n={}}=e,r=[I];return[{files:r,name:`kp/html-script`,plugins:{"html-script":ae},rules:{...n}},{files:r,languageOptions:{parser:ie},name:`kp/html/setup`,plugins:{html:re}},{files:[I,S],name:`kp/html`,plugins:{html:re},rules:{...Tt,"html/attrs-newline":`off`,"html/element-newline":`off`,"html/indent":`off`,"html/no-abstract-roles":`error`,"html/no-accesskey-attrs":`error`,"html/no-aria-hidden-body":`error`,"html/no-duplicate-attrs":`error`,"html/no-duplicate-id":`error`,"html/no-extra-spacing-tags":`off`,"html/no-inline-styles":`error`,"html/no-multiple-h1":`error`,"html/no-non-scalable-viewport":`error`,"html/no-obsolete-tags":`error`,"html/no-positive-tabindex":`error`,"html/no-restricted-attr-values":`error`,"html/no-restricted-attrs":`error`,"html/no-script-style-type":`error`,"html/no-skip-heading-levels":`error`,"html/no-target-blank":`error`,"html/quotes":`off`,"html/require-attrs":`error`,"html/require-button-type":`error`,"html/require-closing-tags":`off`,"html/require-doctype":`error`,"html/require-frame-title":`error`,"html/require-img-alt":`error`,"html/require-lang":`error`,"html/require-li-container":`error`,"html/require-meta-charset":`error`,"html/require-meta-viewport":`error`,"html/require-title":`error`,...t},settings:{html:{templateLiterals:{comments:[String.raw`^\s*html\s*$`],tags:[`^html$`]}}}},{files:[Ce,we],name:`kp/html/markdown-code-blocks`,rules:{"html/no-multiple-h1":`off`,"html/require-doctype":`off`,"html/require-lang":`off`,"html/require-meta-charset":`off`,"html/require-meta-viewport":`off`,"html/require-title":`off`}}]}async function Dt(e=[]){return[{ignores:[...De,...e],name:`kp/ignores`}]}async function Ot(e={}){let{overrides:t={},tsconfigRootDirectory:n}=e,{enabled:r=!0,ignores:i=[]}=e.typeAware??{};return[{...H,files:[C],languageOptions:q(r,!1,n),name:`kp/js/rules`,rules:{...H.rules,"jsdoc/check-tag-names":`off`,"jsdoc/no-types":`off`,...!r&&U,...t}},{files:[`**/*.cjs`],name:`kp/js/cjs`,rules:{"ts/no-require-imports":`off`}},r&&i.length>0?{files:i,languageOptions:q(!1,!1,n),name:`kp/js/disable-type-aware`,rules:{...U}}:{}]}async function kt(e={}){let{overrides:t={}}=e,n=[D,k,O];return[{files:n,language:`json/x`,name:`kp/json/setup`,plugins:{json:oe,"json-package":se}},{files:[D],name:`kp/json/rules-json`,rules:{...Ue}},{files:[k],name:`kp/json/rules-jsonc`,rules:{...We}},{files:[O],name:`kp/json/rules-json5`,rules:{...Ge}},{files:n,name:`kp/json/rules`,rules:{...He,...Ke}},{files:[`.vscode/**.json`],name:`kp/json/rules-settings`,rules:{...We,"json/no-comments":`off`}},{files:[`**/package.json`],name:`kp/json/rules-package`,rules:{...qe,"json-package/no-redundant-files":`error`,"json-package/order-properties":[`error`,{order:At(ce,[`cspell`,`knip`,`mdat`,`prettier`,`remarkConfig`,`stylelint`])}],"json-package/require-author":`error`,"json-package/require-keywords":`error`,"package-json/require-exports":`off`}},{files:[`**/tsconfig.json`,`**/tsconfig.*.json`,`**/tsconfigs/**/*.json`],name:`kp/json/rules-tsconfig`,rules:{"json/no-comments":`off`,"jsonc/sort-keys":[`error`,{order:[`extends`,`compilerOptions`,`references`,`files`,`include`,`exclude`],pathPattern:`^$`},{order:`incremental.composite.tsBuildInfoFile.disableSourceOfProjectReferenceRedirect.disableSolutionSearching.disableReferencedProjectLoad.target.jsx.jsxFactory.jsxFragmentFactory.jsxImportSource.lib.moduleDetection.noLib.reactNamespace.useDefineForClassFields.emitDecoratorMetadata.experimentalDecorators.libReplacement.baseUrl.rootDir.rootDirs.customConditions.module.moduleResolution.moduleSuffixes.noResolve.paths.resolveJsonModule.resolvePackageJsonExports.resolvePackageJsonImports.typeRoots.types.allowArbitraryExtensions.allowImportingTsExtensions.allowUmdGlobalAccess.allowJs.checkJs.maxNodeModuleJsDepth.strict.strictBindCallApply.strictFunctionTypes.strictNullChecks.strictPropertyInitialization.allowUnreachableCode.allowUnusedLabels.alwaysStrict.exactOptionalPropertyTypes.noFallthroughCasesInSwitch.noImplicitAny.noImplicitOverride.noImplicitReturns.noImplicitThis.noPropertyAccessFromIndexSignature.noUncheckedIndexedAccess.noUnusedLocals.noUnusedParameters.useUnknownInCatchVariables.declaration.declarationDir.declarationMap.downlevelIteration.emitBOM.emitDeclarationOnly.importHelpers.importsNotUsedAsValues.inlineSourceMap.inlineSources.mapRoot.newLine.noEmit.noEmitHelpers.noEmitOnError.outDir.outFile.preserveConstEnums.preserveValueImports.removeComments.sourceMap.sourceRoot.stripInternal.allowSyntheticDefaultImports.esModuleInterop.forceConsistentCasingInFileNames.isolatedDeclarations.isolatedModules.preserveSymlinks.verbatimModuleSyntax.erasableSyntaxOnly.skipDefaultLibCheck.skipLibCheck`.split(`.`),pathPattern:`^compilerOptions$`}]}},{files:[D,k,O],name:`kp/json/rules-overrides`,rules:{...t}}]}function At(e,t){return[...e.filter(e=>!t.includes(e)),...t]}const W={...H,plugins:{...H.plugins,"jsx-a11y":le},rules:{...H.rules,...Je,...dt}};async function jt(e={}){let{overrides:t={},tsconfigRootDirectory:n}=e,{enabled:r=!0,ignores:i=[]}=e.typeAware??{};return[{...W,files:[w],languageOptions:q(r,!0,n),name:`kp/jsx/rules`,rules:{...W.rules,...!r&&U,...t}},r&&i.length>0?{files:i,languageOptions:q(!1,!0,n),name:`kp/jsx/disable-type-aware`,rules:{...U}}:{}]}const Mt=[`${A}/*.md`,`${A}/*.mdx`,`${j}/*.md`,`${j}/*.mdx`];function Nt(e){let{codeBlockFiles:t,codeBlockName:n,filenameRules:r,files:i,overrides:a={},overridesEmbeddedScripts:o={},remarkName:s}=e;return[{files:[i],ignores:Mt,languageOptions:{...b.flat.languageOptions,ecmaVersion:`latest`,sourceType:`module`},name:s,plugins:{...H.plugins,mdx:b},processor:b.createRemarkProcessor({lintCodeBlocks:!0}),rules:{...Xe,...r,...a}},{...H,files:[t],languageOptions:{parser:c,parserOptions:{ecmaFeatures:{impliedStrict:!0},projectService:!1}},name:n,rules:{...H.rules,...U,...Ze,"jsdoc/require-param-description":`off`,"jsdoc/require-returns":`off`,"ts/no-unused-expressions":`off`,"unicorn/filename-case":`off`,...o}}]}async function Pt(e={}){return Nt({...e,codeBlockFiles:xe,codeBlockName:`kp/markdown/code-blocks`,filenameRules:{"unicorn/filename-case":[`error`,{checkDirectories:!1}]},files:A,remarkName:`kp/markdown/remark`})}async function Ft(e={}){return Nt({...e,codeBlockFiles:Se,codeBlockName:`kp/mdx/code-blocks`,filenameRules:{"unicorn/filename-case":[`error`,{cases:{kebabCase:!0,pascalCase:!0},checkDirectories:!1}]},files:j,remarkName:`kp/mdx/remark`})}async function It(e={}){let{overrides:t={}}=e,{enabled:n=!0,ignores:r=[]}=e.typeAware??{},i=e.typeAwareJavaScript??n,a=[S,`${A}/**`,`${j}/**`,R],o=[`${A}/**`,`${j}/**`,R,...r],s=[...i?[]:[C,w],...n?[]:[T,E]],c=await B(import(`@eslint-react/eslint-plugin`)),l=c.configs[`recommended-typescript`];return[{name:`kp/react/setup`,plugins:{react:c},settings:l.settings??{}},{files:a,languageOptions:{parserOptions:{ecmaFeatures:{impliedStrict:!0,jsx:!0}},sourceType:`module`},name:`kp/react/rules`,rules:{...tt,...!n&&!i&&z,...t}},s.length>0?{files:s,name:`kp/react/disable-type-aware-by-language`,rules:{...z}}:{},n||i?{files:o,name:`kp/react/disable-type-aware`,rules:{...z}}:{}]}async function Lt(e={}){let{overrides:t={},tsconfigRootDirectory:n=r.cwd()}=e,{enabled:i=!0,ignores:a=[]}=e.typeAware??{},o=e.typeAwareJavaScript??i,s=[M,P,N],l=[...i?[]:[M,N],...o?[]:[P]],[u,d]=await Promise.all([B(import(`eslint-plugin-svelte`)),B(import(`svelte-eslint-parser`))]);return[{name:`kp/svelte/setup`,plugins:{svelte:u}},{...H,files:s,languageOptions:{parser:d,parserOptions:{extraFileExtensions:[`.svelte`],parser:{js:c,ts:c,typescript:c},projectService:i||o,svelteFeatures:{experimentalGenerics:!0},tsconfigRootDir:n}},name:`kp/svelte/scripts`,rules:{...H.rules,...!i&&!o&&U,"import/no-duplicates":`off`,"import/no-mutable-exports":`off`,"no-sequences":`off`,"no-undef-init":`off`,"prefer-const":`off`,"ts/no-confusing-void-expression":`off`,"ts/no-unused-expressions":`off`,"unicorn/no-useless-undefined":`off`}},{files:[M],name:`kp/svelte/component`,processor:`svelte/svelte`,rules:{"no-inner-declarations":`off`,"no-self-assign":`off`,"svelte/block-lang":[`error`,{enforceScriptPresent:!1,enforceStylePresent:!1,script:`ts`,style:void 0}],"svelte/button-has-type":`error`,"svelte/consistent-selector-style":`off`,"svelte/derived-has-same-inputs-outputs":`error`,"svelte/experimental-require-slot-types":`error`,"svelte/experimental-require-strict-events":`error`,"svelte/html-self-closing":`error`,"svelte/no-add-event-listener":`error`,"svelte/no-extra-reactive-curlies":`error`,"svelte/no-ignored-unsubscribe":`error`,"svelte/no-nested-style-tag":`error`,"svelte/no-spaces-around-equal-signs-in-attribute":`error`,"svelte/no-target-blank":`error`,"svelte/no-trailing-spaces":`error`,"svelte/no-unused-class-name":`error`,"svelte/prefer-class-directive":`error`,"svelte/prefer-const":`error`,"svelte/prefer-derived-over-derived-by":`error`,"svelte/prefer-destructured-store-props":`error`,"svelte/prefer-style-directive":`error`,"svelte/require-event-prefix":`error`,"svelte/require-optimized-style-attribute":`error`,"svelte/require-store-callbacks-use-set-param":`error`,"svelte/require-stores-init":`error`,"svelte/shorthand-attribute":`error`,"svelte/shorthand-directive":`error`,"svelte/sort-attributes":`error`,"svelte/spaced-html-comment":`error`,"svelte/valid-compile":`error`,"svelte/valid-style-parse":`error`,"unicorn/filename-case":[`error`,{case:`pascalCase`,checkDirectories:!1,ignore:[String.raw`^\+`]}]}},{files:s,name:`kp/svelte/rules`,rules:{...rt,...t}},l.length>0?{files:l,languageOptions:{parserOptions:{projectService:!1}},name:`kp/svelte/disable-type-aware-by-language`,rules:{...U}}:{},(i||o)&&a.length>0?{files:a,languageOptions:{parserOptions:{projectService:!1}},name:`kp/svelte/disable-type-aware`,rules:{...U}}:{},{files:[`**/routes/**/+*.ts`],name:`kp/svelte/sveltekit-routes`,rules:{"ts/no-throw-literal":`off`}},{files:[`src/app.html`],name:`kp/svelte/sveltekit-app`,rules:{"html/no-inline-styles":`off`,"html/no-non-scalable-viewport":`off`,"html/require-title":`off`}},{files:[P,N],name:`kp/svelte/modules`,rules:{"unicorn/filename-case":[`error`,{cases:{kebabCase:!0},checkDirectories:!1}]}}]}let Rt;async function zt(e={}){let{isInEditor:t=!1,overrides:n={}}=e;return Rt??={...ue,rules:{...ue.rules,...de.rules}},[{name:`kp/test/setup`,plugins:{test:Rt},settings:{vitest:{typecheck:!0}}},{files:Te,languageOptions:{globals:{...a.vitest}},name:`kp/test/rules`,rules:{...it,...ut,"test/no-only-tests":t?`off`:`error`,"unicorn/consistent-function-scoping":`off`,...n}}]}async function Bt(e={}){let{overrides:t={}}=e,n=[_e],[r,i]=await Promise.all([B(import(`eslint-plugin-toml`)),B(import(`toml-eslint-parser`))]);return[{name:`kp/toml/setup`,plugins:{toml:r}},{files:n,languageOptions:{parser:i},name:`kp/toml/rules`,rules:{...at,...t}}]}async function Vt(e={}){let{overrides:t={},tsconfigRootDirectory:n}=e,{enabled:r=!0,ignores:i=[]}=e.typeAware??{};return[{...H,files:[T],languageOptions:q(r,!1,n),name:`kp/ts/rules`,rules:{...H.rules,...!r&&U,"jsdoc/require-param":`off`,"jsdoc/require-returns":`off`,...t}},{files:[`**/*.d.?([cm])ts`],name:`kp/ts/dts`,rules:{...lt,"eslint-comments/no-unlimited-disable":`off`,"import/no-duplicates":`off`,"no-restricted-syntax":`off`}},r&&i.length>0?{files:i,languageOptions:q(!1,!1,n),name:`kp/ts/disable-type-aware`,rules:{...U}}:{}]}async function Ht(e={}){let{overrides:t={},tsconfigRootDirectory:n}=e,{enabled:r=!0,ignores:i=[]}=e.typeAware??{};return[{...W,files:[E],languageOptions:q(r,!0,n),name:`kp/tsx/rules`,rules:{...W.rules,...!r&&U,...t}},r&&i.length>0?{files:i,languageOptions:q(!1,!0,n),name:`kp/tsx/disable-type-aware`,rules:{...U}}:{}]}async function G(e={}){let{overrides:t={}}=e,n=[F],[r,i]=await Promise.all([B(import(`eslint-plugin-yml`)),B(import(`yaml-eslint-parser`))]);return[{name:`kp/yaml/setup`,plugins:{yaml:r}},{files:n,languageOptions:{parser:i},name:`kp/yaml/rules`,rules:{...ft,...t}}]}const Ut=[`name`,`languageOptions`,`linterOptions`,`processor`,`plugins`,`rules`,`settings`],Wt={"@eslint-community/eslint-comments":`eslint-comments`,"@eslint-react":`react`,jsonc:`json`,"@html-eslint":`html`,"package-json":`json-package`,"@typescript-eslint":`ts`,"@stylistic-eslint":`stylistic`,"import-x":`import`,n:`node`,vitest:`test`,yml:`yaml`},Gt=/^eslint\.config\.[cm]?[jt]s$/v;async function K(t={},...a){let{astro:s=o(`astro`),gitignore:c=!0,react:l=o(`react`),svelte:u=o(`svelte`)}=t,d=n.resolve(t.tsconfigRootDirectory??qt()??r.cwd()),f=e(d),p=f===null?d:n.dirname(f.path),m=f!==null,h=m&&f.config.compilerOptions?.checkJs===!0,{isInEditor:g}=t;g===void 0&&(g=mt(),g&&console.log(`[@kitschpatrol/eslint-config] Detected running in editor, some rules are disabled.`));let _=[];if(c!==!1&&_.push(Kt(typeof c==`boolean`?{name:`kp/gitignore`,strict:!1}:{name:`kp/gitignore`,...c})),_.push(Dt(t.ignores),[{linterOptions:{reportUnusedDisableDirectives:`error`}}],Ot({...Z(t,`js`),overrides:Y(t,`js`),tsconfigRootDirectory:p,typeAware:J(t,`js`,h)}),jt({...Z(t,`jsx`),overrides:Y(t,`jsx`),tsconfigRootDirectory:p,typeAware:J(t,`jsx`,h)}),Vt({...Z(t,`ts`),overrides:Y(t,`ts`),tsconfigRootDirectory:p,typeAware:J(t,`ts`,m)}),Ht({...Z(t,`tsx`),overrides:Y(t,`tsx`),tsconfigRootDirectory:p,typeAware:J(t,`tsx`,m)}),zt({isInEditor:g,overrides:Y(t,`test`)}),kt({overrides:Y(t,`json`)}),G({overrides:Y(t,`yaml`)}),Bt({overrides:Y(t,`toml`)}),Pt({overrides:Y(t,`md`),overridesEmbeddedScripts:X(t,`md`)}),Ft({overrides:Y(t,`mdx`),overridesEmbeddedScripts:X(t,`mdx`)}),Et({overrides:Y(t,`html`),overridesEmbeddedScripts:X(t,`html`)})),l!==!1&&_.push(It({...Z(t,`react`),overrides:Y(t,`react`),tsconfigRootDirectory:p,typeAware:J(t,`react`,m),typeAwareJavaScript:Jt(t,`react`,h)})),u!==!1&&_.push(Lt({...Z(t,`svelte`),overrides:Y(t,`svelte`),tsconfigRootDirectory:p,typeAware:J(t,`svelte`,m),typeAwareJavaScript:Jt(t,`svelte`,h)})),s!==!1&&_.push(Ct({...Z(t,`astro`),overrides:Y(t,`astro`),overridesEmbeddedScripts:X(t,`astro`),tsconfigRootDirectory:p,typeAware:J(t,`astro`,m)})),_.push(wt()),`files`in t)throw Error(`[@kitschpatrol/eslint-config] The first argument should not contain the "files" property as the options are supposed to be global. Place it in the second or later config instead.`);let v=Ut.reduce((e,n)=>(Object.hasOwn(t,n)&&(e[n]=t[n]),e),{});Object.keys(v).length>0&&_.push([v]);let y=new i;return y=y.append(..._,...a),y=y.renamePlugins(Wt),y}async function Kt(e){return[(await B(import(`eslint-config-flat-gitignore`)))(e)]}function q(e=!0,t=!1,n){return{ecmaVersion:2023,globals:{...a.browser,...a.es2023,...a.nodeBuiltin},parser:c,parserOptions:{ecmaFeatures:{impliedStrict:!0,jsx:t},...e?{projectService:!0,...n!==void 0&&{tsconfigRootDir:n}}:{projectService:!1},ecmaVersion:2023,sourceType:`module`}}}function qt(){let e=Error.prepareStackTrace,t=Error.stackTraceLimit;try{Error.stackTraceLimit=1/0,Error.prepareStackTrace=(e,t)=>t;let e={};Error.captureStackTrace(e,qt);let t=e.stack??[];for(let e of t){let t=e.getFileName();if(t===null)continue;let r=t.startsWith(`file://`)?s(t):t,i=n.parse(r);if(Gt.test(i.base))return i.dir}}finally{Error.prepareStackTrace=e,Error.stackTraceLimit=t}}function J(e,t,n){let r=Z(e,t);return{enabled:r.typeAware?.enabled??n,ignores:r.typeAware?.ignores??[]}}function Jt(e,t,n){return Z(e,t).typeAware?.enabled??n}function Y(e,t){let n=Z(e,t);return{...`overrides`in n&&n.overrides}}function X(e,t){let n=Z(e,t);return{...`overridesEmbeddedScripts`in n&&n.overridesEmbeddedScripts}}function Z(e,t){return typeof e[t]==`boolean`?{}:e[t]??{}}const Yt=/[.\/\\]/v;function Xt(e){return Yt.test(e)?e:`file.${e}`}let Q,$;async function Zt(){return Q??=await import(`eslint`),Q}async function Qt(t){$??=new Map;let i=JSON.stringify(t??{});if(!$.has(i)){let{ESLint:a}=await Zt(),o=await K({isInEditor:!1,...t}),s=n.resolve(t?.tsconfigRootDirectory??r.cwd()),c=e(s),l=c===null?s:n.dirname(c.path),u=n.relative(l,r.cwd()).split(n.sep).join(`/`),d=u.length===0?``:`${u}/`,f=new a({baseConfig:[...o,{languageOptions:{parserOptions:{projectService:{allowDefaultProject:[`ts`,`tsx`,`js`,`jsx`].map(e=>`${d}*.${e}`)}}}}],fix:!0,overrideConfigFile:!0});$.set(i,f)}return $.get(i)}async function $t(e,t,n){let r=`file.ts`,i=n;typeof t==`string`?r=Xt(t):t!==void 0&&(i=t);let[a]=await(await Qt(i)).lintText(e,{filePath:r});return a?.output??e}async function en(e,r){let i=await t.readFile(e,`utf8`),[a]=await(await Qt(r)).lintText(i,{filePath:n.basename(e)});a?.output!==void 0&&await t.writeFile(e,a.output,`utf8`)}function tn(){Q=void 0,$=void 0}export{Ee as GLOB_ALL_SRC,L as GLOB_ASTRO,R as GLOB_ASTRO_TS,pe as GLOB_CSS,De as GLOB_EXCLUDE,be as GLOB_GRAPHQL,I as GLOB_HTML,C as GLOB_JS,D as GLOB_JSON,O as GLOB_JSON5,k as GLOB_JSONC,w as GLOB_JSX,he as GLOB_LESS,A as GLOB_MARKDOWN,xe as GLOB_MARKDOWN_CODE,Ce as GLOB_MARKDOWN_HTML_CODE,j as GLOB_MDX,Se as GLOB_MDX_CODE,we as GLOB_MDX_HTML_CODE,me as GLOB_POSTCSS,ge as GLOB_SCSS,S as GLOB_SRC,x as GLOB_SRC_EXT,fe as GLOB_STYLE,M as GLOB_SVELTE,P as GLOB_SVELTE_JS,N as GLOB_SVELTE_TS,ye as GLOB_SVG,Te as GLOB_TESTS,_e as GLOB_TOML,T as GLOB_TS,E as GLOB_TSX,ve as GLOB_XML,F as GLOB_YAML,Ct as astro,tn as clearCache,pt as combine,K as default,K as eslintConfig,Wt as defaultPluginRenaming,wt as disables,$t as fix,en as fixFile,V as generatePerfectionistSortConfig,q as getLanguageOptions,Y as getOverrides,X as getOverridesEmbeddedScripts,Et as html,Dt as ignores,B as interopDefault,mt as isInEditorEnv,ht as isInGitHooksOrLintStaged,Ot as js,kt as json,jt as jsx,Pt as md,Ft as mdx,It as react,gt as renamePluginInConfigs,_t as renameRules,Z as resolveSubOptions,Lt as svelte,zt as test,vt as toArray,Bt as toml,Vt as ts,Ht as tsx,G as yaml};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kitschpatrol/eslint-config",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.5.0",
|
|
4
4
|
"description": "ESLint configuration for @kitschpatrol/shared-config.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"shared-config",
|
|
@@ -42,16 +42,16 @@
|
|
|
42
42
|
"init/*"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@e18e/eslint-plugin": "^0.
|
|
45
|
+
"@e18e/eslint-plugin": "^0.6.0",
|
|
46
46
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.7.2",
|
|
47
|
-
"@eslint-react/eslint-plugin": "^5.
|
|
47
|
+
"@eslint-react/eslint-plugin": "^5.18.0",
|
|
48
48
|
"@html-eslint/eslint-plugin": "^0.64.0",
|
|
49
49
|
"@html-eslint/parser": "^0.64.0",
|
|
50
50
|
"@pinojs/json-colorizer": "^4.0.0",
|
|
51
51
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
52
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
53
|
-
"@typescript-eslint/parser": "^8.
|
|
54
|
-
"@vitest/eslint-plugin": "^1.6.
|
|
52
|
+
"@typescript-eslint/eslint-plugin": "^8.65.0",
|
|
53
|
+
"@typescript-eslint/parser": "^8.65.0",
|
|
54
|
+
"@vitest/eslint-plugin": "^1.6.24",
|
|
55
55
|
"astro-eslint-parser": "^3.0.0",
|
|
56
56
|
"cosmiconfig": "^9.0.2",
|
|
57
57
|
"cosmiconfig-typescript-loader": "^6.3.0",
|
|
@@ -61,20 +61,19 @@
|
|
|
61
61
|
"eslint-config-flat-gitignore": "^2.3.0",
|
|
62
62
|
"eslint-flat-config-utils": "^3.2.0",
|
|
63
63
|
"eslint-import-resolver-typescript": "^4.4.5",
|
|
64
|
-
"eslint-
|
|
65
|
-
"eslint-plugin-astro": "^3.0.0",
|
|
64
|
+
"eslint-plugin-astro": "^3.0.1",
|
|
66
65
|
"eslint-plugin-de-morgan": "^2.1.3",
|
|
67
66
|
"eslint-plugin-depend": "^1.5.0",
|
|
68
67
|
"eslint-plugin-html": "^8.1.4",
|
|
69
68
|
"eslint-plugin-import-x": "^4.17.1",
|
|
70
|
-
"eslint-plugin-jsdoc": "^63.
|
|
69
|
+
"eslint-plugin-jsdoc": "^63.2.2",
|
|
71
70
|
"eslint-plugin-jsonc": "^3.3.0",
|
|
72
71
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
73
72
|
"eslint-plugin-math": "^0.13.1",
|
|
74
73
|
"eslint-plugin-mdx": "^3.8.1",
|
|
75
74
|
"eslint-plugin-n": "^18.2.2",
|
|
76
75
|
"eslint-plugin-no-only-tests": "^3.4.0",
|
|
77
|
-
"eslint-plugin-package-json": "^1.
|
|
76
|
+
"eslint-plugin-package-json": "^1.6.0",
|
|
78
77
|
"eslint-plugin-perfectionist": "^5.10.0",
|
|
79
78
|
"eslint-plugin-regexp": "^3.1.1",
|
|
80
79
|
"eslint-plugin-svelte": "^3.22.0",
|
|
@@ -83,14 +82,14 @@
|
|
|
83
82
|
"eslint-plugin-yml": "^3.6.0",
|
|
84
83
|
"execa": "^10.0.0",
|
|
85
84
|
"find-workspaces": "^0.3.1",
|
|
86
|
-
"fs-extra": "^11.
|
|
85
|
+
"fs-extra": "^11.4.0",
|
|
86
|
+
"get-tsconfig": "^4.14.0",
|
|
87
87
|
"globals": "^17.7.0",
|
|
88
88
|
"json-stringify-pretty-compact": "^4.0.0",
|
|
89
|
-
"jsonc-eslint-parser": "^3.1.0",
|
|
90
89
|
"local-pkg": "^1.2.1",
|
|
91
90
|
"package-up": "^5.0.0",
|
|
92
91
|
"picocolors": "^1.1.1",
|
|
93
|
-
"prettier": "^3.9.
|
|
92
|
+
"prettier": "^3.9.6",
|
|
94
93
|
"sort-package-json": "^4.0.0",
|
|
95
94
|
"svelte-eslint-parser": "^1.8.0",
|
|
96
95
|
"toml-eslint-parser": "^1.0.3",
|
|
@@ -101,12 +100,12 @@
|
|
|
101
100
|
"@eslint/js": "^10.0.1",
|
|
102
101
|
"@types/eslint-config-prettier": "^6.11.3",
|
|
103
102
|
"@types/eslint-plugin-jsx-a11y": "^6.10.1",
|
|
104
|
-
"dot-prop": "^10.
|
|
103
|
+
"dot-prop": "^10.2.0",
|
|
105
104
|
"eslint-config-prettier": "^10.1.8",
|
|
106
|
-
"eslint-config-xo": "^0.58.
|
|
105
|
+
"eslint-config-xo": "^0.58.1",
|
|
107
106
|
"eslint-typegen": "^2.3.1",
|
|
108
|
-
"globby": "^16.2.
|
|
109
|
-
"svelte": "^5.56.
|
|
107
|
+
"globby": "^16.2.2",
|
|
108
|
+
"svelte": "^5.56.7"
|
|
110
109
|
},
|
|
111
110
|
"engines": {
|
|
112
111
|
"node": "^24.16.0 || >=26.3.0"
|
package/readme.md
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
|
|
7
7
|
<!-- badges -->
|
|
8
8
|
|
|
9
|
-
[](https://npmjs.com/package/@kitschpatrol/eslint-config)
|
|
10
|
-
[](https://opensource.org/license/mit
|
|
9
|
+
[](https://www.npmjs.com/package/@kitschpatrol/eslint-config)
|
|
10
|
+
[](https://opensource.org/license/mit)
|
|
11
11
|
|
|
12
12
|
<!-- /badges -->
|
|
13
13
|
|
|
@@ -199,7 +199,7 @@ If you're using the complete [@kitschpatrol/shared-config](https://github.com/ki
|
|
|
199
199
|
|
|
200
200
|
Run them via the _Tasks: Run Task_ command (or the _Terminal → Run Task…_ menu item).
|
|
201
201
|
|
|
202
|
-
Each task's problem matcher parses the machine-format output and populates VS Code's [Problems panel](https://code.visualstudio.com/docs/
|
|
202
|
+
Each task's problem matcher parses the machine-format output and populates VS Code's [Problems panel](https://code.visualstudio.com/docs/editing/editingevolved#_errors-warnings) with every reported issue, pointing to the offending file, line, and column.
|
|
203
203
|
|
|
204
204
|
The tasks share a problem matcher owner with the other `@kitschpatrol/shared-config` tasks, so the panel reflects the most recent run rather than stacking duplicates.
|
|
205
205
|
|
|
@@ -256,7 +256,7 @@ This config is a heavily modified variation on Anthony Fu's [@antfu/eslint-confi
|
|
|
256
256
|
- [@antfu/eslint-config](https://github.com/antfu/eslint-config)
|
|
257
257
|
- [@sxzz/eslint-config](https://github.com/sxzz/eslint-config)
|
|
258
258
|
- [linting-setup-using-eslint](https://chris.lu/web_development/tutorials/next-js-static-mdx-blog/linting-setup-using-eslint)
|
|
259
|
-
- On [prefer-repository-shorthand](https://github.com/
|
|
259
|
+
- On [prefer-repository-shorthand](https://github.com/michaelfaith/eslint-plugin-package-json/issues/223)
|
|
260
260
|
|
|
261
261
|
<!-- license -->
|
|
262
262
|
|