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,CAAE,KAAM,OACf,YAAa,0DAEd,CACC,MAAO,CAAE,KAAM,OACf,YAAa,8CAEd,CACC,MAAO,CAAE,KAAM,OACf,YAAa,0BAEd,CACC,MAAO,CAAE,KAAM,OACf,YAAa,mCAEd,CACC,MAAO,CACN,QACA,SACA,UACA,WAED,YAAa,eAEd,CACC,MAAO,CACN,aACA,qBACA,aACA,cACA,aACA,eACA,gBACA,aACA,WACA,eAED,YAAa,4CAKlB,CAMA,SAAS,eACR,MAAO,CAAC,CACP,MAAO,CAAC,sBAAuB,yBAC/B,KAAM,2BACN,MAAO,CAAE,kBAAmB,CAC3B,QACA,CACC,MAAO,CACN,UACA,kBACA,aACA,QACA,UACA,WAED,YAAa,MAEd,CACC,MAAO,CACN,cACA,YACA,kBACA,0CACA,2BACA,+BACA,SACA,MACA,aACA,qBACA,kBACA,MACA,kBACA,QACA,iBACA,0BACA,wBACA,yBACA,iBACA,UACA,UACA,WACA,mBACA,SACA,mBACA,iBACA,YACA,QACA,oBACA,4BACA,4BACA,YACA,QACA,2BACA,6BACA,uBACA,UACA,UACA,uBACA,SACA,sBACA,sBACA,mBACA,+BACA,uBACA,oBACA,eACA,6BACA,6BACA,gBACA,qBACA,oBACA,iBACA,qCACA,2BACA,iBACA,qBACA,6BACA,cACA,iBACA,iBACA,qBACA,UACA,sBACA,gBACA,yBACA,kBACA,gBACA,UACA,UACA,SACA,gBACA,gBACA,SACA,UACA,qBACA,uBACA,iBACA,YACA,aACA,gBACA,+BACA,kBACA,mCACA,uBACA,kBACA,mBACA,uBACA,qBACA,sBACA,gBAED,YAAa,wBAIjB,CAIA,eAAe,OAAO,EAAU,CAAC,GAChC,MAAM,MAAE,EAAQ,CAAC,aAAY,UAAE,EAAY,CAAC,EAAG,UAAW,GAAc,GAAS,GAC3E,OAAE,EAAS,EAAC,OAAE,EAAS,UAAoC,kBAAhB,EAA4B,CAAC,EAAI,QAC5E,eAAe,CAAC,yBACtB,MAAO,EAAc,SAAsB,QAAQ,IAAI,C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,MAAM,GACb,MAAM,GAED,uBAAyB,CAC9B,OAAO,EACP,YAAY,EACZ,WAAW,EACX,SAAS,EACT,OAAO,EACP,OAAO,EACP,KAAK,EACL,UAAU,EACV,QAAQ,EACR,MAAM,EACN,MAAM,EACN,OAAO,EACP,QAAQ,EACR,OAAO,EACP,WAAW,EACX,QAAQ,EACR,MAAM,EACN,MAAM,EACN,YAAY,EACZ,SAAS,EACT,QAAQ,EACR,KAAK,EACL,MAAM,GAKP,IAAI,YAAc,aAGT,uBAAwB,sBAAuB,aAAc,WAAY,cAAe,SAAU,aAAc,aAAc,UAAW,QAAS,UAAW,WAAY,WAAY,SAAU,UAAW,cAAe,mBAAoB,0BAA2B,aAAc,UAAW,SAAU,aAAc,WAAY,YAAa,SAAU,WAAY,UAAW,QAAS,SAAU,SAAU,SAAU,UAAW,wBAAyB,MAAO,MAAO,QAAS,QAAS,SAAU,uBAAwB,sBAAuB,SAAU,eAAgB,WAAY,aAAc,QAAS,QAAS,eAAgB,cAAe,yBAA0B,iBAAkB,WAAY,MAAO,MAAO,IAAK,SAAU,OAAQ,KAAM,YAAa,cAAe,KAAM,MAAO,OAAQ,sBAAuB,YAAa,kBAAmB,MAAO,gBAAiB,aAAc,UAAW,OAAQ,KAAM,QAAS,KAAM,WAAY,QAAS,OAAQ,IAAK","file":"/npm/@antfu/eslint-config@7.0.1/dist/index.mjs","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@antfu/eslint-config@7.0.1/dist/index.mjs\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","import { FlatConfigComposer } from \"eslint-flat-config-utils\";\nimport process from \"node:process\";\nimport fs from \"node:fs/promises\";\nimport { fileURLToPath } from \"node:url\";\nimport fs$1 from \"node:fs\";\nimport path from \"node:path\";\nimport { isPackageExists } from \"local-pkg\";\nimport createCommand from \"eslint-plugin-command/config\";\nimport pluginComments from \"@eslint-community/eslint-plugin-eslint-comments\";\nimport pluginAntfu from \"eslint-plugin-antfu\";\nimport pluginImportLite from \"eslint-plugin-import-lite\";\nimport pluginNode from \"eslint-plugin-n\";\nimport pluginPerfectionist from \"eslint-plugin-perfectionist\";\nimport pluginUnicorn from \"eslint-plugin-unicorn\";\nimport pluginUnusedImports from \"eslint-plugin-unused-imports\";\nimport globals from \"globals\";\nimport { mergeProcessors, processorPassThrough } from \"eslint-merge-processors\";\nimport { configs } from \"eslint-plugin-regexp\";\n\n//#region node_modules/.pnpm/find-up-simple@1.0.1/node_modules/find-up-simple/index.js\nconst toPath = (urlOrPath) => urlOrPath instanceof URL ? fileURLToPath(urlOrPath) : urlOrPath;\nasync function findUp(name, { cwd = process.cwd(), type = \"file\", stopAt } = {}) {\n\tlet directory = path.resolve(toPath(cwd) ?? \"\");\n\tconst { root } = path.parse(directory);\n\tstopAt = path.resolve(directory, toPath(stopAt ?? root));\n\tconst isAbsoluteName = path.isAbsolute(name);\n\twhile (directory) {\n\t\tconst filePath = isAbsoluteName ? name : path.join(directory, name);\n\t\ttry {\n\t\t\tconst stats = await fs.stat(filePath);\n\t\t\tif (type === \"file\" && stats.isFile() || type === \"directory\" && stats.isDirectory()) return filePath;\n\t\t} catch {}\n\t\tif (directory === stopAt || directory === root) break;\n\t\tdirectory = path.dirname(directory);\n\t}\n}\nfunction findUpSync(name, { cwd = process.cwd(), type = \"file\", stopAt } = {}) {\n\tlet directory = path.resolve(toPath(cwd) ?? \"\");\n\tconst { root } = path.parse(directory);\n\tstopAt = path.resolve(directory, toPath(stopAt) ?? root);\n\tconst isAbsoluteName = path.isAbsolute(name);\n\twhile (directory) {\n\t\tconst filePath = isAbsoluteName ? name : path.join(directory, name);\n\t\ttry {\n\t\t\tconst stats = fs$1.statSync(filePath, { throwIfNoEntry: false });\n\t\t\tif (type === \"file\" && stats?.isFile() || type === \"directory\" && stats?.isDirectory()) return filePath;\n\t\t} catch {}\n\t\tif (directory === stopAt || directory === root) break;\n\t\tdirectory = path.dirname(directory);\n\t}\n}\n\n//#endregion\n//#region src/globs.ts\nconst GLOB_SRC_EXT = \"?([cm])[jt]s?(x)\";\nconst GLOB_SRC = \"**/*.?([cm])[jt]s?(x)\";\nconst GLOB_JS = \"**/*.?([cm])js\";\nconst GLOB_JSX = \"**/*.?([cm])jsx\";\nconst GLOB_TS = \"**/*.?([cm])ts\";\nconst GLOB_TSX = \"**/*.?([cm])tsx\";\nconst GLOB_STYLE = \"**/*.{c,le,sc}ss\";\nconst GLOB_CSS = \"**/*.css\";\nconst GLOB_POSTCSS = \"**/*.{p,post}css\";\nconst GLOB_LESS = \"**/*.less\";\nconst GLOB_SCSS = \"**/*.scss\";\nconst GLOB_JSON = \"**/*.json\";\nconst GLOB_JSON5 = \"**/*.json5\";\nconst GLOB_JSONC = \"**/*.jsonc\";\nconst GLOB_MARKDOWN = \"**/*.md\";\nconst GLOB_MARKDOWN_IN_MARKDOWN = \"**/*.md/*.md\";\nconst GLOB_SVELTE = \"**/*.svelte?(.{js,ts})\";\nconst GLOB_VUE = \"**/*.vue\";\nconst GLOB_YAML = \"**/*.y?(a)ml\";\nconst GLOB_TOML = \"**/*.toml\";\nconst GLOB_XML = \"**/*.xml\";\nconst GLOB_SVG = \"**/*.svg\";\nconst GLOB_HTML = \"**/*.htm?(l)\";\nconst GLOB_ASTRO = \"**/*.astro\";\nconst GLOB_ASTRO_TS = \"**/*.astro/*.ts\";\nconst GLOB_GRAPHQL = \"**/*.{g,graph}ql\";\nconst GLOB_MARKDOWN_CODE = `${GLOB_MARKDOWN}/${GLOB_SRC}`;\nconst GLOB_TESTS = [\n\t`**/__tests__/**/*.${GLOB_SRC_EXT}`,\n\t`**/*.spec.${GLOB_SRC_EXT}`,\n\t`**/*.test.${GLOB_SRC_EXT}`,\n\t`**/*.bench.${GLOB_SRC_EXT}`,\n\t`**/*.benchmark.${GLOB_SRC_EXT}`\n];\nconst GLOB_ALL_SRC = [\n\tGLOB_SRC,\n\tGLOB_STYLE,\n\tGLOB_JSON,\n\tGLOB_JSON5,\n\tGLOB_MARKDOWN,\n\tGLOB_SVELTE,\n\tGLOB_VUE,\n\tGLOB_YAML,\n\tGLOB_XML,\n\tGLOB_HTML\n];\nconst GLOB_EXCLUDE = [\n\t\"**/node_modules\",\n\t\"**/dist\",\n\t\"**/package-lock.json\",\n\t\"**/yarn.lock\",\n\t\"**/pnpm-lock.yaml\",\n\t\"**/bun.lockb\",\n\t\"**/output\",\n\t\"**/coverage\",\n\t\"**/temp\",\n\t\"**/.temp\",\n\t\"**/tmp\",\n\t\"**/.tmp\",\n\t\"**/.history\",\n\t\"**/.vitepress/cache\",\n\t\"**/.nuxt\",\n\t\"**/.next\",\n\t\"**/.svelte-kit\",\n\t\"**/.vercel\",\n\t\"**/.changeset\",\n\t\"**/.idea\",\n\t\"**/.cache\",\n\t\"**/.output\",\n\t\"**/.vite-inspect\",\n\t\"**/.yarn\",\n\t\"**/vite.config.*.timestamp-*\",\n\t\"**/CHANGELOG*.md\",\n\t\"**/*.min.*\",\n\t\"**/LICENSE*\",\n\t\"**/__snapshots__\",\n\t\"**/auto-import?(s).d.ts\",\n\t\"**/components.d.ts\"\n];\n\n//#endregion\n//#region src/utils.ts\nconst scopeUrl = fileURLToPath(new URL(\".\", import.meta.url));\nconst isCwdInScope = isPackageExists(\"@antfu/eslint-config\");\nconst parserPlain = {\n\tmeta: { name: \"parser-plain\" },\n\tparseForESLint: (code) => ({\n\t\tast: {\n\t\t\tbody: [],\n\t\t\tcomments: [],\n\t\t\tloc: {\n\t\t\t\tend: code.length,\n\t\t\t\tstart: 0\n\t\t\t},\n\t\t\trange: [0, code.length],\n\t\t\ttokens: [],\n\t\t\ttype: \"Program\"\n\t\t},\n\t\tscopeManager: null,\n\t\tservices: { isPlain: true },\n\t\tvisitorKeys: { Program: [] }\n\t})\n};\n/**\n* Combine array and non-array configs into a single array.\n*/\nasync function combine(...configs$1) {\n\treturn (await Promise.all(configs$1)).flat();\n}\n/**\n* Rename plugin prefixes in a rule object.\n* Accepts a map of prefixes to rename.\n*\n* @example\n* ```ts\n* import { renameRules } from '@antfu/eslint-config'\n*\n* export default [{\n*   rules: renameRules(\n*     {\n*       '@typescript-eslint/indent': 'error'\n*     },\n*     { '@typescript-eslint': 'ts' }\n*   )\n* }]\n* ```\n*/\nfunction renameRules(rules, map) {\n\treturn Object.fromEntries(Object.entries(rules).map(([key, value]) => {\n\t\tfor (const [from, to] of Object.entries(map)) if (key.startsWith(`${from}/`)) return [to + key.slice(from.length), value];\n\t\treturn [key, value];\n\t}));\n}\n/**\n* Rename plugin names a flat configs array\n*\n* @example\n* ```ts\n* import { renamePluginInConfigs } from '@antfu/eslint-config'\n* import someConfigs from './some-configs'\n*\n* export default renamePluginInConfigs(someConfigs, {\n*   '@typescript-eslint': 'ts',\n*   '@stylistic': 'style',\n* })\n* ```\n*/\nfunction renamePluginInConfigs(configs$1, map) {\n\treturn configs$1.map((i) => {\n\t\tconst clone = { ...i };\n\t\tif (clone.rules) clone.rules = renameRules(clone.rules, map);\n\t\tif (clone.plugins) clone.plugins = Object.fromEntries(Object.entries(clone.plugins).map(([key, value]) => {\n\t\t\tif (key in map) return [map[key], value];\n\t\t\treturn [key, value];\n\t\t}));\n\t\treturn clone;\n\t});\n}\nfunction toArray(value) {\n\treturn Array.isArray(value) ? value : [value];\n}\nasync function interopDefault(m) {\n\tconst resolved = await m;\n\treturn resolved.default || resolved;\n}\nfunction isPackageInScope(name) {\n\treturn isPackageExists(name, { paths: [scopeUrl] });\n}\nasync function ensurePackages(packages) {\n\tif (process.env.CI || process.stdout.isTTY === false || isCwdInScope === false) return;\n\tconst nonExistingPackages = packages.filter((i) => i && !isPackageInScope(i));\n\tif (nonExistingPackages.length === 0) return;\n\tif (await (await import(\"@clack/prompts\")).confirm({ message: `${nonExistingPackages.length === 1 ? \"Package is\" : \"Packages are\"} required for this config: ${nonExistingPackages.join(\", \")}. Do you want to install them?` })) await import(\"@antfu/install-pkg\").then((i) => i.installPackage(nonExistingPackages, { dev: true }));\n}\nfunction isInEditorEnv() {\n\tif (process.env.CI) return false;\n\tif (isInGitHooksOrLintStaged()) return false;\n\treturn !!(process.env.VSCODE_PID || process.env.VSCODE_CWD || process.env.JETBRAINS_IDE || process.env.VIM || process.env.NVIM);\n}\nfunction isInGitHooksOrLintStaged() {\n\treturn !!(process.env.GIT_PARAMS || process.env.VSCODE_GIT_COMMAND || process.env.npm_lifecycle_script?.startsWith(\"lint-staged\"));\n}\n\n//#endregion\n//#region src/configs/astro.ts\nasync function astro(options = {}) {\n\tconst { files = [GLOB_ASTRO], overrides = {}, stylistic: stylistic$1 = true } = options;\n\tconst [pluginAstro, parserAstro, parserTs] = await Promise.all([\n\t\tinteropDefault(import(\"eslint-plugin-astro\")),\n\t\tinteropDefault(import(\"astro-eslint-parser\")),\n\t\tinteropDefault(import(\"@typescript-eslint/parser\"))\n\t]);\n\treturn [{\n\t\tname: \"antfu/astro/setup\",\n\t\tplugins: { astro: pluginAstro }\n\t}, {\n\t\tfiles,\n\t\tlanguageOptions: {\n\t\t\tglobals: pluginAstro.environments.astro.globals,\n\t\t\tparser: parserAstro,\n\t\t\tparserOptions: {\n\t\t\t\textraFileExtensions: [\".astro\"],\n\t\t\t\tparser: parserTs\n\t\t\t},\n\t\t\tsourceType: \"module\"\n\t\t},\n\t\tname: \"antfu/astro/rules\",\n\t\tprocessor: \"astro/client-side-ts\",\n\t\trules: {\n\t\t\t\"antfu/no-top-level-await\": \"off\",\n\t\t\t\"astro/missing-client-only-directive-value\": \"error\",\n\t\t\t\"astro/no-conflict-set-directives\": \"error\",\n\t\t\t\"astro/no-deprecated-astro-canonicalurl\": \"error\",\n\t\t\t\"astro/no-deprecated-astro-fetchcontent\": \"error\",\n\t\t\t\"astro/no-deprecated-astro-resolve\": \"error\",\n\t\t\t\"astro/no-deprecated-getentrybyslug\": \"error\",\n\t\t\t\"astro/no-set-html-directive\": \"off\",\n\t\t\t\"astro/no-unused-define-vars-in-style\": \"error\",\n\t\t\t\"astro/semi\": \"off\",\n\t\t\t\"astro/valid-compile\": \"error\",\n\t\t\t...stylistic$1 ? {\n\t\t\t\t\"style/indent\": \"off\",\n\t\t\t\t\"style/jsx-closing-tag-location\": \"off\",\n\t\t\t\t\"style/jsx-one-expression-per-line\": \"off\",\n\t\t\t\t\"style/no-multiple-empty-lines\": \"off\"\n\t\t\t} : {},\n\t\t\t...overrides\n\t\t}\n\t}];\n}\n\n//#endregion\n//#region src/configs/command.ts\nasync function command() {\n\treturn [{\n\t\t...createCommand(),\n\t\tname: \"antfu/command/rules\"\n\t}];\n}\n\n//#endregion\n//#region src/configs/comments.ts\nasync function comments() {\n\treturn [{\n\t\tname: \"antfu/eslint-comments/rules\",\n\t\tplugins: { \"eslint-comments\": pluginComments },\n\t\trules: {\n\t\t\t\"eslint-comments/no-aggregating-enable\": \"error\",\n\t\t\t\"eslint-comments/no-duplicate-disable\": \"error\",\n\t\t\t\"eslint-comments/no-unlimited-disable\": \"error\",\n\t\t\t\"eslint-comments/no-unused-enable\": \"error\"\n\t\t}\n\t}];\n}\n\n//#endregion\n//#region src/configs/disables.ts\nasync function disables() {\n\treturn [\n\t\t{\n\t\t\tfiles: [`**/scripts/${GLOB_SRC}`],\n\t\t\tname: \"antfu/disables/scripts\",\n\t\t\trules: {\n\t\t\t\t\"antfu/no-top-level-await\": \"off\",\n\t\t\t\t\"no-console\": \"off\",\n\t\t\t\t\"ts/explicit-function-return-type\": \"off\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\tfiles: [`**/cli/${GLOB_SRC}`, `**/cli.${GLOB_SRC_EXT}`],\n\t\t\tname: \"antfu/disables/cli\",\n\t\t\trules: {\n\t\t\t\t\"antfu/no-top-level-await\": \"off\",\n\t\t\t\t\"no-console\": \"off\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\tfiles: [\"**/bin/**/*\", `**/bin.${GLOB_SRC_EXT}`],\n\t\t\tname: \"antfu/disables/bin\",\n\t\t\trules: {\n\t\t\t\t\"antfu/no-import-dist\": \"off\",\n\t\t\t\t\"antfu/no-import-node-modules-by-path\": \"off\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\tfiles: [\"**/*.d.?([cm])ts\"],\n\t\t\tname: \"antfu/disables/dts\",\n\t\t\trules: {\n\t\t\t\t\"eslint-comments/no-unlimited-disable\": \"off\",\n\t\t\t\t\"no-restricted-syntax\": \"off\",\n\t\t\t\t\"unused-imports/no-unused-vars\": \"off\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\tfiles: [\"**/*.js\", \"**/*.cjs\"],\n\t\t\tname: \"antfu/disables/cjs\",\n\t\t\trules: { \"ts/no-require-imports\": \"off\" }\n\t\t},\n\t\t{\n\t\t\tfiles: [`**/*.config.${GLOB_SRC_EXT}`, `**/*.config.*.${GLOB_SRC_EXT}`],\n\t\t\tname: \"antfu/disables/config-files\",\n\t\t\trules: {\n\t\t\t\t\"antfu/no-top-level-await\": \"off\",\n\t\t\t\t\"no-console\": \"off\",\n\t\t\t\t\"ts/explicit-function-return-type\": \"off\"\n\t\t\t}\n\t\t}\n\t];\n}\n\n//#endregion\n//#region src/configs/stylistic.ts\nconst StylisticConfigDefaults = {\n\texperimental: false,\n\tindent: 2,\n\tjsx: true,\n\tquotes: \"single\",\n\tsemi: false\n};\nasync function stylistic(options = {}) {\n\tconst { experimental, indent, jsx: jsx$1, lessOpinionated = false, overrides = {}, quotes, semi } = {\n\t\t...StylisticConfigDefaults,\n\t\t...options\n\t};\n\tconst pluginStylistic = await interopDefault(import(\"@stylistic/eslint-plugin\"));\n\tconst config = pluginStylistic.configs.customize({\n\t\texperimental,\n\t\tindent,\n\t\tjsx: jsx$1,\n\t\tpluginName: \"style\",\n\t\tquotes,\n\t\tsemi\n\t});\n\treturn [{\n\t\tname: \"antfu/stylistic/rules\",\n\t\tplugins: {\n\t\t\tantfu: pluginAntfu,\n\t\t\tstyle: pluginStylistic\n\t\t},\n\t\trules: {\n\t\t\t...config.rules,\n\t\t\t...experimental ? {} : { \"antfu/consistent-list-newline\": \"error\" },\n\t\t\t\"antfu/consistent-chaining\": \"error\",\n\t\t\t...lessOpinionated ? { curly: [\"error\", \"all\"] } : {\n\t\t\t\t\"antfu/curly\": \"error\",\n\t\t\t\t\"antfu/if-newline\": \"error\",\n\t\t\t\t\"antfu/top-level-function\": \"error\"\n\t\t\t},\n\t\t\t\"style/generator-star-spacing\": [\"error\", {\n\t\t\t\tafter: true,\n\t\t\t\tbefore: false\n\t\t\t}],\n\t\t\t\"style/yield-star-spacing\": [\"error\", {\n\t\t\t\tafter: true,\n\t\t\t\tbefore: false\n\t\t\t}],\n\t\t\t...overrides\n\t\t}\n\t}];\n}\n\n//#endregion\n//#region src/configs/formatters.ts\nfunction mergePrettierOptions(options, overrides = {}) {\n\treturn {\n\t\t...options,\n\t\t...overrides,\n\t\tplugins: [...overrides.plugins || [], ...options.plugins || []]\n\t};\n}\nasync function formatters(options = {}, stylistic$1 = {}) {\n\tif (options === true) {\n\t\tconst isPrettierPluginXmlInScope = isPackageInScope(\"@prettier/plugin-xml\");\n\t\toptions = {\n\t\t\tastro: isPackageInScope(\"prettier-plugin-astro\"),\n\t\t\tcss: true,\n\t\t\tgraphql: true,\n\t\t\thtml: true,\n\t\t\tmarkdown: true,\n\t\t\tslidev: isPackageExists(\"@slidev/cli\"),\n\t\t\tsvg: isPrettierPluginXmlInScope,\n\t\t\txml: isPrettierPluginXmlInScope\n\t\t};\n\t}\n\tawait ensurePackages([\n\t\t\"eslint-plugin-format\",\n\t\toptions.markdown && options.slidev ? \"prettier-plugin-slidev\" : void 0,\n\t\toptions.astro ? \"prettier-plugin-astro\" : void 0,\n\t\toptions.xml || options.svg ? \"@prettier/plugin-xml\" : void 0\n\t]);\n\tif (options.slidev && options.markdown !== true && options.markdown !== \"prettier\") throw new Error(\"`slidev` option only works when `markdown` is enabled with `prettier`\");\n\tconst { indent, quotes, semi } = {\n\t\t...StylisticConfigDefaults,\n\t\t...stylistic$1\n\t};\n\tconst prettierOptions = Object.assign({\n\t\tendOfLine: \"auto\",\n\t\tprintWidth: 120,\n\t\tsemi,\n\t\tsingleQuote: quotes === \"single\",\n\t\ttabWidth: typeof indent === \"number\" ? indent : 2,\n\t\ttrailingComma: \"all\",\n\t\tuseTabs: indent === \"tab\"\n\t}, options.prettierOptions || {});\n\tconst prettierXmlOptions = {\n\t\txmlQuoteAttributes: \"double\",\n\t\txmlSelfClosingSpace: true,\n\t\txmlSortAttributesByKey: false,\n\t\txmlWhitespaceSensitivity: \"ignore\"\n\t};\n\tconst dprintOptions = Object.assign({\n\t\tindentWidth: typeof indent === \"number\" ? indent : 2,\n\t\tquoteStyle: quotes === \"single\" ? \"preferSingle\" : \"preferDouble\",\n\t\tuseTabs: indent === \"tab\"\n\t}, options.dprintOptions || {});\n\tconst configs$1 = [{\n\t\tname: \"antfu/formatter/setup\",\n\t\tplugins: { format: await interopDefault(import(\"eslint-plugin-format\")) }\n\t}];\n\tif (options.css) configs$1.push({\n\t\tfiles: [GLOB_CSS, GLOB_POSTCSS],\n\t\tlanguageOptions: { parser: parserPlain },\n\t\tname: \"antfu/formatter/css\",\n\t\trules: { \"format/prettier\": [\"error\", mergePrettierOptions(prettierOptions, { parser: \"css\" })] }\n\t}, {\n\t\tfiles: [GLOB_SCSS],\n\t\tlanguageOptions: { parser: parserPlain },\n\t\tname: \"antfu/formatter/scss\",\n\t\trules: { \"format/prettier\": [\"error\", mergePrettierOptions(prettierOptions, { parser: \"scss\" })] }\n\t}, {\n\t\tfiles: [GLOB_LESS],\n\t\tlanguageOptions: { parser: parserPlain },\n\t\tname: \"antfu/formatter/less\",\n\t\trules: { \"format/prettier\": [\"error\", mergePrettierOptions(prettierOptions, { parser: \"less\" })] }\n\t});\n\tif (options.html) configs$1.push({\n\t\tfiles: [GLOB_HTML],\n\t\tlanguageOptions: { parser: parserPlain },\n\t\tname: \"antfu/formatter/html\",\n\t\trules: { \"format/prettier\": [\"error\", mergePrettierOptions(prettierOptions, { parser: \"html\" })] }\n\t});\n\tif (options.xml) configs$1.push({\n\t\tfiles: [GLOB_XML],\n\t\tlanguageOptions: { parser: parserPlain },\n\t\tname: \"antfu/formatter/xml\",\n\t\trules: { \"format/prettier\": [\"error\", mergePrettierOptions({\n\t\t\t...prettierXmlOptions,\n\t\t\t...prettierOptions\n\t\t}, {\n\t\t\tparser: \"xml\",\n\t\t\tplugins: [\"@prettier/plugin-xml\"]\n\t\t})] }\n\t});\n\tif (options.svg) configs$1.push({\n\t\tfiles: [GLOB_SVG],\n\t\tlanguageOptions: { parser: parserPlain },\n\t\tname: \"antfu/formatter/svg\",\n\t\trules: { \"format/prettier\": [\"error\", mergePrettierOptions({\n\t\t\t...prettierXmlOptions,\n\t\t\t...prettierOptions\n\t\t}, {\n\t\t\tparser: \"xml\",\n\t\t\tplugins: [\"@prettier/plugin-xml\"]\n\t\t})] }\n\t});\n\tif (options.markdown) {\n\t\tconst formater = options.markdown === true ? \"prettier\" : options.markdown;\n\t\tconst GLOB_SLIDEV = !options.slidev ? [] : options.slidev === true ? [\"**/slides.md\"] : options.slidev.files;\n\t\tconfigs$1.push({\n\t\t\tfiles: [GLOB_MARKDOWN],\n\t\t\tignores: GLOB_SLIDEV,\n\t\t\tlanguageOptions: { parser: parserPlain },\n\t\t\tname: \"antfu/formatter/markdown\",\n\t\t\trules: { [`format/${formater}`]: [\"error\", formater === \"prettier\" ? mergePrettierOptions(prettierOptions, {\n\t\t\t\tembeddedLanguageFormatting: \"off\",\n\t\t\t\tparser: \"markdown\"\n\t\t\t}) : {\n\t\t\t\t...dprintOptions,\n\t\t\t\tlanguage: \"markdown\"\n\t\t\t}] }\n\t\t});\n\t\tif (options.slidev) configs$1.push({\n\t\t\tfiles: GLOB_SLIDEV,\n\t\t\tlanguageOptions: { parser: parserPlain },\n\t\t\tname: \"antfu/formatter/slidev\",\n\t\t\trules: { \"format/prettier\": [\"error\", mergePrettierOptions(prettierOptions, {\n\t\t\t\tembeddedLanguageFormatting: \"off\",\n\t\t\t\tparser: \"slidev\",\n\t\t\t\tplugins: [\"prettier-plugin-slidev\"]\n\t\t\t})] }\n\t\t});\n\t}\n\tif (options.astro) {\n\t\tconfigs$1.push({\n\t\t\tfiles: [GLOB_ASTRO],\n\t\t\tlanguageOptions: { parser: parserPlain },\n\t\t\tname: \"antfu/formatter/astro\",\n\t\t\trules: { \"format/prettier\": [\"error\", mergePrettierOptions(prettierOptions, {\n\t\t\t\tparser: \"astro\",\n\t\t\t\tplugins: [\"prettier-plugin-astro\"]\n\t\t\t})] }\n\t\t});\n\t\tconfigs$1.push({\n\t\t\tfiles: [GLOB_ASTRO, GLOB_ASTRO_TS],\n\t\t\tname: \"antfu/formatter/astro/disables\",\n\t\t\trules: {\n\t\t\t\t\"style/arrow-parens\": \"off\",\n\t\t\t\t\"style/block-spacing\": \"off\",\n\t\t\t\t\"style/comma-dangle\": \"off\",\n\t\t\t\t\"style/indent\": \"off\",\n\t\t\t\t\"style/no-multi-spaces\": \"off\",\n\t\t\t\t\"style/quotes\": \"off\",\n\t\t\t\t\"style/semi\": \"off\"\n\t\t\t}\n\t\t});\n\t}\n\tif (options.graphql) configs$1.push({\n\t\tfiles: [GLOB_GRAPHQL],\n\t\tlanguageOptions: { parser: parserPlain },\n\t\tname: \"antfu/formatter/graphql\",\n\t\trules: { \"format/prettier\": [\"error\", mergePrettierOptions(prettierOptions, { parser: \"graphql\" })] }\n\t});\n\treturn configs$1;\n}\n\n//#endregion\n//#region src/configs/ignores.ts\nasync function ignores(userIgnores = []) {\n\tlet ignores$1 = [...GLOB_EXCLUDE];\n\tif (typeof userIgnores === \"function\") ignores$1 = userIgnores(ignores$1);\n\telse ignores$1 = [...ignores$1, ...userIgnores];\n\treturn [{\n\t\tignores: ignores$1,\n\t\tname: \"antfu/ignores\"\n\t}];\n}\n\n//#endregion\n//#region src/configs/imports.ts\nasync function imports(options = {}) {\n\tconst { overrides = {}, stylistic: stylistic$1 = true } = options;\n\treturn [{\n\t\tname: \"antfu/imports/rules\",\n\t\tplugins: {\n\t\t\tantfu: pluginAntfu,\n\t\t\timport: pluginImportLite\n\t\t},\n\t\trules: {\n\t\t\t\"antfu/import-dedupe\": \"error\",\n\t\t\t\"antfu/no-import-dist\": \"error\",\n\t\t\t\"antfu/no-import-node-modules-by-path\": \"error\",\n\t\t\t\"import/consistent-type-specifier-style\": [\"error\", \"top-level\"],\n\t\t\t\"import/first\": \"error\",\n\t\t\t\"import/no-duplicates\": \"error\",\n\t\t\t\"import/no-mutable-exports\": \"error\",\n\t\t\t\"import/no-named-default\": \"error\",\n\t\t\t...stylistic$1 ? { \"import/newline-after-import\": [\"error\", { count: 1 }] } : {},\n\t\t\t...overrides\n\t\t}\n\t}];\n}\n\n//#endregion\n//#region src/configs/javascript.ts\nasync function javascript(options = {}) {\n\tconst { isInEditor = false, overrides = {} } = options;\n\treturn [{\n\t\tlanguageOptions: {\n\t\t\tecmaVersion: \"latest\",\n\t\t\tglobals: {\n\t\t\t\t...globals.browser,\n\t\t\t\t...globals.es2021,\n\t\t\t\t...globals.node,\n\t\t\t\tdocument: \"readonly\",\n\t\t\t\tnavigator: \"readonly\",\n\t\t\t\twindow: \"readonly\"\n\t\t\t},\n\t\t\tparserOptions: {\n\t\t\t\tecmaFeatures: { jsx: true },\n\t\t\t\tecmaVersion: \"latest\",\n\t\t\t\tsourceType: \"module\"\n\t\t\t},\n\t\t\tsourceType: \"module\"\n\t\t},\n\t\tlinterOptions: { reportUnusedDisableDirectives: true },\n\t\tname: \"antfu/javascript/setup\"\n\t}, {\n\t\tname: \"antfu/javascript/rules\",\n\t\tplugins: {\n\t\t\t\"antfu\": pluginAntfu,\n\t\t\t\"unused-imports\": pluginUnusedImports\n\t\t},\n\t\trules: {\n\t\t\t\"accessor-pairs\": [\"error\", {\n\t\t\t\tenforceForClassMembers: true,\n\t\t\t\tsetWithoutGet: true\n\t\t\t}],\n\t\t\t\"antfu/no-top-level-await\": \"error\",\n\t\t\t\"array-callback-return\": \"error\",\n\t\t\t\"block-scoped-var\": \"error\",\n\t\t\t\"constructor-super\": \"error\",\n\t\t\t\"default-case-last\": \"error\",\n\t\t\t\"dot-notation\": [\"error\", { allowKeywords: true }],\n\t\t\t\"eqeqeq\": [\"error\", \"smart\"],\n\t\t\t\"new-cap\": [\"error\", {\n\t\t\t\tcapIsNew: false,\n\t\t\t\tnewIsCap: true,\n\t\t\t\tproperties: true\n\t\t\t}],\n\t\t\t\"no-alert\": \"error\",\n\t\t\t\"no-array-constructor\": \"error\",\n\t\t\t\"no-async-promise-executor\": \"error\",\n\t\t\t\"no-caller\": \"error\",\n\t\t\t\"no-case-declarations\": \"error\",\n\t\t\t\"no-class-assign\": \"error\",\n\t\t\t\"no-compare-neg-zero\": \"error\",\n\t\t\t\"no-cond-assign\": [\"error\", \"always\"],\n\t\t\t\"no-console\": [\"error\", { allow: [\"warn\", \"error\"] }],\n\t\t\t\"no-const-assign\": \"error\",\n\t\t\t\"no-control-regex\": \"error\",\n\t\t\t\"no-debugger\": \"error\",\n\t\t\t\"no-delete-var\": \"error\",\n\t\t\t\"no-dupe-args\": \"error\",\n\t\t\t\"no-dupe-class-members\": \"error\",\n\t\t\t\"no-dupe-keys\": \"error\",\n\t\t\t\"no-duplicate-case\": \"error\",\n\t\t\t\"no-empty\": [\"error\", { allowEmptyCatch: true }],\n\t\t\t\"no-empty-character-class\": \"error\",\n\t\t\t\"no-empty-pattern\": \"error\",\n\t\t\t\"no-eval\": \"error\",\n\t\t\t\"no-ex-assign\": \"error\",\n\t\t\t\"no-extend-native\": \"error\",\n\t\t\t\"no-extra-bind\": \"error\",\n\t\t\t\"no-extra-boolean-cast\": \"error\",\n\t\t\t\"no-fallthrough\": \"error\",\n\t\t\t\"no-func-assign\": \"error\",\n\t\t\t\"no-global-assign\": \"error\",\n\t\t\t\"no-implied-eval\": \"error\",\n\t\t\t\"no-import-assign\": \"error\",\n\t\t\t\"no-invalid-regexp\": \"error\",\n\t\t\t\"no-irregular-whitespace\": \"error\",\n\t\t\t\"no-iterator\": \"error\",\n\t\t\t\"no-labels\": [\"error\", {\n\t\t\t\tallowLoop: false,\n\t\t\t\tallowSwitch: false\n\t\t\t}],\n\t\t\t\"no-lone-blocks\": \"error\",\n\t\t\t\"no-loss-of-precision\": \"error\",\n\t\t\t\"no-misleading-character-class\": \"error\",\n\t\t\t\"no-multi-str\": \"error\",\n\t\t\t\"no-new\": \"error\",\n\t\t\t\"no-new-func\": \"error\",\n\t\t\t\"no-new-native-nonconstructor\": \"error\",\n\t\t\t\"no-new-wrappers\": \"error\",\n\t\t\t\"no-obj-calls\": \"error\",\n\t\t\t\"no-octal\": \"error\",\n\t\t\t\"no-octal-escape\": \"error\",\n\t\t\t\"no-proto\": \"error\",\n\t\t\t\"no-prototype-builtins\": \"error\",\n\t\t\t\"no-redeclare\": [\"error\", { builtinGlobals: false }],\n\t\t\t\"no-regex-spaces\": \"error\",\n\t\t\t\"no-restricted-globals\": [\n\t\t\t\t\"error\",\n\t\t\t\t{\n\t\t\t\t\tmessage: \"Use `globalThis` instead.\",\n\t\t\t\t\tname: \"global\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tmessage: \"Use `globalThis` instead.\",\n\t\t\t\t\tname: \"self\"\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"no-restricted-properties\": [\n\t\t\t\t\"error\",\n\t\t\t\t{\n\t\t\t\t\tmessage: \"Use `Object.getPrototypeOf` or `Object.setPrototypeOf` instead.\",\n\t\t\t\t\tproperty: \"__proto__\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tmessage: \"Use `Object.defineProperty` instead.\",\n\t\t\t\t\tproperty: \"__defineGetter__\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tmessage: \"Use `Object.defineProperty` instead.\",\n\t\t\t\t\tproperty: \"__defineSetter__\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tmessage: \"Use `Object.getOwnPropertyDescriptor` instead.\",\n\t\t\t\t\tproperty: \"__lookupGetter__\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tmessage: \"Use `Object.getOwnPropertyDescriptor` instead.\",\n\t\t\t\t\tproperty: \"__lookupSetter__\"\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"no-restricted-syntax\": [\n\t\t\t\t\"error\",\n\t\t\t\t\"TSEnumDeclaration[const=true]\",\n\t\t\t\t\"TSExportAssignment\"\n\t\t\t],\n\t\t\t\"no-self-assign\": [\"error\", { props: true }],\n\t\t\t\"no-self-compare\": \"error\",\n\t\t\t\"no-sequences\": \"error\",\n\t\t\t\"no-shadow-restricted-names\": \"error\",\n\t\t\t\"no-sparse-arrays\": \"error\",\n\t\t\t\"no-template-curly-in-string\": \"error\",\n\t\t\t\"no-this-before-super\": \"error\",\n\t\t\t\"no-throw-literal\": \"error\",\n\t\t\t\"no-undef\": \"error\",\n\t\t\t\"no-undef-init\": \"error\",\n\t\t\t\"no-unexpected-multiline\": \"error\",\n\t\t\t\"no-unmodified-loop-condition\": \"error\",\n\t\t\t\"no-unneeded-ternary\": [\"error\", { defaultAssignment: false }],\n\t\t\t\"no-unreachable\": \"error\",\n\t\t\t\"no-unreachable-loop\": \"error\",\n\t\t\t\"no-unsafe-finally\": \"error\",\n\t\t\t\"no-unsafe-negation\": \"error\",\n\t\t\t\"no-unused-expressions\": [\"error\", {\n\t\t\t\tallowShortCircuit: true,\n\t\t\t\tallowTaggedTemplates: true,\n\t\t\t\tallowTernary: true\n\t\t\t}],\n\t\t\t\"no-unused-vars\": [\"error\", {\n\t\t\t\targs: \"none\",\n\t\t\t\tcaughtErrors: \"none\",\n\t\t\t\tignoreRestSiblings: true,\n\t\t\t\tvars: \"all\"\n\t\t\t}],\n\t\t\t\"no-use-before-define\": [\"error\", {\n\t\t\t\tclasses: false,\n\t\t\t\tfunctions: false,\n\t\t\t\tvariables: true\n\t\t\t}],\n\t\t\t\"no-useless-backreference\": \"error\",\n\t\t\t\"no-useless-call\": \"error\",\n\t\t\t\"no-useless-catch\": \"error\",\n\t\t\t\"no-useless-computed-key\": \"error\",\n\t\t\t\"no-useless-constructor\": \"error\",\n\t\t\t\"no-useless-rename\": \"error\",\n\t\t\t\"no-useless-return\": \"error\",\n\t\t\t\"no-var\": \"error\",\n\t\t\t\"no-with\": \"error\",\n\t\t\t\"object-shorthand\": [\n\t\t\t\t\"error\",\n\t\t\t\t\"always\",\n\t\t\t\t{\n\t\t\t\t\tavoidQuotes: true,\n\t\t\t\t\tignoreConstructors: false\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"one-var\": [\"error\", { initialized: \"never\" }],\n\t\t\t\"prefer-arrow-callback\": [\"error\", {\n\t\t\t\tallowNamedFunctions: false,\n\t\t\t\tallowUnboundThis: true\n\t\t\t}],\n\t\t\t\"prefer-const\": [isInEditor ? \"warn\" : \"error\", {\n\t\t\t\tdestructuring: \"all\",\n\t\t\t\tignoreReadBeforeAssign: true\n\t\t\t}],\n\t\t\t\"prefer-exponentiation-operator\": \"error\",\n\t\t\t\"prefer-promise-reject-errors\": \"error\",\n\t\t\t\"prefer-regex-literals\": [\"error\", { disallowRedundantWrapping: true }],\n\t\t\t\"prefer-rest-params\": \"error\",\n\t\t\t\"prefer-spread\": \"error\",\n\t\t\t\"prefer-template\": \"error\",\n\t\t\t\"symbol-description\": \"error\",\n\t\t\t\"unicode-bom\": [\"error\", \"never\"],\n\t\t\t\"unused-imports/no-unused-imports\": isInEditor ? \"warn\" : \"error\",\n\t\t\t\"unused-imports/no-unused-vars\": [\"error\", {\n\t\t\t\targs: \"after-used\",\n\t\t\t\targsIgnorePattern: \"^_\",\n\t\t\t\tignoreRestSiblings: true,\n\t\t\t\tvars: \"all\",\n\t\t\t\tvarsIgnorePattern: \"^_\"\n\t\t\t}],\n\t\t\t\"use-isnan\": [\"error\", {\n\t\t\t\tenforceForIndexOf: true,\n\t\t\t\tenforceForSwitchCase: true\n\t\t\t}],\n\t\t\t\"valid-typeof\": [\"error\", { requireStringLiterals: true }],\n\t\t\t\"vars-on-top\": \"error\",\n\t\t\t\"yoda\": [\"error\", \"never\"],\n\t\t\t...overrides\n\t\t}\n\t}];\n}\n\n//#endregion\n//#region src/configs/jsdoc.ts\nasync function jsdoc(options = {}) {\n\tconst { stylistic: stylistic$1 = true } = options;\n\treturn [{\n\t\tname: \"antfu/jsdoc/rules\",\n\t\tplugins: { jsdoc: await interopDefault(import(\"eslint-plugin-jsdoc\")) },\n\t\trules: {\n\t\t\t\"jsdoc/check-access\": \"warn\",\n\t\t\t\"jsdoc/check-param-names\": \"warn\",\n\t\t\t\"jsdoc/check-property-names\": \"warn\",\n\t\t\t\"jsdoc/check-types\": \"warn\",\n\t\t\t\"jsdoc/empty-tags\": \"warn\",\n\t\t\t\"jsdoc/implements-on-classes\": \"warn\",\n\t\t\t\"jsdoc/no-defaults\": \"warn\",\n\t\t\t\"jsdoc/no-multi-asterisks\": \"warn\",\n\t\t\t\"jsdoc/require-param-name\": \"warn\",\n\t\t\t\"jsdoc/require-property\": \"warn\",\n\t\t\t\"jsdoc/require-property-description\": \"warn\",\n\t\t\t\"jsdoc/require-property-name\": \"warn\",\n\t\t\t\"jsdoc/require-returns-check\": \"warn\",\n\t\t\t\"jsdoc/require-returns-description\": \"warn\",\n\t\t\t\"jsdoc/require-yields-check\": \"warn\",\n\t\t\t...stylistic$1 ? {\n\t\t\t\t\"jsdoc/check-alignment\": \"warn\",\n\t\t\t\t\"jsdoc/multiline-blocks\": \"warn\"\n\t\t\t} : {}\n\t\t}\n\t}];\n}\n\n//#endregion\n//#region src/configs/jsonc.ts\nasync function jsonc(options = {}) {\n\tconst { files = [\n\t\tGLOB_JSON,\n\t\tGLOB_JSON5,\n\t\tGLOB_JSONC\n\t], overrides = {}, stylistic: stylistic$1 = true } = options;\n\tconst { indent = 2 } = typeof stylistic$1 === \"boolean\" ? {} : stylistic$1;\n\tconst [pluginJsonc, parserJsonc] = await Promise.all([interopDefault(import(\"eslint-plugin-jsonc\")), interopDefault(import(\"jsonc-eslint-parser\"))]);\n\treturn [{\n\t\tname: \"antfu/jsonc/setup\",\n\t\tplugins: { jsonc: pluginJsonc }\n\t}, {\n\t\tfiles,\n\t\tlanguageOptions: { parser: parserJsonc },\n\t\tname: \"antfu/jsonc/rules\",\n\t\trules: {\n\t\t\t\"jsonc/no-bigint-literals\": \"error\",\n\t\t\t\"jsonc/no-binary-expression\": \"error\",\n\t\t\t\"jsonc/no-binary-numeric-literals\": \"error\",\n\t\t\t\"jsonc/no-dupe-keys\": \"error\",\n\t\t\t\"jsonc/no-escape-sequence-in-identifier\": \"error\",\n\t\t\t\"jsonc/no-floating-decimal\": \"error\",\n\t\t\t\"jsonc/no-hexadecimal-numeric-literals\": \"error\",\n\t\t\t\"jsonc/no-infinity\": \"error\",\n\t\t\t\"jsonc/no-multi-str\": \"error\",\n\t\t\t\"jsonc/no-nan\": \"error\",\n\t\t\t\"jsonc/no-number-props\": \"error\",\n\t\t\t\"jsonc/no-numeric-separators\": \"error\",\n\t\t\t\"jsonc/no-octal\": \"error\",\n\t\t\t\"jsonc/no-octal-escape\": \"error\",\n\t\t\t\"jsonc/no-octal-numeric-literals\": \"error\",\n\t\t\t\"jsonc/no-parenthesized\": \"error\",\n\t\t\t\"jsonc/no-plus-sign\": \"error\",\n\t\t\t\"jsonc/no-regexp-literals\": \"error\",\n\t\t\t\"jsonc/no-sparse-arrays\": \"error\",\n\t\t\t\"jsonc/no-template-literals\": \"error\",\n\t\t\t\"jsonc/no-undefined-value\": \"error\",\n\t\t\t\"jsonc/no-unicode-codepoint-escapes\": \"error\",\n\t\t\t\"jsonc/no-useless-escape\": \"error\",\n\t\t\t\"jsonc/space-unary-ops\": \"error\",\n\t\t\t\"jsonc/valid-json-number\": \"error\",\n\t\t\t\"jsonc/vue-custom-block/no-parsing-error\": \"error\",\n\t\t\t...stylistic$1 ? {\n\t\t\t\t\"jsonc/array-bracket-spacing\": [\"error\", \"never\"],\n\t\t\t\t\"jsonc/comma-dangle\": [\"error\", \"never\"],\n\t\t\t\t\"jsonc/comma-style\": [\"error\", \"last\"],\n\t\t\t\t\"jsonc/indent\": [\"error\", typeof indent === \"number\" ? indent : indent === \"tab\" ? \"tab\" : 2],\n\t\t\t\t\"jsonc/key-spacing\": [\"error\", {\n\t\t\t\t\tafterColon: true,\n\t\t\t\t\tbeforeColon: false\n\t\t\t\t}],\n\t\t\t\t\"jsonc/object-curly-newline\": [\"error\", {\n\t\t\t\t\tconsistent: true,\n\t\t\t\t\tmultiline: true\n\t\t\t\t}],\n\t\t\t\t\"jsonc/object-curly-spacing\": [\"error\", \"always\"],\n\t\t\t\t\"jsonc/object-property-newline\": [\"error\", { allowAllPropertiesOnSameLine: true }],\n\t\t\t\t\"jsonc/quote-props\": \"error\",\n\t\t\t\t\"jsonc/quotes\": \"error\"\n\t\t\t} : {},\n\t\t\t...overrides\n\t\t}\n\t}];\n}\n\n//#endregion\n//#region src/configs/jsx.ts\nasync function jsx(options = {}) {\n\tconst { a11y } = options;\n\tconst baseConfig = {\n\t\tfiles: [GLOB_JSX, GLOB_TSX],\n\t\tlanguageOptions: { parserOptions: { ecmaFeatures: { jsx: true } } },\n\t\tname: \"antfu/jsx/setup\",\n\t\tplugins: {},\n\t\trules: {}\n\t};\n\tif (!a11y) return [baseConfig];\n\tawait ensurePackages([\"eslint-plugin-jsx-a11y\"]);\n\tconst jsxA11yPlugin = await interopDefault(import(\"eslint-plugin-jsx-a11y\"));\n\tconst a11yConfig = jsxA11yPlugin.flatConfigs.recommended;\n\tconst a11yRules = {\n\t\t...a11yConfig.rules || {},\n\t\t...typeof a11y === \"object\" && a11y.overrides ? a11y.overrides : {}\n\t};\n\treturn [{\n\t\t...baseConfig,\n\t\t...a11yConfig,\n\t\tfiles: baseConfig.files,\n\t\tlanguageOptions: {\n\t\t\t...baseConfig.languageOptions,\n\t\t\t...a11yConfig.languageOptions\n\t\t},\n\t\tname: baseConfig.name,\n\t\tplugins: {\n\t\t\t...baseConfig.plugins,\n\t\t\t\"jsx-a11y\": jsxA11yPlugin\n\t\t},\n\t\trules: {\n\t\t\t...baseConfig.rules,\n\t\t\t...a11yRules\n\t\t}\n\t}];\n}\n\n//#endregion\n//#region src/configs/markdown.ts\nasync function markdown(options = {}) {\n\tconst { componentExts = [], files = [GLOB_MARKDOWN], overrides = {} } = options;\n\tconst markdown$1 = await interopDefault(import(\"@eslint/markdown\"));\n\treturn [\n\t\t{\n\t\t\tname: \"antfu/markdown/setup\",\n\t\t\tplugins: { markdown: markdown$1 }\n\t\t},\n\t\t{\n\t\t\tfiles,\n\t\t\tignores: [GLOB_MARKDOWN_IN_MARKDOWN],\n\t\t\tname: \"antfu/markdown/processor\",\n\t\t\tprocessor: mergeProcessors([markdown$1.processors.markdown, processorPassThrough])\n\t\t},\n\t\t{\n\t\t\tfiles,\n\t\t\tlanguageOptions: { parser: parserPlain },\n\t\t\tname: \"antfu/markdown/parser\"\n\t\t},\n\t\t{\n\t\t\tfiles: [GLOB_MARKDOWN_CODE, ...componentExts.map((ext) => `${GLOB_MARKDOWN}/**/*.${ext}`)],\n\t\t\tlanguageOptions: { parserOptions: { ecmaFeatures: { impliedStrict: true } } },\n\t\t\tname: \"antfu/markdown/disables\",\n\t\t\trules: {\n\t\t\t\t\"antfu/no-top-level-await\": \"off\",\n\t\t\t\t\"no-alert\": \"off\",\n\t\t\t\t\"no-console\": \"off\",\n\t\t\t\t\"no-labels\": \"off\",\n\t\t\t\t\"no-lone-blocks\": \"off\",\n\t\t\t\t\"no-restricted-syntax\": \"off\",\n\t\t\t\t\"no-undef\": \"off\",\n\t\t\t\t\"no-unused-expressions\": \"off\",\n\t\t\t\t\"no-unused-labels\": \"off\",\n\t\t\t\t\"no-unused-vars\": \"off\",\n\t\t\t\t\"node/prefer-global/process\": \"off\",\n\t\t\t\t\"style/comma-dangle\": \"off\",\n\t\t\t\t\"style/eol-last\": \"off\",\n\t\t\t\t\"style/padding-line-between-statements\": \"off\",\n\t\t\t\t\"ts/consistent-type-imports\": \"off\",\n\t\t\t\t\"ts/explicit-function-return-type\": \"off\",\n\t\t\t\t\"ts/no-namespace\": \"off\",\n\t\t\t\t\"ts/no-redeclare\": \"off\",\n\t\t\t\t\"ts/no-require-imports\": \"off\",\n\t\t\t\t\"ts/no-unused-expressions\": \"off\",\n\t\t\t\t\"ts/no-unused-vars\": \"off\",\n\t\t\t\t\"ts/no-use-before-define\": \"off\",\n\t\t\t\t\"unicode-bom\": \"off\",\n\t\t\t\t\"unused-imports/no-unused-imports\": \"off\",\n\t\t\t\t\"unused-imports/no-unused-vars\": \"off\",\n\t\t\t\t...overrides\n\t\t\t}\n\t\t}\n\t];\n}\n\n//#endregion\n//#region src/configs/nextjs.ts\nfunction normalizeRules(rules) {\n\treturn Object.fromEntries(Object.entries(rules).map(([key, value]) => [key, typeof value === \"string\" ? [value] : value]));\n}\nasync function nextjs(options = {}) {\n\tconst { files = [GLOB_SRC], overrides = {} } = options;\n\tawait ensurePackages([\"@next/eslint-plugin-next\"]);\n\tconst pluginNextJS = await interopDefault(import(\"@next/eslint-plugin-next\"));\n\tfunction getRules(name) {\n\t\tconst rules = pluginNextJS.configs?.[name]?.rules;\n\t\tif (!rules) throw new Error(`[@antfu/eslint-config] Failed to find config ${name} in @next/eslint-plugin-next`);\n\t\treturn normalizeRules(rules);\n\t}\n\treturn [{\n\t\tname: \"antfu/nextjs/setup\",\n\t\tplugins: { next: pluginNextJS }\n\t}, {\n\t\tfiles,\n\t\tlanguageOptions: {\n\t\t\tparserOptions: { ecmaFeatures: { jsx: true } },\n\t\t\tsourceType: \"module\"\n\t\t},\n\t\tname: \"antfu/nextjs/rules\",\n\t\trules: {\n\t\t\t...getRules(\"recommended\"),\n\t\t\t...getRules(\"core-web-vitals\"),\n\t\t\t...overrides\n\t\t},\n\t\tsettings: { react: { version: \"detect\" } }\n\t}];\n}\n\n//#endregion\n//#region src/configs/node.ts\nasync function node() {\n\treturn [{\n\t\tname: \"antfu/node/rules\",\n\t\tplugins: { node: pluginNode },\n\t\trules: {\n\t\t\t\"node/handle-callback-err\": [\"error\", \"^(err|error)$\"],\n\t\t\t\"node/no-deprecated-api\": \"error\",\n\t\t\t\"node/no-exports-assign\": \"error\",\n\t\t\t\"node/no-new-require\": \"error\",\n\t\t\t\"node/no-path-concat\": \"error\",\n\t\t\t\"node/prefer-global/buffer\": [\"error\", \"never\"],\n\t\t\t\"node/prefer-global/process\": [\"error\", \"never\"],\n\t\t\t\"node/process-exit-as-throw\": \"error\"\n\t\t}\n\t}];\n}\n\n//#endregion\n//#region src/configs/perfectionist.ts\n/**\n* Perfectionist plugin for props and items sorting.\n*\n* @see https://github.com/azat-io/eslint-plugin-perfectionist\n*/\nasync function perfectionist() {\n\treturn [{\n\t\tname: \"antfu/perfectionist/setup\",\n\t\tplugins: { perfectionist: pluginPerfectionist },\n\t\trules: {\n\t\t\t\"perfectionist/sort-exports\": [\"error\", {\n\t\t\t\torder: \"asc\",\n\t\t\t\ttype: \"natural\"\n\t\t\t}],\n\t\t\t\"perfectionist/sort-imports\": [\"error\", {\n\t\t\t\tgroups: [\n\t\t\t\t\t\"type-import\",\n\t\t\t\t\t[\n\t\t\t\t\t\t\"type-parent\",\n\t\t\t\t\t\t\"type-sibling\",\n\t\t\t\t\t\t\"type-index\",\n\t\t\t\t\t\t\"type-internal\"\n\t\t\t\t\t],\n\t\t\t\t\t\"value-builtin\",\n\t\t\t\t\t\"value-external\",\n\t\t\t\t\t\"value-internal\",\n\t\t\t\t\t[\n\t\t\t\t\t\t\"value-parent\",\n\t\t\t\t\t\t\"value-sibling\",\n\t\t\t\t\t\t\"value-index\"\n\t\t\t\t\t],\n\t\t\t\t\t\"side-effect\",\n\t\t\t\t\t\"ts-equals-import\",\n\t\t\t\t\t\"unknown\"\n\t\t\t\t],\n\t\t\t\tnewlinesBetween: \"ignore\",\n\t\t\t\tnewlinesInside: \"ignore\",\n\t\t\t\torder: \"asc\",\n\t\t\t\ttype: \"natural\"\n\t\t\t}],\n\t\t\t\"perfectionist/sort-named-exports\": [\"error\", {\n\t\t\t\torder: \"asc\",\n\t\t\t\ttype: \"natural\"\n\t\t\t}],\n\t\t\t\"perfectionist/sort-named-imports\": [\"error\", {\n\t\t\t\torder: \"asc\",\n\t\t\t\ttype: \"natural\"\n\t\t\t}]\n\t\t}\n\t}];\n}\n\n//#endregion\n//#region src/configs/pnpm.ts\nasync function detectCatalogUsage() {\n\tconst workspaceFile = await findUp(\"pnpm-workspace.yaml\");\n\tif (!workspaceFile) return false;\n\tconst yaml$1 = await fs.readFile(workspaceFile, \"utf-8\");\n\treturn yaml$1.includes(\"catalog:\") || yaml$1.includes(\"catalogs:\");\n}\nasync function pnpm(options) {\n\tconst [pluginPnpm, pluginYaml, yamlParser, jsoncParser] = await Promise.all([\n\t\tinteropDefault(import(\"eslint-plugin-pnpm\")),\n\t\tinteropDefault(import(\"eslint-plugin-yml\")),\n\t\tinteropDefault(import(\"yaml-eslint-parser\")),\n\t\tinteropDefault(import(\"jsonc-eslint-parser\"))\n\t]);\n\tconst { catalogs = await detectCatalogUsage(), isInEditor = false, json = true, sort = true, yaml: yaml$1 = true } = options;\n\tconst configs$1 = [];\n\tif (json) configs$1.push({\n\t\tfiles: [\"package.json\", \"**/package.json\"],\n\t\tlanguageOptions: { parser: jsoncParser },\n\t\tname: \"antfu/pnpm/package-json\",\n\t\tplugins: { pnpm: pluginPnpm },\n\t\trules: {\n\t\t\t...catalogs ? { \"pnpm/json-enforce-catalog\": [\"error\", {\n\t\t\t\tautofix: !isInEditor,\n\t\t\t\tignores: [\"@types/vscode\"]\n\t\t\t}] } : {},\n\t\t\t\"pnpm/json-prefer-workspace-settings\": [\"error\", { autofix: !isInEditor }],\n\t\t\t\"pnpm/json-valid-catalog\": [\"error\", { autofix: !isInEditor }]\n\t\t}\n\t});\n\tif (yaml$1) {\n\t\tconfigs$1.push({\n\t\t\tfiles: [\"pnpm-workspace.yaml\"],\n\t\t\tlanguageOptions: { parser: yamlParser },\n\t\t\tname: \"antfu/pnpm/pnpm-workspace-yaml\",\n\t\t\tplugins: { pnpm: pluginPnpm },\n\t\t\trules: {\n\t\t\t\t\"pnpm/yaml-enforce-settings\": [\"error\", { settings: {\n\t\t\t\t\tshellEmulator: true,\n\t\t\t\t\ttrustPolicy: \"no-downgrade\"\n\t\t\t\t} }],\n\t\t\t\t\"pnpm/yaml-no-duplicate-catalog-item\": \"error\",\n\t\t\t\t\"pnpm/yaml-no-unused-catalog-item\": \"error\"\n\t\t\t}\n\t\t});\n\t\tif (sort) configs$1.push({\n\t\t\tfiles: [\"pnpm-workspace.yaml\"],\n\t\t\tlanguageOptions: { parser: yamlParser },\n\t\t\tname: \"antfu/pnpm/pnpm-workspace-yaml-sort\",\n\t\t\tplugins: { yaml: pluginYaml },\n\t\t\trules: { \"yaml/sort-keys\": [\n\t\t\t\t\"error\",\n\t\t\t\t{\n\t\t\t\t\torder: [\n\t\t\t\t\t\t...[\n\t\t\t\t\t\t\t\"cacheDir\",\n\t\t\t\t\t\t\t\"catalogMode\",\n\t\t\t\t\t\t\t\"cleanupUnusedCatalogs\",\n\t\t\t\t\t\t\t\"dedupeDirectDeps\",\n\t\t\t\t\t\t\t\"deployAllFiles\",\n\t\t\t\t\t\t\t\"enablePrePostScripts\",\n\t\t\t\t\t\t\t\"engineStrict\",\n\t\t\t\t\t\t\t\"extendNodePath\",\n\t\t\t\t\t\t\t\"hoist\",\n\t\t\t\t\t\t\t\"hoistPattern\",\n\t\t\t\t\t\t\t\"hoistWorkspacePackages\",\n\t\t\t\t\t\t\t\"ignoreCompatibilityDb\",\n\t\t\t\t\t\t\t\"ignoreDepScripts\",\n\t\t\t\t\t\t\t\"ignoreScripts\",\n\t\t\t\t\t\t\t\"ignoreWorkspaceRootCheck\",\n\t\t\t\t\t\t\t\"managePackageManagerVersions\",\n\t\t\t\t\t\t\t\"minimumReleaseAge\",\n\t\t\t\t\t\t\t\"minimumReleaseAgeExclude\",\n\t\t\t\t\t\t\t\"modulesDir\",\n\t\t\t\t\t\t\t\"nodeLinker\",\n\t\t\t\t\t\t\t\"nodeVersion\",\n\t\t\t\t\t\t\t\"optimisticRepeatInstall\",\n\t\t\t\t\t\t\t\"packageManagerStrict\",\n\t\t\t\t\t\t\t\"packageManagerStrictVersion\",\n\t\t\t\t\t\t\t\"preferSymlinkedExecutables\",\n\t\t\t\t\t\t\t\"preferWorkspacePackages\",\n\t\t\t\t\t\t\t\"publicHoistPattern\",\n\t\t\t\t\t\t\t\"registrySupportsTimeField\",\n\t\t\t\t\t\t\t\"requiredScripts\",\n\t\t\t\t\t\t\t\"resolutionMode\",\n\t\t\t\t\t\t\t\"savePrefix\",\n\t\t\t\t\t\t\t\"scriptShell\",\n\t\t\t\t\t\t\t\"shamefullyHoist\",\n\t\t\t\t\t\t\t\"shellEmulator\",\n\t\t\t\t\t\t\t\"stateDir\",\n\t\t\t\t\t\t\t\"supportedArchitectures\",\n\t\t\t\t\t\t\t\"symlink\",\n\t\t\t\t\t\t\t\"tag\",\n\t\t\t\t\t\t\t\"trustPolicy\",\n\t\t\t\t\t\t\t\"trustPolicyExclude\",\n\t\t\t\t\t\t\t\"updateNotifier\"\n\t\t\t\t\t\t],\n\t\t\t\t\t\t\"packages\",\n\t\t\t\t\t\t\"overrides\",\n\t\t\t\t\t\t\"patchedDependencies\",\n\t\t\t\t\t\t\"catalog\",\n\t\t\t\t\t\t\"catalogs\",\n\t\t\t\t\t\t...[\n\t\t\t\t\t\t\t\"allowedDeprecatedVersions\",\n\t\t\t\t\t\t\t\"allowNonAppliedPatches\",\n\t\t\t\t\t\t\t\"configDependencies\",\n\t\t\t\t\t\t\t\"ignoredBuiltDependencies\",\n\t\t\t\t\t\t\t\"ignoredOptionalDependencies\",\n\t\t\t\t\t\t\t\"neverBuiltDependencies\",\n\t\t\t\t\t\t\t\"onlyBuiltDependencies\",\n\t\t\t\t\t\t\t\"onlyBuiltDependenciesFile\",\n\t\t\t\t\t\t\t\"packageExtensions\",\n\t\t\t\t\t\t\t\"peerDependencyRules\"\n\t\t\t\t\t\t]\n\t\t\t\t\t],\n\t\t\t\t\tpathPattern: \"^$\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\torder: { type: \"asc\" },\n\t\t\t\t\tpathPattern: \".*\"\n\t\t\t\t}\n\t\t\t] }\n\t\t});\n\t}\n\treturn configs$1;\n}\n\n//#endregion\n//#region src/configs/react.ts\nconst ReactRefreshAllowConstantExportPackages = [\"vite\"];\nconst RemixPackages = [\n\t\"@remix-run/node\",\n\t\"@remix-run/react\",\n\t\"@remix-run/serve\",\n\t\"@remix-run/dev\"\n];\nconst ReactRouterPackages = [\n\t\"@react-router/node\",\n\t\"@react-router/react\",\n\t\"@react-router/serve\",\n\t\"@react-router/dev\"\n];\nconst NextJsPackages = [\"next\"];\nconst ReactCompilerPackages = [\"babel-plugin-react-compiler\"];\nasync function react(options = {}) {\n\tconst { files = [GLOB_SRC], filesTypeAware = [GLOB_TS, GLOB_TSX], ignoresTypeAware = [`${GLOB_MARKDOWN}/**`, GLOB_ASTRO_TS], overrides = {}, tsconfigPath, reactCompiler = ReactCompilerPackages.some((i) => isPackageExists(i)) } = options;\n\tawait ensurePackages([\n\t\t\"@eslint-react/eslint-plugin\",\n\t\t\"eslint-plugin-react-hooks\",\n\t\t\"eslint-plugin-react-refresh\"\n\t]);\n\tconst isTypeAware = !!tsconfigPath;\n\tconst typeAwareRules = { \"react/no-leaked-conditional-rendering\": \"warn\" };\n\tconst [pluginReact, pluginReactHooks, pluginReactRefresh] = await Promise.all([\n\t\tinteropDefault(import(\"@eslint-react/eslint-plugin\")),\n\t\tinteropDefault(import(\"eslint-plugin-react-hooks\")),\n\t\tinteropDefault(import(\"eslint-plugin-react-refresh\"))\n\t]);\n\tconst isAllowConstantExport = ReactRefreshAllowConstantExportPackages.some((i) => isPackageExists(i));\n\tconst isUsingRemix = RemixPackages.some((i) => isPackageExists(i));\n\tconst isUsingReactRouter = ReactRouterPackages.some((i) => isPackageExists(i));\n\tconst isUsingNext = NextJsPackages.some((i) => isPackageExists(i));\n\tconst plugins = pluginReact.configs.all.plugins;\n\treturn [\n\t\t{\n\t\t\tname: \"antfu/react/setup\",\n\t\t\tplugins: {\n\t\t\t\t\"react\": plugins[\"@eslint-react\"],\n\t\t\t\t\"react-dom\": plugins[\"@eslint-react/dom\"],\n\t\t\t\t\"react-hooks\": pluginReactHooks,\n\t\t\t\t\"react-hooks-extra\": plugins[\"@eslint-react/hooks-extra\"],\n\t\t\t\t\"react-naming-convention\": plugins[\"@eslint-react/naming-convention\"],\n\t\t\t\t\"react-refresh\": pluginReactRefresh,\n\t\t\t\t\"react-web-api\": plugins[\"@eslint-react/web-api\"]\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\tfiles,\n\t\t\tlanguageOptions: {\n\t\t\t\tparserOptions: { ecmaFeatures: { jsx: true } },\n\t\t\t\tsourceType: \"module\"\n\t\t\t},\n\t\t\tname: \"antfu/react/rules\",\n\t\t\trules: {\n\t\t\t\t\"react/jsx-key-before-spread\": \"warn\",\n\t\t\t\t\"react/jsx-no-comment-textnodes\": \"warn\",\n\t\t\t\t\"react/jsx-no-duplicate-props\": \"warn\",\n\t\t\t\t\"react/jsx-uses-react\": \"warn\",\n\t\t\t\t\"react/jsx-uses-vars\": \"warn\",\n\t\t\t\t\"react/no-access-state-in-setstate\": \"error\",\n\t\t\t\t\"react/no-array-index-key\": \"warn\",\n\t\t\t\t\"react/no-children-count\": \"warn\",\n\t\t\t\t\"react/no-children-for-each\": \"warn\",\n\t\t\t\t\"react/no-children-map\": \"warn\",\n\t\t\t\t\"react/no-children-only\": \"warn\",\n\t\t\t\t\"react/no-children-to-array\": \"warn\",\n\t\t\t\t\"react/no-clone-element\": \"warn\",\n\t\t\t\t\"react/no-component-will-mount\": \"error\",\n\t\t\t\t\"react/no-component-will-receive-props\": \"error\",\n\t\t\t\t\"react/no-component-will-update\": \"error\",\n\t\t\t\t\"react/no-context-provider\": \"warn\",\n\t\t\t\t\"react/no-create-ref\": \"error\",\n\t\t\t\t\"react/no-default-props\": \"error\",\n\t\t\t\t\"react/no-direct-mutation-state\": \"error\",\n\t\t\t\t\"react/no-duplicate-key\": \"error\",\n\t\t\t\t\"react/no-forward-ref\": \"warn\",\n\t\t\t\t\"react/no-implicit-key\": \"warn\",\n\t\t\t\t\"react/no-missing-key\": \"error\",\n\t\t\t\t\"react/no-nested-component-definitions\": \"error\",\n\t\t\t\t\"react/no-nested-lazy-component-declarations\": \"error\",\n\t\t\t\t\"react/no-prop-types\": \"error\",\n\t\t\t\t\"react/no-redundant-should-component-update\": \"error\",\n\t\t\t\t\"react/no-set-state-in-component-did-mount\": \"warn\",\n\t\t\t\t\"react/no-set-state-in-component-did-update\": \"warn\",\n\t\t\t\t\"react/no-set-state-in-component-will-update\": \"warn\",\n\t\t\t\t\"react/no-string-refs\": \"error\",\n\t\t\t\t\"react/no-unnecessary-use-prefix\": \"warn\",\n\t\t\t\t\"react/no-unsafe-component-will-mount\": \"warn\",\n\t\t\t\t\"react/no-unsafe-component-will-receive-props\": \"warn\",\n\t\t\t\t\"react/no-unsafe-component-will-update\": \"warn\",\n\t\t\t\t\"react/no-use-context\": \"warn\",\n\t\t\t\t\"react/no-useless-forward-ref\": \"warn\",\n\t\t\t\t\"react/prefer-use-state-lazy-initialization\": \"warn\",\n\t\t\t\t\"react/prefer-namespace-import\": \"error\",\n\t\t\t\t\"react-dom/no-dangerously-set-innerhtml\": \"warn\",\n\t\t\t\t\"react-dom/no-dangerously-set-innerhtml-with-children\": \"error\",\n\t\t\t\t\"react-dom/no-find-dom-node\": \"error\",\n\t\t\t\t\"react-dom/no-flush-sync\": \"error\",\n\t\t\t\t\"react-dom/no-hydrate\": \"error\",\n\t\t\t\t\"react-dom/no-namespace\": \"error\",\n\t\t\t\t\"react-dom/no-render\": \"error\",\n\t\t\t\t\"react-dom/no-render-return-value\": \"error\",\n\t\t\t\t\"react-dom/no-script-url\": \"warn\",\n\t\t\t\t\"react-dom/no-unsafe-iframe-sandbox\": \"warn\",\n\t\t\t\t\"react-dom/no-use-form-state\": \"error\",\n\t\t\t\t\"react-dom/no-void-elements-with-children\": \"error\",\n\t\t\t\t\"react-hooks/rules-of-hooks\": \"error\",\n\t\t\t\t\"react-hooks/exhaustive-deps\": \"warn\",\n\t\t\t\t...reactCompiler ? {\n\t\t\t\t\t\"react-hooks/config\": \"error\",\n\t\t\t\t\t\"react-hooks/error-boundaries\": \"error\",\n\t\t\t\t\t\"react-hooks/component-hook-factories\": \"error\",\n\t\t\t\t\t\"react-hooks/gating\": \"error\",\n\t\t\t\t\t\"react-hooks/globals\": \"error\",\n\t\t\t\t\t\"react-hooks/immutability\": \"error\",\n\t\t\t\t\t\"react-hooks/preserve-manual-memoization\": \"error\",\n\t\t\t\t\t\"react-hooks/purity\": \"error\",\n\t\t\t\t\t\"react-hooks/refs\": \"error\",\n\t\t\t\t\t\"react-hooks/set-state-in-effect\": \"error\",\n\t\t\t\t\t\"react-hooks/set-state-in-render\": \"error\",\n\t\t\t\t\t\"react-hooks/static-components\": \"error\",\n\t\t\t\t\t\"react-hooks/unsupported-syntax\": \"warn\",\n\t\t\t\t\t\"react-hooks/use-memo\": \"error\",\n\t\t\t\t\t\"react-hooks/incompatible-library\": \"warn\"\n\t\t\t\t} : {},\n\t\t\t\t\"react-hooks-extra/no-direct-set-state-in-use-effect\": \"warn\",\n\t\t\t\t\"react-web-api/no-leaked-event-listener\": \"warn\",\n\t\t\t\t\"react-web-api/no-leaked-interval\": \"warn\",\n\t\t\t\t\"react-web-api/no-leaked-resize-observer\": \"warn\",\n\t\t\t\t\"react-web-api/no-leaked-timeout\": \"warn\",\n\t\t\t\t\"react-refresh/only-export-components\": [\"warn\", {\n\t\t\t\t\tallowConstantExport: isAllowConstantExport,\n\t\t\t\t\tallowExportNames: [...isUsingNext ? [\n\t\t\t\t\t\t\"dynamic\",\n\t\t\t\t\t\t\"dynamicParams\",\n\t\t\t\t\t\t\"revalidate\",\n\t\t\t\t\t\t\"fetchCache\",\n\t\t\t\t\t\t\"runtime\",\n\t\t\t\t\t\t\"preferredRegion\",\n\t\t\t\t\t\t\"maxDuration\",\n\t\t\t\t\t\t\"config\",\n\t\t\t\t\t\t\"generateStaticParams\",\n\t\t\t\t\t\t\"metadata\",\n\t\t\t\t\t\t\"generateMetadata\",\n\t\t\t\t\t\t\"viewport\",\n\t\t\t\t\t\t\"generateViewport\"\n\t\t\t\t\t] : [], ...isUsingRemix || isUsingReactRouter ? [\n\t\t\t\t\t\t\"meta\",\n\t\t\t\t\t\t\"links\",\n\t\t\t\t\t\t\"headers\",\n\t\t\t\t\t\t\"loader\",\n\t\t\t\t\t\t\"action\",\n\t\t\t\t\t\t\"clientLoader\",\n\t\t\t\t\t\t\"clientAction\",\n\t\t\t\t\t\t\"handle\",\n\t\t\t\t\t\t\"shouldRevalidate\"\n\t\t\t\t\t] : []]\n\t\t\t\t}],\n\t\t\t\t...overrides\n\t\t\t}\n\t\t},\n\t\t...isTypeAware ? [{\n\t\t\tfiles: filesTypeAware,\n\t\t\tignores: ignoresTypeAware,\n\t\t\tname: \"antfu/react/type-aware-rules\",\n\t\t\trules: { ...typeAwareRules }\n\t\t}] : []\n\t];\n}\n\n//#endregion\n//#region src/configs/regexp.ts\nasync function regexp(options = {}) {\n\tconst config = configs[\"flat/recommended\"];\n\tconst rules = { ...config.rules };\n\tif (options.level === \"warn\") {\n\t\tfor (const key in rules) if (rules[key] === \"error\") rules[key] = \"warn\";\n\t}\n\treturn [{\n\t\t...config,\n\t\tname: \"antfu/regexp/rules\",\n\t\trules: {\n\t\t\t...rules,\n\t\t\t...options.overrides\n\t\t}\n\t}];\n}\n\n//#endregion\n//#region src/configs/solid.ts\nasync function solid(options = {}) {\n\tconst { files = [GLOB_JSX, GLOB_TSX], overrides = {}, typescript: typescript$1 = true } = options;\n\tawait ensurePackages([\"eslint-plugin-solid\"]);\n\tconst tsconfigPath = options?.tsconfigPath ? toArray(options.tsconfigPath) : void 0;\n\tconst isTypeAware = !!tsconfigPath;\n\tconst [pluginSolid, parserTs] = await Promise.all([interopDefault(import(\"eslint-plugin-solid\")), interopDefault(import(\"@typescript-eslint/parser\"))]);\n\treturn [{\n\t\tname: \"antfu/solid/setup\",\n\t\tplugins: { solid: pluginSolid }\n\t}, {\n\t\tfiles,\n\t\tlanguageOptions: {\n\t\t\tparser: parserTs,\n\t\t\tparserOptions: {\n\t\t\t\tecmaFeatures: { jsx: true },\n\t\t\t\t...isTypeAware ? { project: tsconfigPath } : {}\n\t\t\t},\n\t\t\tsourceType: \"module\"\n\t\t},\n\t\tname: \"antfu/solid/rules\",\n\t\trules: {\n\t\t\t\"solid/components-return-once\": \"warn\",\n\t\t\t\"solid/event-handlers\": [\"error\", {\n\t\t\t\tignoreCase: false,\n\t\t\t\twarnOnSpread: false\n\t\t\t}],\n\t\t\t\"solid/imports\": \"error\",\n\t\t\t\"solid/jsx-no-duplicate-props\": \"error\",\n\t\t\t\"solid/jsx-no-script-url\": \"error\",\n\t\t\t\"solid/jsx-no-undef\": \"error\",\n\t\t\t\"solid/jsx-uses-vars\": \"error\",\n\t\t\t\"solid/no-destructure\": \"error\",\n\t\t\t\"solid/no-innerhtml\": [\"error\", { allowStatic: true }],\n\t\t\t\"solid/no-react-deps\": \"error\",\n\t\t\t\"solid/no-react-specific-props\": \"error\",\n\t\t\t\"solid/no-unknown-namespaces\": \"error\",\n\t\t\t\"solid/prefer-for\": \"error\",\n\t\t\t\"solid/reactivity\": \"warn\",\n\t\t\t\"solid/self-closing-comp\": \"error\",\n\t\t\t\"solid/style-prop\": [\"error\", { styleProps: [\"style\", \"css\"] }],\n\t\t\t...typescript$1 ? {\n\t\t\t\t\"solid/jsx-no-undef\": [\"error\", { typescriptEnabled: true }],\n\t\t\t\t\"solid/no-unknown-namespaces\": \"off\"\n\t\t\t} : {},\n\t\t\t...overrides\n\t\t}\n\t}];\n}\n\n//#endregion\n//#region src/configs/sort.ts\n/**\n* Sort package.json\n*\n* Requires `jsonc` config\n*/\nasync function sortPackageJson() {\n\treturn [{\n\t\tfiles: [\"**/package.json\"],\n\t\tname: \"antfu/sort/package-json\",\n\t\trules: {\n\t\t\t\"jsonc/sort-array-values\": [\"error\", {\n\t\t\t\torder: { type: \"asc\" },\n\t\t\t\tpathPattern: \"^files$\"\n\t\t\t}],\n\t\t\t\"jsonc/sort-keys\": [\n\t\t\t\t\"error\",\n\t\t\t\t{\n\t\t\t\t\torder: [\n\t\t\t\t\t\t\"publisher\",\n\t\t\t\t\t\t\"name\",\n\t\t\t\t\t\t\"displayName\",\n\t\t\t\t\t\t\"type\",\n\t\t\t\t\t\t\"version\",\n\t\t\t\t\t\t\"private\",\n\t\t\t\t\t\t\"packageManager\",\n\t\t\t\t\t\t\"description\",\n\t\t\t\t\t\t\"author\",\n\t\t\t\t\t\t\"contributors\",\n\t\t\t\t\t\t\"license\",\n\t\t\t\t\t\t\"funding\",\n\t\t\t\t\t\t\"homepage\",\n\t\t\t\t\t\t\"repository\",\n\t\t\t\t\t\t\"bugs\",\n\t\t\t\t\t\t\"keywords\",\n\t\t\t\t\t\t\"categories\",\n\t\t\t\t\t\t\"sideEffects\",\n\t\t\t\t\t\t\"imports\",\n\t\t\t\t\t\t\"exports\",\n\t\t\t\t\t\t\"main\",\n\t\t\t\t\t\t\"module\",\n\t\t\t\t\t\t\"unpkg\",\n\t\t\t\t\t\t\"jsdelivr\",\n\t\t\t\t\t\t\"types\",\n\t\t\t\t\t\t\"typesVersions\",\n\t\t\t\t\t\t\"bin\",\n\t\t\t\t\t\t\"icon\",\n\t\t\t\t\t\t\"files\",\n\t\t\t\t\t\t\"engines\",\n\t\t\t\t\t\t\"activationEvents\",\n\t\t\t\t\t\t\"contributes\",\n\t\t\t\t\t\t\"scripts\",\n\t\t\t\t\t\t\"peerDependencies\",\n\t\t\t\t\t\t\"peerDependenciesMeta\",\n\t\t\t\t\t\t\"dependencies\",\n\t\t\t\t\t\t\"optionalDependencies\",\n\t\t\t\t\t\t\"devDependencies\",\n\t\t\t\t\t\t\"pnpm\",\n\t\t\t\t\t\t\"overrides\",\n\t\t\t\t\t\t\"resolutions\",\n\t\t\t\t\t\t\"husky\",\n\t\t\t\t\t\t\"simple-git-hooks\",\n\t\t\t\t\t\t\"lint-staged\",\n\t\t\t\t\t\t\"eslintConfig\"\n\t\t\t\t\t],\n\t\t\t\t\tpathPattern: \"^$\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\torder: { type: \"asc\" },\n\t\t\t\t\tpathPattern: \"^(?:dev|peer|optional|bundled)?[Dd]ependencies(Meta)?$\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\torder: { type: \"asc\" },\n\t\t\t\t\tpathPattern: \"^(?:resolutions|overrides|pnpm.overrides)$\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\torder: { type: \"asc\" },\n\t\t\t\t\tpathPattern: \"^workspaces\\\\.catalog$\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\torder: { type: \"asc\" },\n\t\t\t\t\tpathPattern: \"^workspaces\\\\.catalogs\\\\.[^.]+$\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\torder: [\n\t\t\t\t\t\t\"types\",\n\t\t\t\t\t\t\"import\",\n\t\t\t\t\t\t\"require\",\n\t\t\t\t\t\t\"default\"\n\t\t\t\t\t],\n\t\t\t\t\tpathPattern: \"^exports.*$\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\torder: [\n\t\t\t\t\t\t\"pre-commit\",\n\t\t\t\t\t\t\"prepare-commit-msg\",\n\t\t\t\t\t\t\"commit-msg\",\n\t\t\t\t\t\t\"post-commit\",\n\t\t\t\t\t\t\"pre-rebase\",\n\t\t\t\t\t\t\"post-rewrite\",\n\t\t\t\t\t\t\"post-checkout\",\n\t\t\t\t\t\t\"post-merge\",\n\t\t\t\t\t\t\"pre-push\",\n\t\t\t\t\t\t\"pre-auto-gc\"\n\t\t\t\t\t],\n\t\t\t\t\tpathPattern: \"^(?:gitHooks|husky|simple-git-hooks)$\"\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}];\n}\n/**\n* Sort tsconfig.json\n*\n* Requires `jsonc` config\n*/\nfunction sortTsconfig() {\n\treturn [{\n\t\tfiles: [\"**/[jt]sconfig.json\", \"**/[jt]sconfig.*.json\"],\n\t\tname: \"antfu/sort/tsconfig-json\",\n\t\trules: { \"jsonc/sort-keys\": [\n\t\t\t\"error\",\n\t\t\t{\n\t\t\t\torder: [\n\t\t\t\t\t\"extends\",\n\t\t\t\t\t\"compilerOptions\",\n\t\t\t\t\t\"references\",\n\t\t\t\t\t\"files\",\n\t\t\t\t\t\"include\",\n\t\t\t\t\t\"exclude\"\n\t\t\t\t],\n\t\t\t\tpathPattern: \"^$\"\n\t\t\t},\n\t\t\t{\n\t\t\t\torder: [\n\t\t\t\t\t\"incremental\",\n\t\t\t\t\t\"composite\",\n\t\t\t\t\t\"tsBuildInfoFile\",\n\t\t\t\t\t\"disableSourceOfProjectReferenceRedirect\",\n\t\t\t\t\t\"disableSolutionSearching\",\n\t\t\t\t\t\"disableReferencedProjectLoad\",\n\t\t\t\t\t\"target\",\n\t\t\t\t\t\"jsx\",\n\t\t\t\t\t\"jsxFactory\",\n\t\t\t\t\t\"jsxFragmentFactory\",\n\t\t\t\t\t\"jsxImportSource\",\n\t\t\t\t\t\"lib\",\n\t\t\t\t\t\"moduleDetection\",\n\t\t\t\t\t\"noLib\",\n\t\t\t\t\t\"reactNamespace\",\n\t\t\t\t\t\"useDefineForClassFields\",\n\t\t\t\t\t\"emitDecoratorMetadata\",\n\t\t\t\t\t\"experimentalDecorators\",\n\t\t\t\t\t\"libReplacement\",\n\t\t\t\t\t\"baseUrl\",\n\t\t\t\t\t\"rootDir\",\n\t\t\t\t\t\"rootDirs\",\n\t\t\t\t\t\"customConditions\",\n\t\t\t\t\t\"module\",\n\t\t\t\t\t\"moduleResolution\",\n\t\t\t\t\t\"moduleSuffixes\",\n\t\t\t\t\t\"noResolve\",\n\t\t\t\t\t\"paths\",\n\t\t\t\t\t\"resolveJsonModule\",\n\t\t\t\t\t\"resolvePackageJsonExports\",\n\t\t\t\t\t\"resolvePackageJsonImports\",\n\t\t\t\t\t\"typeRoots\",\n\t\t\t\t\t\"types\",\n\t\t\t\t\t\"allowArbitraryExtensions\",\n\t\t\t\t\t\"allowImportingTsExtensions\",\n\t\t\t\t\t\"allowUmdGlobalAccess\",\n\t\t\t\t\t\"allowJs\",\n\t\t\t\t\t\"checkJs\",\n\t\t\t\t\t\"maxNodeModuleJsDepth\",\n\t\t\t\t\t\"strict\",\n\t\t\t\t\t\"strictBindCallApply\",\n\t\t\t\t\t\"strictFunctionTypes\",\n\t\t\t\t\t\"strictNullChecks\",\n\t\t\t\t\t\"strictPropertyInitialization\",\n\t\t\t\t\t\"allowUnreachableCode\",\n\t\t\t\t\t\"allowUnusedLabels\",\n\t\t\t\t\t\"alwaysStrict\",\n\t\t\t\t\t\"exactOptionalPropertyTypes\",\n\t\t\t\t\t\"noFallthroughCasesInSwitch\",\n\t\t\t\t\t\"noImplicitAny\",\n\t\t\t\t\t\"noImplicitOverride\",\n\t\t\t\t\t\"noImplicitReturns\",\n\t\t\t\t\t\"noImplicitThis\",\n\t\t\t\t\t\"noPropertyAccessFromIndexSignature\",\n\t\t\t\t\t\"noUncheckedIndexedAccess\",\n\t\t\t\t\t\"noUnusedLocals\",\n\t\t\t\t\t\"noUnusedParameters\",\n\t\t\t\t\t\"useUnknownInCatchVariables\",\n\t\t\t\t\t\"declaration\",\n\t\t\t\t\t\"declarationDir\",\n\t\t\t\t\t\"declarationMap\",\n\t\t\t\t\t\"downlevelIteration\",\n\t\t\t\t\t\"emitBOM\",\n\t\t\t\t\t\"emitDeclarationOnly\",\n\t\t\t\t\t\"importHelpers\",\n\t\t\t\t\t\"importsNotUsedAsValues\",\n\t\t\t\t\t\"inlineSourceMap\",\n\t\t\t\t\t\"inlineSources\",\n\t\t\t\t\t\"mapRoot\",\n\t\t\t\t\t\"newLine\",\n\t\t\t\t\t\"noEmit\",\n\t\t\t\t\t\"noEmitHelpers\",\n\t\t\t\t\t\"noEmitOnError\",\n\t\t\t\t\t\"outDir\",\n\t\t\t\t\t\"outFile\",\n\t\t\t\t\t\"preserveConstEnums\",\n\t\t\t\t\t\"preserveValueImports\",\n\t\t\t\t\t\"removeComments\",\n\t\t\t\t\t\"sourceMap\",\n\t\t\t\t\t\"sourceRoot\",\n\t\t\t\t\t\"stripInternal\",\n\t\t\t\t\t\"allowSyntheticDefaultImports\",\n\t\t\t\t\t\"esModuleInterop\",\n\t\t\t\t\t\"forceConsistentCasingInFileNames\",\n\t\t\t\t\t\"isolatedDeclarations\",\n\t\t\t\t\t\"isolatedModules\",\n\t\t\t\t\t\"preserveSymlinks\",\n\t\t\t\t\t\"verbatimModuleSyntax\",\n\t\t\t\t\t\"erasableSyntaxOnly\",\n\t\t\t\t\t\"skipDefaultLibCheck\",\n\t\t\t\t\t\"skipLibCheck\"\n\t\t\t\t],\n\t\t\t\tpathPattern: \"^compilerOptions$\"\n\t\t\t}\n\t\t] }\n\t}];\n}\n\n//#endregion\n//#region src/configs/svelte.ts\nasync function svelte(options = {}) {\n\tconst { files = [GLOB_SVELTE], overrides = {}, stylistic: stylistic$1 = true } = options;\n\tconst { indent = 2, quotes = \"single\" } = typeof stylistic$1 === \"boolean\" ? {} : stylistic$1;\n\tawait ensurePackages([\"eslint-plugin-svelte\"]);\n\tconst [pluginSvelte, parserSvelte] = await Promise.all([interopDefault(import(\"eslint-plugin-svelte\")), interopDefault(import(\"svelte-eslint-parser\"))]);\n\treturn [{\n\t\tname: \"antfu/svelte/setup\",\n\t\tplugins: { svelte: pluginSvelte }\n\t}, {\n\t\tfiles,\n\t\tlanguageOptions: {\n\t\t\tparser: parserSvelte,\n\t\t\tparserOptions: {\n\t\t\t\textraFileExtensions: [\".svelte\"],\n\t\t\t\tparser: options.typescript ? await interopDefault(import(\"@typescript-eslint/parser\")) : null\n\t\t\t}\n\t\t},\n\t\tname: \"antfu/svelte/rules\",\n\t\tprocessor: pluginSvelte.processors[\".svelte\"],\n\t\trules: {\n\t\t\t\"no-undef\": \"off\",\n\t\t\t\"no-unused-vars\": [\"error\", {\n\t\t\t\targs: \"none\",\n\t\t\t\tcaughtErrors: \"none\",\n\t\t\t\tignoreRestSiblings: true,\n\t\t\t\tvars: \"all\",\n\t\t\t\tvarsIgnorePattern: \"^(\\\\$\\\\$Props$|\\\\$\\\\$Events$|\\\\$\\\\$Slots$)\"\n\t\t\t}],\n\t\t\t\"svelte/comment-directive\": \"error\",\n\t\t\t\"svelte/no-at-debug-tags\": \"warn\",\n\t\t\t\"svelte/no-at-html-tags\": \"error\",\n\t\t\t\"svelte/no-dupe-else-if-blocks\": \"error\",\n\t\t\t\"svelte/no-dupe-style-properties\": \"error\",\n\t\t\t\"svelte/no-dupe-use-directives\": \"error\",\n\t\t\t\"svelte/no-export-load-in-svelte-module-in-kit-pages\": \"error\",\n\t\t\t\"svelte/no-inner-declarations\": \"error\",\n\t\t\t\"svelte/no-not-function-handler\": \"error\",\n\t\t\t\"svelte/no-object-in-text-mustaches\": \"error\",\n\t\t\t\"svelte/no-reactive-functions\": \"error\",\n\t\t\t\"svelte/no-reactive-literals\": \"error\",\n\t\t\t\"svelte/no-shorthand-style-property-overrides\": \"error\",\n\t\t\t\"svelte/no-unknown-style-directive-property\": \"error\",\n\t\t\t\"svelte/no-unused-svelte-ignore\": \"error\",\n\t\t\t\"svelte/no-useless-mustaches\": \"error\",\n\t\t\t\"svelte/require-store-callbacks-use-set-param\": \"error\",\n\t\t\t\"svelte/system\": \"error\",\n\t\t\t\"svelte/valid-each-key\": \"error\",\n\t\t\t\"unused-imports/no-unused-vars\": [\"error\", {\n\t\t\t\targs: \"after-used\",\n\t\t\t\targsIgnorePattern: \"^_\",\n\t\t\t\tvars: \"all\",\n\t\t\t\tvarsIgnorePattern: \"^(_|\\\\$\\\\$Props$|\\\\$\\\\$Events$|\\\\$\\\\$Slots$)\"\n\t\t\t}],\n\t\t\t...stylistic$1 ? {\n\t\t\t\t\"style/indent\": \"off\",\n\t\t\t\t\"style/no-trailing-spaces\": \"off\",\n\t\t\t\t\"svelte/derived-has-same-inputs-outputs\": \"error\",\n\t\t\t\t\"svelte/html-closing-bracket-spacing\": \"error\",\n\t\t\t\t\"svelte/html-quotes\": [\"error\", { prefer: quotes === \"backtick\" ? \"double\" : quotes }],\n\t\t\t\t\"svelte/indent\": [\"error\", {\n\t\t\t\t\talignAttributesVertically: true,\n\t\t\t\t\tindent: typeof indent === \"number\" ? indent : indent === \"tab\" ? \"tab\" : 2\n\t\t\t\t}],\n\t\t\t\t\"svelte/mustache-spacing\": \"error\",\n\t\t\t\t\"svelte/no-spaces-around-equal-signs-in-attribute\": \"error\",\n\t\t\t\t\"svelte/no-trailing-spaces\": \"error\",\n\t\t\t\t\"svelte/spaced-html-comment\": \"error\"\n\t\t\t} : {},\n\t\t\t...overrides\n\t\t}\n\t}];\n}\n\n//#endregion\n//#region src/configs/test.ts\nlet _pluginTest;\nasync function test(options = {}) {\n\tconst { files = GLOB_TESTS, isInEditor = false, overrides = {} } = options;\n\tconst [pluginVitest, pluginNoOnlyTests] = await Promise.all([interopDefault(import(\"@vitest/eslint-plugin\")), interopDefault(import(\"eslint-plugin-no-only-tests\"))]);\n\t_pluginTest = _pluginTest || {\n\t\t...pluginVitest,\n\t\trules: {\n\t\t\t...pluginVitest.rules,\n\t\t\t...pluginNoOnlyTests.rules\n\t\t}\n\t};\n\treturn [{\n\t\tname: \"antfu/test/setup\",\n\t\tplugins: { test: _pluginTest }\n\t}, {\n\t\tfiles,\n\t\tname: \"antfu/test/rules\",\n\t\trules: {\n\t\t\t\"test/consistent-test-it\": [\"error\", {\n\t\t\t\tfn: \"it\",\n\t\t\t\twithinDescribe: \"it\"\n\t\t\t}],\n\t\t\t\"test/no-identical-title\": \"error\",\n\t\t\t\"test/no-import-node-test\": \"error\",\n\t\t\t\"test/no-only-tests\": isInEditor ? \"warn\" : \"error\",\n\t\t\t\"test/prefer-hooks-in-order\": \"error\",\n\t\t\t\"test/prefer-lowercase-title\": \"error\",\n\t\t\t\"antfu/no-top-level-await\": \"off\",\n\t\t\t\"no-unused-expressions\": \"off\",\n\t\t\t\"node/prefer-global/process\": \"off\",\n\t\t\t\"ts/explicit-function-return-type\": \"off\",\n\t\t\t...overrides\n\t\t}\n\t}];\n}\n\n//#endregion\n//#region src/configs/toml.ts\nasync function toml(options = {}) {\n\tconst { files = [GLOB_TOML], overrides = {}, stylistic: stylistic$1 = true } = options;\n\tconst { indent = 2 } = typeof stylistic$1 === \"boolean\" ? {} : stylistic$1;\n\tconst [pluginToml, parserToml] = await Promise.all([interopDefault(import(\"eslint-plugin-toml\")), interopDefault(import(\"toml-eslint-parser\"))]);\n\treturn [{\n\t\tname: \"antfu/toml/setup\",\n\t\tplugins: { toml: pluginToml }\n\t}, {\n\t\tfiles,\n\t\tlanguageOptions: { parser: parserToml },\n\t\tname: \"antfu/toml/rules\",\n\t\trules: {\n\t\t\t\"style/spaced-comment\": \"off\",\n\t\t\t\"toml/comma-style\": \"error\",\n\t\t\t\"toml/keys-order\": \"error\",\n\t\t\t\"toml/no-space-dots\": \"error\",\n\t\t\t\"toml/no-unreadable-number-separator\": \"error\",\n\t\t\t\"toml/precision-of-fractional-seconds\": \"error\",\n\t\t\t\"toml/precision-of-integer\": \"error\",\n\t\t\t\"toml/tables-order\": \"error\",\n\t\t\t\"toml/vue-custom-block/no-parsing-error\": \"error\",\n\t\t\t...stylistic$1 ? {\n\t\t\t\t\"toml/array-bracket-newline\": \"error\",\n\t\t\t\t\"toml/array-bracket-spacing\": \"error\",\n\t\t\t\t\"toml/array-element-newline\": \"error\",\n\t\t\t\t\"toml/indent\": [\"error\", typeof indent === \"number\" ? indent : indent === \"tab\" ? \"tab\" : 2],\n\t\t\t\t\"toml/inline-table-curly-spacing\": \"error\",\n\t\t\t\t\"toml/key-spacing\": \"error\",\n\t\t\t\t\"toml/padding-line-between-pairs\": \"error\",\n\t\t\t\t\"toml/padding-line-between-tables\": \"error\",\n\t\t\t\t\"toml/quoted-keys\": \"error\",\n\t\t\t\t\"toml/spaced-comment\": \"error\",\n\t\t\t\t\"toml/table-bracket-spacing\": \"error\"\n\t\t\t} : {},\n\t\t\t...overrides\n\t\t}\n\t}];\n}\n\n//#endregion\n//#region src/configs/typescript.ts\nasync function typescript(options = {}) {\n\tconst { componentExts = [], erasableOnly = false, overrides = {}, overridesTypeAware = {}, parserOptions = {}, type = \"app\" } = options;\n\tconst files = options.files ?? [\n\t\tGLOB_TS,\n\t\tGLOB_TSX,\n\t\t...componentExts.map((ext) => `**/*.${ext}`)\n\t];\n\tconst filesTypeAware = options.filesTypeAware ?? [GLOB_TS, GLOB_TSX];\n\tconst ignoresTypeAware = options.ignoresTypeAware ?? [`${GLOB_MARKDOWN}/**`, GLOB_ASTRO_TS];\n\tconst tsconfigPath = options?.tsconfigPath ? options.tsconfigPath : void 0;\n\tconst isTypeAware = !!tsconfigPath;\n\tconst typeAwareRules = {\n\t\t\"dot-notation\": \"off\",\n\t\t\"no-implied-eval\": \"off\",\n\t\t\"ts/await-thenable\": \"error\",\n\t\t\"ts/dot-notation\": [\"error\", { allowKeywords: true }],\n\t\t\"ts/no-floating-promises\": \"error\",\n\t\t\"ts/no-for-in-array\": \"error\",\n\t\t\"ts/no-implied-eval\": \"error\",\n\t\t\"ts/no-misused-promises\": \"error\",\n\t\t\"ts/no-unnecessary-type-assertion\": \"error\",\n\t\t\"ts/no-unsafe-argument\": \"error\",\n\t\t\"ts/no-unsafe-assignment\": \"error\",\n\t\t\"ts/no-unsafe-call\": \"error\",\n\t\t\"ts/no-unsafe-member-access\": \"error\",\n\t\t\"ts/no-unsafe-return\": \"error\",\n\t\t\"ts/promise-function-async\": \"error\",\n\t\t\"ts/restrict-plus-operands\": \"error\",\n\t\t\"ts/restrict-template-expressions\": \"error\",\n\t\t\"ts/return-await\": [\"error\", \"in-try-catch\"],\n\t\t\"ts/strict-boolean-expressions\": [\"error\", {\n\t\t\tallowNullableBoolean: true,\n\t\t\tallowNullableObject: true\n\t\t}],\n\t\t\"ts/switch-exhaustiveness-check\": \"error\",\n\t\t\"ts/unbound-method\": \"error\"\n\t};\n\tconst [pluginTs, parserTs] = await Promise.all([interopDefault(import(\"@typescript-eslint/eslint-plugin\")), interopDefault(import(\"@typescript-eslint/parser\"))]);\n\tfunction makeParser(typeAware, files$1, ignores$1) {\n\t\treturn {\n\t\t\tfiles: files$1,\n\t\t\t...ignores$1 ? { ignores: ignores$1 } : {},\n\t\t\tlanguageOptions: {\n\t\t\t\tparser: parserTs,\n\t\t\t\tparserOptions: {\n\t\t\t\t\textraFileExtensions: componentExts.map((ext) => `.${ext}`),\n\t\t\t\t\tsourceType: \"module\",\n\t\t\t\t\t...typeAware ? {\n\t\t\t\t\t\tprojectService: {\n\t\t\t\t\t\t\tallowDefaultProject: [\"./*.js\"],\n\t\t\t\t\t\t\tdefaultProject: tsconfigPath\n\t\t\t\t\t\t},\n\t\t\t\t\t\ttsconfigRootDir: process.cwd()\n\t\t\t\t\t} : {},\n\t\t\t\t\t...parserOptions\n\t\t\t\t}\n\t\t\t},\n\t\t\tname: `antfu/typescript/${typeAware ? \"type-aware-parser\" : \"parser\"}`\n\t\t};\n\t}\n\treturn [\n\t\t{\n\t\t\tname: \"antfu/typescript/setup\",\n\t\t\tplugins: {\n\t\t\t\tantfu: pluginAntfu,\n\t\t\t\tts: pluginTs\n\t\t\t}\n\t\t},\n\t\t...isTypeAware ? [makeParser(false, files), makeParser(true, filesTypeAware, ignoresTypeAware)] : [makeParser(false, files)],\n\t\t{\n\t\t\tfiles,\n\t\t\tname: \"antfu/typescript/rules\",\n\t\t\trules: {\n\t\t\t\t...renameRules(pluginTs.configs[\"eslint-recommended\"].overrides[0].rules, { \"@typescript-eslint\": \"ts\" }),\n\t\t\t\t...renameRules(pluginTs.configs.strict.rules, { \"@typescript-eslint\": \"ts\" }),\n\t\t\t\t\"no-dupe-class-members\": \"off\",\n\t\t\t\t\"no-redeclare\": \"off\",\n\t\t\t\t\"no-use-before-define\": \"off\",\n\t\t\t\t\"no-useless-constructor\": \"off\",\n\t\t\t\t\"ts/ban-ts-comment\": [\"error\", { \"ts-expect-error\": \"allow-with-description\" }],\n\t\t\t\t\"ts/consistent-type-definitions\": [\"error\", \"interface\"],\n\t\t\t\t\"ts/consistent-type-imports\": [\"error\", {\n\t\t\t\t\tdisallowTypeAnnotations: false,\n\t\t\t\t\tfixStyle: \"separate-type-imports\",\n\t\t\t\t\tprefer: \"type-imports\"\n\t\t\t\t}],\n\t\t\t\t\"ts/method-signature-style\": [\"error\", \"property\"],\n\t\t\t\t\"ts/no-dupe-class-members\": \"error\",\n\t\t\t\t\"ts/no-dynamic-delete\": \"off\",\n\t\t\t\t\"ts/no-empty-object-type\": [\"error\", { allowInterfaces: \"always\" }],\n\t\t\t\t\"ts/no-explicit-any\": \"off\",\n\t\t\t\t\"ts/no-extraneous-class\": \"off\",\n\t\t\t\t\"ts/no-import-type-side-effects\": \"error\",\n\t\t\t\t\"ts/no-invalid-void-type\": \"off\",\n\t\t\t\t\"ts/no-non-null-assertion\": \"off\",\n\t\t\t\t\"ts/no-redeclare\": [\"error\", { builtinGlobals: false }],\n\t\t\t\t\"ts/no-require-imports\": \"error\",\n\t\t\t\t\"ts/no-unused-expressions\": [\"error\", {\n\t\t\t\t\tallowShortCircuit: true,\n\t\t\t\t\tallowTaggedTemplates: true,\n\t\t\t\t\tallowTernary: true\n\t\t\t\t}],\n\t\t\t\t\"ts/no-unused-vars\": \"off\",\n\t\t\t\t\"ts/no-use-before-define\": [\"error\", {\n\t\t\t\t\tclasses: false,\n\t\t\t\t\tfunctions: false,\n\t\t\t\t\tvariables: true\n\t\t\t\t}],\n\t\t\t\t\"ts/no-useless-constructor\": \"off\",\n\t\t\t\t\"ts/no-wrapper-object-types\": \"error\",\n\t\t\t\t\"ts/triple-slash-reference\": \"off\",\n\t\t\t\t\"ts/unified-signatures\": \"off\",\n\t\t\t\t...type === \"lib\" ? { \"ts/explicit-function-return-type\": [\"error\", {\n\t\t\t\t\tallowExpressions: true,\n\t\t\t\t\tallowHigherOrderFunctions: true,\n\t\t\t\t\tallowIIFEs: true\n\t\t\t\t}] } : {},\n\t\t\t\t...overrides\n\t\t\t}\n\t\t},\n\t\t...isTypeAware ? [{\n\t\t\tfiles: filesTypeAware,\n\t\t\tignores: ignoresTypeAware,\n\t\t\tname: \"antfu/typescript/rules-type-aware\",\n\t\t\trules: {\n\t\t\t\t...typeAwareRules,\n\t\t\t\t...overridesTypeAware\n\t\t\t}\n\t\t}] : [],\n\t\t...erasableOnly ? [{\n\t\t\tname: \"antfu/typescript/erasable-syntax-only\",\n\t\t\tplugins: { \"erasable-syntax-only\": await interopDefault(import(\"./lib-DkTwxxWo.mjs\")) },\n\t\t\trules: {\n\t\t\t\t\"erasable-syntax-only/enums\": \"error\",\n\t\t\t\t\"erasable-syntax-only/import-aliases\": \"error\",\n\t\t\t\t\"erasable-syntax-only/namespaces\": \"error\",\n\t\t\t\t\"erasable-syntax-only/parameter-properties\": \"error\"\n\t\t\t}\n\t\t}] : []\n\t];\n}\n\n//#endregion\n//#region src/configs/unicorn.ts\nasync function unicorn(options = {}) {\n\tconst { allRecommended = false, overrides = {} } = options;\n\treturn [{\n\t\tname: \"antfu/unicorn/rules\",\n\t\tplugins: { unicorn: pluginUnicorn },\n\t\trules: {\n\t\t\t...allRecommended ? pluginUnicorn.configs.recommended.rules : {\n\t\t\t\t\"unicorn/consistent-empty-array-spread\": \"error\",\n\t\t\t\t\"unicorn/error-message\": \"error\",\n\t\t\t\t\"unicorn/escape-case\": \"error\",\n\t\t\t\t\"unicorn/new-for-builtins\": \"error\",\n\t\t\t\t\"unicorn/no-instanceof-builtins\": \"error\",\n\t\t\t\t\"unicorn/no-new-array\": \"error\",\n\t\t\t\t\"unicorn/no-new-buffer\": \"error\",\n\t\t\t\t\"unicorn/number-literal-case\": \"error\",\n\t\t\t\t\"unicorn/prefer-dom-node-text-content\": \"error\",\n\t\t\t\t\"unicorn/prefer-includes\": \"error\",\n\t\t\t\t\"unicorn/prefer-node-protocol\": \"error\",\n\t\t\t\t\"unicorn/prefer-number-properties\": \"error\",\n\t\t\t\t\"unicorn/prefer-string-starts-ends-with\": \"error\",\n\t\t\t\t\"unicorn/prefer-type-error\": \"error\",\n\t\t\t\t\"unicorn/throw-new-error\": \"error\"\n\t\t\t},\n\t\t\t...overrides\n\t\t}\n\t}];\n}\n\n//#endregion\n//#region src/configs/unocss.ts\nasync function unocss(options = {}) {\n\tconst { attributify = true, strict = false } = options;\n\tawait ensurePackages([\"@unocss/eslint-plugin\"]);\n\tconst [pluginUnoCSS] = await Promise.all([interopDefault(import(\"@unocss/eslint-plugin\"))]);\n\treturn [{\n\t\tname: \"antfu/unocss\",\n\t\tplugins: { unocss: pluginUnoCSS },\n\t\trules: {\n\t\t\t\"unocss/order\": \"warn\",\n\t\t\t...attributify ? { \"unocss/order-attributify\": \"warn\" } : {},\n\t\t\t...strict ? { \"unocss/blocklist\": \"error\" } : {}\n\t\t}\n\t}];\n}\n\n//#endregion\n//#region src/configs/vue.ts\nasync function vue(options = {}) {\n\tconst { a11y = false, files = [GLOB_VUE], overrides = {}, stylistic: stylistic$1 = true, vueVersion = 3 } = options;\n\tconst sfcBlocks = options.sfcBlocks === true ? {} : options.sfcBlocks ?? {};\n\tconst { indent = 2 } = typeof stylistic$1 === \"boolean\" ? {} : stylistic$1;\n\tif (a11y) await ensurePackages([\"eslint-plugin-vuejs-accessibility\"]);\n\tconst [pluginVue, parserVue, processorVueBlocks, pluginVueA11y] = await Promise.all([\n\t\tinteropDefault(import(\"eslint-plugin-vue\")),\n\t\tinteropDefault(import(\"vue-eslint-parser\")),\n\t\tinteropDefault(import(\"eslint-processor-vue-blocks\")),\n\t\t...a11y ? [interopDefault(import(\"eslint-plugin-vuejs-accessibility\"))] : []\n\t]);\n\treturn [{\n\t\tlanguageOptions: { globals: {\n\t\t\tcomputed: \"readonly\",\n\t\t\tdefineEmits: \"readonly\",\n\t\t\tdefineExpose: \"readonly\",\n\t\t\tdefineProps: \"readonly\",\n\t\t\tonMounted: \"readonly\",\n\t\t\tonUnmounted: \"readonly\",\n\t\t\treactive: \"readonly\",\n\t\t\tref: \"readonly\",\n\t\t\tshallowReactive: \"readonly\",\n\t\t\tshallowRef: \"readonly\",\n\t\t\ttoRef: \"readonly\",\n\t\t\ttoRefs: \"readonly\",\n\t\t\twatch: \"readonly\",\n\t\t\twatchEffect: \"readonly\"\n\t\t} },\n\t\tname: \"antfu/vue/setup\",\n\t\tplugins: {\n\t\t\tvue: pluginVue,\n\t\t\t...a11y ? { \"vue-a11y\": pluginVueA11y } : {}\n\t\t}\n\t}, {\n\t\tfiles,\n\t\tlanguageOptions: {\n\t\t\tparser: parserVue,\n\t\t\tparserOptions: {\n\t\t\t\tecmaFeatures: { jsx: true },\n\t\t\t\textraFileExtensions: [\".vue\"],\n\t\t\t\tparser: options.typescript ? await interopDefault(import(\"@typescript-eslint/parser\")) : null,\n\t\t\t\tsourceType: \"module\"\n\t\t\t}\n\t\t},\n\t\tname: \"antfu/vue/rules\",\n\t\tprocessor: sfcBlocks === false ? pluginVue.processors[\".vue\"] : mergeProcessors([pluginVue.processors[\".vue\"], processorVueBlocks({\n\t\t\t...sfcBlocks,\n\t\t\tblocks: {\n\t\t\t\tstyles: true,\n\t\t\t\t...sfcBlocks.blocks\n\t\t\t}\n\t\t})]),\n\t\trules: {\n\t\t\t...pluginVue.configs.base.rules,\n\t\t\t...vueVersion === 2 ? {\n\t\t\t\t...pluginVue.configs[\"vue2-essential\"].rules,\n\t\t\t\t...pluginVue.configs[\"vue2-strongly-recommended\"].rules,\n\t\t\t\t...pluginVue.configs[\"vue2-recommended\"].rules\n\t\t\t} : {\n\t\t\t\t...pluginVue.configs[\"flat/essential\"].map((c) => c.rules).reduce((acc, c) => ({\n\t\t\t\t\t...acc,\n\t\t\t\t\t...c\n\t\t\t\t}), {}),\n\t\t\t\t...pluginVue.configs[\"flat/strongly-recommended\"].map((c) => c.rules).reduce((acc, c) => ({\n\t\t\t\t\t...acc,\n\t\t\t\t\t...c\n\t\t\t\t}), {}),\n\t\t\t\t...pluginVue.configs[\"flat/recommended\"].map((c) => c.rules).reduce((acc, c) => ({\n\t\t\t\t\t...acc,\n\t\t\t\t\t...c\n\t\t\t\t}), {})\n\t\t\t},\n\t\t\t\"antfu/no-top-level-await\": \"off\",\n\t\t\t\"node/prefer-global/process\": \"off\",\n\t\t\t\"ts/explicit-function-return-type\": \"off\",\n\t\t\t\"vue/block-order\": [\"error\", { order: [\n\t\t\t\t\"script\",\n\t\t\t\t\"template\",\n\t\t\t\t\"style\"\n\t\t\t] }],\n\t\t\t\"vue/component-name-in-template-casing\": [\"error\", \"PascalCase\"],\n\t\t\t\"vue/component-options-name-casing\": [\"error\", \"PascalCase\"],\n\t\t\t\"vue/component-tags-order\": \"off\",\n\t\t\t\"vue/custom-event-name-casing\": [\"error\", \"camelCase\"],\n\t\t\t\"vue/define-macros-order\": [\"error\", { order: [\n\t\t\t\t\"defineOptions\",\n\t\t\t\t\"defineProps\",\n\t\t\t\t\"defineEmits\",\n\t\t\t\t\"defineSlots\"\n\t\t\t] }],\n\t\t\t\"vue/dot-location\": [\"error\", \"property\"],\n\t\t\t\"vue/dot-notation\": [\"error\", { allowKeywords: true }],\n\t\t\t\"vue/eqeqeq\": [\"error\", \"smart\"],\n\t\t\t\"vue/html-indent\": [\"error\", indent],\n\t\t\t\"vue/html-quotes\": [\"error\", \"double\"],\n\t\t\t\"vue/max-attributes-per-line\": \"off\",\n\t\t\t\"vue/multi-word-component-names\": \"off\",\n\t\t\t\"vue/no-dupe-keys\": \"off\",\n\t\t\t\"vue/no-empty-pattern\": \"error\",\n\t\t\t\"vue/no-irregular-whitespace\": \"error\",\n\t\t\t\"vue/no-loss-of-precision\": \"error\",\n\t\t\t\"vue/no-restricted-syntax\": [\n\t\t\t\t\"error\",\n\t\t\t\t\"DebuggerStatement\",\n\t\t\t\t\"LabeledStatement\",\n\t\t\t\t\"WithStatement\"\n\t\t\t],\n\t\t\t\"vue/no-restricted-v-bind\": [\"error\", \"/^v-/\"],\n\t\t\t\"vue/no-setup-props-reactivity-loss\": \"off\",\n\t\t\t\"vue/no-sparse-arrays\": \"error\",\n\t\t\t\"vue/no-unused-refs\": \"error\",\n\t\t\t\"vue/no-useless-v-bind\": \"error\",\n\t\t\t\"vue/no-v-html\": \"off\",\n\t\t\t\"vue/object-shorthand\": [\n\t\t\t\t\"error\",\n\t\t\t\t\"always\",\n\t\t\t\t{\n\t\t\t\t\tavoidQuotes: true,\n\t\t\t\t\tignoreConstructors: false\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"vue/prefer-separate-static-class\": \"error\",\n\t\t\t\"vue/prefer-template\": \"error\",\n\t\t\t\"vue/prop-name-casing\": [\"error\", \"camelCase\"],\n\t\t\t\"vue/require-default-prop\": \"off\",\n\t\t\t\"vue/require-prop-types\": \"off\",\n\t\t\t\"vue/space-infix-ops\": \"error\",\n\t\t\t\"vue/space-unary-ops\": [\"error\", {\n\t\t\t\tnonwords: false,\n\t\t\t\twords: true\n\t\t\t}],\n\t\t\t...stylistic$1 ? {\n\t\t\t\t\"vue/array-bracket-spacing\": [\"error\", \"never\"],\n\t\t\t\t\"vue/arrow-spacing\": [\"error\", {\n\t\t\t\t\tafter: true,\n\t\t\t\t\tbefore: true\n\t\t\t\t}],\n\t\t\t\t\"vue/block-spacing\": [\"error\", \"always\"],\n\t\t\t\t\"vue/block-tag-newline\": [\"error\", {\n\t\t\t\t\tmultiline: \"always\",\n\t\t\t\t\tsingleline: \"always\"\n\t\t\t\t}],\n\t\t\t\t\"vue/brace-style\": [\n\t\t\t\t\t\"error\",\n\t\t\t\t\t\"stroustrup\",\n\t\t\t\t\t{ allowSingleLine: true }\n\t\t\t\t],\n\t\t\t\t\"vue/comma-dangle\": [\"error\", \"always-multiline\"],\n\t\t\t\t\"vue/comma-spacing\": [\"error\", {\n\t\t\t\t\tafter: true,\n\t\t\t\t\tbefore: false\n\t\t\t\t}],\n\t\t\t\t\"vue/comma-style\": [\"error\", \"last\"],\n\t\t\t\t\"vue/html-comment-content-spacing\": [\n\t\t\t\t\t\"error\",\n\t\t\t\t\t\"always\",\n\t\t\t\t\t{ exceptions: [\"-\"] }\n\t\t\t\t],\n\t\t\t\t\"vue/key-spacing\": [\"error\", {\n\t\t\t\t\tafterColon: true,\n\t\t\t\t\tbeforeColon: false\n\t\t\t\t}],\n\t\t\t\t\"vue/keyword-spacing\": [\"error\", {\n\t\t\t\t\tafter: true,\n\t\t\t\t\tbefore: true\n\t\t\t\t}],\n\t\t\t\t\"vue/object-curly-newline\": \"off\",\n\t\t\t\t\"vue/object-curly-spacing\": [\"error\", \"always\"],\n\t\t\t\t\"vue/object-property-newline\": [\"error\", { allowAllPropertiesOnSameLine: true }],\n\t\t\t\t\"vue/operator-linebreak\": [\"error\", \"before\"],\n\t\t\t\t\"vue/padding-line-between-blocks\": [\"error\", \"always\"],\n\t\t\t\t\"vue/quote-props\": [\"error\", \"consistent-as-needed\"],\n\t\t\t\t\"vue/space-in-parens\": [\"error\", \"never\"],\n\t\t\t\t\"vue/template-curly-spacing\": \"error\"\n\t\t\t} : {},\n\t\t\t...a11y ? {\n\t\t\t\t\"vue-a11y/alt-text\": \"error\",\n\t\t\t\t\"vue-a11y/anchor-has-content\": \"error\",\n\t\t\t\t\"vue-a11y/aria-props\": \"error\",\n\t\t\t\t\"vue-a11y/aria-role\": \"error\",\n\t\t\t\t\"vue-a11y/aria-unsupported-elements\": \"error\",\n\t\t\t\t\"vue-a11y/click-events-have-key-events\": \"error\",\n\t\t\t\t\"vue-a11y/form-control-has-label\": \"error\",\n\t\t\t\t\"vue-a11y/heading-has-content\": \"error\",\n\t\t\t\t\"vue-a11y/iframe-has-title\": \"error\",\n\t\t\t\t\"vue-a11y/interactive-supports-focus\": \"error\",\n\t\t\t\t\"vue-a11y/label-has-for\": \"error\",\n\t\t\t\t\"vue-a11y/media-has-caption\": \"warn\",\n\t\t\t\t\"vue-a11y/mouse-events-have-key-events\": \"error\",\n\t\t\t\t\"vue-a11y/no-access-key\": \"error\",\n\t\t\t\t\"vue-a11y/no-aria-hidden-on-focusable\": \"error\",\n\t\t\t\t\"vue-a11y/no-autofocus\": \"warn\",\n\t\t\t\t\"vue-a11y/no-distracting-elements\": \"error\",\n\t\t\t\t\"vue-a11y/no-redundant-roles\": \"error\",\n\t\t\t\t\"vue-a11y/no-role-presentation-on-focusable\": \"error\",\n\t\t\t\t\"vue-a11y/no-static-element-interactions\": \"error\",\n\t\t\t\t\"vue-a11y/role-has-required-aria-props\": \"error\",\n\t\t\t\t\"vue-a11y/tabindex-no-positive\": \"warn\"\n\t\t\t} : {},\n\t\t\t...overrides\n\t\t}\n\t}];\n}\n\n//#endregion\n//#region src/configs/yaml.ts\nasync function yaml(options = {}) {\n\tconst { files = [GLOB_YAML], overrides = {}, stylistic: stylistic$1 = true } = options;\n\tconst { indent = 2, quotes = \"single\" } = typeof stylistic$1 === \"boolean\" ? {} : stylistic$1;\n\tconst [pluginYaml, parserYaml] = await Promise.all([interopDefault(import(\"eslint-plugin-yml\")), interopDefault(import(\"yaml-eslint-parser\"))]);\n\treturn [{\n\t\tname: \"antfu/yaml/setup\",\n\t\tplugins: { yaml: pluginYaml }\n\t}, {\n\t\tfiles,\n\t\tlanguageOptions: { parser: parserYaml },\n\t\tname: \"antfu/yaml/rules\",\n\t\trules: {\n\t\t\t\"style/spaced-comment\": \"off\",\n\t\t\t\"yaml/block-mapping\": \"error\",\n\t\t\t\"yaml/block-sequence\": \"error\",\n\t\t\t\"yaml/no-empty-key\": \"error\",\n\t\t\t\"yaml/no-empty-sequence-entry\": \"error\",\n\t\t\t\"yaml/no-irregular-whitespace\": \"error\",\n\t\t\t\"yaml/plain-scalar\": \"error\",\n\t\t\t\"yaml/vue-custom-block/no-parsing-error\": \"error\",\n\t\t\t...stylistic$1 ? {\n\t\t\t\t\"yaml/block-mapping-question-indicator-newline\": \"error\",\n\t\t\t\t\"yaml/block-sequence-hyphen-indicator-newline\": \"error\",\n\t\t\t\t\"yaml/flow-mapping-curly-newline\": \"error\",\n\t\t\t\t\"yaml/flow-mapping-curly-spacing\": \"error\",\n\t\t\t\t\"yaml/flow-sequence-bracket-newline\": \"error\",\n\t\t\t\t\"yaml/flow-sequence-bracket-spacing\": \"error\",\n\t\t\t\t\"yaml/indent\": [\"error\", typeof indent === \"number\" ? indent : 2],\n\t\t\t\t\"yaml/key-spacing\": \"error\",\n\t\t\t\t\"yaml/no-tab-indent\": \"error\",\n\t\t\t\t\"yaml/quotes\": [\"error\", {\n\t\t\t\t\tavoidEscape: true,\n\t\t\t\t\tprefer: quotes === \"backtick\" ? \"single\" : quotes\n\t\t\t\t}],\n\t\t\t\t\"yaml/spaced-comment\": \"error\"\n\t\t\t} : {},\n\t\t\t...overrides\n\t\t}\n\t}];\n}\n\n//#endregion\n//#region src/factory.ts\nconst flatConfigProps = [\n\t\"name\",\n\t\"languageOptions\",\n\t\"linterOptions\",\n\t\"processor\",\n\t\"plugins\",\n\t\"rules\",\n\t\"settings\"\n];\nconst VuePackages = [\n\t\"vue\",\n\t\"nuxt\",\n\t\"vitepress\",\n\t\"@slidev/cli\"\n];\nconst defaultPluginRenaming = {\n\t\"@eslint-react\": \"react\",\n\t\"@eslint-react/dom\": \"react-dom\",\n\t\"@eslint-react/hooks-extra\": \"react-hooks-extra\",\n\t\"@eslint-react/naming-convention\": \"react-naming-convention\",\n\t\"@next/next\": \"next\",\n\t\"@stylistic\": \"style\",\n\t\"@typescript-eslint\": \"ts\",\n\t\"import-lite\": \"import\",\n\t\"n\": \"node\",\n\t\"vitest\": \"test\",\n\t\"yml\": \"yaml\"\n};\n/**\n* Construct an array of ESLint flat config items.\n*\n* @param {OptionsConfig & TypedFlatConfigItem} options\n*  The options for generating the ESLint configurations.\n* @param {Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[]>[]} userConfigs\n*  The user configurations to be merged with the generated configurations.\n* @returns {Promise<TypedFlatConfigItem[]>}\n*  The merged ESLint configurations.\n*/\nfunction antfu(options = {}, ...userConfigs) {\n\tconst { astro: enableAstro = false, autoRenamePlugins = true, componentExts = [], gitignore: enableGitignore = true, ignores: userIgnores = [], imports: enableImports = true, jsdoc: enableJsdoc = true, jsx: enableJsx = true, nextjs: enableNextjs = false, node: enableNode = true, pnpm: enableCatalogs = !!findUpSync(\"pnpm-workspace.yaml\"), react: enableReact = false, regexp: enableRegexp = true, solid: enableSolid = false, svelte: enableSvelte = false, typescript: enableTypeScript = isPackageExists(\"typescript\"), unicorn: enableUnicorn = true, unocss: enableUnoCSS = false, vue: enableVue = VuePackages.some((i) => isPackageExists(i)) } = options;\n\tlet isInEditor = options.isInEditor;\n\tif (isInEditor == null) {\n\t\tisInEditor = isInEditorEnv();\n\t\tif (isInEditor) console.log(\"[@antfu/eslint-config] Detected running in editor, some rules are disabled.\");\n\t}\n\tconst stylisticOptions = options.stylistic === false ? false : typeof options.stylistic === \"object\" ? options.stylistic : {};\n\tif (stylisticOptions && !(\"jsx\" in stylisticOptions)) stylisticOptions.jsx = typeof enableJsx === \"object\" ? true : enableJsx;\n\tconst configs$1 = [];\n\tif (enableGitignore) if (typeof enableGitignore !== \"boolean\") configs$1.push(interopDefault(import(\"eslint-config-flat-gitignore\")).then((r) => [r({\n\t\tname: \"antfu/gitignore\",\n\t\t...enableGitignore\n\t})]));\n\telse configs$1.push(interopDefault(import(\"eslint-config-flat-gitignore\")).then((r) => [r({\n\t\tname: \"antfu/gitignore\",\n\t\tstrict: false\n\t})]));\n\tconst typescriptOptions = resolveSubOptions(options, \"typescript\");\n\tconst tsconfigPath = \"tsconfigPath\" in typescriptOptions ? typescriptOptions.tsconfigPath : void 0;\n\tconfigs$1.push(ignores(userIgnores), javascript({\n\t\tisInEditor,\n\t\toverrides: getOverrides(options, \"javascript\")\n\t}), comments(), command(), perfectionist());\n\tif (enableNode) configs$1.push(node());\n\tif (enableJsdoc) configs$1.push(jsdoc({ stylistic: stylisticOptions }));\n\tif (enableImports) configs$1.push(imports({\n\t\tstylistic: stylisticOptions,\n\t\t...resolveSubOptions(options, \"imports\")\n\t}));\n\tif (enableUnicorn) configs$1.push(unicorn(enableUnicorn === true ? {} : enableUnicorn));\n\tif (enableVue) componentExts.push(\"vue\");\n\tif (enableJsx) configs$1.push(jsx(enableJsx === true ? {} : enableJsx));\n\tif (enableTypeScript) configs$1.push(typescript({\n\t\t...typescriptOptions,\n\t\tcomponentExts,\n\t\toverrides: getOverrides(options, \"typescript\"),\n\t\ttype: options.type\n\t}));\n\tif (stylisticOptions) configs$1.push(stylistic({\n\t\t...stylisticOptions,\n\t\tlessOpinionated: options.lessOpinionated,\n\t\toverrides: getOverrides(options, \"stylistic\")\n\t}));\n\tif (enableRegexp) configs$1.push(regexp(typeof enableRegexp === \"boolean\" ? {} : enableRegexp));\n\tif (options.test ?? true) configs$1.push(test({\n\t\tisInEditor,\n\t\toverrides: getOverrides(options, \"test\")\n\t}));\n\tif (enableVue) configs$1.push(vue({\n\t\t...resolveSubOptions(options, \"vue\"),\n\t\toverrides: getOverrides(options, \"vue\"),\n\t\tstylistic: stylisticOptions,\n\t\ttypescript: !!enableTypeScript\n\t}));\n\tif (enableReact) configs$1.push(react({\n\t\t...typescriptOptions,\n\t\t...resolveSubOptions(options, \"react\"),\n\t\toverrides: getOverrides(options, \"react\"),\n\t\ttsconfigPath\n\t}));\n\tif (enableNextjs) configs$1.push(nextjs({ overrides: getOverrides(options, \"nextjs\") }));\n\tif (enableSolid) configs$1.push(solid({\n\t\toverrides: getOverrides(options, \"solid\"),\n\t\ttsconfigPath,\n\t\ttypescript: !!enableTypeScript\n\t}));\n\tif (enableSvelte) configs$1.push(svelte({\n\t\toverrides: getOverrides(options, \"svelte\"),\n\t\tstylistic: stylisticOptions,\n\t\ttypescript: !!enableTypeScript\n\t}));\n\tif (enableUnoCSS) configs$1.push(unocss({\n\t\t...resolveSubOptions(options, \"unocss\"),\n\t\toverrides: getOverrides(options, \"unocss\")\n\t}));\n\tif (enableAstro) configs$1.push(astro({\n\t\toverrides: getOverrides(options, \"astro\"),\n\t\tstylistic: stylisticOptions\n\t}));\n\tif (options.jsonc ?? true) configs$1.push(jsonc({\n\t\toverrides: getOverrides(options, \"jsonc\"),\n\t\tstylistic: stylisticOptions\n\t}), sortPackageJson(), sortTsconfig());\n\tif (enableCatalogs) {\n\t\tconst optionsPnpm = resolveSubOptions(options, \"pnpm\");\n\t\tconfigs$1.push(pnpm({\n\t\t\tisInEditor,\n\t\t\tjson: options.jsonc !== false,\n\t\t\tyaml: options.yaml !== false,\n\t\t\t...optionsPnpm\n\t\t}));\n\t}\n\tif (options.yaml ?? true) configs$1.push(yaml({\n\t\toverrides: getOverrides(options, \"yaml\"),\n\t\tstylistic: stylisticOptions\n\t}));\n\tif (options.toml ?? true) configs$1.push(toml({\n\t\toverrides: getOverrides(options, \"toml\"),\n\t\tstylistic: stylisticOptions\n\t}));\n\tif (options.markdown ?? true) configs$1.push(markdown({\n\t\tcomponentExts,\n\t\toverrides: getOverrides(options, \"markdown\")\n\t}));\n\tif (options.formatters) configs$1.push(formatters(options.formatters, typeof stylisticOptions === \"boolean\" ? {} : stylisticOptions));\n\tconfigs$1.push(disables());\n\tif (\"files\" in options) throw new Error(\"[@antfu/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.\");\n\tconst fusedConfig = flatConfigProps.reduce((acc, key) => {\n\t\tif (key in options) acc[key] = options[key];\n\t\treturn acc;\n\t}, {});\n\tif (Object.keys(fusedConfig).length) configs$1.push([fusedConfig]);\n\tlet composer = new FlatConfigComposer();\n\tcomposer = composer.append(...configs$1, ...userConfigs);\n\tif (autoRenamePlugins) composer = composer.renamePlugins(defaultPluginRenaming);\n\tif (isInEditor) composer = composer.disableRulesFix([\n\t\t\"unused-imports/no-unused-imports\",\n\t\t\"test/no-only-tests\",\n\t\t\"prefer-const\"\n\t], { builtinRules: () => import([\"eslint\", \"use-at-your-own-risk\"].join(\"/\")).then((r) => r.builtinRules) });\n\treturn composer;\n}\nfunction resolveSubOptions(options, key) {\n\treturn typeof options[key] === \"boolean\" ? {} : options[key] || {};\n}\nfunction getOverrides(options, key) {\n\tconst sub = resolveSubOptions(options, key);\n\treturn {\n\t\t...options.overrides?.[key],\n\t\t...\"overrides\" in sub ? sub.overrides : {}\n\t};\n}\n\n//#endregion\n//#region src/config-presets.ts\nconst CONFIG_PRESET_FULL_ON = {\n\tastro: true,\n\tformatters: true,\n\tgitignore: true,\n\timports: true,\n\tjsdoc: true,\n\tjsonc: true,\n\tjsx: { a11y: true },\n\tmarkdown: true,\n\tnextjs: true,\n\tnode: true,\n\tpnpm: true,\n\treact: { reactCompiler: true },\n\tregexp: true,\n\tsolid: true,\n\tstylistic: { experimental: true },\n\tsvelte: true,\n\ttest: true,\n\ttoml: true,\n\ttypescript: {\n\t\terasableOnly: true,\n\t\ttsconfigPath: \"tsconfig.json\"\n\t},\n\tunicorn: true,\n\tunocss: true,\n\tvue: { a11y: true },\n\tyaml: true\n};\nconst CONFIG_PRESET_FULL_OFF = {\n\tastro: false,\n\tformatters: false,\n\tgitignore: false,\n\timports: false,\n\tjsdoc: false,\n\tjsonc: false,\n\tjsx: false,\n\tmarkdown: false,\n\tnextjs: false,\n\tnode: false,\n\tpnpm: false,\n\treact: false,\n\tregexp: false,\n\tsolid: false,\n\tstylistic: false,\n\tsvelte: false,\n\ttest: false,\n\ttoml: false,\n\ttypescript: false,\n\tunicorn: false,\n\tunocss: false,\n\tvue: false,\n\tyaml: false\n};\n\n//#endregion\n//#region src/index.ts\nvar src_default = antfu;\n\n//#endregion\nexport { CONFIG_PRESET_FULL_OFF, CONFIG_PRESET_FULL_ON, 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_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, StylisticConfigDefaults, antfu, astro, combine, command, comments, src_default as default, defaultPluginRenaming, disables, ensurePackages, formatters, getOverrides, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, jsx, markdown, nextjs, node, parserPlain, perfectionist, pnpm, react, regexp, renamePluginInConfigs, renameRules, resolveSubOptions, solid, sortPackageJson, sortTsconfig, stylistic, svelte, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };"]}