@yunarch/config-web 0.2.5 → 0.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bun
2
- import{c as p}from"../chunk-PWSW557X.js";import{styleText as h}from"util";import{styleText as i}from"util";var d=["blue","green","yellow","grey","white","cyan"],m=t=>`${(Number(Bun.nanoseconds()-t)/1e6/1e3).toFixed(2)}s`;function b({start:t,tasks:e,failedTasks:n}){let l=e-n,r=m(t),s=n>0?i("red",`${n} failed`):"",a=l>0?i("green",`${l} successful`):"";console.log(""),console.log(i(["white","bold"],"Tasks: "),`${s}${s&&a?"|":""}${a}`,i("gray",`-- ${e} total`)),console.log(i(["white","bold"],"Time: "),i("gray",`${r}
3
- `))}function g({index:t,script:e,continueOnError:n,reportTime:l}){let r=d[t%d.length],s=Bun.nanoseconds(),a=Bun.spawn(["bun","run",e],{stdout:"pipe",stderr:"pipe",env:{...Bun.env,FORCE_COLOR:"1"},onExit(o,c){c===1&&!n&&process.exit(1)}});return a.stdout.pipeTo(new WritableStream({write(o){let c=new TextDecoder().decode(o).split(`
4
- `);for(let u of c)console.log(i([r,"bold"],`${e}:`),u)}})),a.stderr.pipeTo(new WritableStream({write(o){let c=new TextDecoder().decode(o).split(`
5
- `);for(let u of c)console.log(i([r,"bold"],`${e}:`),u)}})),a.exited.then(o=>{o===0&&l&&console.log(i([r,"bold"],`${e}:`),i(["gray"],"Finished in"),i(["white","bold"],m(s)))}),a}async function f(t,e){let{continueOnError:n,reportTime:l}=e,r=Bun.nanoseconds(),s=t.map((o,c)=>g({index:c,script:o,continueOnError:n,reportTime:l})),a=await Promise.allSettled(s.map(o=>o.exited));b({start:r,tasks:t.length,failedTasks:a.filter(o=>o.status==="rejected"||o.value!==0).length})}async function x(t,e){let{continueOnError:n,reportTime:l}=e,r=Bun.nanoseconds(),s=0;for(let[a,o]of t.entries())await g({index:a,script:o,continueOnError:n,reportTime:l}).exited!==0&&s++;b({start:r,tasks:t.length,failedTasks:s})}p().name("bun-run-all").description("Run given package scripts in parallel or sequential by using bun.").argument("<scripts...>","A list of package scripts' names.").option("-c, --continue-on-error","Continue executing other/subsequent tasks even if a task threw an error").option("-p, --parallel","Run a group of tasks in parallel.").option("-s, --sequential","Run a group of tasks sequentially.").option("-t, --time","Report execution time for each task.").action(async(t,e)=>{try{console.log(h("magenta",`
2
+ import{c as p}from"../chunk-PWSW557X.js";import{styleText as h}from"util";import{styleText as l}from"util";var d=["blue","green","yellow","grey","white","cyan"],m=o=>`${(Number(Bun.nanoseconds()-o)/1e6/1e3).toFixed(2)}s`;function b({start:o,tasks:e,failedTasks:n}){let c=e-n,a=m(o),t=n>0?l("red",`${n} failed`):"",i=c>0?l("green",`${c} successful`):"";console.log(""),console.log(l(["white","bold"],"Tasks: "),`${t}${t&&i?"|":""}${i}`,l("gray",`-- ${e} total`)),console.log(l(["white","bold"],"Time: "),l("gray",`${a}
3
+ `))}function g({index:o,script:e,continueOnError:n,reportTime:c}){let a=d[o%d.length],t=Bun.nanoseconds(),i=Bun.spawn(["bun","run",e],{stdout:"pipe",stderr:"pipe",env:{...Bun.env,FORCE_COLOR:"1"},onExit(r,s){s===1&&!n&&process.exit(1)}});return i.stdout.pipeTo(new WritableStream({write(r){let s=new TextDecoder().decode(r).split(`
4
+ `);for(let u of s)console.log(l([a,"bold"],`${e}:`),u)}})),i.stderr.pipeTo(new WritableStream({write(r){let s=new TextDecoder().decode(r).split(`
5
+ `);for(let u of s)console.log(l([a,"bold"],`${e}:`),u)}})),i.exited.then(r=>{r===0&&c&&console.log(l([a,"bold"],`${e}:`),l(["gray"],"Finished in"),l(["white","bold"],m(t)))}),i}async function f(o,e){let{continueOnError:n,reportTime:c}=e,a=Bun.nanoseconds(),t=o.map((s,u)=>g({index:u,script:s,continueOnError:n,reportTime:c})),r=(await Promise.allSettled(t.map(s=>s.exited))).filter(s=>s.status==="rejected"||s.value!==0).length;return b({start:a,tasks:o.length,failedTasks:r}),r>0?1:0}async function x(o,e){let{continueOnError:n,reportTime:c}=e,a=Bun.nanoseconds(),t=0;for(let[i,r]of o.entries())await g({index:i,script:r,continueOnError:n,reportTime:c}).exited!==0&&t++;return b({start:a,tasks:o.length,failedTasks:t}),t>0?1:0}p().name("bun-run-all").description("Run given package scripts in parallel or sequential by using bun.").argument("<scripts...>","A list of package scripts' names.").option("-c, --continue-on-error","Continue executing other/subsequent tasks even if a task threw an error").option("-p, --parallel","Run a group of tasks in parallel.").option("-s, --sequential","Run a group of tasks sequentially.").option("-t, --time","Report execution time for each task.").action(async(o,e)=>{try{console.log(h("magenta",`
6
6
  \u{1F680} bun-run-all
7
- `));let n=e.sequential??!1,l=e.parallel??!n,r=e.continueOnError??!1,s=e.time??!1;l===n&&(console.error("You cannot use both --parallel and --sequential options at the same time."),process.exit(1)),n&&(await x(t,{continueOnError:r,reportTime:s}),process.exit(0)),await f(t,{continueOnError:r,reportTime:s}),process.exit(0)}catch(n){console.error(n),process.exit(1)}}).parseAsync(process.argv);
7
+ `));let n=e.sequential??!1,c=e.parallel??!n,a=e.continueOnError??!1,t=e.time??!1;if(c===n&&(console.error("You cannot use both --parallel and --sequential options at the same time."),process.exit(1)),n){let r=await x(o,{continueOnError:a,reportTime:t});process.exit(r)}let i=await f(o,{continueOnError:a,reportTime:t});process.exit(i)}catch(n){console.error(n),process.exit(1)}}).parseAsync(process.argv);
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env node
1
2
  import{a as l,b as o,c as y}from"../chunk-PWSW557X.js";import{writeFile as O}from"fs/promises";import{styleText as f}from"util";import S from"@inquirer/confirm";async function g(e,t){await o({name:"Generating models",command:`npx openapi-typescript-codegen --input ${e} --output ${t} --client fetch`})}import{writeFile as R}from"fs/promises";var w=`
2
3
  import {
3
4
  http as mswHttp,
@@ -1,5 +1,6 @@
1
+ #!/usr/bin/env node
1
2
  import{c as r}from"../chunk-PWSW557X.js";import{execSync as p}from"child_process";import{styleText as u}from"util";import{execSync as l}from"child_process";import a from"@inquirer/select";async function i(){let t=l("npx turbo ls",{encoding:"utf8",stdio:"pipe"}).split(`
2
3
  `).slice(1).map(e=>e.trim()).filter(Boolean).map(e=>e.split(" ")[0]);return await a({message:"Select a package to run the script:",choices:t.map(e=>({name:e,value:e}))})}async function c(){return await a({message:"Select a mode to load different env files:",choices:[{name:"development",value:"development"},{name:"staging",value:"staging"},{name:"production",value:"production"}]})}r().name("turbo-select").description(`A CLI tool to filter and select a single package from the Turborepo package list and run a script command.
3
- Additionally, allow to prompt environment mode (development, staging, production), for example, when using Vite.`).requiredOption("--run <script>","The package script command to execute (e.g., --run=dev).").option("--select-env","An environment mode (development, staging, production) If using for example vite.").action(async({run:o,selectEnv:t})=>{try{console.log(u("magenta",`
4
+ Additionally, allow to prompt environment mode (development, staging, production), for example, when using Vite.`).requiredOption("--run <script>","The package script command to execute (e.g., --run=dev).").option("--select-env","An environment mode (development, staging, production) If using for example vite.").action(async({run:n,selectEnv:t})=>{try{console.log(u("magenta",`
4
5
  \u{1F680} Turbo-Select
5
- `));let e=await i(),n=t?await c():void 0;p(`turbo run ${o} --ui stream ${e?`--filter=${e}`:""} ${n?`-- --mode ${n}`:""}`,{encoding:"utf8",stdio:"inherit"})}catch(e){console.error(e),process.exit(1)}}).parseAsync(process.argv);
6
+ `));let e=await i(),o=t?await c():void 0;p(`turbo run ${n} --ui stream ${e?`--filter=${e}`:""} ${o?`-- --mode ${o}`:""}`,{encoding:"utf8",stdio:"inherit"})}catch(e){console.error(e),process.exit(1)}}).parseAsync(process.argv);
@@ -173,6 +173,11 @@ interface RuleOptions {
173
173
  * @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
174
174
  */
175
175
  '@eslint-react/jsx-no-duplicate-props'?: Linter.RuleEntry<[]>
176
+ /**
177
+ * Disallows 'IIFE' in JSX elements.
178
+ * @see https://eslint-react.xyz/docs/rules/jsx-no-iife
179
+ */
180
+ '@eslint-react/jsx-no-iife'?: Linter.RuleEntry<[]>
176
181
  /**
177
182
  * Disallow undefined variables in JSX.
178
183
  * @see https://eslint-react.xyz/docs/rules/jsx-no-undef
@@ -513,6 +518,11 @@ interface RuleOptions {
513
518
  * @see https://tanstack.com/query/latest/docs/eslint/infinite-query-property-order
514
519
  */
515
520
  '@tanstack/query/infinite-query-property-order'?: Linter.RuleEntry<[]>
521
+ /**
522
+ * Ensure correct order of inference-sensitive properties in useMutation()
523
+ * @see https://tanstack.com/query/latest/docs/eslint/mutation-property-order
524
+ */
525
+ '@tanstack/query/mutation-property-order'?: Linter.RuleEntry<[]>
516
526
  /**
517
527
  * Disallows rest destructuring in queries
518
528
  * @see https://tanstack.com/query/latest/docs/eslint/no-rest-destructuring
@@ -1182,6 +1192,7 @@ interface RuleOptions {
1182
1192
  /**
1183
1193
  * Require type annotations in certain places
1184
1194
  * @see https://typescript-eslint.io/rules/typedef
1195
+ * @deprecated
1185
1196
  */
1186
1197
  '@typescript-eslint/typedef'?: Linter.RuleEntry<TypescriptEslintTypedef>
1187
1198
  /**
@@ -1468,233 +1479,233 @@ interface RuleOptions {
1468
1479
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
1469
1480
  /**
1470
1481
  * Enforce or ban the use of inline type-only markers for named imports.
1471
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/consistent-type-specifier-style.md
1482
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/consistent-type-specifier-style.md
1472
1483
  */
1473
1484
  'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
1474
1485
  /**
1475
1486
  * Ensure a default export is present, given a default import.
1476
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/default.md
1487
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/default.md
1477
1488
  */
1478
1489
  'import/default'?: Linter.RuleEntry<[]>
1479
1490
  /**
1480
1491
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
1481
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/dynamic-import-chunkname.md
1492
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/dynamic-import-chunkname.md
1482
1493
  */
1483
1494
  'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
1484
1495
  /**
1485
1496
  * Forbid any invalid exports, i.e. re-export of the same name.
1486
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/export.md
1497
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/export.md
1487
1498
  */
1488
1499
  'import/export'?: Linter.RuleEntry<[]>
1489
1500
  /**
1490
1501
  * Ensure all exports appear after other statements.
1491
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/exports-last.md
1502
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/exports-last.md
1492
1503
  */
1493
1504
  'import/exports-last'?: Linter.RuleEntry<[]>
1494
1505
  /**
1495
1506
  * Ensure consistent use of file extension within the import path.
1496
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/extensions.md
1507
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/extensions.md
1497
1508
  */
1498
1509
  'import/extensions'?: Linter.RuleEntry<ImportExtensions>
1499
1510
  /**
1500
1511
  * Ensure all imports appear before other statements.
1501
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/first.md
1512
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/first.md
1502
1513
  */
1503
1514
  'import/first'?: Linter.RuleEntry<ImportFirst>
1504
1515
  /**
1505
1516
  * Prefer named exports to be grouped together in a single export declaration.
1506
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/group-exports.md
1517
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/group-exports.md
1507
1518
  */
1508
1519
  'import/group-exports'?: Linter.RuleEntry<[]>
1509
1520
  /**
1510
1521
  * Replaced by `import-x/first`.
1511
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/imports-first.md
1522
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/imports-first.md
1512
1523
  * @deprecated
1513
1524
  */
1514
1525
  'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
1515
1526
  /**
1516
1527
  * Enforce the maximum number of dependencies a module can have.
1517
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/max-dependencies.md
1528
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/max-dependencies.md
1518
1529
  */
1519
1530
  'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
1520
1531
  /**
1521
1532
  * Ensure named imports correspond to a named export in the remote file.
1522
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/named.md
1533
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/named.md
1523
1534
  */
1524
1535
  'import/named'?: Linter.RuleEntry<ImportNamed>
1525
1536
  /**
1526
1537
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
1527
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/namespace.md
1538
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/namespace.md
1528
1539
  */
1529
1540
  'import/namespace'?: Linter.RuleEntry<ImportNamespace>
1530
1541
  /**
1531
1542
  * Enforce a newline after import statements.
1532
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/newline-after-import.md
1543
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/newline-after-import.md
1533
1544
  */
1534
1545
  'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
1535
1546
  /**
1536
1547
  * Forbid import of modules using absolute paths.
1537
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-absolute-path.md
1548
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-absolute-path.md
1538
1549
  */
1539
1550
  'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
1540
1551
  /**
1541
1552
  * Forbid AMD `require` and `define` calls.
1542
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-amd.md
1553
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-amd.md
1543
1554
  */
1544
1555
  'import/no-amd'?: Linter.RuleEntry<[]>
1545
1556
  /**
1546
1557
  * Forbid anonymous values as default exports.
1547
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-anonymous-default-export.md
1558
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-anonymous-default-export.md
1548
1559
  */
1549
1560
  'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
1550
1561
  /**
1551
1562
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
1552
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-commonjs.md
1563
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-commonjs.md
1553
1564
  */
1554
1565
  'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
1555
1566
  /**
1556
1567
  * Forbid a module from importing a module with a dependency path back to itself.
1557
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-cycle.md
1568
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-cycle.md
1558
1569
  */
1559
1570
  'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
1560
1571
  /**
1561
1572
  * Forbid default exports.
1562
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-default-export.md
1573
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-default-export.md
1563
1574
  */
1564
1575
  'import/no-default-export'?: Linter.RuleEntry<[]>
1565
1576
  /**
1566
1577
  * Forbid imported names marked with `@deprecated` documentation tag.
1567
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-deprecated.md
1578
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-deprecated.md
1568
1579
  */
1569
1580
  'import/no-deprecated'?: Linter.RuleEntry<[]>
1570
1581
  /**
1571
1582
  * Forbid repeated import of the same module in multiple places.
1572
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-duplicates.md
1583
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-duplicates.md
1573
1584
  */
1574
1585
  'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
1575
1586
  /**
1576
1587
  * Forbid `require()` calls with expressions.
1577
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-dynamic-require.md
1588
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-dynamic-require.md
1578
1589
  */
1579
1590
  'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
1580
1591
  /**
1581
1592
  * Forbid empty named import blocks.
1582
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-empty-named-blocks.md
1593
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-empty-named-blocks.md
1583
1594
  */
1584
1595
  'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
1585
1596
  /**
1586
1597
  * Forbid the use of extraneous packages.
1587
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-extraneous-dependencies.md
1598
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-extraneous-dependencies.md
1588
1599
  */
1589
1600
  'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
1590
1601
  /**
1591
1602
  * Forbid import statements with CommonJS module.exports.
1592
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-import-module-exports.md
1603
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-import-module-exports.md
1593
1604
  */
1594
1605
  'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
1595
1606
  /**
1596
1607
  * Forbid importing the submodules of other modules.
1597
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-internal-modules.md
1608
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-internal-modules.md
1598
1609
  */
1599
1610
  'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
1600
1611
  /**
1601
1612
  * Forbid the use of mutable exports with `var` or `let`.
1602
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-mutable-exports.md
1613
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-mutable-exports.md
1603
1614
  */
1604
1615
  'import/no-mutable-exports'?: Linter.RuleEntry<[]>
1605
1616
  /**
1606
1617
  * Forbid use of exported name as identifier of default export.
1607
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-named-as-default.md
1618
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-named-as-default.md
1608
1619
  */
1609
1620
  'import/no-named-as-default'?: Linter.RuleEntry<[]>
1610
1621
  /**
1611
1622
  * Forbid use of exported name as property of default export.
1612
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-named-as-default-member.md
1623
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-named-as-default-member.md
1613
1624
  */
1614
1625
  'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
1615
1626
  /**
1616
1627
  * Forbid named default exports.
1617
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-named-default.md
1628
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-named-default.md
1618
1629
  */
1619
1630
  'import/no-named-default'?: Linter.RuleEntry<[]>
1620
1631
  /**
1621
1632
  * Forbid named exports.
1622
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-named-export.md
1633
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-named-export.md
1623
1634
  */
1624
1635
  'import/no-named-export'?: Linter.RuleEntry<[]>
1625
1636
  /**
1626
1637
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
1627
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-namespace.md
1638
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-namespace.md
1628
1639
  */
1629
1640
  'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
1630
1641
  /**
1631
1642
  * Forbid Node.js builtin modules.
1632
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-nodejs-modules.md
1643
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-nodejs-modules.md
1633
1644
  */
1634
1645
  'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
1635
1646
  /**
1636
1647
  * Forbid importing packages through relative paths.
1637
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-relative-packages.md
1648
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-relative-packages.md
1638
1649
  */
1639
1650
  'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
1640
1651
  /**
1641
1652
  * Forbid importing modules from parent directories.
1642
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-relative-parent-imports.md
1653
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-relative-parent-imports.md
1643
1654
  */
1644
1655
  'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
1645
1656
  /**
1646
1657
  * Forbid importing a default export by a different name.
1647
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-rename-default.md
1658
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-rename-default.md
1648
1659
  */
1649
1660
  'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
1650
1661
  /**
1651
1662
  * Enforce which files can be imported in a given folder.
1652
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-restricted-paths.md
1663
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-restricted-paths.md
1653
1664
  */
1654
1665
  'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
1655
1666
  /**
1656
1667
  * Forbid a module from importing itself.
1657
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-self-import.md
1668
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-self-import.md
1658
1669
  */
1659
1670
  'import/no-self-import'?: Linter.RuleEntry<[]>
1660
1671
  /**
1661
1672
  * Forbid unassigned imports.
1662
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-unassigned-import.md
1673
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-unassigned-import.md
1663
1674
  */
1664
1675
  'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
1665
1676
  /**
1666
1677
  * Ensure imports point to a file/module that can be resolved.
1667
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-unresolved.md
1678
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-unresolved.md
1668
1679
  */
1669
1680
  'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
1670
1681
  /**
1671
1682
  * Forbid modules without exports, or exports without matching import in another module.
1672
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-unused-modules.md
1683
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-unused-modules.md
1673
1684
  */
1674
1685
  'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
1675
1686
  /**
1676
1687
  * Forbid unnecessary path segments in import and require statements.
1677
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-useless-path-segments.md
1688
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-useless-path-segments.md
1678
1689
  */
1679
1690
  'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
1680
1691
  /**
1681
1692
  * Forbid webpack loader syntax in imports.
1682
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/no-webpack-loader-syntax.md
1693
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/no-webpack-loader-syntax.md
1683
1694
  */
1684
1695
  'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
1685
1696
  /**
1686
1697
  * Enforce a convention in module import order.
1687
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/order.md
1698
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/order.md
1688
1699
  */
1689
1700
  'import/order'?: Linter.RuleEntry<ImportOrder>
1690
1701
  /**
1691
1702
  * Prefer a default export if module exports a single name or multiple names.
1692
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/prefer-default-export.md
1703
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/prefer-default-export.md
1693
1704
  */
1694
1705
  'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
1695
1706
  /**
1696
1707
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
1697
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.13.1/docs/rules/unambiguous.md
1708
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.0/docs/rules/unambiguous.md
1698
1709
  */
1699
1710
  'import/unambiguous'?: Linter.RuleEntry<[]>
1700
1711
  /**
@@ -5747,6 +5758,7 @@ type _FuncNamesValue = ("always" | "as-needed" | "never")
5747
5758
  // ----- func-style -----
5748
5759
  type FuncStyle = []|[("declaration" | "expression")]|[("declaration" | "expression"), {
5749
5760
  allowArrowFunctions?: boolean
5761
+ allowTypeAnnotation?: boolean
5750
5762
  overrides?: {
5751
5763
  namedExports?: ("declaration" | "expression" | "ignore")
5752
5764
  }
@@ -6161,10 +6173,10 @@ type JsdocCheckLineAlignment = []|[("always" | "never" | "any")]|[("always" | "n
6161
6173
  postTag?: number
6162
6174
  postType?: number
6163
6175
  }
6176
+ disableWrapIndent?: boolean
6164
6177
  preserveMainDescriptionPostDelimiter?: boolean
6165
6178
  tags?: string[]
6166
6179
  wrapIndent?: string
6167
- disableWrapIndent?: boolean
6168
6180
  }]
6169
6181
  // ----- jsdoc/check-param-names -----
6170
6182
  type JsdocCheckParamNames = []|[{
@@ -7243,6 +7255,10 @@ type NoMagicNumbers = []|[{
7243
7255
  ignoreArrayIndexes?: boolean
7244
7256
  ignoreDefaultValues?: boolean
7245
7257
  ignoreClassFieldInitialValues?: boolean
7258
+ ignoreEnums?: boolean
7259
+ ignoreNumericLiteralTypes?: boolean
7260
+ ignoreReadonlyClassProperties?: boolean
7261
+ ignoreTypeIndexes?: boolean
7246
7262
  }]
7247
7263
  // ----- no-misleading-character-class -----
7248
7264
  type NoMisleadingCharacterClass = []|[{
@@ -7375,9 +7391,11 @@ type NoSequences = []|[{
7375
7391
  // ----- no-shadow -----
7376
7392
  type NoShadow = []|[{
7377
7393
  builtinGlobals?: boolean
7378
- hoist?: ("all" | "functions" | "never")
7394
+ hoist?: ("all" | "functions" | "never" | "types" | "functions-and-types")
7379
7395
  allow?: string[]
7380
7396
  ignoreOnInitialization?: boolean
7397
+ ignoreTypeValueShadow?: boolean
7398
+ ignoreFunctionTypeParameterNameValueShadow?: boolean
7381
7399
  }]
7382
7400
  // ----- no-shadow-restricted-names -----
7383
7401
  type NoShadowRestrictedNames = []|[{
@@ -7455,6 +7473,9 @@ type NoUseBeforeDefine = []|[("nofunc" | {
7455
7473
  classes?: boolean
7456
7474
  variables?: boolean
7457
7475
  allowNamedExports?: boolean
7476
+ enums?: boolean
7477
+ typedefs?: boolean
7478
+ ignoreTypeReferences?: boolean
7458
7479
  })]
7459
7480
  // ----- no-useless-computed-key -----
7460
7481
  type NoUselessComputedKey = []|[{
@@ -7723,7 +7744,9 @@ type PerfectionistSortArrayIncludes = {
7723
7744
 
7724
7745
  groups?: (string | string[] | {
7725
7746
 
7726
- newlinesBetween: ("ignore" | "always" | "never")
7747
+ newlinesBetween?: ("ignore" | "always" | "never")
7748
+
7749
+ commentAbove?: string
7727
7750
  })[]
7728
7751
  }[]
7729
7752
  // ----- perfectionist/sort-classes -----
@@ -7919,7 +7942,9 @@ type PerfectionistSortClasses = []|[{
7919
7942
 
7920
7943
  groups?: (string | string[] | {
7921
7944
 
7922
- newlinesBetween: ("ignore" | "always" | "never")
7945
+ newlinesBetween?: ("ignore" | "always" | "never")
7946
+
7947
+ commentAbove?: string
7923
7948
  })[]
7924
7949
  }]
7925
7950
  // ----- perfectionist/sort-decorators -----
@@ -7997,7 +8022,9 @@ type PerfectionistSortDecorators = []|[{
7997
8022
 
7998
8023
  groups?: (string | string[] | {
7999
8024
 
8000
- newlinesBetween: ("ignore" | "always" | "never")
8025
+ newlinesBetween?: ("ignore" | "always" | "never")
8026
+
8027
+ commentAbove?: string
8001
8028
  })[]
8002
8029
  }]
8003
8030
  // ----- perfectionist/sort-enums -----
@@ -8154,7 +8181,9 @@ type PerfectionistSortEnums = []|[{
8154
8181
 
8155
8182
  groups?: (string | string[] | {
8156
8183
 
8157
- newlinesBetween: ("ignore" | "always" | "never")
8184
+ newlinesBetween?: ("ignore" | "always" | "never")
8185
+
8186
+ commentAbove?: string
8158
8187
  })[]
8159
8188
  }]
8160
8189
  // ----- perfectionist/sort-exports -----
@@ -8292,7 +8321,9 @@ type PerfectionistSortExports = {
8292
8321
 
8293
8322
  groups?: (string | string[] | {
8294
8323
 
8295
- newlinesBetween: ("ignore" | "always" | "never")
8324
+ newlinesBetween?: ("ignore" | "always" | "never")
8325
+
8326
+ commentAbove?: string
8296
8327
  })[]
8297
8328
  }[]
8298
8329
  // ----- perfectionist/sort-heritage-clauses -----
@@ -8323,7 +8354,9 @@ type PerfectionistSortHeritageClauses = []|[{
8323
8354
 
8324
8355
  groups?: (string | string[] | {
8325
8356
 
8326
- newlinesBetween: ("ignore" | "always" | "never")
8357
+ newlinesBetween?: ("ignore" | "always" | "never")
8358
+
8359
+ commentAbove?: string
8327
8360
  })[]
8328
8361
  }]
8329
8362
  // ----- perfectionist/sort-imports -----
@@ -8447,6 +8480,12 @@ type PerfectionistSortImports = {
8447
8480
  flags?: string
8448
8481
  } | string))
8449
8482
  })[])
8483
+ tsconfig?: {
8484
+
8485
+ rootDir: string
8486
+
8487
+ filename?: string
8488
+ }
8450
8489
 
8451
8490
  maxLineLength?: number
8452
8491
 
@@ -8511,7 +8550,9 @@ type PerfectionistSortImports = {
8511
8550
 
8512
8551
  groups?: (string | string[] | {
8513
8552
 
8514
- newlinesBetween: ("ignore" | "always" | "never")
8553
+ newlinesBetween?: ("ignore" | "always" | "never")
8554
+
8555
+ commentAbove?: string
8515
8556
  })[]
8516
8557
  }[]
8517
8558
  // ----- perfectionist/sort-interfaces -----
@@ -8719,7 +8760,9 @@ type PerfectionistSortInterfaces = {
8719
8760
 
8720
8761
  groups?: (string | string[] | {
8721
8762
 
8722
- newlinesBetween: ("ignore" | "always" | "never")
8763
+ newlinesBetween?: ("ignore" | "always" | "never")
8764
+
8765
+ commentAbove?: string
8723
8766
  })[]
8724
8767
  }[]
8725
8768
  // ----- perfectionist/sort-intersection-types -----
@@ -8851,7 +8894,9 @@ type PerfectionistSortIntersectionTypes = {
8851
8894
 
8852
8895
  groups?: (string | string[] | {
8853
8896
 
8854
- newlinesBetween: ("ignore" | "always" | "never")
8897
+ newlinesBetween?: ("ignore" | "always" | "never")
8898
+
8899
+ commentAbove?: string
8855
8900
  })[]
8856
8901
  }[]
8857
8902
  // ----- perfectionist/sort-jsx-props -----
@@ -9014,7 +9059,9 @@ type PerfectionistSortJsxProps = {
9014
9059
 
9015
9060
  groups?: (string | string[] | {
9016
9061
 
9017
- newlinesBetween: ("ignore" | "always" | "never")
9062
+ newlinesBetween?: ("ignore" | "always" | "never")
9063
+
9064
+ commentAbove?: string
9018
9065
  })[]
9019
9066
  }[]
9020
9067
  // ----- perfectionist/sort-maps -----
@@ -9157,7 +9204,9 @@ type PerfectionistSortMaps = {
9157
9204
 
9158
9205
  groups?: (string | string[] | {
9159
9206
 
9160
- newlinesBetween: ("ignore" | "always" | "never")
9207
+ newlinesBetween?: ("ignore" | "always" | "never")
9208
+
9209
+ commentAbove?: string
9161
9210
  })[]
9162
9211
  }[]
9163
9212
  // ----- perfectionist/sort-modules -----
@@ -9317,7 +9366,9 @@ type PerfectionistSortModules = []|[{
9317
9366
 
9318
9367
  groups?: (string | string[] | {
9319
9368
 
9320
- newlinesBetween: ("ignore" | "always" | "never")
9369
+ newlinesBetween?: ("ignore" | "always" | "never")
9370
+
9371
+ commentAbove?: string
9321
9372
  })[]
9322
9373
  }]
9323
9374
  // ----- perfectionist/sort-named-exports -----
@@ -9457,7 +9508,9 @@ type PerfectionistSortNamedExports = {
9457
9508
 
9458
9509
  groups?: (string | string[] | {
9459
9510
 
9460
- newlinesBetween: ("ignore" | "always" | "never")
9511
+ newlinesBetween?: ("ignore" | "always" | "never")
9512
+
9513
+ commentAbove?: string
9461
9514
  })[]
9462
9515
  }[]
9463
9516
  // ----- perfectionist/sort-named-imports -----
@@ -9597,7 +9650,9 @@ type PerfectionistSortNamedImports = {
9597
9650
 
9598
9651
  groups?: (string | string[] | {
9599
9652
 
9600
- newlinesBetween: ("ignore" | "always" | "never")
9653
+ newlinesBetween?: ("ignore" | "always" | "never")
9654
+
9655
+ commentAbove?: string
9601
9656
  })[]
9602
9657
  }[]
9603
9658
  // ----- perfectionist/sort-object-types -----
@@ -9805,7 +9860,9 @@ type PerfectionistSortObjectTypes = {
9805
9860
 
9806
9861
  groups?: (string | string[] | {
9807
9862
 
9808
- newlinesBetween: ("ignore" | "always" | "never")
9863
+ newlinesBetween?: ("ignore" | "always" | "never")
9864
+
9865
+ commentAbove?: string
9809
9866
  })[]
9810
9867
  }[]
9811
9868
  // ----- perfectionist/sort-objects -----
@@ -10016,7 +10073,9 @@ type PerfectionistSortObjects = {
10016
10073
 
10017
10074
  groups?: (string | string[] | {
10018
10075
 
10019
- newlinesBetween: ("ignore" | "always" | "never")
10076
+ newlinesBetween?: ("ignore" | "always" | "never")
10077
+
10078
+ commentAbove?: string
10020
10079
  })[]
10021
10080
  }[]
10022
10081
  // ----- perfectionist/sort-sets -----
@@ -10165,7 +10224,9 @@ type PerfectionistSortSets = {
10165
10224
 
10166
10225
  groups?: (string | string[] | {
10167
10226
 
10168
- newlinesBetween: ("ignore" | "always" | "never")
10227
+ newlinesBetween?: ("ignore" | "always" | "never")
10228
+
10229
+ commentAbove?: string
10169
10230
  })[]
10170
10231
  }[]
10171
10232
  // ----- perfectionist/sort-switch-case -----
@@ -10319,7 +10380,9 @@ type PerfectionistSortUnionTypes = {
10319
10380
 
10320
10381
  groups?: (string | string[] | {
10321
10382
 
10322
- newlinesBetween: ("ignore" | "always" | "never")
10383
+ newlinesBetween?: ("ignore" | "always" | "never")
10384
+
10385
+ commentAbove?: string
10323
10386
  })[]
10324
10387
  }[]
10325
10388
  // ----- perfectionist/sort-variable-declarations -----
@@ -10451,7 +10514,9 @@ type PerfectionistSortVariableDeclarations = []|[{
10451
10514
 
10452
10515
  groups?: (string | string[] | {
10453
10516
 
10454
- newlinesBetween: ("ignore" | "always" | "never")
10517
+ newlinesBetween?: ("ignore" | "always" | "never")
10518
+
10519
+ commentAbove?: string
10455
10520
  })[]
10456
10521
  }]
10457
10522
  // ----- prefer-arrow-callback -----
@@ -1 +1 @@
1
- {"ignorePatterns":["**/node_modules/","**/dist/","**/out/","**/output","**/.output","**/build/","**/*.min.*","**/.yarn/","**/.yarnrc.yml","**/package-lock.json","**/yarn.lock","**/bun.lock","**/bun.lockb","**/pnpm-lock.yaml","**/.vite-inspect","**/.vitepress/cache","**/vite.config.*.timestamp-*","**/*.log","**/npm-debug.log*","**/yarn-debug.log*","**/yarn-error.log*",".pnp.*","**/.pnp","**/.pnp.js","**/.pnp.cjs","**/coverage/","**/.nyc_output/","**/__snapshots__","**/.vscode/","**/.idea/","**/.cache","**/.nuxt","**/.next","**/.svelte-kit","**/.vercel","**/.changeset","**/.turbo/","**/.DS_Store","**/Thumbs.db","**/temp","**/.temp","**/tmp","**/.tmp","**/.history","**/mockServiceWorker.js","**/CHANGELOG*.md","**/LICENSE*"],"plugins":["eslint","import","jsdoc","unicorn","vitest","react"],"rules":{"for-direction":"error","no-async-promise-executor":"error","no-case-declarations":"error","no-class-assign":"error","no-compare-neg-zero":"error","no-cond-assign":"error","no-const-assign":"error","no-constant-binary-expression":"error","no-constant-condition":"error","no-control-regex":"error","no-debugger":"error","no-delete-var":"error","no-dupe-class-members":"error","no-dupe-else-if":"error","no-dupe-keys":"error","no-duplicate-case":"error","no-empty":"error","no-empty-character-class":"error","no-empty-pattern":"error","no-empty-static-block":"error","no-ex-assign":"error","no-extra-boolean-cast":"error","no-fallthrough":"error","no-func-assign":"error","no-global-assign":"error","no-import-assign":"error","no-invalid-regexp":"error","no-irregular-whitespace":"error","no-loss-of-precision":"error","no-new-native-nonconstructor":"error","no-nonoctal-decimal-escape":"error","no-obj-calls":"error","no-prototype-builtins":"error","no-redeclare":"error","no-regex-spaces":"error","no-self-assign":"error","no-setter-return":"error","no-shadow-restricted-names":"error","no-sparse-arrays":"error","no-this-before-super":"error","no-unexpected-multiline":0,"no-unsafe-finally":"error","no-unsafe-negation":"error","no-unsafe-optional-chaining":"error","no-unused-labels":"error","no-unused-private-class-members":"error","no-unused-vars":["error",{"args":"none","caughtErrors":"none","ignoreRestSiblings":true,"vars":"all"}],"no-useless-backreference":"error","no-useless-catch":"error","no-useless-escape":"error","no-with":"error","require-yield":"error","use-isnan":"error","valid-typeof":"error","array-callback-return":["error",{"allowImplicit":true}],"block-scoped-var":"error","curly":0,"default-case-last":"error","eqeqeq":"error","func-names":["error","as-needed"],"grouped-accessor-pairs":"error","max-lines":["warn",300],"max-params":["warn",4],"new-cap":["error",{"capIsNew":false}],"no-alert":"error","no-array-constructor":"error","no-bitwise":"error","no-caller":"error","no-console":"error","no-constructor-return":"error","no-else-return":"warn","no-eval":"error","no-extend-native":"error","no-extra-label":"error","no-iterator":"error","no-label-var":"error","no-labels":"error","no-lone-blocks":"error","no-lonely-if":"warn","no-multi-assign":"error","no-nested-ternary":"off","no-new":"error","no-new-func":"error","no-new-wrappers":"error","no-proto":"error","no-return-assign":"error","no-script-url":"error","no-self-compare":"error","no-template-curly-in-string":"error","no-unneeded-ternary":"error","no-unused-expressions":"error","no-useless-call":"error","no-useless-concat":"error","no-useless-rename":"warn","no-var":"error","no-void":["error",{"allowAsStatement":true}],"prefer-numeric-literals":"error","prefer-object-has-own":"error","prefer-object-spread":"warn","prefer-promise-reject-errors":["error",{"allowEmptyReject":true}],"prefer-rest-params":"error","prefer-spread":"error","symbol-description":"error","yoda":"warn","import/namespace":"error","import/default":"error","import/no-named-as-default":"warn","import/no-named-as-default-member":"warn","import/no-duplicates":["error",{"prefer-inline":true}],"import/first":"error","import/no-absolute-path":"error","import/no-amd":"error","import/no-cycle":["error",{"ignoreExternal":false,"maxDepth":3}],"import/no-dynamic-require":"error","import/no-mutable-exports":"error","import/no-self-import":"error","jsdoc/check-access":"error","jsdoc/check-property-names":"error","jsdoc/check-tag-names":"error","jsdoc/empty-tags":"error","jsdoc/implements-on-classes":"error","jsdoc/no-defaults":"error","jsdoc/require-param":["error",{"checkDestructured":false,"enableRestElementFixer":false}],"jsdoc/require-param-description":"error","jsdoc/require-param-name":"error","jsdoc/require-param-type":"error","jsdoc/require-property":"error","jsdoc/require-property-description":"error","jsdoc/require-property-name":"error","jsdoc/require-property-type":"error","jsdoc/require-returns":"error","jsdoc/require-returns-description":"error","jsdoc/require-returns-type":"error","jsdoc/require-yields":"error","no-negated-condition":"off","unicorn/catch-error-name":"error","unicorn/consistent-assert":"error","unicorn/consistent-date-clone":"error","unicorn/consistent-empty-array-spread":"error","unicorn/consistent-existence-index-check":"error","unicorn/consistent-function-scoping":"error","unicorn/empty-brace-spaces":"off","unicorn/error-message":"error","unicorn/escape-case":"error","unicorn/explicit-length-check":"error","unicorn/filename-case":["error",{"cases":{"camelCase":true,"kebabCase":true,"pascalCase":true}}],"unicorn/new-for-builtins":"error","unicorn/no-abusive-eslint-disable":"error","unicorn/no-accessor-recursion":"error","unicorn/no-anonymous-default-export":"error","unicorn/no-array-for-each":"error","unicorn/no-array-method-this-argument":"error","unicorn/no-array-reduce":"off","unicorn/no-await-expression-member":"error","unicorn/no-await-in-promise-methods":"error","unicorn/no-console-spaces":"error","unicorn/no-document-cookie":"error","unicorn/no-empty-file":"error","unicorn/no-for-loop":"error","unicorn/no-hex-escape":"error","unicorn/no-instanceof-builtins":"error","unicorn/no-invalid-fetch-options":"error","unicorn/no-invalid-remove-event-listener":"error","unicorn/no-lonely-if":"error","unicorn/no-magic-array-flat-depth":"error","unicorn/no-negated-condition":"error","unicorn/no-negation-in-equality-check":"error","unicorn/no-nested-ternary":"off","unicorn/no-new-array":"error","unicorn/no-new-buffer":"error","unicorn/no-null":"off","unicorn/no-object-as-default-parameter":"error","unicorn/no-process-exit":"error","unicorn/no-single-promise-in-promise-methods":"error","unicorn/no-static-only-class":"error","unicorn/no-thenable":"error","unicorn/no-this-assignment":"error","unicorn/no-typeof-undefined":"error","unicorn/no-unnecessary-array-flat-depth":"error","unicorn/no-unnecessary-await":"error","unicorn/no-unnecessary-slice-end":"error","unicorn/no-unreadable-array-destructuring":"error","unicorn/no-unreadable-iife":"error","unicorn/no-useless-fallback-in-spread":"error","unicorn/no-useless-length-check":"error","unicorn/no-useless-promise-resolve-reject":"error","unicorn/no-useless-spread":"error","unicorn/no-useless-switch-case":"error","unicorn/no-useless-undefined":"error","unicorn/no-zero-fractions":"error","unicorn/number-literal-case":"off","unicorn/numeric-separators-style":"error","unicorn/prefer-add-event-listener":"error","unicorn/prefer-array-find":"error","unicorn/prefer-array-flat-map":"error","unicorn/prefer-array-flat":"error","unicorn/prefer-array-index-of":"error","unicorn/prefer-array-some":"error","unicorn/prefer-blob-reading-methods":"error","unicorn/prefer-code-point":"error","unicorn/prefer-date-now":"error","unicorn/prefer-dom-node-append":"error","unicorn/prefer-dom-node-dataset":"error","unicorn/prefer-dom-node-remove":"error","unicorn/prefer-dom-node-text-content":"error","unicorn/prefer-event-target":"error","unicorn/prefer-global-this":"error","unicorn/prefer-includes":"error","unicorn/prefer-logical-operator-over-ternary":"error","unicorn/prefer-math-min-max":"error","unicorn/prefer-math-trunc":"error","unicorn/prefer-modern-dom-apis":"error","unicorn/prefer-modern-math-apis":"error","unicorn/prefer-native-coercion-functions":"error","unicorn/prefer-negative-index":"error","unicorn/prefer-node-protocol":"error","unicorn/prefer-number-properties":["error",{"checkInfinity":true,"checkNaN":true}],"unicorn/prefer-object-from-entries":"error","unicorn/prefer-optional-catch-binding":"error","unicorn/prefer-prototype-methods":"error","unicorn/prefer-query-selector":"error","unicorn/prefer-reflect-apply":"error","unicorn/prefer-regexp-test":"error","unicorn/prefer-set-has":"error","unicorn/prefer-set-size":"error","unicorn/prefer-spread":"error","unicorn/prefer-string-raw":"error","unicorn/prefer-string-replace-all":"error","unicorn/prefer-string-slice":"error","unicorn/prefer-string-starts-ends-with":"error","unicorn/prefer-string-trim-start-end":"error","unicorn/prefer-structured-clone":"error","unicorn/prefer-type-error":"error","unicorn/require-array-join-separator":"error","unicorn/require-number-to-fixed-digits-argument":"error","unicorn/require-post-message-target-origin":"off","unicorn/switch-case-braces":"error","unicorn/text-encoding-identifier-case":"error","unicorn/throw-new-error":"error","sort-imports":"off"},"overrides":[{"files":["**/*.{ts,cts,mts}","**/*.{tsx,ctsx,mtsx}"],"rules":{"no-class-assign":"off","no-const-assign":"off","no-dupe-class-members":"off","no-dupe-keys":"off","no-func-assign":"off","no-import-assign":"off","no-new-native-nonconstructor":"off","no-obj-calls":"off","no-redeclare":"off","no-setter-return":"off","no-this-before-super":"off","no-unsafe-negation":"off","no-var":"error","no-with":"off","prefer-rest-params":"error","prefer-spread":"error","@typescript-eslint/ban-ts-comment":["error",{"ts-expect-error":"allow-with-description"}],"no-array-constructor":"off","@typescript-eslint/no-array-constructor":"error","@typescript-eslint/no-duplicate-enum-values":"error","@typescript-eslint/no-dynamic-delete":"error","@typescript-eslint/no-empty-object-type":["error",{"allowInterfaces":"always"}],"@typescript-eslint/no-explicit-any":"error","@typescript-eslint/no-extra-non-null-assertion":"error","@typescript-eslint/no-extraneous-class":"error","@typescript-eslint/no-misused-new":"error","@typescript-eslint/no-namespace":"error","@typescript-eslint/no-non-null-asserted-nullish-coalescing":"error","@typescript-eslint/no-non-null-asserted-optional-chain":"error","@typescript-eslint/no-non-null-assertion":"error","@typescript-eslint/no-require-imports":"error","@typescript-eslint/no-this-alias":"error","@typescript-eslint/no-unnecessary-type-constraint":"error","@typescript-eslint/no-unsafe-declaration-merging":"error","@typescript-eslint/no-unsafe-function-type":"error","no-unused-expressions":"off","@typescript-eslint/no-unused-expressions":"error","no-unused-vars":"off","@typescript-eslint/no-unused-vars":"off","no-useless-constructor":"off","@typescript-eslint/no-useless-constructor":"error","@typescript-eslint/no-wrapper-object-types":"error","@typescript-eslint/prefer-as-const":"error","@typescript-eslint/prefer-literal-enum-member":"error","@typescript-eslint/prefer-namespace-keyword":"error","@typescript-eslint/triple-slash-reference":"error","@typescript-eslint/adjacent-overload-signatures":"error","@typescript-eslint/array-type":"error","@typescript-eslint/ban-tslint-comment":"error","@typescript-eslint/consistent-generic-constructors":"error","@typescript-eslint/consistent-indexed-object-style":"error","@typescript-eslint/consistent-type-definitions":"off","@typescript-eslint/no-confusing-non-null-assertion":"error","no-empty-function":"off","@typescript-eslint/no-empty-function":"error","@typescript-eslint/no-inferrable-types":"error","@typescript-eslint/prefer-for-of":"error","@typescript-eslint/prefer-function-type":"error","@typescript-eslint/consistent-type-imports":["error",{"disallowTypeAnnotations":false,"fixStyle":"separate-type-imports","prefer":"type-imports"}],"@typescript-eslint/default-param-last":"error","@typescript-eslint/explicit-function-return-type":"off","@typescript-eslint/no-dupe-class-members":"error","@typescript-eslint/no-import-type-side-effects":"error","@typescript-eslint/no-redeclare":["error",{"builtinGlobals":false}],"@typescript-eslint/no-useless-empty-export":"warn"}},{"files":["**/*.{ts,cts,mts}","**/*.{tsx,ctsx,mtsx}"],"rules":{"no-throw-literal":"off","prefer-promise-reject-errors":"off","require-await":"off"}},{"files":["**/*.{ts,cts,mts}","**/*.{tsx,ctsx,mtsx}"],"rules":{"jsdoc/check-access":"error","jsdoc/check-property-names":"error","jsdoc/check-tag-names":"error","jsdoc/empty-tags":"error","jsdoc/implements-on-classes":"error","jsdoc/no-defaults":"error","jsdoc/require-param":["error",{"checkDestructured":false,"enableRestElementFixer":false}],"jsdoc/require-param-description":"error","jsdoc/require-param-name":"error","jsdoc/require-param-type":"off","jsdoc/require-property":"error","jsdoc/require-property-description":"error","jsdoc/require-property-name":"error","jsdoc/require-property-type":"off","jsdoc/require-returns":"error","jsdoc/require-returns-description":"error","jsdoc/require-returns-type":"off","jsdoc/require-yields":"error"}},{"files":["**/__tests__/**/*.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/*.spec.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/*.test.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/*.bench.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/*.benchmark.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}"],"rules":{"vitest/expect-expect":"error","vitest/no-identical-title":"error","vitest/no-commented-out-tests":"error","vitest/valid-expect":"error","vitest/valid-describe-callback":"error","vitest/require-local-test-context-for-concurrent-snapshots":"error","vitest/no-import-node-test":"error","vitest/consistent-test-it":["error",{"fn":"it","withinDescribe":"it"}],"vitest/prefer-hooks-in-order":"error","vitest/prefer-lowercase-title":"error"}},{"files":["**/*.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}"],"rules":{"react/jsx-no-duplicate-props":"warn","react/no-array-index-key":"warn","react/no-direct-mutation-state":"error","react/no-string-refs":"error","react-hooks/rules-of-hooks":"error"}},{"files":["**/*.{ts,cts,mts}","**/*.{tsx,ctsx,mtsx}"],"rules":{"react/jsx-no-duplicate-props":"off","react/no-array-index-key":"warn","react/no-direct-mutation-state":"error","react/no-string-refs":"error"}},{"files":["**/scripts/**/*.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/tasks/**/*.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/bin/**/*.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/bin.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/cli/**/*.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/cli.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}"],"rules":{"no-console":"off","unicorn/no-process-exit":"off"}},{"files":["**/*.d.{ts,cts,mts}"],"rules":{"@typescript-eslint/consistent-indexed-object-style":"off","import/no-duplicates":"off"}},{"files":["**/*.config.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/*.config.*.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}"],"rules":{"no-console":"off","@typescript-eslint/explicit-function-return-type":"off"}}]}
1
+ {"ignorePatterns":["**/node_modules/","**/dist/","**/out/","**/output","**/.output","**/build/","**/*.min.*","**/.yarn/","**/.yarnrc.yml","**/package-lock.json","**/yarn.lock","**/bun.lock","**/bun.lockb","**/pnpm-lock.yaml","**/.vite-inspect","**/.vitepress/cache","**/vite.config.*.timestamp-*","**/*.log","**/npm-debug.log*","**/yarn-debug.log*","**/yarn-error.log*",".pnp.*","**/.pnp","**/.pnp.js","**/.pnp.cjs","**/coverage/","**/.nyc_output/","**/__snapshots__","**/.vscode/","**/.idea/","**/.cache","**/.nuxt","**/.next","**/.svelte-kit","**/.vercel","**/.changeset","**/.turbo/","**/.DS_Store","**/Thumbs.db","**/temp","**/.temp","**/tmp","**/.tmp","**/.history","**/mockServiceWorker.js","**/CHANGELOG*.md","**/LICENSE*"],"plugins":["eslint","typescript","import","jsdoc","unicorn","vitest","react"],"rules":{"for-direction":"error","no-async-promise-executor":"error","no-case-declarations":"error","no-class-assign":"error","no-compare-neg-zero":"error","no-cond-assign":"error","no-const-assign":"error","no-constant-binary-expression":"error","no-constant-condition":"error","no-control-regex":"error","no-debugger":"error","no-delete-var":"error","no-dupe-class-members":"error","no-dupe-else-if":"error","no-dupe-keys":"error","no-duplicate-case":"error","no-empty":"error","no-empty-character-class":"error","no-empty-pattern":"error","no-empty-static-block":"error","no-ex-assign":"error","no-extra-boolean-cast":"error","no-fallthrough":"error","no-func-assign":"error","no-global-assign":"error","no-import-assign":"error","no-invalid-regexp":"error","no-irregular-whitespace":"error","no-loss-of-precision":"error","no-new-native-nonconstructor":"error","no-nonoctal-decimal-escape":"error","no-obj-calls":"error","no-prototype-builtins":"error","no-redeclare":"error","no-regex-spaces":"error","no-self-assign":"error","no-setter-return":"error","no-shadow-restricted-names":"error","no-sparse-arrays":"error","no-this-before-super":"error","no-unexpected-multiline":0,"no-unsafe-finally":"error","no-unsafe-negation":"error","no-unsafe-optional-chaining":"error","no-unused-labels":"error","no-unused-private-class-members":"error","no-unused-vars":["error",{"args":"none","caughtErrors":"none","ignoreRestSiblings":true,"vars":"all"}],"no-useless-backreference":"error","no-useless-catch":"error","no-useless-escape":"error","no-with":"error","require-yield":"error","use-isnan":"error","valid-typeof":"error","array-callback-return":["error",{"allowImplicit":true}],"block-scoped-var":"error","curly":0,"default-case-last":"error","eqeqeq":"error","func-names":["error","as-needed"],"grouped-accessor-pairs":"error","max-lines":["warn",300],"max-params":["warn",4],"new-cap":["error",{"capIsNew":false}],"no-alert":"error","no-array-constructor":"error","no-bitwise":"error","no-caller":"error","no-console":"error","no-constructor-return":"error","no-else-return":"warn","no-eval":"error","no-extend-native":"error","no-extra-label":"error","no-iterator":"error","no-label-var":"error","no-labels":"error","no-lone-blocks":"error","no-lonely-if":"warn","no-multi-assign":"error","no-nested-ternary":"off","no-new":"error","no-new-func":"error","no-new-wrappers":"error","no-proto":"error","no-return-assign":"error","no-script-url":"error","no-self-compare":"error","no-template-curly-in-string":"error","no-unneeded-ternary":"error","no-unused-expressions":"error","no-useless-call":"error","no-useless-concat":"error","no-useless-rename":"warn","no-var":"error","no-void":["error",{"allowAsStatement":true}],"prefer-numeric-literals":"error","prefer-object-has-own":"error","prefer-object-spread":"warn","prefer-promise-reject-errors":["error",{"allowEmptyReject":true}],"prefer-rest-params":"error","prefer-spread":"error","symbol-description":"error","yoda":"warn","import/namespace":"error","import/default":"error","import/no-named-as-default":"warn","import/no-named-as-default-member":"warn","import/no-duplicates":["error",{"prefer-inline":true}],"import/first":"error","import/no-absolute-path":"error","import/no-amd":"error","import/no-cycle":["error",{"ignoreExternal":false,"maxDepth":3}],"import/no-dynamic-require":"error","import/no-mutable-exports":"error","import/no-self-import":"error","jsdoc/check-access":"error","jsdoc/check-property-names":"error","jsdoc/check-tag-names":"error","jsdoc/empty-tags":"error","jsdoc/implements-on-classes":"error","jsdoc/no-defaults":"error","jsdoc/require-param":["error",{"checkDestructured":false,"enableRestElementFixer":false}],"jsdoc/require-param-description":"error","jsdoc/require-param-name":"error","jsdoc/require-param-type":"error","jsdoc/require-property":"error","jsdoc/require-property-description":"error","jsdoc/require-property-name":"error","jsdoc/require-property-type":"error","jsdoc/require-returns":"error","jsdoc/require-returns-description":"error","jsdoc/require-returns-type":"error","jsdoc/require-yields":"error","no-negated-condition":"off","unicorn/catch-error-name":"error","unicorn/consistent-assert":"error","unicorn/consistent-date-clone":"error","unicorn/consistent-empty-array-spread":"error","unicorn/consistent-existence-index-check":"error","unicorn/consistent-function-scoping":"error","unicorn/empty-brace-spaces":"off","unicorn/error-message":"error","unicorn/escape-case":"error","unicorn/explicit-length-check":"error","unicorn/filename-case":["error",{"cases":{"camelCase":true,"kebabCase":true,"pascalCase":true}}],"unicorn/new-for-builtins":"error","unicorn/no-abusive-eslint-disable":"error","unicorn/no-accessor-recursion":"error","unicorn/no-anonymous-default-export":"error","unicorn/no-array-for-each":"error","unicorn/no-array-method-this-argument":"error","unicorn/no-array-reduce":"off","unicorn/no-await-expression-member":"error","unicorn/no-await-in-promise-methods":"error","unicorn/no-console-spaces":"error","unicorn/no-document-cookie":"error","unicorn/no-empty-file":"error","unicorn/no-hex-escape":"error","unicorn/no-instanceof-builtins":"error","unicorn/no-invalid-fetch-options":"error","unicorn/no-invalid-remove-event-listener":"error","unicorn/no-lonely-if":"error","unicorn/no-magic-array-flat-depth":"error","unicorn/no-negated-condition":"error","unicorn/no-negation-in-equality-check":"error","unicorn/no-nested-ternary":"off","unicorn/no-new-array":"error","unicorn/no-new-buffer":"error","unicorn/no-null":"off","unicorn/no-object-as-default-parameter":"error","unicorn/no-process-exit":"error","unicorn/no-single-promise-in-promise-methods":"error","unicorn/no-static-only-class":"error","unicorn/no-thenable":"error","unicorn/no-this-assignment":"error","unicorn/no-typeof-undefined":"error","unicorn/no-unnecessary-array-flat-depth":"error","unicorn/no-unnecessary-await":"error","unicorn/no-unnecessary-slice-end":"error","unicorn/no-unreadable-array-destructuring":"error","unicorn/no-unreadable-iife":"error","unicorn/no-useless-fallback-in-spread":"error","unicorn/no-useless-length-check":"error","unicorn/no-useless-promise-resolve-reject":"error","unicorn/no-useless-spread":"error","unicorn/no-useless-switch-case":"error","unicorn/no-useless-undefined":"error","unicorn/no-zero-fractions":"error","unicorn/number-literal-case":"off","unicorn/numeric-separators-style":"error","unicorn/prefer-add-event-listener":"error","unicorn/prefer-array-find":"error","unicorn/prefer-array-flat-map":"error","unicorn/prefer-array-flat":"error","unicorn/prefer-array-index-of":"error","unicorn/prefer-array-some":"error","unicorn/prefer-blob-reading-methods":"error","unicorn/prefer-code-point":"error","unicorn/prefer-date-now":"error","unicorn/prefer-dom-node-append":"error","unicorn/prefer-dom-node-dataset":"error","unicorn/prefer-dom-node-remove":"error","unicorn/prefer-dom-node-text-content":"error","unicorn/prefer-event-target":"error","unicorn/prefer-global-this":"error","unicorn/prefer-includes":"error","unicorn/prefer-logical-operator-over-ternary":"error","unicorn/prefer-math-min-max":"error","unicorn/prefer-math-trunc":"error","unicorn/prefer-modern-dom-apis":"error","unicorn/prefer-modern-math-apis":"error","unicorn/prefer-native-coercion-functions":"error","unicorn/prefer-negative-index":"error","unicorn/prefer-node-protocol":"error","unicorn/prefer-number-properties":["error",{"checkInfinity":true,"checkNaN":true}],"unicorn/prefer-object-from-entries":"error","unicorn/prefer-optional-catch-binding":"error","unicorn/prefer-prototype-methods":"error","unicorn/prefer-query-selector":"error","unicorn/prefer-reflect-apply":"error","unicorn/prefer-regexp-test":"error","unicorn/prefer-set-has":"error","unicorn/prefer-set-size":"error","unicorn/prefer-spread":"error","unicorn/prefer-string-raw":"error","unicorn/prefer-string-replace-all":"error","unicorn/prefer-string-slice":"error","unicorn/prefer-string-starts-ends-with":"error","unicorn/prefer-string-trim-start-end":"error","unicorn/prefer-structured-clone":"error","unicorn/prefer-type-error":"error","unicorn/require-array-join-separator":"error","unicorn/require-number-to-fixed-digits-argument":"error","unicorn/require-post-message-target-origin":"off","unicorn/switch-case-braces":"error","unicorn/text-encoding-identifier-case":"error","unicorn/throw-new-error":"error","sort-imports":"off"},"overrides":[{"files":["**/*.{ts,cts,mts}","**/*.{tsx,ctsx,mtsx}"],"rules":{"no-class-assign":"off","no-const-assign":"off","no-dupe-class-members":"off","no-dupe-keys":"off","no-func-assign":"off","no-import-assign":"off","no-new-native-nonconstructor":"off","no-obj-calls":"off","no-redeclare":"off","no-setter-return":"off","no-this-before-super":"off","no-unsafe-negation":"off","no-var":"error","no-with":"off","prefer-rest-params":"error","prefer-spread":"error","@typescript-eslint/ban-ts-comment":["error",{"ts-expect-error":"allow-with-description"}],"no-array-constructor":"off","@typescript-eslint/no-array-constructor":"error","@typescript-eslint/no-duplicate-enum-values":"error","@typescript-eslint/no-dynamic-delete":"error","@typescript-eslint/no-empty-object-type":["error",{"allowInterfaces":"always"}],"@typescript-eslint/no-explicit-any":"error","@typescript-eslint/no-extra-non-null-assertion":"error","@typescript-eslint/no-extraneous-class":"error","@typescript-eslint/no-misused-new":"error","@typescript-eslint/no-namespace":"error","@typescript-eslint/no-non-null-asserted-nullish-coalescing":"error","@typescript-eslint/no-non-null-asserted-optional-chain":"error","@typescript-eslint/no-non-null-assertion":"error","@typescript-eslint/no-require-imports":"error","@typescript-eslint/no-this-alias":"error","@typescript-eslint/no-unnecessary-type-constraint":"error","@typescript-eslint/no-unsafe-declaration-merging":"error","@typescript-eslint/no-unsafe-function-type":"error","no-unused-expressions":"off","@typescript-eslint/no-unused-expressions":"error","no-unused-vars":"off","@typescript-eslint/no-unused-vars":"off","no-useless-constructor":"off","@typescript-eslint/no-useless-constructor":"error","@typescript-eslint/no-wrapper-object-types":"error","@typescript-eslint/prefer-as-const":"error","@typescript-eslint/prefer-literal-enum-member":"error","@typescript-eslint/prefer-namespace-keyword":"error","@typescript-eslint/triple-slash-reference":"error","@typescript-eslint/adjacent-overload-signatures":"error","@typescript-eslint/array-type":"error","@typescript-eslint/ban-tslint-comment":"error","@typescript-eslint/consistent-generic-constructors":"error","@typescript-eslint/consistent-indexed-object-style":"error","@typescript-eslint/consistent-type-definitions":"off","@typescript-eslint/no-confusing-non-null-assertion":"error","no-empty-function":"off","@typescript-eslint/no-empty-function":"error","@typescript-eslint/no-inferrable-types":"error","@typescript-eslint/prefer-for-of":"error","@typescript-eslint/prefer-function-type":"error","@typescript-eslint/consistent-type-imports":["error",{"disallowTypeAnnotations":false,"fixStyle":"separate-type-imports","prefer":"type-imports"}],"@typescript-eslint/default-param-last":"error","@typescript-eslint/explicit-function-return-type":"off","@typescript-eslint/no-dupe-class-members":"error","@typescript-eslint/no-import-type-side-effects":"error","@typescript-eslint/no-redeclare":["error",{"builtinGlobals":false}],"@typescript-eslint/no-useless-empty-export":"warn"}},{"files":["**/*.{ts,cts,mts}","**/*.{tsx,ctsx,mtsx}"],"rules":{"no-throw-literal":"off","prefer-promise-reject-errors":"off","require-await":"off"}},{"files":["**/*.{ts,cts,mts}","**/*.{tsx,ctsx,mtsx}"],"rules":{"jsdoc/check-access":"error","jsdoc/check-property-names":"error","jsdoc/check-tag-names":"error","jsdoc/empty-tags":"error","jsdoc/implements-on-classes":"error","jsdoc/no-defaults":"error","jsdoc/require-param":["error",{"checkDestructured":false,"enableRestElementFixer":false}],"jsdoc/require-param-description":"error","jsdoc/require-param-name":"error","jsdoc/require-param-type":"off","jsdoc/require-property":"error","jsdoc/require-property-description":"error","jsdoc/require-property-name":"error","jsdoc/require-property-type":"off","jsdoc/require-returns":"error","jsdoc/require-returns-description":"error","jsdoc/require-returns-type":"off","jsdoc/require-yields":"error"}},{"files":["**/__tests__/**/*.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/*.spec.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/*.test.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/*.bench.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/*.benchmark.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}"],"rules":{"vitest/expect-expect":"error","vitest/no-identical-title":"error","vitest/no-commented-out-tests":"error","vitest/valid-expect":"error","vitest/valid-describe-callback":"error","vitest/require-local-test-context-for-concurrent-snapshots":"error","vitest/no-import-node-test":"error","vitest/consistent-test-it":["error",{"fn":"it","withinDescribe":"it"}],"vitest/prefer-hooks-in-order":"error","vitest/prefer-lowercase-title":"error"}},{"files":["**/*.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}"],"rules":{"react/jsx-no-duplicate-props":"warn","react/no-array-index-key":"warn","react/no-direct-mutation-state":"error","react/no-string-refs":"error","react-hooks/rules-of-hooks":"error","react-hooks/exhaustive-deps":"warn"}},{"files":["**/*.{ts,cts,mts}","**/*.{tsx,ctsx,mtsx}"],"rules":{"react/jsx-no-duplicate-props":"off","react/no-array-index-key":"warn","react/no-direct-mutation-state":"error","react/no-string-refs":"error"}},{"files":["**/scripts/**/*.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/tasks/**/*.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/bin/**/*.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/bin.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/cli/**/*.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/cli.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}"],"rules":{"no-console":"off","unicorn/no-process-exit":"off"}},{"files":["**/*.d.{ts,cts,mts}"],"rules":{"@typescript-eslint/consistent-indexed-object-style":"off","import/no-duplicates":"off"}},{"files":["**/*.config.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}","**/*.config.*.{js,jsx,cjs,cjsx,mjs,mjsx,ts,tsx,cts,ctsx,mts,mtjsx}"],"rules":{"no-console":"off","@typescript-eslint/explicit-function-return-type":"off"}}]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
- "version": "0.2.5",
3
+ "version": "0.2.7",
4
4
  "name": "@yunarch/config-web",
5
5
  "description": "Shared configurations for web projects.",
6
6
  "license": "MIT",
@@ -92,20 +92,20 @@
92
92
  "globals": "16.2.0",
93
93
  "eslint-flat-config-utils": "2.1.0",
94
94
  "eslint-config-flat-gitignore": "2.1.0",
95
- "eslint-import-resolver-typescript": "4.4.1",
96
- "@eslint/js": "9.27.0",
97
- "typescript-eslint": "8.32.1",
95
+ "eslint-import-resolver-typescript": "4.4.2",
96
+ "@eslint/js": "9.28.0",
97
+ "typescript-eslint": "8.33.1",
98
98
  "eslint-plugin-unicorn": "59.0.1",
99
- "eslint-plugin-perfectionist": "4.13.0",
100
- "eslint-plugin-import-x": "4.13.1",
99
+ "eslint-plugin-perfectionist": "4.14.0",
100
+ "eslint-plugin-import-x": "4.15.0",
101
101
  "eslint-plugin-unused-imports": "4.1.4",
102
- "eslint-plugin-jsdoc": "50.6.17",
102
+ "eslint-plugin-jsdoc": "50.7.1",
103
103
  "eslint-config-prettier": "10.1.5",
104
- "eslint-plugin-oxlint": "0.16.12",
105
- "@eslint-react/eslint-plugin": "1.50.0",
104
+ "eslint-plugin-oxlint": "0.17.0",
105
+ "@eslint-react/eslint-plugin": "1.51.0",
106
106
  "eslint-plugin-react-hooks": "5.2.0",
107
107
  "eslint-plugin-react-refresh": "0.4.20",
108
- "@tanstack/eslint-plugin-query": "5.74.7",
108
+ "@tanstack/eslint-plugin-query": "5.78.0",
109
109
  "@tanstack/eslint-plugin-router": "1.115.0",
110
110
  "@vitest/eslint-plugin": "1.2.1"
111
111
  },
@@ -114,21 +114,21 @@
114
114
  "@commitlint/config-conventional": "19.8.1",
115
115
  "prettier": "3.5.3",
116
116
  "@biomejs/biome": "1.9.4",
117
- "eslint": "9.27.0",
117
+ "eslint": "9.28.0",
118
118
  "eslint-typegen": "2.2.0",
119
- "oxlint": "0.16.12",
119
+ "oxlint": "0.17.0",
120
120
  "husky": "9.1.7",
121
- "lint-staged": "16.0.0",
121
+ "lint-staged": "16.1.0",
122
122
  "rimraf": "6.0.1",
123
123
  "tsup": "8.5.0",
124
124
  "typescript": "5.8.3",
125
- "vitest": "3.1.4",
125
+ "vitest": "3.2.1",
126
126
  "jsonc-parser": "3.3.1",
127
- "@types/node": "22.15.21",
128
- "@types/bun": "1.2.14"
127
+ "@types/node": "22.15.29",
128
+ "@types/bun": "1.2.15"
129
129
  },
130
130
  "publishConfig": {
131
131
  "access": "public"
132
132
  },
133
- "packageManager": "bun@1.2.14"
133
+ "packageManager": "bun@1.2.15"
134
134
  }