@rotki/eslint-config 3.0.0 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -15,7 +15,7 @@ interface RuleOptions {
15
15
  * enforce specific casing for localization keys
16
16
  * @see https://eslint-plugin-vue-i18n.intlify.dev/rules/key-format-style.html
17
17
  */
18
- '@intlify/vue-i18n/key-format-style'?: Linter.RuleEntry<IntlifyVueI18nKeyFormatStyle>
18
+ '@intlify/vue-i18n/key-format-style'?: Linter.RuleEntry<IntlifyVueI18NKeyFormatStyle>
19
19
  /**
20
20
  * disallow using deprecated `<i18n>` components (in Vue I18n 9.0.0+)
21
21
  * @see https://eslint-plugin-vue-i18n.intlify.dev/rules/no-deprecated-i18n-component.html
@@ -45,7 +45,7 @@ interface RuleOptions {
45
45
  * disallow duplicate localization keys within the same locale
46
46
  * @see https://eslint-plugin-vue-i18n.intlify.dev/rules/no-duplicate-keys-in-locale.html
47
47
  */
48
- '@intlify/vue-i18n/no-duplicate-keys-in-locale'?: Linter.RuleEntry<IntlifyVueI18nNoDuplicateKeysInLocale>
48
+ '@intlify/vue-i18n/no-duplicate-keys-in-locale'?: Linter.RuleEntry<IntlifyVueI18NNoDuplicateKeysInLocale>
49
49
  /**
50
50
  * disallow localization dynamic keys at localization methods
51
51
  * @see https://eslint-plugin-vue-i18n.intlify.dev/rules/no-dynamic-keys.html
@@ -70,22 +70,22 @@ interface RuleOptions {
70
70
  * disallow missing locale message keys in other locales
71
71
  * @see https://eslint-plugin-vue-i18n.intlify.dev/rules/no-missing-keys-in-other-locales.html
72
72
  */
73
- '@intlify/vue-i18n/no-missing-keys-in-other-locales'?: Linter.RuleEntry<IntlifyVueI18nNoMissingKeysInOtherLocales>
73
+ '@intlify/vue-i18n/no-missing-keys-in-other-locales'?: Linter.RuleEntry<IntlifyVueI18NNoMissingKeysInOtherLocales>
74
74
  /**
75
75
  * disallow to string literal in template or JSX
76
76
  * @see https://eslint-plugin-vue-i18n.intlify.dev/rules/no-raw-text.html
77
77
  */
78
- '@intlify/vue-i18n/no-raw-text'?: Linter.RuleEntry<IntlifyVueI18nNoRawText>
78
+ '@intlify/vue-i18n/no-raw-text'?: Linter.RuleEntry<IntlifyVueI18NNoRawText>
79
79
  /**
80
80
  * disallow unknown locale name
81
81
  * @see https://eslint-plugin-vue-i18n.intlify.dev/rules/no-unknown-locale.html
82
82
  */
83
- '@intlify/vue-i18n/no-unknown-locale'?: Linter.RuleEntry<IntlifyVueI18nNoUnknownLocale>
83
+ '@intlify/vue-i18n/no-unknown-locale'?: Linter.RuleEntry<IntlifyVueI18NNoUnknownLocale>
84
84
  /**
85
85
  * disallow unused localization keys
86
86
  * @see https://eslint-plugin-vue-i18n.intlify.dev/rules/no-unused-keys.html
87
87
  */
88
- '@intlify/vue-i18n/no-unused-keys'?: Linter.RuleEntry<IntlifyVueI18nNoUnusedKeys>
88
+ '@intlify/vue-i18n/no-unused-keys'?: Linter.RuleEntry<IntlifyVueI18NNoUnusedKeys>
89
89
  /**
90
90
  * disallow use of localization methods on v-html to prevent XSS attack
91
91
  * @see https://eslint-plugin-vue-i18n.intlify.dev/rules/no-v-html.html
@@ -105,12 +105,12 @@ interface RuleOptions {
105
105
  * require or disallow the locale attribute on `<i18n>` block
106
106
  * @see https://eslint-plugin-vue-i18n.intlify.dev/rules/sfc-locale-attr.html
107
107
  */
108
- '@intlify/vue-i18n/sfc-locale-attr'?: Linter.RuleEntry<IntlifyVueI18nSfcLocaleAttr>
108
+ '@intlify/vue-i18n/sfc-locale-attr'?: Linter.RuleEntry<IntlifyVueI18NSfcLocaleAttr>
109
109
  /**
110
110
  * disallow invalid message syntax
111
111
  * @see https://eslint-plugin-vue-i18n.intlify.dev/rules/valid-message-syntax.html
112
112
  */
113
- '@intlify/vue-i18n/valid-message-syntax'?: Linter.RuleEntry<IntlifyVueI18nValidMessageSyntax>
113
+ '@intlify/vue-i18n/valid-message-syntax'?: Linter.RuleEntry<IntlifyVueI18NValidMessageSyntax>
114
114
  /**
115
115
  * Ensures consistent type annotation position for ref, computed assignments
116
116
  * @see https://rotki.github.io/eslint-plugin/rules/consistent-ref-type-annotation
@@ -757,6 +757,11 @@ interface RuleOptions {
757
757
  * @see https://typescript-eslint.io/rules/no-confusing-void-expression
758
758
  */
759
759
  '@typescript-eslint/no-confusing-void-expression'?: Linter.RuleEntry<TypescriptEslintNoConfusingVoidExpression>
760
+ /**
761
+ * Disallow using code marked as `@deprecated`
762
+ * @see https://typescript-eslint.io/rules/no-deprecated
763
+ */
764
+ '@typescript-eslint/no-deprecated'?: Linter.RuleEntry<[]>
760
765
  /**
761
766
  * Disallow duplicate class members
762
767
  * @see https://typescript-eslint.io/rules/no-dupe-class-members
@@ -981,7 +986,7 @@ interface RuleOptions {
981
986
  */
982
987
  '@typescript-eslint/no-unnecessary-type-constraint'?: Linter.RuleEntry<[]>
983
988
  /**
984
- * Disallow type parameters that only appear once
989
+ * Disallow type parameters that aren't used multiple times
985
990
  * @see https://typescript-eslint.io/rules/no-unnecessary-type-parameters
986
991
  */
987
992
  '@typescript-eslint/no-unnecessary-type-parameters'?: Linter.RuleEntry<[]>
@@ -1244,7 +1249,7 @@ interface RuleOptions {
1244
1249
  */
1245
1250
  '@typescript-eslint/unified-signatures'?: Linter.RuleEntry<TypescriptEslintUnifiedSignatures>
1246
1251
  /**
1247
- * Enforce typing arguments in `.catch()` callbacks as `unknown`
1252
+ * Enforce typing arguments in Promise rejection callbacks as `unknown`
1248
1253
  * @see https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable
1249
1254
  */
1250
1255
  '@typescript-eslint/use-unknown-in-catch-callback-variable'?: Linter.RuleEntry<[]>
@@ -1253,6 +1258,11 @@ interface RuleOptions {
1253
1258
  * @see https://eslint.org/docs/latest/rules/accessor-pairs
1254
1259
  */
1255
1260
  'accessor-pairs'?: Linter.RuleEntry<AccessorPairs>
1261
+ /**
1262
+ * Having line breaks styles to object, array and named imports
1263
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-chaining.md
1264
+ */
1265
+ 'antfu/consistent-chaining'?: Linter.RuleEntry<AntfuConsistentChaining>
1256
1266
  /**
1257
1267
  * Having line breaks styles to object, array and named imports
1258
1268
  * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-list-newline.md
@@ -1260,7 +1270,7 @@ interface RuleOptions {
1260
1270
  'antfu/consistent-list-newline'?: Linter.RuleEntry<AntfuConsistentListNewline>
1261
1271
  /**
1262
1272
  * Enforce Anthony's style of curly bracket
1263
- * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/curly.test.ts
1273
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/curly.md
1264
1274
  */
1265
1275
  'antfu/curly'?: Linter.RuleEntry<[]>
1266
1276
  /**
@@ -1275,7 +1285,7 @@ interface RuleOptions {
1275
1285
  'antfu/import-dedupe'?: Linter.RuleEntry<[]>
1276
1286
  /**
1277
1287
  * Enforce consistent indentation in `unindent` template tag
1278
- * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/indent-unindent.test.ts
1288
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/indent-unindent.md
1279
1289
  */
1280
1290
  'antfu/indent-unindent'?: Linter.RuleEntry<AntfuIndentUnindent>
1281
1291
  /**
@@ -1288,6 +1298,11 @@ interface RuleOptions {
1288
1298
  * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-import-node-modules-by-path.test.ts
1289
1299
  */
1290
1300
  'antfu/no-import-node-modules-by-path'?: Linter.RuleEntry<[]>
1301
+ /**
1302
+ * Prevent using top-level await
1303
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-top-level-await.test.ts
1304
+ */
1305
+ 'antfu/no-top-level-await'?: Linter.RuleEntry<[]>
1291
1306
  /**
1292
1307
  * Do not use `exports =`
1293
1308
  * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-ts-export-equal.test.ts
@@ -1509,47 +1524,47 @@ interface RuleOptions {
1509
1524
  'eqeqeq'?: Linter.RuleEntry<Eqeqeq>
1510
1525
  /**
1511
1526
  * require a `eslint-enable` comment for every `eslint-disable` comment
1512
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/disable-enable-pair.html
1527
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/disable-enable-pair.html
1513
1528
  */
1514
1529
  'eslint-comments/disable-enable-pair'?: Linter.RuleEntry<EslintCommentsDisableEnablePair>
1515
1530
  /**
1516
1531
  * disallow a `eslint-enable` comment for multiple `eslint-disable` comments
1517
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-aggregating-enable.html
1532
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-aggregating-enable.html
1518
1533
  */
1519
1534
  'eslint-comments/no-aggregating-enable'?: Linter.RuleEntry<[]>
1520
1535
  /**
1521
1536
  * disallow duplicate `eslint-disable` comments
1522
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-duplicate-disable.html
1537
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-duplicate-disable.html
1523
1538
  */
1524
1539
  'eslint-comments/no-duplicate-disable'?: Linter.RuleEntry<[]>
1525
1540
  /**
1526
1541
  * disallow `eslint-disable` comments about specific rules
1527
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-restricted-disable.html
1542
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-restricted-disable.html
1528
1543
  */
1529
1544
  'eslint-comments/no-restricted-disable'?: Linter.RuleEntry<EslintCommentsNoRestrictedDisable>
1530
1545
  /**
1531
1546
  * disallow `eslint-disable` comments without rule names
1532
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-unlimited-disable.html
1547
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-unlimited-disable.html
1533
1548
  */
1534
1549
  'eslint-comments/no-unlimited-disable'?: Linter.RuleEntry<[]>
1535
1550
  /**
1536
1551
  * disallow unused `eslint-disable` comments
1537
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-unused-disable.html
1552
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-unused-disable.html
1538
1553
  */
1539
1554
  'eslint-comments/no-unused-disable'?: Linter.RuleEntry<[]>
1540
1555
  /**
1541
1556
  * disallow unused `eslint-enable` comments
1542
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-unused-enable.html
1557
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-unused-enable.html
1543
1558
  */
1544
1559
  'eslint-comments/no-unused-enable'?: Linter.RuleEntry<[]>
1545
1560
  /**
1546
1561
  * disallow ESLint directive-comments
1547
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-use.html
1562
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-use.html
1548
1563
  */
1549
1564
  'eslint-comments/no-use'?: Linter.RuleEntry<EslintCommentsNoUse>
1550
1565
  /**
1551
1566
  * require include descriptions in ESLint directive-comments
1552
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/require-description.html
1567
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/require-description.html
1553
1568
  */
1554
1569
  'eslint-comments/require-description'?: Linter.RuleEntry<EslintCommentsRequireDescription>
1555
1570
  /**
@@ -1660,228 +1675,233 @@ interface RuleOptions {
1660
1675
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
1661
1676
  /**
1662
1677
  * Enforce or ban the use of inline type-only markers for named imports.
1663
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/consistent-type-specifier-style.md
1678
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/consistent-type-specifier-style.md
1664
1679
  */
1665
1680
  'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
1666
1681
  /**
1667
1682
  * Ensure a default export is present, given a default import.
1668
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/default.md
1683
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/default.md
1669
1684
  */
1670
1685
  'import/default'?: Linter.RuleEntry<[]>
1671
1686
  /**
1672
1687
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
1673
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/dynamic-import-chunkname.md
1688
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/dynamic-import-chunkname.md
1674
1689
  */
1675
1690
  'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
1676
1691
  /**
1677
1692
  * Forbid any invalid exports, i.e. re-export of the same name.
1678
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/export.md
1693
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/export.md
1679
1694
  */
1680
1695
  'import/export'?: Linter.RuleEntry<[]>
1681
1696
  /**
1682
1697
  * Ensure all exports appear after other statements.
1683
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/exports-last.md
1698
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/exports-last.md
1684
1699
  */
1685
1700
  'import/exports-last'?: Linter.RuleEntry<[]>
1686
1701
  /**
1687
1702
  * Ensure consistent use of file extension within the import path.
1688
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/extensions.md
1703
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/extensions.md
1689
1704
  */
1690
1705
  'import/extensions'?: Linter.RuleEntry<ImportExtensions>
1691
1706
  /**
1692
1707
  * Ensure all imports appear before other statements.
1693
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/first.md
1708
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/first.md
1694
1709
  */
1695
1710
  'import/first'?: Linter.RuleEntry<ImportFirst>
1696
1711
  /**
1697
1712
  * Prefer named exports to be grouped together in a single export declaration.
1698
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/group-exports.md
1713
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/group-exports.md
1699
1714
  */
1700
1715
  'import/group-exports'?: Linter.RuleEntry<[]>
1701
1716
  /**
1702
1717
  * Replaced by `import-x/first`.
1703
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/7b25c1cb95ee18acc1531002fd343e1e6031f9ed/docs/rules/imports-first.md
1718
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/imports-first.md
1704
1719
  * @deprecated
1705
1720
  */
1706
1721
  'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
1707
1722
  /**
1708
1723
  * Enforce the maximum number of dependencies a module can have.
1709
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/max-dependencies.md
1724
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/max-dependencies.md
1710
1725
  */
1711
1726
  'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
1712
1727
  /**
1713
1728
  * Ensure named imports correspond to a named export in the remote file.
1714
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/named.md
1729
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/named.md
1715
1730
  */
1716
1731
  'import/named'?: Linter.RuleEntry<ImportNamed>
1717
1732
  /**
1718
1733
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
1719
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/namespace.md
1734
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/namespace.md
1720
1735
  */
1721
1736
  'import/namespace'?: Linter.RuleEntry<ImportNamespace>
1722
1737
  /**
1723
1738
  * Enforce a newline after import statements.
1724
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/newline-after-import.md
1739
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/newline-after-import.md
1725
1740
  */
1726
1741
  'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
1727
1742
  /**
1728
1743
  * Forbid import of modules using absolute paths.
1729
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-absolute-path.md
1744
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-absolute-path.md
1730
1745
  */
1731
1746
  'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
1732
1747
  /**
1733
1748
  * Forbid AMD `require` and `define` calls.
1734
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-amd.md
1749
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-amd.md
1735
1750
  */
1736
1751
  'import/no-amd'?: Linter.RuleEntry<[]>
1737
1752
  /**
1738
1753
  * Forbid anonymous values as default exports.
1739
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-anonymous-default-export.md
1754
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-anonymous-default-export.md
1740
1755
  */
1741
1756
  'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
1742
1757
  /**
1743
1758
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
1744
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-commonjs.md
1759
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-commonjs.md
1745
1760
  */
1746
1761
  'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
1747
1762
  /**
1748
1763
  * Forbid a module from importing a module with a dependency path back to itself.
1749
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-cycle.md
1764
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-cycle.md
1750
1765
  */
1751
1766
  'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
1752
1767
  /**
1753
1768
  * Forbid default exports.
1754
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-default-export.md
1769
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-default-export.md
1755
1770
  */
1756
1771
  'import/no-default-export'?: Linter.RuleEntry<[]>
1757
1772
  /**
1758
1773
  * Forbid imported names marked with `@deprecated` documentation tag.
1759
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-deprecated.md
1774
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-deprecated.md
1760
1775
  */
1761
1776
  'import/no-deprecated'?: Linter.RuleEntry<[]>
1762
1777
  /**
1763
1778
  * Forbid repeated import of the same module in multiple places.
1764
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-duplicates.md
1779
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-duplicates.md
1765
1780
  */
1766
1781
  'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
1767
1782
  /**
1768
1783
  * Forbid `require()` calls with expressions.
1769
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-dynamic-require.md
1784
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-dynamic-require.md
1770
1785
  */
1771
1786
  'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
1772
1787
  /**
1773
1788
  * Forbid empty named import blocks.
1774
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-empty-named-blocks.md
1789
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-empty-named-blocks.md
1775
1790
  */
1776
1791
  'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
1777
1792
  /**
1778
1793
  * Forbid the use of extraneous packages.
1779
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-extraneous-dependencies.md
1794
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-extraneous-dependencies.md
1780
1795
  */
1781
1796
  'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
1782
1797
  /**
1783
1798
  * Forbid import statements with CommonJS module.exports.
1784
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-import-module-exports.md
1799
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-import-module-exports.md
1785
1800
  */
1786
1801
  'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
1787
1802
  /**
1788
1803
  * Forbid importing the submodules of other modules.
1789
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-internal-modules.md
1804
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-internal-modules.md
1790
1805
  */
1791
1806
  'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
1792
1807
  /**
1793
1808
  * Forbid the use of mutable exports with `var` or `let`.
1794
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-mutable-exports.md
1809
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-mutable-exports.md
1795
1810
  */
1796
1811
  'import/no-mutable-exports'?: Linter.RuleEntry<[]>
1797
1812
  /**
1798
1813
  * Forbid use of exported name as identifier of default export.
1799
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-as-default.md
1814
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-named-as-default.md
1800
1815
  */
1801
1816
  'import/no-named-as-default'?: Linter.RuleEntry<[]>
1802
1817
  /**
1803
1818
  * Forbid use of exported name as property of default export.
1804
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-as-default-member.md
1819
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-named-as-default-member.md
1805
1820
  */
1806
1821
  'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
1807
1822
  /**
1808
1823
  * Forbid named default exports.
1809
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-default.md
1824
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-named-default.md
1810
1825
  */
1811
1826
  'import/no-named-default'?: Linter.RuleEntry<[]>
1812
1827
  /**
1813
1828
  * Forbid named exports.
1814
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-export.md
1829
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-named-export.md
1815
1830
  */
1816
1831
  'import/no-named-export'?: Linter.RuleEntry<[]>
1817
1832
  /**
1818
1833
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
1819
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-namespace.md
1834
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-namespace.md
1820
1835
  */
1821
1836
  'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
1822
1837
  /**
1823
1838
  * Forbid Node.js builtin modules.
1824
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-nodejs-modules.md
1839
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-nodejs-modules.md
1825
1840
  */
1826
1841
  'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
1827
1842
  /**
1828
1843
  * Forbid importing packages through relative paths.
1829
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-relative-packages.md
1844
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-relative-packages.md
1830
1845
  */
1831
1846
  'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
1832
1847
  /**
1833
1848
  * Forbid importing modules from parent directories.
1834
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-relative-parent-imports.md
1849
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-relative-parent-imports.md
1835
1850
  */
1836
1851
  'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
1852
+ /**
1853
+ * Forbid importing a default export by a different name.
1854
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-rename-default.md
1855
+ */
1856
+ 'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
1837
1857
  /**
1838
1858
  * Enforce which files can be imported in a given folder.
1839
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-restricted-paths.md
1859
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-restricted-paths.md
1840
1860
  */
1841
1861
  'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
1842
1862
  /**
1843
1863
  * Forbid a module from importing itself.
1844
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-self-import.md
1864
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-self-import.md
1845
1865
  */
1846
1866
  'import/no-self-import'?: Linter.RuleEntry<[]>
1847
1867
  /**
1848
1868
  * Forbid unassigned imports.
1849
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unassigned-import.md
1869
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-unassigned-import.md
1850
1870
  */
1851
1871
  'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
1852
1872
  /**
1853
1873
  * Ensure imports point to a file/module that can be resolved.
1854
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unresolved.md
1874
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-unresolved.md
1855
1875
  */
1856
1876
  'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
1857
1877
  /**
1858
1878
  * Forbid modules without exports, or exports without matching import in another module.
1859
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unused-modules.md
1879
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-unused-modules.md
1860
1880
  */
1861
1881
  'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
1862
1882
  /**
1863
1883
  * Forbid unnecessary path segments in import and require statements.
1864
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-useless-path-segments.md
1884
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-useless-path-segments.md
1865
1885
  */
1866
1886
  'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
1867
1887
  /**
1868
1888
  * Forbid webpack loader syntax in imports.
1869
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-webpack-loader-syntax.md
1889
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-webpack-loader-syntax.md
1870
1890
  */
1871
1891
  'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
1872
1892
  /**
1873
1893
  * Enforce a convention in module import order.
1874
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/order.md
1894
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/order.md
1875
1895
  */
1876
1896
  'import/order'?: Linter.RuleEntry<ImportOrder>
1877
1897
  /**
1878
1898
  * Prefer a default export if module exports a single name or multiple names.
1879
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/prefer-default-export.md
1899
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/prefer-default-export.md
1880
1900
  */
1881
1901
  'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
1882
1902
  /**
1883
1903
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
1884
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/unambiguous.md
1904
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/unambiguous.md
1885
1905
  */
1886
1906
  'import/unambiguous'?: Linter.RuleEntry<[]>
1887
1907
  /**
@@ -2174,6 +2194,34 @@ interface RuleOptions {
2174
2194
  * @see https://eslint.org/docs/latest/rules/logical-assignment-operators
2175
2195
  */
2176
2196
  'logical-assignment-operators'?: Linter.RuleEntry<LogicalAssignmentOperators>
2197
+ /**
2198
+ * Require languages for fenced code blocks.
2199
+ */
2200
+ 'markdown/fenced-code-language'?: Linter.RuleEntry<MarkdownFencedCodeLanguage>
2201
+ /**
2202
+ * Enforce heading levels increment by one.
2203
+ */
2204
+ 'markdown/heading-increment'?: Linter.RuleEntry<[]>
2205
+ /**
2206
+ * Disallow duplicate headings in the same document.
2207
+ */
2208
+ 'markdown/no-duplicate-headings'?: Linter.RuleEntry<[]>
2209
+ /**
2210
+ * Disallow empty links.
2211
+ */
2212
+ 'markdown/no-empty-links'?: Linter.RuleEntry<[]>
2213
+ /**
2214
+ * Disallow HTML tags.
2215
+ */
2216
+ 'markdown/no-html'?: Linter.RuleEntry<MarkdownNoHtml>
2217
+ /**
2218
+ * Disallow invalid label references.
2219
+ */
2220
+ 'markdown/no-invalid-label-refs'?: Linter.RuleEntry<[]>
2221
+ /**
2222
+ * Disallow missing label references.
2223
+ */
2224
+ 'markdown/no-missing-label-refs'?: Linter.RuleEntry<[]>
2177
2225
  /**
2178
2226
  * Enforce a maximum number of classes per file
2179
2227
  * @see https://eslint.org/docs/latest/rules/max-classes-per-file
@@ -3398,6 +3446,11 @@ interface RuleOptions {
3398
3446
  * @see https://perfectionist.dev/rules/sort-objects
3399
3447
  */
3400
3448
  'perfectionist/sort-objects'?: Linter.RuleEntry<PerfectionistSortObjects>
3449
+ /**
3450
+ * Enforce sorted sets.
3451
+ * @see https://perfectionist.dev/rules/sort-sets
3452
+ */
3453
+ 'perfectionist/sort-sets'?: Linter.RuleEntry<PerfectionistSortSets>
3401
3454
  /**
3402
3455
  * Enforce sorted Svelte attributes.
3403
3456
  * @see https://perfectionist.dev/rules/sort-svelte-attributes
@@ -3935,7 +3988,7 @@ interface RuleOptions {
3935
3988
  * Enforce the use of `u` or `v` flag on RegExp
3936
3989
  * @see https://eslint.org/docs/latest/rules/require-unicode-regexp
3937
3990
  */
3938
- 'require-unicode-regexp'?: Linter.RuleEntry<[]>
3991
+ 'require-unicode-regexp'?: Linter.RuleEntry<RequireUnicodeRegexp>
3939
3992
  /**
3940
3993
  * Require generator functions to contain `yield`
3941
3994
  * @see https://eslint.org/docs/latest/rules/require-yield
@@ -4116,108 +4169,103 @@ interface RuleOptions {
4116
4169
  'template-tag-spacing'?: Linter.RuleEntry<TemplateTagSpacing>
4117
4170
  /**
4118
4171
  * require .spec test file pattern
4119
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-filename.md
4172
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-filename.md
4120
4173
  */
4121
4174
  'test/consistent-test-filename'?: Linter.RuleEntry<TestConsistentTestFilename>
4122
4175
  /**
4123
4176
  * enforce using test or it but not both
4124
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-it.md
4177
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-it.md
4125
4178
  */
4126
4179
  'test/consistent-test-it'?: Linter.RuleEntry<TestConsistentTestIt>
4127
4180
  /**
4128
4181
  * enforce having expectation in test body
4129
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
4182
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
4130
4183
  */
4131
4184
  'test/expect-expect'?: Linter.RuleEntry<TestExpectExpect>
4132
- /**
4133
- * Enforce padding around afterAll blocks
4134
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/index.md
4135
- */
4136
- 'test/index'?: Linter.RuleEntry<[]>
4137
4185
  /**
4138
4186
  * enforce a maximum number of expect per test
4139
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/max-expects.md
4187
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/max-expects.md
4140
4188
  */
4141
4189
  'test/max-expects'?: Linter.RuleEntry<TestMaxExpects>
4142
4190
  /**
4143
4191
  * require describe block to be less than set max value or default value
4144
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/max-nested-describe.md
4192
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/max-nested-describe.md
4145
4193
  */
4146
4194
  'test/max-nested-describe'?: Linter.RuleEntry<TestMaxNestedDescribe>
4147
4195
  /**
4148
4196
  * disallow alias methods
4149
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-alias-methods.md
4197
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-alias-methods.md
4150
4198
  */
4151
4199
  'test/no-alias-methods'?: Linter.RuleEntry<[]>
4152
4200
  /**
4153
4201
  * disallow commented out tests
4154
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-commented-out-tests.md
4202
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-commented-out-tests.md
4155
4203
  */
4156
4204
  'test/no-commented-out-tests'?: Linter.RuleEntry<[]>
4157
4205
  /**
4158
4206
  * disallow conditional expects
4159
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-expect.md
4207
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-expect.md
4160
4208
  */
4161
4209
  'test/no-conditional-expect'?: Linter.RuleEntry<[]>
4162
4210
  /**
4163
4211
  * disallow conditional tests
4164
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-in-test.md
4212
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-in-test.md
4165
4213
  */
4166
4214
  'test/no-conditional-in-test'?: Linter.RuleEntry<[]>
4167
4215
  /**
4168
4216
  * disallow conditional tests
4169
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-tests.md
4217
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-tests.md
4170
4218
  */
4171
4219
  'test/no-conditional-tests'?: Linter.RuleEntry<[]>
4172
4220
  /**
4173
4221
  * disallow disabled tests
4174
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-disabled-tests.md
4222
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-disabled-tests.md
4175
4223
  */
4176
4224
  'test/no-disabled-tests'?: Linter.RuleEntry<[]>
4177
4225
  /**
4178
4226
  * disallow using a callback in asynchronous tests and hooks
4179
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-done-callback.md
4227
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-done-callback.md
4180
4228
  * @deprecated
4181
4229
  */
4182
4230
  'test/no-done-callback'?: Linter.RuleEntry<[]>
4183
4231
  /**
4184
4232
  * disallow duplicate hooks and teardown hooks
4185
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-duplicate-hooks.md
4233
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-duplicate-hooks.md
4186
4234
  */
4187
4235
  'test/no-duplicate-hooks'?: Linter.RuleEntry<[]>
4188
4236
  /**
4189
4237
  * disallow focused tests
4190
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-focused-tests.md
4238
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-focused-tests.md
4191
4239
  */
4192
4240
  'test/no-focused-tests'?: Linter.RuleEntry<TestNoFocusedTests>
4193
4241
  /**
4194
4242
  * disallow setup and teardown hooks
4195
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-hooks.md
4243
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-hooks.md
4196
4244
  */
4197
4245
  'test/no-hooks'?: Linter.RuleEntry<TestNoHooks>
4198
4246
  /**
4199
4247
  * disallow identical titles
4200
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-identical-title.md
4248
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-identical-title.md
4201
4249
  */
4202
4250
  'test/no-identical-title'?: Linter.RuleEntry<[]>
4203
4251
  /**
4204
4252
  * disallow importing `node:test`
4205
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-import-node-test.md
4253
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-import-node-test.md
4206
4254
  */
4207
4255
  'test/no-import-node-test'?: Linter.RuleEntry<[]>
4208
4256
  /**
4209
4257
  * disallow string interpolation in snapshots
4210
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-interpolation-in-snapshots.md
4258
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-interpolation-in-snapshots.md
4211
4259
  */
4212
4260
  'test/no-interpolation-in-snapshots'?: Linter.RuleEntry<[]>
4213
4261
  /**
4214
4262
  * disallow large snapshots
4215
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-large-snapshots.md
4263
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-large-snapshots.md
4216
4264
  */
4217
4265
  'test/no-large-snapshots'?: Linter.RuleEntry<TestNoLargeSnapshots>
4218
4266
  /**
4219
4267
  * disallow importing from __mocks__ directory
4220
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-mocks-import.md
4268
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-mocks-import.md
4221
4269
  */
4222
4270
  'test/no-mocks-import'?: Linter.RuleEntry<[]>
4223
4271
  /**
@@ -4227,162 +4275,202 @@ interface RuleOptions {
4227
4275
  'test/no-only-tests'?: Linter.RuleEntry<TestNoOnlyTests>
4228
4276
  /**
4229
4277
  * disallow the use of certain matchers
4230
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-restricted-matchers.md
4278
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-restricted-matchers.md
4231
4279
  */
4232
4280
  'test/no-restricted-matchers'?: Linter.RuleEntry<TestNoRestrictedMatchers>
4233
4281
  /**
4234
4282
  * disallow specific `vi.` methods
4235
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-restricted-vi-methods.md
4283
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-restricted-vi-methods.md
4236
4284
  */
4237
4285
  'test/no-restricted-vi-methods'?: Linter.RuleEntry<TestNoRestrictedViMethods>
4238
4286
  /**
4239
4287
  * disallow using `expect` outside of `it` or `test` blocks
4240
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-standalone-expect.md
4288
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-standalone-expect.md
4241
4289
  */
4242
4290
  'test/no-standalone-expect'?: Linter.RuleEntry<TestNoStandaloneExpect>
4243
4291
  /**
4244
4292
  * disallow using `test` as a prefix
4245
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-test-prefixes.md
4293
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-test-prefixes.md
4246
4294
  */
4247
4295
  'test/no-test-prefixes'?: Linter.RuleEntry<[]>
4248
4296
  /**
4249
4297
  * disallow return statements in tests
4250
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/no-test-return-statement.md
4298
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-test-return-statement.md
4251
4299
  */
4252
4300
  'test/no-test-return-statement'?: Linter.RuleEntry<[]>
4301
+ /**
4302
+ * Enforce padding around `afterAll` blocks
4303
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-after-all-blocks.md
4304
+ */
4305
+ 'test/padding-around-after-all-blocks'?: Linter.RuleEntry<[]>
4306
+ /**
4307
+ * Enforce padding around `afterEach` blocks
4308
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-after-each-blocks.md
4309
+ */
4310
+ 'test/padding-around-after-each-blocks'?: Linter.RuleEntry<[]>
4311
+ /**
4312
+ * Enforce padding around vitest functions
4313
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-all.md
4314
+ */
4315
+ 'test/padding-around-all'?: Linter.RuleEntry<[]>
4316
+ /**
4317
+ * Enforce padding around `beforeAll` blocks
4318
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-before-all-blocks.md
4319
+ */
4320
+ 'test/padding-around-before-all-blocks'?: Linter.RuleEntry<[]>
4321
+ /**
4322
+ * Enforce padding around `beforeEach` blocks
4323
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-before-each-blocks.md
4324
+ */
4325
+ 'test/padding-around-before-each-blocks'?: Linter.RuleEntry<[]>
4326
+ /**
4327
+ * Enforce padding around `describe` blocks
4328
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-describe-blocks.md
4329
+ */
4330
+ 'test/padding-around-describe-blocks'?: Linter.RuleEntry<[]>
4331
+ /**
4332
+ * Enforce padding around `expect` groups
4333
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-expect-groups.md
4334
+ */
4335
+ 'test/padding-around-expect-groups'?: Linter.RuleEntry<[]>
4336
+ /**
4337
+ * Enforce padding around afterAll blocks
4338
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-test-blocks.md
4339
+ */
4340
+ 'test/padding-around-test-blocks'?: Linter.RuleEntry<[]>
4253
4341
  /**
4254
4342
  * enforce using `toBeCalledWith()` or `toHaveBeenCalledWith()`
4255
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-with.md
4343
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-with.md
4256
4344
  */
4257
4345
  'test/prefer-called-with'?: Linter.RuleEntry<[]>
4258
4346
  /**
4259
4347
  * enforce using the built-in comparison matchers
4260
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-comparison-matcher.md
4348
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-comparison-matcher.md
4261
4349
  */
4262
4350
  'test/prefer-comparison-matcher'?: Linter.RuleEntry<[]>
4263
4351
  /**
4264
4352
  * enforce using `each` rather than manual loops
4265
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-each.md
4353
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-each.md
4266
4354
  */
4267
4355
  'test/prefer-each'?: Linter.RuleEntry<[]>
4268
4356
  /**
4269
4357
  * enforce using the built-in quality matchers
4270
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-equality-matcher.md
4358
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-equality-matcher.md
4271
4359
  */
4272
4360
  'test/prefer-equality-matcher'?: Linter.RuleEntry<[]>
4273
4361
  /**
4274
4362
  * enforce using expect assertions instead of callbacks
4275
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-assertions.md
4363
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-assertions.md
4276
4364
  */
4277
4365
  'test/prefer-expect-assertions'?: Linter.RuleEntry<TestPreferExpectAssertions>
4278
4366
  /**
4279
4367
  * enforce using `expect().resolves` over `expect(await ...)` syntax
4280
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-resolves.md
4368
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-resolves.md
4281
4369
  */
4282
4370
  'test/prefer-expect-resolves'?: Linter.RuleEntry<[]>
4283
4371
  /**
4284
4372
  * enforce having hooks in consistent order
4285
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-in-order.md
4373
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-in-order.md
4286
4374
  */
4287
4375
  'test/prefer-hooks-in-order'?: Linter.RuleEntry<[]>
4288
4376
  /**
4289
4377
  * enforce having hooks before any test cases
4290
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-on-top.md
4378
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-on-top.md
4291
4379
  */
4292
4380
  'test/prefer-hooks-on-top'?: Linter.RuleEntry<[]>
4293
4381
  /**
4294
4382
  * enforce lowercase titles
4295
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-lowercase-title.md
4383
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-lowercase-title.md
4296
4384
  */
4297
4385
  'test/prefer-lowercase-title'?: Linter.RuleEntry<TestPreferLowercaseTitle>
4298
4386
  /**
4299
4387
  * enforce mock resolved/rejected shorthands for promises
4300
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-mock-promise-shorthand.md
4388
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-mock-promise-shorthand.md
4301
4389
  */
4302
4390
  'test/prefer-mock-promise-shorthand'?: Linter.RuleEntry<[]>
4303
4391
  /**
4304
4392
  * enforce including a hint with external snapshots
4305
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-snapshot-hint.md
4393
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-snapshot-hint.md
4306
4394
  */
4307
4395
  'test/prefer-snapshot-hint'?: Linter.RuleEntry<TestPreferSnapshotHint>
4308
4396
  /**
4309
4397
  * enforce using `vi.spyOn`
4310
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-spy-on.md
4398
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-spy-on.md
4311
4399
  */
4312
4400
  'test/prefer-spy-on'?: Linter.RuleEntry<[]>
4313
4401
  /**
4314
4402
  * enforce strict equal over equal
4315
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-strict-equal.md
4403
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-strict-equal.md
4316
4404
  */
4317
4405
  'test/prefer-strict-equal'?: Linter.RuleEntry<[]>
4318
4406
  /**
4319
4407
  * enforce using toBe()
4320
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be.md
4408
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be.md
4321
4409
  */
4322
4410
  'test/prefer-to-be'?: Linter.RuleEntry<[]>
4323
4411
  /**
4324
4412
  * enforce using toBeFalsy()
4325
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be-falsy.md
4413
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be-falsy.md
4326
4414
  */
4327
4415
  'test/prefer-to-be-falsy'?: Linter.RuleEntry<[]>
4328
4416
  /**
4329
4417
  * enforce using toBeObject()
4330
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be-object.md
4418
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be-object.md
4331
4419
  */
4332
4420
  'test/prefer-to-be-object'?: Linter.RuleEntry<[]>
4333
4421
  /**
4334
4422
  * enforce using `toBeTruthy`
4335
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be-truthy.md
4423
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be-truthy.md
4336
4424
  */
4337
4425
  'test/prefer-to-be-truthy'?: Linter.RuleEntry<[]>
4338
4426
  /**
4339
4427
  * enforce using toContain()
4340
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-contain.md
4428
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-contain.md
4341
4429
  */
4342
4430
  'test/prefer-to-contain'?: Linter.RuleEntry<[]>
4343
4431
  /**
4344
4432
  * enforce using toHaveLength()
4345
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-have-length.md
4433
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-have-length.md
4346
4434
  */
4347
4435
  'test/prefer-to-have-length'?: Linter.RuleEntry<[]>
4348
4436
  /**
4349
4437
  * enforce using `test.todo`
4350
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/prefer-todo.md
4438
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-todo.md
4351
4439
  */
4352
4440
  'test/prefer-todo'?: Linter.RuleEntry<[]>
4353
4441
  /**
4354
4442
  * require setup and teardown to be within a hook
4355
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/require-hook.md
4443
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-hook.md
4356
4444
  */
4357
4445
  'test/require-hook'?: Linter.RuleEntry<TestRequireHook>
4358
4446
  /**
4359
4447
  * require local Test Context for concurrent snapshot tests
4360
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/require-local-test-context-for-concurrent-snapshots.md
4448
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-local-test-context-for-concurrent-snapshots.md
4361
4449
  */
4362
4450
  'test/require-local-test-context-for-concurrent-snapshots'?: Linter.RuleEntry<[]>
4363
4451
  /**
4364
4452
  * require toThrow() to be called with an error message
4365
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/require-to-throw-message.md
4453
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-to-throw-message.md
4366
4454
  */
4367
4455
  'test/require-to-throw-message'?: Linter.RuleEntry<[]>
4368
4456
  /**
4369
4457
  * enforce that all tests are in a top-level describe
4370
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/require-top-level-describe.md
4458
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-top-level-describe.md
4371
4459
  */
4372
4460
  'test/require-top-level-describe'?: Linter.RuleEntry<TestRequireTopLevelDescribe>
4373
4461
  /**
4374
4462
  * enforce valid describe callback
4375
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/valid-describe-callback.md
4463
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-describe-callback.md
4376
4464
  */
4377
4465
  'test/valid-describe-callback'?: Linter.RuleEntry<[]>
4378
4466
  /**
4379
4467
  * enforce valid `expect()` usage
4380
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/valid-expect.md
4468
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect.md
4381
4469
  */
4382
4470
  'test/valid-expect'?: Linter.RuleEntry<TestValidExpect>
4383
4471
  /**
4384
4472
  * enforce valid titles
4385
- * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/valid-title.md
4473
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-title.md
4386
4474
  */
4387
4475
  'test/valid-title'?: Linter.RuleEntry<TestValidTitle>
4388
4476
  /**
@@ -5217,7 +5305,7 @@ interface RuleOptions {
5217
5305
  */
5218
5306
  'vue/define-emits-declaration'?: Linter.RuleEntry<VueDefineEmitsDeclaration>
5219
5307
  /**
5220
- * enforce order of `defineEmits` and `defineProps` compiler macros
5308
+ * enforce order of compiler macros (`defineProps`, `defineEmits`, etc.)
5221
5309
  * @see https://eslint.vuejs.org/rules/define-macros-order.html
5222
5310
  */
5223
5311
  'vue/define-macros-order'?: Linter.RuleEntry<VueDefineMacrosOrder>
@@ -5312,7 +5400,7 @@ interface RuleOptions {
5312
5400
  */
5313
5401
  'vue/jsx-uses-vars'?: Linter.RuleEntry<[]>
5314
5402
  /**
5315
- * Enforce consistent spacing between keys and values in object literal properties in `<template>`
5403
+ * Enforce consistent spacing between property names and type annotations in types and interfaces in `<template>`
5316
5404
  * @see https://eslint.vuejs.org/rules/key-spacing.html
5317
5405
  */
5318
5406
  'vue/key-spacing'?: Linter.RuleEntry<VueKeySpacing>
@@ -5346,6 +5434,16 @@ interface RuleOptions {
5346
5434
  * @see https://eslint.vuejs.org/rules/max-lines-per-block.html
5347
5435
  */
5348
5436
  'vue/max-lines-per-block'?: Linter.RuleEntry<VueMaxLinesPerBlock>
5437
+ /**
5438
+ * enforce maximum number of props in Vue component
5439
+ * @see https://eslint.vuejs.org/rules/max-props.html
5440
+ */
5441
+ 'vue/max-props'?: Linter.RuleEntry<VueMaxProps>
5442
+ /**
5443
+ * enforce maximum depth of template
5444
+ * @see https://eslint.vuejs.org/rules/max-template-depth.html
5445
+ */
5446
+ 'vue/max-template-depth'?: Linter.RuleEntry<VueMaxTemplateDepth>
5349
5447
  /**
5350
5448
  * require component names to be always multi-word
5351
5449
  * @see https://eslint.vuejs.org/rules/multi-word-component-names.html
@@ -5402,7 +5500,7 @@ interface RuleOptions {
5402
5500
  */
5403
5501
  'vue/no-child-content'?: Linter.RuleEntry<VueNoChildContent>
5404
5502
  /**
5405
- * disallow accessing computed properties in `data`.
5503
+ * disallow accessing computed properties in `data`
5406
5504
  * @see https://eslint.vuejs.org/rules/no-computed-properties-in-data.html
5407
5505
  */
5408
5506
  'vue/no-computed-properties-in-data'?: Linter.RuleEntry<[]>
@@ -5950,7 +6048,7 @@ interface RuleOptions {
5950
6048
  */
5951
6049
  'vue/padding-lines-in-component-definition'?: Linter.RuleEntry<VuePaddingLinesInComponentDefinition>
5952
6050
  /**
5953
- * enforce use of `defineOptions` instead of default export.
6051
+ * enforce use of `defineOptions` instead of default export
5954
6052
  * @see https://eslint.vuejs.org/rules/prefer-define-options.html
5955
6053
  */
5956
6054
  'vue/prefer-define-options'?: Linter.RuleEntry<[]>
@@ -5985,7 +6083,7 @@ interface RuleOptions {
5985
6083
  */
5986
6084
  'vue/prop-name-casing'?: Linter.RuleEntry<VuePropNameCasing>
5987
6085
  /**
5988
- * Require quotes around object literal property names in `<template>`
6086
+ * Require quotes around object literal, type literal, interfaces and enums property names in `<template>`
5989
6087
  * @see https://eslint.vuejs.org/rules/quote-props.html
5990
6088
  */
5991
6089
  'vue/quote-props'?: Linter.RuleEntry<VueQuoteProps>
@@ -5994,6 +6092,11 @@ interface RuleOptions {
5994
6092
  * @see https://eslint.vuejs.org/rules/require-component-is.html
5995
6093
  */
5996
6094
  'vue/require-component-is'?: Linter.RuleEntry<[]>
6095
+ /**
6096
+ * require components to be the default export
6097
+ * @see https://eslint.vuejs.org/rules/require-default-export.html
6098
+ */
6099
+ 'vue/require-default-export'?: Linter.RuleEntry<[]>
5997
6100
  /**
5998
6101
  * require default value for props
5999
6102
  * @see https://eslint.vuejs.org/rules/require-default-prop.html
@@ -6063,7 +6166,7 @@ interface RuleOptions {
6063
6166
  * require control the display of the content inside `<transition>`
6064
6167
  * @see https://eslint.vuejs.org/rules/require-toggle-inside-transition.html
6065
6168
  */
6066
- 'vue/require-toggle-inside-transition'?: Linter.RuleEntry<[]>
6169
+ 'vue/require-toggle-inside-transition'?: Linter.RuleEntry<VueRequireToggleInsideTransition>
6067
6170
  /**
6068
6171
  * enforce adding type declarations to object props
6069
6172
  * @see https://eslint.vuejs.org/rules/require-typed-object-prop.html
@@ -6478,20 +6581,20 @@ interface RuleOptions {
6478
6581
 
6479
6582
  /* ======= Declarations ======= */
6480
6583
  // ----- @intlify/vue-i18n/key-format-style -----
6481
- type IntlifyVueI18nKeyFormatStyle = []|[("camelCase" | "kebab-case" | "lowercase" | "snake_case" | "SCREAMING_SNAKE_CASE")]|[("camelCase" | "kebab-case" | "lowercase" | "snake_case" | "SCREAMING_SNAKE_CASE"), {
6584
+ type IntlifyVueI18NKeyFormatStyle = []|[("camelCase" | "kebab-case" | "lowercase" | "snake_case" | "SCREAMING_SNAKE_CASE")]|[("camelCase" | "kebab-case" | "lowercase" | "snake_case" | "SCREAMING_SNAKE_CASE"), {
6482
6585
  allowArray?: boolean
6483
6586
  splitByDots?: boolean
6484
6587
  }]
6485
6588
  // ----- @intlify/vue-i18n/no-duplicate-keys-in-locale -----
6486
- type IntlifyVueI18nNoDuplicateKeysInLocale = []|[{
6589
+ type IntlifyVueI18NNoDuplicateKeysInLocale = []|[{
6487
6590
  ignoreI18nBlock?: boolean
6488
6591
  }]
6489
6592
  // ----- @intlify/vue-i18n/no-missing-keys-in-other-locales -----
6490
- type IntlifyVueI18nNoMissingKeysInOtherLocales = []|[{
6593
+ type IntlifyVueI18NNoMissingKeysInOtherLocales = []|[{
6491
6594
  ignoreLocales?: string[]
6492
6595
  }]
6493
6596
  // ----- @intlify/vue-i18n/no-raw-text -----
6494
- type IntlifyVueI18nNoRawText = []|[{
6597
+ type IntlifyVueI18NNoRawText = []|[{
6495
6598
  attributes?: {
6496
6599
  [k: string]: string[]
6497
6600
  }
@@ -6501,21 +6604,21 @@ type IntlifyVueI18nNoRawText = []|[{
6501
6604
  [k: string]: unknown | undefined
6502
6605
  }]
6503
6606
  // ----- @intlify/vue-i18n/no-unknown-locale -----
6504
- type IntlifyVueI18nNoUnknownLocale = []|[{
6607
+ type IntlifyVueI18NNoUnknownLocale = []|[{
6505
6608
  locales?: string[]
6506
6609
  disableRFC5646?: boolean
6507
6610
  }]
6508
6611
  // ----- @intlify/vue-i18n/no-unused-keys -----
6509
- type IntlifyVueI18nNoUnusedKeys = []|[{
6612
+ type IntlifyVueI18NNoUnusedKeys = []|[{
6510
6613
  src?: string
6511
6614
  extensions?: string[]
6512
6615
  ignores?: string[]
6513
6616
  enableFix?: boolean
6514
6617
  }]
6515
6618
  // ----- @intlify/vue-i18n/sfc-locale-attr -----
6516
- type IntlifyVueI18nSfcLocaleAttr = []|[("always" | "never")]
6619
+ type IntlifyVueI18NSfcLocaleAttr = []|[("always" | "never")]
6517
6620
  // ----- @intlify/vue-i18n/valid-message-syntax -----
6518
- type IntlifyVueI18nValidMessageSyntax = []|[{
6621
+ type IntlifyVueI18NValidMessageSyntax = []|[{
6519
6622
  allowNotString?: boolean
6520
6623
  }]
6521
6624
  // ----- @rotki/consistent-ref-type-annotation -----
@@ -6658,6 +6761,7 @@ type StylisticIndent = []|[("tab" | number)]|[("tab" | number), {
6658
6761
  offsetTernaryExpressions?: boolean
6659
6762
  ignoredNodes?: string[]
6660
6763
  ignoreComments?: boolean
6764
+ tabLength?: number
6661
6765
  }]
6662
6766
  // ----- @stylistic/indent-binary-ops -----
6663
6767
  type StylisticIndentBinaryOps = []|[(number | "tab")]
@@ -7032,6 +7136,10 @@ type StylisticKeywordSpacing = []|[{
7032
7136
  before?: boolean
7033
7137
  after?: boolean
7034
7138
  }
7139
+ satisfies?: {
7140
+ before?: boolean
7141
+ after?: boolean
7142
+ }
7035
7143
  set?: {
7036
7144
  before?: boolean
7037
7145
  after?: boolean
@@ -7416,7 +7524,7 @@ type StylisticPaddedBlocks = []|[(("always" | "never") | {
7416
7524
  }]
7417
7525
  // ----- @stylistic/padding-line-between-statements -----
7418
7526
  type _StylisticPaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
7419
- type _StylisticPaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]])
7527
+ type _StylisticPaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]])
7420
7528
  type StylisticPaddingLineBetweenStatements = {
7421
7529
  blankLine: _StylisticPaddingLineBetweenStatementsPaddingType
7422
7530
  prev: _StylisticPaddingLineBetweenStatementsStatementType
@@ -7548,6 +7656,7 @@ type TypescriptEslintBanTsComment = []|[{
7548
7656
  "ts-check"?: (boolean | "allow-with-description" | {
7549
7657
  descriptionFormat?: string
7550
7658
  })
7659
+
7551
7660
  minimumDescriptionLength?: number
7552
7661
  }]
7553
7662
  // ----- @typescript-eslint/class-literal-property-style -----
@@ -7573,29 +7682,41 @@ type TypescriptEslintConsistentReturn = []|[{
7573
7682
  }]
7574
7683
  // ----- @typescript-eslint/consistent-type-assertions -----
7575
7684
  type TypescriptEslintConsistentTypeAssertions = []|[({
7685
+
7576
7686
  assertionStyle: "never"
7577
7687
  } | {
7688
+
7578
7689
  assertionStyle: ("as" | "angle-bracket")
7690
+
7579
7691
  objectLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
7580
7692
  })]
7581
7693
  // ----- @typescript-eslint/consistent-type-definitions -----
7582
7694
  type TypescriptEslintConsistentTypeDefinitions = []|[("interface" | "type")]
7583
7695
  // ----- @typescript-eslint/consistent-type-exports -----
7584
7696
  type TypescriptEslintConsistentTypeExports = []|[{
7697
+
7585
7698
  fixMixedExportsWithInlineTypeSpecifier?: boolean
7586
7699
  }]
7587
7700
  // ----- @typescript-eslint/consistent-type-imports -----
7588
7701
  type TypescriptEslintConsistentTypeImports = []|[{
7702
+
7589
7703
  disallowTypeAnnotations?: boolean
7704
+
7590
7705
  fixStyle?: ("separate-type-imports" | "inline-type-imports")
7706
+
7591
7707
  prefer?: ("type-imports" | "no-type-imports")
7592
7708
  }]
7593
7709
  // ----- @typescript-eslint/dot-notation -----
7594
7710
  type TypescriptEslintDotNotation = []|[{
7711
+
7595
7712
  allowKeywords?: boolean
7713
+
7596
7714
  allowPattern?: string
7715
+
7597
7716
  allowPrivateClassPropertyAccess?: boolean
7717
+
7598
7718
  allowProtectedClassPropertyAccess?: boolean
7719
+
7599
7720
  allowIndexSignaturePropertyAccess?: boolean
7600
7721
  }]
7601
7722
  // ----- @typescript-eslint/explicit-function-return-type -----
@@ -7627,6 +7748,7 @@ type TypescriptEslintExplicitMemberAccessibility = []|[{
7627
7748
  properties?: ("explicit" | "no-public" | "off")
7628
7749
  parameterProperties?: ("explicit" | "no-public" | "off")
7629
7750
  }
7751
+
7630
7752
  ignoredMethodNames?: string[]
7631
7753
  }]
7632
7754
  // ----- @typescript-eslint/explicit-module-boundary-types -----
@@ -7648,8 +7770,11 @@ type TypescriptEslintInitDeclarations = ([]|["always"] | []|["never"]|["never",
7648
7770
  }])
7649
7771
  // ----- @typescript-eslint/max-params -----
7650
7772
  type TypescriptEslintMaxParams = []|[{
7651
- maximum?: number
7773
+
7652
7774
  max?: number
7775
+
7776
+ maximum?: number
7777
+
7653
7778
  countVoidThis?: boolean
7654
7779
  }]
7655
7780
  // ----- @typescript-eslint/member-ordering -----
@@ -8003,30 +8128,40 @@ interface _TypescriptEslintNamingConvention_MatchRegexConfig {
8003
8128
  }
8004
8129
  // ----- @typescript-eslint/no-base-to-string -----
8005
8130
  type TypescriptEslintNoBaseToString = []|[{
8131
+
8006
8132
  ignoredTypeNames?: string[]
8007
8133
  }]
8008
8134
  // ----- @typescript-eslint/no-confusing-void-expression -----
8009
8135
  type TypescriptEslintNoConfusingVoidExpression = []|[{
8136
+
8010
8137
  ignoreArrowShorthand?: boolean
8138
+
8011
8139
  ignoreVoidOperator?: boolean
8012
8140
  }]
8013
8141
  // ----- @typescript-eslint/no-duplicate-type-constituents -----
8014
8142
  type TypescriptEslintNoDuplicateTypeConstituents = []|[{
8143
+
8015
8144
  ignoreIntersections?: boolean
8145
+
8016
8146
  ignoreUnions?: boolean
8017
8147
  }]
8018
8148
  // ----- @typescript-eslint/no-empty-function -----
8019
8149
  type TypescriptEslintNoEmptyFunction = []|[{
8150
+
8020
8151
  allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "private-constructors" | "protected-constructors" | "asyncFunctions" | "asyncMethods" | "decoratedFunctions" | "overrideMethods")[]
8021
8152
  }]
8022
8153
  // ----- @typescript-eslint/no-empty-interface -----
8023
8154
  type TypescriptEslintNoEmptyInterface = []|[{
8155
+
8024
8156
  allowSingleExtends?: boolean
8025
8157
  }]
8026
8158
  // ----- @typescript-eslint/no-empty-object-type -----
8027
8159
  type TypescriptEslintNoEmptyObjectType = []|[{
8160
+
8028
8161
  allowInterfaces?: ("always" | "never" | "with-single-extends")
8162
+
8029
8163
  allowObjectTypes?: ("always" | "never")
8164
+
8030
8165
  allowWithName?: string
8031
8166
  }]
8032
8167
  // ----- @typescript-eslint/no-explicit-any -----
@@ -8049,6 +8184,7 @@ type TypescriptEslintNoExtraneousClass = []|[{
8049
8184
  }]
8050
8185
  // ----- @typescript-eslint/no-floating-promises -----
8051
8186
  type TypescriptEslintNoFloatingPromises = []|[{
8187
+
8052
8188
  allowForKnownSafePromises?: (string | {
8053
8189
  from: "file"
8054
8190
  name: (string | [string, ...(string)[]])
@@ -8061,6 +8197,7 @@ type TypescriptEslintNoFloatingPromises = []|[{
8061
8197
  name: (string | [string, ...(string)[]])
8062
8198
  package: string
8063
8199
  })[]
8200
+
8064
8201
  allowForKnownSafeCalls?: (string | {
8065
8202
  from: "file"
8066
8203
  name: (string | [string, ...(string)[]])
@@ -8082,7 +8219,9 @@ type TypescriptEslintNoFloatingPromises = []|[{
8082
8219
  }]
8083
8220
  // ----- @typescript-eslint/no-inferrable-types -----
8084
8221
  type TypescriptEslintNoInferrableTypes = []|[{
8222
+
8085
8223
  ignoreParameters?: boolean
8224
+
8086
8225
  ignoreProperties?: boolean
8087
8226
  }]
8088
8227
  // ----- @typescript-eslint/no-invalid-this -----
@@ -8091,7 +8230,9 @@ type TypescriptEslintNoInvalidThis = []|[{
8091
8230
  }]
8092
8231
  // ----- @typescript-eslint/no-invalid-void-type -----
8093
8232
  type TypescriptEslintNoInvalidVoidType = []|[{
8233
+
8094
8234
  allowInGenericTypeArguments?: (boolean | [string, ...(string)[]])
8235
+
8095
8236
  allowAsThisParameter?: boolean
8096
8237
  }]
8097
8238
  // ----- @typescript-eslint/no-magic-numbers -----
@@ -8102,25 +8243,38 @@ type TypescriptEslintNoMagicNumbers = []|[{
8102
8243
  ignoreArrayIndexes?: boolean
8103
8244
  ignoreDefaultValues?: boolean
8104
8245
  ignoreClassFieldInitialValues?: boolean
8246
+
8105
8247
  ignoreNumericLiteralTypes?: boolean
8248
+
8106
8249
  ignoreEnums?: boolean
8250
+
8107
8251
  ignoreReadonlyClassProperties?: boolean
8252
+
8108
8253
  ignoreTypeIndexes?: boolean
8109
8254
  }]
8110
8255
  // ----- @typescript-eslint/no-meaningless-void-operator -----
8111
8256
  type TypescriptEslintNoMeaninglessVoidOperator = []|[{
8257
+
8112
8258
  checkNever?: boolean
8113
8259
  }]
8114
8260
  // ----- @typescript-eslint/no-misused-promises -----
8115
8261
  type TypescriptEslintNoMisusedPromises = []|[{
8116
8262
  checksConditionals?: boolean
8117
8263
  checksVoidReturn?: (boolean | {
8264
+
8118
8265
  arguments?: boolean
8266
+
8119
8267
  attributes?: boolean
8268
+
8269
+ inheritedMethods?: boolean
8270
+
8120
8271
  properties?: boolean
8272
+
8121
8273
  returns?: boolean
8274
+
8122
8275
  variables?: boolean
8123
8276
  })
8277
+
8124
8278
  checksSpreads?: boolean
8125
8279
  }]
8126
8280
  // ----- @typescript-eslint/no-namespace -----
@@ -8132,7 +8286,9 @@ type TypescriptEslintNoNamespace = []|[{
8132
8286
  }]
8133
8287
  // ----- @typescript-eslint/no-redeclare -----
8134
8288
  type TypescriptEslintNoRedeclare = []|[{
8289
+
8135
8290
  builtinGlobals?: boolean
8291
+
8136
8292
  ignoreDeclarationMerge?: boolean
8137
8293
  }]
8138
8294
  // ----- @typescript-eslint/no-require-imports -----
@@ -8190,11 +8346,17 @@ type TypescriptEslintNoRestrictedTypes = []|[{
8190
8346
  }]
8191
8347
  // ----- @typescript-eslint/no-shadow -----
8192
8348
  type TypescriptEslintNoShadow = []|[{
8349
+
8193
8350
  builtinGlobals?: boolean
8351
+
8194
8352
  hoist?: ("all" | "functions" | "never")
8353
+
8195
8354
  allow?: string[]
8355
+
8196
8356
  ignoreOnInitialization?: boolean
8357
+
8197
8358
  ignoreTypeValueShadow?: boolean
8359
+
8198
8360
  ignoreFunctionTypeParameterNameValueShadow?: boolean
8199
8361
  }]
8200
8362
  // ----- @typescript-eslint/no-this-alias -----
@@ -8236,6 +8398,8 @@ type TypescriptEslintNoUnnecessaryCondition = []|[{
8236
8398
  allowConstantLoopConditions?: boolean
8237
8399
 
8238
8400
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
8401
+
8402
+ checkTypePredicates?: boolean
8239
8403
  }]
8240
8404
  // ----- @typescript-eslint/no-unnecessary-type-assertion -----
8241
8405
  type TypescriptEslintNoUnnecessaryTypeAssertion = []|[{
@@ -8251,24 +8415,40 @@ type TypescriptEslintNoUnusedExpressions = []|[{
8251
8415
  }]
8252
8416
  // ----- @typescript-eslint/no-unused-vars -----
8253
8417
  type TypescriptEslintNoUnusedVars = []|[(("all" | "local") | {
8418
+
8254
8419
  vars?: ("all" | "local")
8420
+
8255
8421
  varsIgnorePattern?: string
8422
+
8256
8423
  args?: ("all" | "after-used" | "none")
8257
- ignoreRestSiblings?: boolean
8424
+
8258
8425
  argsIgnorePattern?: string
8426
+
8259
8427
  caughtErrors?: ("all" | "none")
8428
+
8260
8429
  caughtErrorsIgnorePattern?: string
8430
+
8261
8431
  destructuredArrayIgnorePattern?: string
8432
+
8262
8433
  ignoreClassWithStaticInitBlock?: boolean
8434
+
8435
+ ignoreRestSiblings?: boolean
8436
+
8263
8437
  reportUsedIgnorePattern?: boolean
8264
8438
  })]
8265
8439
  // ----- @typescript-eslint/no-use-before-define -----
8266
8440
  type TypescriptEslintNoUseBeforeDefine = []|[("nofunc" | {
8441
+
8267
8442
  functions?: boolean
8443
+
8268
8444
  classes?: boolean
8445
+
8269
8446
  enums?: boolean
8447
+
8270
8448
  variables?: boolean
8449
+
8271
8450
  typedefs?: boolean
8451
+
8272
8452
  ignoreTypeReferences?: boolean
8273
8453
  allowNamedExports?: boolean
8274
8454
  })]
@@ -8279,12 +8459,16 @@ type TypescriptEslintNoVarRequires = []|[{
8279
8459
  }]
8280
8460
  // ----- @typescript-eslint/only-throw-error -----
8281
8461
  type TypescriptEslintOnlyThrowError = []|[{
8462
+
8282
8463
  allowThrowingAny?: boolean
8464
+
8283
8465
  allowThrowingUnknown?: boolean
8284
8466
  }]
8285
8467
  // ----- @typescript-eslint/parameter-properties -----
8286
8468
  type TypescriptEslintParameterProperties = []|[{
8469
+
8287
8470
  allow?: ("readonly" | "private" | "protected" | "public" | "private readonly" | "protected readonly" | "public readonly")[]
8471
+
8288
8472
  prefer?: ("class-property" | "parameter-property")
8289
8473
  }]
8290
8474
  // ----- @typescript-eslint/prefer-destructuring -----
@@ -8319,13 +8503,18 @@ type TypescriptEslintPreferDestructuring = []|[({
8319
8503
  }]
8320
8504
  // ----- @typescript-eslint/prefer-literal-enum-member -----
8321
8505
  type TypescriptEslintPreferLiteralEnumMember = []|[{
8506
+
8322
8507
  allowBitwiseExpressions?: boolean
8323
8508
  }]
8324
8509
  // ----- @typescript-eslint/prefer-nullish-coalescing -----
8325
8510
  type TypescriptEslintPreferNullishCoalescing = []|[{
8511
+
8326
8512
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
8513
+
8327
8514
  ignoreConditionalTests?: boolean
8515
+
8328
8516
  ignoreMixedLogicalExpressions?: boolean
8517
+
8329
8518
  ignorePrimitives?: ({
8330
8519
  bigint?: boolean
8331
8520
  boolean?: boolean
@@ -8333,6 +8522,7 @@ type TypescriptEslintPreferNullishCoalescing = []|[{
8333
8522
  string?: boolean
8334
8523
  [k: string]: unknown | undefined
8335
8524
  } | true)
8525
+
8336
8526
  ignoreTernaryTests?: boolean
8337
8527
  }]
8338
8528
  // ----- @typescript-eslint/prefer-optional-chain -----
@@ -8356,14 +8546,17 @@ type TypescriptEslintPreferOptionalChain = []|[{
8356
8546
  }]
8357
8547
  // ----- @typescript-eslint/prefer-promise-reject-errors -----
8358
8548
  type TypescriptEslintPreferPromiseRejectErrors = []|[{
8549
+
8359
8550
  allowEmptyReject?: boolean
8360
8551
  }]
8361
8552
  // ----- @typescript-eslint/prefer-readonly -----
8362
8553
  type TypescriptEslintPreferReadonly = []|[{
8554
+
8363
8555
  onlyInlineLambdas?: boolean
8364
8556
  }]
8365
8557
  // ----- @typescript-eslint/prefer-readonly-parameter-types -----
8366
8558
  type TypescriptEslintPreferReadonlyParameterTypes = []|[{
8559
+
8367
8560
  allow?: (string | {
8368
8561
  from: "file"
8369
8562
  name: (string | [string, ...(string)[]])
@@ -8376,8 +8569,11 @@ type TypescriptEslintPreferReadonlyParameterTypes = []|[{
8376
8569
  name: (string | [string, ...(string)[]])
8377
8570
  package: string
8378
8571
  })[]
8572
+
8379
8573
  checkParameterProperties?: boolean
8574
+
8380
8575
  ignoreInferredTypes?: boolean
8576
+
8381
8577
  treatMethodsAsReadonly?: boolean
8382
8578
  }]
8383
8579
  // ----- @typescript-eslint/prefer-string-starts-ends-with -----
@@ -8391,9 +8587,13 @@ type TypescriptEslintPromiseFunctionAsync = []|[{
8391
8587
  allowAny?: boolean
8392
8588
 
8393
8589
  allowedPromiseNames?: string[]
8590
+
8394
8591
  checkArrowFunctions?: boolean
8592
+
8395
8593
  checkFunctionDeclarations?: boolean
8594
+
8396
8595
  checkFunctionExpressions?: boolean
8596
+
8397
8597
  checkMethodDeclarations?: boolean
8398
8598
  }]
8399
8599
  // ----- @typescript-eslint/require-array-sort-compare -----
@@ -8432,9 +8632,22 @@ type TypescriptEslintRestrictTemplateExpressions = []|[{
8432
8632
  allowRegExp?: boolean
8433
8633
 
8434
8634
  allowNever?: boolean
8635
+
8636
+ allow?: (string | {
8637
+ from: "file"
8638
+ name: (string | [string, ...(string)[]])
8639
+ path?: string
8640
+ } | {
8641
+ from: "lib"
8642
+ name: (string | [string, ...(string)[]])
8643
+ } | {
8644
+ from: "package"
8645
+ name: (string | [string, ...(string)[]])
8646
+ package: string
8647
+ })[]
8435
8648
  }]
8436
8649
  // ----- @typescript-eslint/return-await -----
8437
- type TypescriptEslintReturnAwait = []|[("in-try-catch" | "always" | "never" | "error-handling-correctness-only")]
8650
+ type TypescriptEslintReturnAwait = []|[(("always" | "error-handling-correctness-only" | "in-try-catch" | "never") & string)]
8438
8651
  // ----- @typescript-eslint/sort-type-constituents -----
8439
8652
  type TypescriptEslintSortTypeConstituents = []|[{
8440
8653
 
@@ -8448,13 +8661,21 @@ type TypescriptEslintSortTypeConstituents = []|[{
8448
8661
  }]
8449
8662
  // ----- @typescript-eslint/strict-boolean-expressions -----
8450
8663
  type TypescriptEslintStrictBooleanExpressions = []|[{
8664
+
8451
8665
  allowString?: boolean
8666
+
8452
8667
  allowNumber?: boolean
8668
+
8453
8669
  allowNullableObject?: boolean
8670
+
8454
8671
  allowNullableBoolean?: boolean
8672
+
8455
8673
  allowNullableString?: boolean
8674
+
8456
8675
  allowNullableNumber?: boolean
8676
+
8457
8677
  allowNullableEnum?: boolean
8678
+
8458
8679
  allowAny?: boolean
8459
8680
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
8460
8681
  }]
@@ -8467,19 +8688,30 @@ type TypescriptEslintSwitchExhaustivenessCheck = []|[{
8467
8688
  }]
8468
8689
  // ----- @typescript-eslint/triple-slash-reference -----
8469
8690
  type TypescriptEslintTripleSlashReference = []|[{
8691
+
8470
8692
  lib?: ("always" | "never")
8693
+
8471
8694
  path?: ("always" | "never")
8695
+
8472
8696
  types?: ("always" | "never" | "prefer-import")
8473
8697
  }]
8474
8698
  // ----- @typescript-eslint/typedef -----
8475
8699
  type TypescriptEslintTypedef = []|[{
8700
+
8476
8701
  arrayDestructuring?: boolean
8702
+
8477
8703
  arrowParameter?: boolean
8704
+
8478
8705
  memberVariableDeclaration?: boolean
8706
+
8479
8707
  objectDestructuring?: boolean
8708
+
8480
8709
  parameter?: boolean
8710
+
8481
8711
  propertyDeclaration?: boolean
8712
+
8482
8713
  variableDeclaration?: boolean
8714
+
8483
8715
  variableDeclarationIgnoreFunction?: boolean
8484
8716
  }]
8485
8717
  // ----- @typescript-eslint/unbound-method -----
@@ -8498,27 +8730,33 @@ type AccessorPairs = []|[{
8498
8730
  setWithoutGet?: boolean
8499
8731
  enforceForClassMembers?: boolean
8500
8732
  }]
8733
+ // ----- antfu/consistent-chaining -----
8734
+ type AntfuConsistentChaining = []|[{
8735
+
8736
+ allowLeadingPropertyAccess?: boolean
8737
+ }]
8501
8738
  // ----- antfu/consistent-list-newline -----
8502
8739
  type AntfuConsistentListNewline = []|[{
8503
8740
  ArrayExpression?: boolean
8741
+ ArrayPattern?: boolean
8504
8742
  ArrowFunctionExpression?: boolean
8505
8743
  CallExpression?: boolean
8506
8744
  ExportNamedDeclaration?: boolean
8507
8745
  FunctionDeclaration?: boolean
8508
8746
  FunctionExpression?: boolean
8509
8747
  ImportDeclaration?: boolean
8748
+ JSONArrayExpression?: boolean
8749
+ JSONObjectExpression?: boolean
8750
+ JSXOpeningElement?: boolean
8510
8751
  NewExpression?: boolean
8511
8752
  ObjectExpression?: boolean
8753
+ ObjectPattern?: boolean
8754
+ TSFunctionType?: boolean
8512
8755
  TSInterfaceDeclaration?: boolean
8513
8756
  TSTupleType?: boolean
8514
8757
  TSTypeLiteral?: boolean
8515
8758
  TSTypeParameterDeclaration?: boolean
8516
8759
  TSTypeParameterInstantiation?: boolean
8517
- ObjectPattern?: boolean
8518
- ArrayPattern?: boolean
8519
- JSXOpeningElement?: boolean
8520
- JSONArrayExpression?: boolean
8521
- JSONObjectExpression?: boolean
8522
8760
  }]
8523
8761
  // ----- antfu/indent-unindent -----
8524
8762
  type AntfuIndentUnindent = []|[{
@@ -8883,6 +9121,7 @@ type ImportNoExtraneousDependencies = []|[{
8883
9121
  packageDir?: (string | unknown[])
8884
9122
  includeInternal?: boolean
8885
9123
  includeTypes?: boolean
9124
+ whitelist?: unknown[]
8886
9125
  }]
8887
9126
  // ----- import/no-import-module-exports -----
8888
9127
  type ImportNoImportModuleExports = []|[{
@@ -8919,6 +9158,11 @@ type ImportNoRelativeParentImports = []|[{
8919
9158
 
8920
9159
  ignore?: [string, ...(string)[]]
8921
9160
  }]
9161
+ // ----- import/no-rename-default -----
9162
+ type ImportNoRenameDefault = []|[{
9163
+ commonjs?: boolean
9164
+ preventRenamingBindings?: boolean
9165
+ }]
8922
9166
  // ----- import/no-restricted-paths -----
8923
9167
  type ImportNoRestrictedPaths = []|[{
8924
9168
 
@@ -9706,6 +9950,14 @@ type LinesBetweenClassMembers = []|[({
9706
9950
  type LogicalAssignmentOperators = (([]|["always"]|["always", {
9707
9951
  enforceForIfStatements?: boolean
9708
9952
  }] | ["never"]) & unknown[])
9953
+ // ----- markdown/fenced-code-language -----
9954
+ type MarkdownFencedCodeLanguage = []|[{
9955
+ required?: string[]
9956
+ }]
9957
+ // ----- markdown/no-html -----
9958
+ type MarkdownNoHtml = []|[{
9959
+ allowed?: string[]
9960
+ }]
9709
9961
  // ----- max-classes-per-file -----
9710
9962
  type MaxClassesPerFile = []|[(number | {
9711
9963
  ignoreExpressions?: boolean
@@ -10559,9 +10811,15 @@ type PerfectionistSortArrayIncludes = []|[{
10559
10811
 
10560
10812
  order?: ("asc" | "desc")
10561
10813
 
10814
+ matcher?: ("minimatch" | "regex")
10815
+
10562
10816
  ignoreCase?: boolean
10563
10817
 
10564
10818
  groupKind?: ("mixed" | "literals-first" | "spreads-first")
10819
+
10820
+ partitionByComment?: (string[] | boolean | string)
10821
+
10822
+ partitionByNewLine?: boolean
10565
10823
  }]
10566
10824
  // ----- perfectionist/sort-astro-attributes -----
10567
10825
  type PerfectionistSortAstroAttributes = []|[{
@@ -10570,6 +10828,8 @@ type PerfectionistSortAstroAttributes = []|[{
10570
10828
 
10571
10829
  order?: ("asc" | "desc")
10572
10830
 
10831
+ matcher?: ("minimatch" | "regex")
10832
+
10573
10833
  ignoreCase?: boolean
10574
10834
 
10575
10835
  groups?: (string | string[])[]
@@ -10585,15 +10845,49 @@ type PerfectionistSortClasses = []|[{
10585
10845
 
10586
10846
  order?: ("asc" | "desc")
10587
10847
 
10848
+ matcher?: ("minimatch" | "regex")
10849
+
10588
10850
  ignoreCase?: boolean
10589
10851
 
10590
10852
  partitionByComment?: (string[] | boolean | string)
10591
10853
 
10592
10854
  groups?: (string | string[])[]
10593
10855
 
10594
- customGroups?: {
10856
+ customGroups?: ({
10595
10857
  [k: string]: (string | string[]) | undefined
10596
- }
10858
+ } | ({
10859
+
10860
+ groupName?: string
10861
+
10862
+ type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
10863
+
10864
+ order?: ("desc" | "asc")
10865
+ anyOf?: {
10866
+
10867
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
10868
+
10869
+ modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
10870
+
10871
+ elementNamePattern?: string
10872
+
10873
+ decoratorNamePattern?: string
10874
+ }[]
10875
+ } | {
10876
+
10877
+ groupName?: string
10878
+
10879
+ type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
10880
+
10881
+ order?: ("desc" | "asc")
10882
+
10883
+ selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
10884
+
10885
+ modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
10886
+
10887
+ elementNamePattern?: string
10888
+
10889
+ decoratorNamePattern?: string
10890
+ })[])
10597
10891
  }]
10598
10892
  // ----- perfectionist/sort-enums -----
10599
10893
  type PerfectionistSortEnums = []|[{
@@ -10602,9 +10896,17 @@ type PerfectionistSortEnums = []|[{
10602
10896
 
10603
10897
  order?: ("asc" | "desc")
10604
10898
 
10899
+ matcher?: ("minimatch" | "regex")
10900
+
10605
10901
  ignoreCase?: boolean
10606
10902
 
10903
+ sortByValue?: boolean
10904
+
10905
+ forceNumericSort?: boolean
10906
+
10607
10907
  partitionByComment?: (string[] | boolean | string)
10908
+
10909
+ partitionByNewLine?: boolean
10608
10910
  }]
10609
10911
  // ----- perfectionist/sort-exports -----
10610
10912
  type PerfectionistSortExports = []|[{
@@ -10613,7 +10915,15 @@ type PerfectionistSortExports = []|[{
10613
10915
 
10614
10916
  order?: ("asc" | "desc")
10615
10917
 
10918
+ matcher?: ("minimatch" | "regex")
10919
+
10616
10920
  ignoreCase?: boolean
10921
+
10922
+ partitionByComment?: (string[] | boolean | string)
10923
+
10924
+ partitionByNewLine?: boolean
10925
+
10926
+ groupKind?: ("mixed" | "values-first" | "types-first")
10617
10927
  }]
10618
10928
  // ----- perfectionist/sort-imports -----
10619
10929
  type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
@@ -10623,10 +10933,14 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
10623
10933
 
10624
10934
  order?: ("asc" | "desc")
10625
10935
 
10936
+ matcher?: ("minimatch" | "regex")
10937
+
10626
10938
  ignoreCase?: boolean
10627
10939
 
10628
10940
  internalPattern?: string[]
10629
10941
 
10942
+ sortSideEffects?: boolean
10943
+
10630
10944
  newlinesBetween?: ("ignore" | "always" | "never")
10631
10945
 
10632
10946
  maxLineLength?: number
@@ -10658,10 +10972,14 @@ type PerfectionistSortInterfaces = []|[{
10658
10972
 
10659
10973
  order?: ("asc" | "desc")
10660
10974
 
10975
+ matcher?: ("minimatch" | "regex")
10976
+
10661
10977
  ignoreCase?: boolean
10662
10978
 
10663
10979
  ignorePattern?: string[]
10664
10980
 
10981
+ partitionByComment?: (boolean | string | string[])
10982
+
10665
10983
  partitionByNewLine?: boolean
10666
10984
 
10667
10985
  groupKind?: ("mixed" | "optional-first" | "required-first")
@@ -10679,9 +10997,15 @@ type PerfectionistSortIntersectionTypes = []|[{
10679
10997
 
10680
10998
  order?: ("asc" | "desc")
10681
10999
 
11000
+ matcher?: ("minimatch" | "regex")
11001
+
10682
11002
  ignoreCase?: boolean
10683
11003
 
10684
11004
  groups?: (string | string[])[]
11005
+
11006
+ partitionByComment?: (string[] | boolean | string)
11007
+
11008
+ partitionByNewLine?: boolean
10685
11009
  }]
10686
11010
  // ----- perfectionist/sort-jsx-props -----
10687
11011
  type PerfectionistSortJsxProps = []|[{
@@ -10690,6 +11014,8 @@ type PerfectionistSortJsxProps = []|[{
10690
11014
 
10691
11015
  order?: ("asc" | "desc")
10692
11016
 
11017
+ matcher?: ("minimatch" | "regex")
11018
+
10693
11019
  ignoreCase?: boolean
10694
11020
 
10695
11021
  ignorePattern?: string[]
@@ -10707,7 +11033,13 @@ type PerfectionistSortMaps = []|[{
10707
11033
 
10708
11034
  order?: ("asc" | "desc")
10709
11035
 
11036
+ matcher?: ("minimatch" | "regex")
11037
+
10710
11038
  ignoreCase?: boolean
11039
+
11040
+ partitionByComment?: (string[] | boolean | string)
11041
+
11042
+ partitionByNewLine?: boolean
10711
11043
  }]
10712
11044
  // ----- perfectionist/sort-named-exports -----
10713
11045
  type PerfectionistSortNamedExports = []|[{
@@ -10716,9 +11048,15 @@ type PerfectionistSortNamedExports = []|[{
10716
11048
 
10717
11049
  order?: ("asc" | "desc")
10718
11050
 
11051
+ matcher?: ("minimatch" | "regex")
11052
+
10719
11053
  ignoreCase?: boolean
10720
11054
 
10721
11055
  groupKind?: ("mixed" | "values-first" | "types-first")
11056
+
11057
+ partitionByComment?: (string[] | boolean | string)
11058
+
11059
+ partitionByNewLine?: boolean
10722
11060
  }]
10723
11061
  // ----- perfectionist/sort-named-imports -----
10724
11062
  type PerfectionistSortNamedImports = []|[{
@@ -10727,11 +11065,17 @@ type PerfectionistSortNamedImports = []|[{
10727
11065
 
10728
11066
  order?: ("asc" | "desc")
10729
11067
 
11068
+ matcher?: ("minimatch" | "regex")
11069
+
10730
11070
  ignoreCase?: boolean
10731
11071
 
10732
11072
  ignoreAlias?: boolean
10733
11073
 
10734
11074
  groupKind?: ("mixed" | "values-first" | "types-first")
11075
+
11076
+ partitionByComment?: (string[] | boolean | string)
11077
+
11078
+ partitionByNewLine?: boolean
10735
11079
  }]
10736
11080
  // ----- perfectionist/sort-object-types -----
10737
11081
  type PerfectionistSortObjectTypes = []|[{
@@ -10740,8 +11084,12 @@ type PerfectionistSortObjectTypes = []|[{
10740
11084
 
10741
11085
  order?: ("asc" | "desc")
10742
11086
 
11087
+ matcher?: ("minimatch" | "regex")
11088
+
10743
11089
  ignoreCase?: boolean
10744
11090
 
11091
+ partitionByComment?: (string[] | boolean | string)
11092
+
10745
11093
  partitionByNewLine?: boolean
10746
11094
 
10747
11095
  groupKind?: ("mixed" | "required-first" | "optional-first")
@@ -10759,6 +11107,8 @@ type PerfectionistSortObjects = []|[{
10759
11107
 
10760
11108
  order?: ("asc" | "desc")
10761
11109
 
11110
+ matcher?: ("minimatch" | "regex")
11111
+
10762
11112
  ignoreCase?: boolean
10763
11113
 
10764
11114
  partitionByComment?: (string[] | boolean | string)
@@ -10777,6 +11127,23 @@ type PerfectionistSortObjects = []|[{
10777
11127
  [k: string]: (string | string[]) | undefined
10778
11128
  }
10779
11129
  }]
11130
+ // ----- perfectionist/sort-sets -----
11131
+ type PerfectionistSortSets = []|[{
11132
+
11133
+ type?: ("alphabetical" | "natural" | "line-length")
11134
+
11135
+ order?: ("asc" | "desc")
11136
+
11137
+ matcher?: ("minimatch" | "regex")
11138
+
11139
+ ignoreCase?: boolean
11140
+
11141
+ groupKind?: ("mixed" | "literals-first" | "spreads-first")
11142
+
11143
+ partitionByComment?: (string[] | boolean | string)
11144
+
11145
+ partitionByNewLine?: boolean
11146
+ }]
10780
11147
  // ----- perfectionist/sort-svelte-attributes -----
10781
11148
  type PerfectionistSortSvelteAttributes = []|[{
10782
11149
 
@@ -10784,6 +11151,8 @@ type PerfectionistSortSvelteAttributes = []|[{
10784
11151
 
10785
11152
  order?: ("asc" | "desc")
10786
11153
 
11154
+ matcher?: ("minimatch" | "regex")
11155
+
10787
11156
  ignoreCase?: boolean
10788
11157
 
10789
11158
  groups?: (string | string[])[]
@@ -10808,9 +11177,15 @@ type PerfectionistSortUnionTypes = []|[{
10808
11177
 
10809
11178
  order?: ("asc" | "desc")
10810
11179
 
11180
+ matcher?: ("minimatch" | "regex")
11181
+
10811
11182
  ignoreCase?: boolean
10812
11183
 
10813
11184
  groups?: (string | string[])[]
11185
+
11186
+ partitionByComment?: (string[] | boolean | string)
11187
+
11188
+ partitionByNewLine?: boolean
10814
11189
  }]
10815
11190
  // ----- perfectionist/sort-variable-declarations -----
10816
11191
  type PerfectionistSortVariableDeclarations = []|[{
@@ -10819,7 +11194,13 @@ type PerfectionistSortVariableDeclarations = []|[{
10819
11194
 
10820
11195
  order?: ("asc" | "desc")
10821
11196
 
11197
+ matcher?: ("minimatch" | "regex")
11198
+
10822
11199
  ignoreCase?: boolean
11200
+
11201
+ partitionByComment?: (string[] | boolean | string)
11202
+
11203
+ partitionByNewLine?: boolean
10823
11204
  }]
10824
11205
  // ----- perfectionist/sort-vue-attributes -----
10825
11206
  type PerfectionistSortVueAttributes = []|[{
@@ -10828,6 +11209,8 @@ type PerfectionistSortVueAttributes = []|[{
10828
11209
 
10829
11210
  order?: ("asc" | "desc")
10830
11211
 
11212
+ matcher?: ("minimatch" | "regex")
11213
+
10831
11214
  ignoreCase?: boolean
10832
11215
 
10833
11216
  groups?: (string | string[])[]
@@ -11021,6 +11404,10 @@ type RegexpUnicodeProperty = []|[{
11021
11404
  type RequireAtomicUpdates = []|[{
11022
11405
  allowProperties?: boolean
11023
11406
  }]
11407
+ // ----- require-unicode-regexp -----
11408
+ type RequireUnicodeRegexp = []|[{
11409
+ requireFlag?: ("u" | "v")
11410
+ }]
11024
11411
  // ----- rest-spread-spacing -----
11025
11412
  type RestSpreadSpacing = []|[("always" | "never")]
11026
11413
  // ----- semi -----
@@ -11163,6 +11550,7 @@ type TestNoLargeSnapshots = []|[{
11163
11550
  type TestNoOnlyTests = []|[{
11164
11551
  block?: string[]
11165
11552
  focus?: string[]
11553
+ functions?: string[]
11166
11554
  fix?: boolean
11167
11555
  }]
11168
11556
  // ----- test/no-restricted-matchers -----
@@ -11419,28 +11807,48 @@ type UnicornTemplateIndent = []|[{
11419
11807
  }]
11420
11808
  // ----- unused-imports/no-unused-imports -----
11421
11809
  type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
11810
+
11422
11811
  vars?: ("all" | "local")
11812
+
11423
11813
  varsIgnorePattern?: string
11814
+
11424
11815
  args?: ("all" | "after-used" | "none")
11425
- ignoreRestSiblings?: boolean
11816
+
11426
11817
  argsIgnorePattern?: string
11818
+
11427
11819
  caughtErrors?: ("all" | "none")
11820
+
11428
11821
  caughtErrorsIgnorePattern?: string
11822
+
11429
11823
  destructuredArrayIgnorePattern?: string
11824
+
11430
11825
  ignoreClassWithStaticInitBlock?: boolean
11826
+
11827
+ ignoreRestSiblings?: boolean
11828
+
11431
11829
  reportUsedIgnorePattern?: boolean
11432
11830
  })]
11433
11831
  // ----- unused-imports/no-unused-vars -----
11434
11832
  type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
11833
+
11435
11834
  vars?: ("all" | "local")
11835
+
11436
11836
  varsIgnorePattern?: string
11837
+
11437
11838
  args?: ("all" | "after-used" | "none")
11438
- ignoreRestSiblings?: boolean
11839
+
11439
11840
  argsIgnorePattern?: string
11841
+
11440
11842
  caughtErrors?: ("all" | "none")
11843
+
11441
11844
  caughtErrorsIgnorePattern?: string
11845
+
11442
11846
  destructuredArrayIgnorePattern?: string
11847
+
11443
11848
  ignoreClassWithStaticInitBlock?: boolean
11849
+
11850
+ ignoreRestSiblings?: boolean
11851
+
11444
11852
  reportUsedIgnorePattern?: boolean
11445
11853
  })]
11446
11854
  // ----- use-isnan -----
@@ -11584,7 +11992,7 @@ type VueCustomEventNameCasing = ([]|[("kebab-case" | "camelCase")]|[("kebab-case
11584
11992
  type VueDefineEmitsDeclaration = []|[("type-based" | "type-literal" | "runtime")]
11585
11993
  // ----- vue/define-macros-order -----
11586
11994
  type VueDefineMacrosOrder = []|[{
11587
- order?: ("defineEmits" | "defineProps" | "defineOptions" | "defineSlots" | "defineModel")[]
11995
+ order?: string[]
11588
11996
  defineExposeLast?: boolean
11589
11997
  }]
11590
11998
  // ----- vue/define-props-declaration -----
@@ -11930,6 +12338,10 @@ type VueKeywordSpacing = []|[{
11930
12338
  before?: boolean
11931
12339
  after?: boolean
11932
12340
  }
12341
+ satisfies?: {
12342
+ before?: boolean
12343
+ after?: boolean
12344
+ }
11933
12345
  set?: {
11934
12346
  before?: boolean
11935
12347
  after?: boolean
@@ -12119,6 +12531,14 @@ type VueMaxLinesPerBlock = []|[{
12119
12531
  script?: number
12120
12532
  skipBlankLines?: boolean
12121
12533
  }]
12534
+ // ----- vue/max-props -----
12535
+ type VueMaxProps = []|[{
12536
+ maxProps?: number
12537
+ }]
12538
+ // ----- vue/max-template-depth -----
12539
+ type VueMaxTemplateDepth = []|[{
12540
+ maxDepth?: number
12541
+ }]
12122
12542
  // ----- vue/multi-word-component-names -----
12123
12543
  type VueMultiWordComponentNames = []|[{
12124
12544
  ignores?: string[]
@@ -12533,6 +12953,10 @@ type VueRequireMacroVariableName = []|[{
12533
12953
  type VueRequirePropComment = []|[{
12534
12954
  type?: ("JSDoc" | "line" | "block" | "any")
12535
12955
  }]
12956
+ // ----- vue/require-toggle-inside-transition -----
12957
+ type VueRequireToggleInsideTransition = []|[{
12958
+ additionalDirectives?: string[]
12959
+ }]
12536
12960
  // ----- vue/return-in-computed-property -----
12537
12961
  type VueReturnInComputedProperty = []|[{
12538
12962
  treatUndefinedAsUnspecified?: boolean
@@ -12841,7 +13265,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
12841
13265
  onlyEquality?: boolean
12842
13266
  }]
12843
13267
  // Names of all the configs
12844
- type ConfigNames = 'rotki/eslint-comments/rules' | 'rotki/cypress/setup' | 'rotki/cypress/rules' | 'rotki/formatter/setup' | 'rotki/import/rules' | 'rotki/import/disables/tests' | 'rotki/import/disables/config' | 'rotki/import/disables/bin' | 'rotki/javascript/setup' | 'rotki/javascript/rules' | 'rotki/javascript/disables/cli' | 'rotki/javascript/disables/tests' | 'rotki/jsonc/setup' | 'rotki/jsonc/rules' | 'rotki/markdown/setup' | 'rotki/markdown/processor' | 'rotki/markdown/parser' | 'rotki/markdown/disables' | 'rotki/markdown/no-max' | 'rotki/node/rules' | 'rotki/perfectionist/setup' | 'rotki/sort/package-json' | 'rotki/storybook/setup' | 'rotki/storybook/rules' | 'rotki/storybook/main' | 'rotki/stylistic/rules' | 'rotki/test/setup' | 'rotki/test/rules' | 'rotki/regexp/rules' | 'rotki/rotki/setup' | 'rotki/typescript/setup' | 'rotki/typescript/parser' | 'rotki/typescript/rules' | 'rotki/typescript/disables/dts' | 'rotki/typescript/disables/test' | 'rotki/typescript/disables/cjs' | 'rotki/unicorn/rules' | 'rotki/unicorn/github-markdown' | 'rotki/vue/setup' | 'rotki/vue/rules' | 'rotki/vue-i18n/setup' | 'rotki/vue-i18n/rules' | 'rotki/yaml/setup' | 'rotki/yaml/rules'
13268
+ type ConfigNames = 'rotki/eslint-comments/rules' | 'rotki/cypress/setup' | 'rotki/cypress/rules' | 'rotki/formatter/setup' | 'rotki/import/rules' | 'rotki/javascript/setup' | 'rotki/javascript/rules' | 'rotki/jsonc/setup' | 'rotki/jsonc/rules' | 'rotki/markdown/setup' | 'rotki/markdown/processor' | 'rotki/markdown/parser' | 'rotki/markdown/disables' | 'rotki/markdown/no-max' | 'rotki/node/rules' | 'rotki/perfectionist/setup' | 'rotki/sort/package-json' | 'rotki/storybook/setup' | 'rotki/storybook/rules' | 'rotki/storybook/main' | 'rotki/stylistic/rules' | 'rotki/test/setup' | 'rotki/test/rules' | 'rotki/regexp/rules' | 'rotki/rotki/setup' | 'rotki/typescript/setup' | 'rotki/typescript/parser' | 'rotki/typescript/rules' | 'rotki/unicorn/rules' | 'rotki/unicorn/github-markdown' | 'rotki/vue/setup' | 'rotki/vue/rules' | 'rotki/vue-i18n/setup' | 'rotki/vue-i18n/rules' | 'rotki/yaml/setup' | 'rotki/yaml/rules'
12845
13269
 
12846
13270
  /**
12847
13271
  * Vendor types from Prettier so we don't rely on the dependency.
@@ -13091,6 +13515,14 @@ interface OptionsComponentExts {
13091
13515
  */
13092
13516
  componentExts?: string[];
13093
13517
  }
13518
+ interface OptionsUnicorn {
13519
+ /**
13520
+ * Include all rules recommended by `eslint-plugin-unicorn`, instead of only ones picked by Anthony.
13521
+ *
13522
+ * @default false
13523
+ */
13524
+ allRecommended?: boolean;
13525
+ }
13094
13526
  interface OptionsTypeScriptParserOptions {
13095
13527
  /**
13096
13528
  * Additional parser options for TypeScript.
@@ -13113,6 +13545,10 @@ interface OptionsTypeScriptWithTypes {
13113
13545
  * @see https://typescript-eslint.io/linting/typed-linting/
13114
13546
  */
13115
13547
  tsconfigPath?: string;
13548
+ /**
13549
+ * Override type-aware rules.
13550
+ */
13551
+ overridesTypeAware?: TypedFlatConfigItem['rules'];
13116
13552
  }
13117
13553
  interface OptionsHasTypeScript {
13118
13554
  typescript?: boolean;
@@ -13165,6 +13601,16 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
13165
13601
  * @default true
13166
13602
  */
13167
13603
  jsx?: boolean;
13604
+ /**
13605
+ * Core rules. Can't be disabled;
13606
+ */
13607
+ imports?: OptionsOverrides;
13608
+ /**
13609
+ * Options for eslint-plugin-unicorn.
13610
+ *
13611
+ * @default true
13612
+ */
13613
+ unicorn?: boolean | OptionsUnicorn;
13168
13614
  /**
13169
13615
  * Enable test support.
13170
13616
  *
@@ -13280,7 +13726,7 @@ declare const defaultPluginRenaming: {
13280
13726
  /**
13281
13727
  * Construct an array of ESLint flat config items.
13282
13728
  */
13283
- declare function rotki(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<any, any> | Linter.FlatConfig[]>[]): FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
13729
+ declare function rotki(options?: OptionsConfig & Omit<TypedFlatConfigItem, 'files'>, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<any, any> | Linter.FlatConfig[]>[]): FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
13284
13730
  type ResolvedOptions<T> = T extends boolean ? never : NonNullable<T>;
13285
13731
  declare function resolveSubOptions<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): ResolvedOptions<OptionsConfig[K]>;
13286
13732
  declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): Partial<Linter.RulesRecord & RuleOptions>;
@@ -13291,9 +13737,9 @@ declare function cypress(options?: OptionsOverrides & OptionsFiles & OptionsHasT
13291
13737
 
13292
13738
  declare function formatters(options?: OptionsFormatters | true, stylistic?: StylisticConfig): Promise<TypedFlatConfigItem[]>;
13293
13739
 
13294
- declare function ignores(): Promise<TypedFlatConfigItem[]>;
13740
+ declare function ignores(userIgnores?: string[]): Promise<TypedFlatConfigItem[]>;
13295
13741
 
13296
- declare function imports(options?: OptionsStylistic): Promise<TypedFlatConfigItem[]>;
13742
+ declare function imports(options?: OptionsStylistic & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
13297
13743
 
13298
13744
  declare function javascript(options?: OptionsIsInEditor & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
13299
13745
 
@@ -13312,6 +13758,8 @@ declare function perfectionist(): Promise<TypedFlatConfigItem[]>;
13312
13758
 
13313
13759
  declare function regexp(options?: OptionsRegExp & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
13314
13760
 
13761
+ declare function disables(): Promise<TypedFlatConfigItem[]>;
13762
+
13315
13763
  declare function rotkiPlugin(options?: OptionsOverrides & OptionsHasTypeScript & OptionsFiles): Promise<TypedFlatConfigItem[]>;
13316
13764
 
13317
13765
  declare function sortPackageJson(): Promise<TypedFlatConfigItem[]>;
@@ -13327,7 +13775,7 @@ declare function test(options?: OptionsFiles & OptionsIsInEditor & OptionsOverri
13327
13775
 
13328
13776
  declare function typescript(options?: OptionsFiles & OptionsComponentExts & OptionsOverrides & OptionsTypeScriptWithTypes & OptionsTypeScriptParserOptions & OptionsIsInEditor & OptionsProjectType): Promise<TypedFlatConfigItem[]>;
13329
13777
 
13330
- declare function unicorn(): Promise<TypedFlatConfigItem[]>;
13778
+ declare function unicorn(options?: OptionsUnicorn): Promise<TypedFlatConfigItem[]>;
13331
13779
 
13332
13780
  declare function storybook(options?: OptionsOverrides): Promise<TypedFlatConfigItem[]>;
13333
13781
 
@@ -13396,6 +13844,7 @@ declare function toArray<T>(value: T | T[]): T[];
13396
13844
  declare function interopDefault<T>(m: Awaitable<T>): Promise<T extends {
13397
13845
  default: infer U;
13398
13846
  } ? U : T>;
13847
+ declare function isPackageInScope(name: string): boolean;
13399
13848
  declare function ensurePackages(packages: (string | undefined)[]): Promise<void>;
13400
13849
  /**
13401
13850
  * Rename plugin prefixes in a rule object.
@@ -13432,5 +13881,6 @@ declare function renameRules(rules: Record<string, any>, map: Record<string, str
13432
13881
  */
13433
13882
  declare function renamePluginInConfigs(configs: TypedFlatConfigItem[], map: Record<string, string>): TypedFlatConfigItem[];
13434
13883
  declare function isInEditorEnv(): boolean;
13884
+ declare function isInGitHooksOrLintStaged(): boolean;
13435
13885
 
13436
- export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_CSS, GLOB_CYPRESS, GLOB_EXCLUDE, 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_TESTS, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsCypress, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsProjectType, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsVue, type OptionsVueI18n, type ResolvedOptions, type Rules, type StylisticConfig, StylisticConfigDefaults, type StylisticOptions, type TypedFlatConfigItem, type WrapRuleConfig, combine, comments, cypress, rotki as default, defaultPluginRenaming, ensurePackages, formatters, getOverrides, ignores, imports, interopDefault, isInEditorEnv, javascript, jsonc, markdown, node, parserPlain, perfectionist, regexp, renamePluginInConfigs, renameRules, resolveSubOptions, rotki, rotkiPlugin, sortPackageJson, sortTsconfig, storybook, stylistic, test, toArray, typescript, unicorn, vue, vueI18n, yaml };
13886
+ export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_CSS, GLOB_CYPRESS, GLOB_EXCLUDE, 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_TESTS, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsCypress, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsProjectType, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnicorn, type OptionsVue, type OptionsVueI18n, type ResolvedOptions, type Rules, type StylisticConfig, StylisticConfigDefaults, type StylisticOptions, type TypedFlatConfigItem, type WrapRuleConfig, combine, comments, cypress, rotki as default, defaultPluginRenaming, disables, ensurePackages, formatters, getOverrides, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsonc, markdown, node, parserPlain, perfectionist, regexp, renamePluginInConfigs, renameRules, resolveSubOptions, rotki, rotkiPlugin, sortPackageJson, sortTsconfig, storybook, stylistic, test, toArray, typescript, unicorn, vue, vueI18n, yaml };