@rotki/eslint-config 3.3.0 → 3.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +942 -643
- package/dist/index.d.cts +315 -202
- package/dist/index.d.ts +315 -202
- package/dist/index.js +942 -643
- package/package.json +27 -27
package/dist/index.d.cts
CHANGED
|
@@ -748,7 +748,7 @@ interface RuleOptions {
|
|
|
748
748
|
*/
|
|
749
749
|
'@typescript-eslint/no-array-delete'?: Linter.RuleEntry<[]>
|
|
750
750
|
/**
|
|
751
|
-
* Require `.toString()` to only be called on objects which provide useful information when stringified
|
|
751
|
+
* Require `.toString()` and `.toLocaleString()` to only be called on objects which provide useful information when stringified
|
|
752
752
|
* @see https://typescript-eslint.io/rules/no-base-to-string
|
|
753
753
|
*/
|
|
754
754
|
'@typescript-eslint/no-base-to-string'?: Linter.RuleEntry<TypescriptEslintNoBaseToString>
|
|
@@ -1035,6 +1035,11 @@ interface RuleOptions {
|
|
|
1035
1035
|
* @see https://typescript-eslint.io/rules/no-unsafe-return
|
|
1036
1036
|
*/
|
|
1037
1037
|
'@typescript-eslint/no-unsafe-return'?: Linter.RuleEntry<[]>
|
|
1038
|
+
/**
|
|
1039
|
+
* Disallow type assertions that narrow a type
|
|
1040
|
+
* @see https://typescript-eslint.io/rules/no-unsafe-type-assertion
|
|
1041
|
+
*/
|
|
1042
|
+
'@typescript-eslint/no-unsafe-type-assertion'?: Linter.RuleEntry<[]>
|
|
1038
1043
|
/**
|
|
1039
1044
|
* Require unary negation to take a number
|
|
1040
1045
|
* @see https://typescript-eslint.io/rules/no-unsafe-unary-minus
|
|
@@ -1192,6 +1197,11 @@ interface RuleOptions {
|
|
|
1192
1197
|
* @see https://typescript-eslint.io/rules/promise-function-async
|
|
1193
1198
|
*/
|
|
1194
1199
|
'@typescript-eslint/promise-function-async'?: Linter.RuleEntry<TypescriptEslintPromiseFunctionAsync>
|
|
1200
|
+
/**
|
|
1201
|
+
* Enforce that `get()` types should be assignable to their equivalent `set()` type
|
|
1202
|
+
* @see https://typescript-eslint.io/rules/related-getter-setter-pairs
|
|
1203
|
+
*/
|
|
1204
|
+
'@typescript-eslint/related-getter-setter-pairs'?: Linter.RuleEntry<[]>
|
|
1195
1205
|
/**
|
|
1196
1206
|
* Require `Array#sort` and `Array#toSorted` calls to always provide a `compareFunction`
|
|
1197
1207
|
* @see https://typescript-eslint.io/rules/require-array-sort-compare
|
|
@@ -1680,233 +1690,233 @@ interface RuleOptions {
|
|
|
1680
1690
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
1681
1691
|
/**
|
|
1682
1692
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
1683
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1693
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/consistent-type-specifier-style.md
|
|
1684
1694
|
*/
|
|
1685
1695
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
1686
1696
|
/**
|
|
1687
1697
|
* Ensure a default export is present, given a default import.
|
|
1688
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1698
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/default.md
|
|
1689
1699
|
*/
|
|
1690
1700
|
'import/default'?: Linter.RuleEntry<[]>
|
|
1691
1701
|
/**
|
|
1692
1702
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
1693
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1703
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/dynamic-import-chunkname.md
|
|
1694
1704
|
*/
|
|
1695
1705
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
1696
1706
|
/**
|
|
1697
1707
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
1698
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1708
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/export.md
|
|
1699
1709
|
*/
|
|
1700
1710
|
'import/export'?: Linter.RuleEntry<[]>
|
|
1701
1711
|
/**
|
|
1702
1712
|
* Ensure all exports appear after other statements.
|
|
1703
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1713
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/exports-last.md
|
|
1704
1714
|
*/
|
|
1705
1715
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
1706
1716
|
/**
|
|
1707
1717
|
* Ensure consistent use of file extension within the import path.
|
|
1708
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1718
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/extensions.md
|
|
1709
1719
|
*/
|
|
1710
1720
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
1711
1721
|
/**
|
|
1712
1722
|
* Ensure all imports appear before other statements.
|
|
1713
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1723
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/first.md
|
|
1714
1724
|
*/
|
|
1715
1725
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
1716
1726
|
/**
|
|
1717
1727
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
1718
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1728
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/group-exports.md
|
|
1719
1729
|
*/
|
|
1720
1730
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
1721
1731
|
/**
|
|
1722
1732
|
* Replaced by `import-x/first`.
|
|
1723
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1733
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/imports-first.md
|
|
1724
1734
|
* @deprecated
|
|
1725
1735
|
*/
|
|
1726
1736
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
1727
1737
|
/**
|
|
1728
1738
|
* Enforce the maximum number of dependencies a module can have.
|
|
1729
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1739
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/max-dependencies.md
|
|
1730
1740
|
*/
|
|
1731
1741
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
1732
1742
|
/**
|
|
1733
1743
|
* Ensure named imports correspond to a named export in the remote file.
|
|
1734
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1744
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/named.md
|
|
1735
1745
|
*/
|
|
1736
1746
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
1737
1747
|
/**
|
|
1738
1748
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
1739
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1749
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/namespace.md
|
|
1740
1750
|
*/
|
|
1741
1751
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
1742
1752
|
/**
|
|
1743
1753
|
* Enforce a newline after import statements.
|
|
1744
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1754
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/newline-after-import.md
|
|
1745
1755
|
*/
|
|
1746
1756
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
1747
1757
|
/**
|
|
1748
1758
|
* Forbid import of modules using absolute paths.
|
|
1749
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1759
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-absolute-path.md
|
|
1750
1760
|
*/
|
|
1751
1761
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
1752
1762
|
/**
|
|
1753
1763
|
* Forbid AMD `require` and `define` calls.
|
|
1754
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1764
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-amd.md
|
|
1755
1765
|
*/
|
|
1756
1766
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
1757
1767
|
/**
|
|
1758
1768
|
* Forbid anonymous values as default exports.
|
|
1759
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1769
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-anonymous-default-export.md
|
|
1760
1770
|
*/
|
|
1761
1771
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
1762
1772
|
/**
|
|
1763
1773
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
1764
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1774
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-commonjs.md
|
|
1765
1775
|
*/
|
|
1766
1776
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
1767
1777
|
/**
|
|
1768
1778
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
1769
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1779
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-cycle.md
|
|
1770
1780
|
*/
|
|
1771
1781
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
1772
1782
|
/**
|
|
1773
1783
|
* Forbid default exports.
|
|
1774
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1784
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-default-export.md
|
|
1775
1785
|
*/
|
|
1776
1786
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
1777
1787
|
/**
|
|
1778
1788
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
1779
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1789
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-deprecated.md
|
|
1780
1790
|
*/
|
|
1781
1791
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
1782
1792
|
/**
|
|
1783
1793
|
* Forbid repeated import of the same module in multiple places.
|
|
1784
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1794
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-duplicates.md
|
|
1785
1795
|
*/
|
|
1786
1796
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
1787
1797
|
/**
|
|
1788
1798
|
* Forbid `require()` calls with expressions.
|
|
1789
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1799
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-dynamic-require.md
|
|
1790
1800
|
*/
|
|
1791
1801
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
1792
1802
|
/**
|
|
1793
1803
|
* Forbid empty named import blocks.
|
|
1794
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1804
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-empty-named-blocks.md
|
|
1795
1805
|
*/
|
|
1796
1806
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
1797
1807
|
/**
|
|
1798
1808
|
* Forbid the use of extraneous packages.
|
|
1799
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1809
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-extraneous-dependencies.md
|
|
1800
1810
|
*/
|
|
1801
1811
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
1802
1812
|
/**
|
|
1803
1813
|
* Forbid import statements with CommonJS module.exports.
|
|
1804
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1814
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-import-module-exports.md
|
|
1805
1815
|
*/
|
|
1806
1816
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
1807
1817
|
/**
|
|
1808
1818
|
* Forbid importing the submodules of other modules.
|
|
1809
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1819
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-internal-modules.md
|
|
1810
1820
|
*/
|
|
1811
1821
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
1812
1822
|
/**
|
|
1813
1823
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
1814
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1824
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-mutable-exports.md
|
|
1815
1825
|
*/
|
|
1816
1826
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
1817
1827
|
/**
|
|
1818
1828
|
* Forbid use of exported name as identifier of default export.
|
|
1819
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1829
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-named-as-default.md
|
|
1820
1830
|
*/
|
|
1821
1831
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
1822
1832
|
/**
|
|
1823
1833
|
* Forbid use of exported name as property of default export.
|
|
1824
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1834
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-named-as-default-member.md
|
|
1825
1835
|
*/
|
|
1826
1836
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
1827
1837
|
/**
|
|
1828
1838
|
* Forbid named default exports.
|
|
1829
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1839
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-named-default.md
|
|
1830
1840
|
*/
|
|
1831
1841
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
1832
1842
|
/**
|
|
1833
1843
|
* Forbid named exports.
|
|
1834
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1844
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-named-export.md
|
|
1835
1845
|
*/
|
|
1836
1846
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
1837
1847
|
/**
|
|
1838
1848
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
1839
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1849
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-namespace.md
|
|
1840
1850
|
*/
|
|
1841
1851
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
1842
1852
|
/**
|
|
1843
1853
|
* Forbid Node.js builtin modules.
|
|
1844
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1854
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-nodejs-modules.md
|
|
1845
1855
|
*/
|
|
1846
1856
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
1847
1857
|
/**
|
|
1848
1858
|
* Forbid importing packages through relative paths.
|
|
1849
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1859
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-relative-packages.md
|
|
1850
1860
|
*/
|
|
1851
1861
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
1852
1862
|
/**
|
|
1853
1863
|
* Forbid importing modules from parent directories.
|
|
1854
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1864
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-relative-parent-imports.md
|
|
1855
1865
|
*/
|
|
1856
1866
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
1857
1867
|
/**
|
|
1858
1868
|
* Forbid importing a default export by a different name.
|
|
1859
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1869
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-rename-default.md
|
|
1860
1870
|
*/
|
|
1861
1871
|
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
|
|
1862
1872
|
/**
|
|
1863
1873
|
* Enforce which files can be imported in a given folder.
|
|
1864
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1874
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-restricted-paths.md
|
|
1865
1875
|
*/
|
|
1866
1876
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
1867
1877
|
/**
|
|
1868
1878
|
* Forbid a module from importing itself.
|
|
1869
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1879
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-self-import.md
|
|
1870
1880
|
*/
|
|
1871
1881
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
1872
1882
|
/**
|
|
1873
1883
|
* Forbid unassigned imports.
|
|
1874
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1884
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-unassigned-import.md
|
|
1875
1885
|
*/
|
|
1876
1886
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
1877
1887
|
/**
|
|
1878
1888
|
* Ensure imports point to a file/module that can be resolved.
|
|
1879
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1889
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-unresolved.md
|
|
1880
1890
|
*/
|
|
1881
1891
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
1882
1892
|
/**
|
|
1883
1893
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
1884
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1894
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-unused-modules.md
|
|
1885
1895
|
*/
|
|
1886
1896
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
1887
1897
|
/**
|
|
1888
1898
|
* Forbid unnecessary path segments in import and require statements.
|
|
1889
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1899
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-useless-path-segments.md
|
|
1890
1900
|
*/
|
|
1891
1901
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
1892
1902
|
/**
|
|
1893
1903
|
* Forbid webpack loader syntax in imports.
|
|
1894
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1904
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-webpack-loader-syntax.md
|
|
1895
1905
|
*/
|
|
1896
1906
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
1897
1907
|
/**
|
|
1898
1908
|
* Enforce a convention in module import order.
|
|
1899
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1909
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/order.md
|
|
1900
1910
|
*/
|
|
1901
1911
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
1902
1912
|
/**
|
|
1903
1913
|
* Prefer a default export if module exports a single name or multiple names.
|
|
1904
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1914
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/prefer-default-export.md
|
|
1905
1915
|
*/
|
|
1906
1916
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
1907
1917
|
/**
|
|
1908
1918
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
1909
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1919
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/unambiguous.md
|
|
1910
1920
|
*/
|
|
1911
1921
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
1912
1922
|
/**
|
|
@@ -3389,6 +3399,7 @@ interface RuleOptions {
|
|
|
3389
3399
|
/**
|
|
3390
3400
|
* Enforce sorted Astro attributes.
|
|
3391
3401
|
* @see https://perfectionist.dev/rules/sort-astro-attributes
|
|
3402
|
+
* @deprecated
|
|
3392
3403
|
*/
|
|
3393
3404
|
'perfectionist/sort-astro-attributes'?: Linter.RuleEntry<PerfectionistSortAstroAttributes>
|
|
3394
3405
|
/**
|
|
@@ -3459,6 +3470,7 @@ interface RuleOptions {
|
|
|
3459
3470
|
/**
|
|
3460
3471
|
* Enforce sorted Svelte attributes.
|
|
3461
3472
|
* @see https://perfectionist.dev/rules/sort-svelte-attributes
|
|
3473
|
+
* @deprecated
|
|
3462
3474
|
*/
|
|
3463
3475
|
'perfectionist/sort-svelte-attributes'?: Linter.RuleEntry<PerfectionistSortSvelteAttributes>
|
|
3464
3476
|
/**
|
|
@@ -3479,6 +3491,7 @@ interface RuleOptions {
|
|
|
3479
3491
|
/**
|
|
3480
3492
|
* Enforce sorted Vue attributes.
|
|
3481
3493
|
* @see https://perfectionist.dev/rules/sort-vue-attributes
|
|
3494
|
+
* @deprecated
|
|
3482
3495
|
*/
|
|
3483
3496
|
'perfectionist/sort-vue-attributes'?: Linter.RuleEntry<PerfectionistSortVueAttributes>
|
|
3484
3497
|
/**
|
|
@@ -4099,11 +4112,6 @@ interface RuleOptions {
|
|
|
4099
4112
|
* @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/hierarchy-separator.md
|
|
4100
4113
|
*/
|
|
4101
4114
|
'storybook/hierarchy-separator'?: Linter.RuleEntry<[]>
|
|
4102
|
-
/**
|
|
4103
|
-
* Meta should only have inline properties
|
|
4104
|
-
* @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/meta-inline-properties.md
|
|
4105
|
-
*/
|
|
4106
|
-
'storybook/meta-inline-properties'?: Linter.RuleEntry<StorybookMetaInlineProperties>
|
|
4107
4115
|
/**
|
|
4108
4116
|
* A story should not have a redundant name property
|
|
4109
4117
|
* @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/no-redundant-story-name.md
|
|
@@ -4135,7 +4143,7 @@ interface RuleOptions {
|
|
|
4135
4143
|
*/
|
|
4136
4144
|
'storybook/story-exports'?: Linter.RuleEntry<[]>
|
|
4137
4145
|
/**
|
|
4138
|
-
* Use expect from `@storybook/jest`
|
|
4146
|
+
* Use expect from `@storybook/test` or `@storybook/jest`
|
|
4139
4147
|
* @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/use-storybook-expect.md
|
|
4140
4148
|
*/
|
|
4141
4149
|
'storybook/use-storybook-expect'?: Linter.RuleEntry<[]>
|
|
@@ -4478,6 +4486,11 @@ interface RuleOptions {
|
|
|
4478
4486
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect.md
|
|
4479
4487
|
*/
|
|
4480
4488
|
'test/valid-expect'?: Linter.RuleEntry<TestValidExpect>
|
|
4489
|
+
/**
|
|
4490
|
+
* Require promises that have expectations in their chain to be valid
|
|
4491
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect-in-promise.md
|
|
4492
|
+
*/
|
|
4493
|
+
'test/valid-expect-in-promise'?: Linter.RuleEntry<[]>
|
|
4481
4494
|
/**
|
|
4482
4495
|
* enforce valid titles
|
|
4483
4496
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-title.md
|
|
@@ -4490,702 +4503,702 @@ interface RuleOptions {
|
|
|
4490
4503
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
4491
4504
|
/**
|
|
4492
4505
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
4493
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4506
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/better-regex.md
|
|
4494
4507
|
*/
|
|
4495
4508
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
4496
4509
|
/**
|
|
4497
4510
|
* Enforce a specific parameter name in catch clauses.
|
|
4498
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4511
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/catch-error-name.md
|
|
4499
4512
|
*/
|
|
4500
4513
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
4501
4514
|
/**
|
|
4502
4515
|
* Use destructured variables over properties.
|
|
4503
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4516
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-destructuring.md
|
|
4504
4517
|
*/
|
|
4505
4518
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
4506
4519
|
/**
|
|
4507
4520
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
4508
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4521
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-empty-array-spread.md
|
|
4509
4522
|
*/
|
|
4510
4523
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
4511
4524
|
/**
|
|
4512
4525
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
4513
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4526
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-existence-index-check.md
|
|
4514
4527
|
*/
|
|
4515
4528
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
|
|
4516
4529
|
/**
|
|
4517
4530
|
* Move function definitions to the highest possible scope.
|
|
4518
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4531
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-function-scoping.md
|
|
4519
4532
|
*/
|
|
4520
4533
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
4521
4534
|
/**
|
|
4522
4535
|
* Enforce correct `Error` subclassing.
|
|
4523
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4536
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/custom-error-definition.md
|
|
4524
4537
|
*/
|
|
4525
4538
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
4526
4539
|
/**
|
|
4527
4540
|
* Enforce no spaces between braces.
|
|
4528
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4541
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/empty-brace-spaces.md
|
|
4529
4542
|
*/
|
|
4530
4543
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
4531
4544
|
/**
|
|
4532
4545
|
* Enforce passing a `message` value when creating a built-in error.
|
|
4533
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4546
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/error-message.md
|
|
4534
4547
|
*/
|
|
4535
4548
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
4536
4549
|
/**
|
|
4537
4550
|
* Require escape sequences to use uppercase values.
|
|
4538
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4551
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/escape-case.md
|
|
4539
4552
|
*/
|
|
4540
4553
|
'unicorn/escape-case'?: Linter.RuleEntry<[]>
|
|
4541
4554
|
/**
|
|
4542
4555
|
* Add expiration conditions to TODO comments.
|
|
4543
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4556
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/expiring-todo-comments.md
|
|
4544
4557
|
*/
|
|
4545
4558
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
4546
4559
|
/**
|
|
4547
4560
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
4548
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4561
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/explicit-length-check.md
|
|
4549
4562
|
*/
|
|
4550
4563
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
4551
4564
|
/**
|
|
4552
4565
|
* Enforce a case style for filenames.
|
|
4553
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4566
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/filename-case.md
|
|
4554
4567
|
*/
|
|
4555
4568
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
4556
4569
|
/**
|
|
4557
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4570
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#import-index
|
|
4558
4571
|
* @deprecated
|
|
4559
4572
|
*/
|
|
4560
4573
|
'unicorn/import-index'?: Linter.RuleEntry<[]>
|
|
4561
4574
|
/**
|
|
4562
4575
|
* Enforce specific import styles per module.
|
|
4563
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4576
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/import-style.md
|
|
4564
4577
|
*/
|
|
4565
4578
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
4566
4579
|
/**
|
|
4567
4580
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
4568
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4581
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/new-for-builtins.md
|
|
4569
4582
|
*/
|
|
4570
4583
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
4571
4584
|
/**
|
|
4572
4585
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
4573
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4586
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-abusive-eslint-disable.md
|
|
4574
4587
|
*/
|
|
4575
4588
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
4576
4589
|
/**
|
|
4577
4590
|
* Disallow anonymous functions and classes as the default export.
|
|
4578
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4591
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-anonymous-default-export.md
|
|
4579
4592
|
*/
|
|
4580
4593
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
4581
4594
|
/**
|
|
4582
4595
|
* Prevent passing a function reference directly to iterator methods.
|
|
4583
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4596
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-callback-reference.md
|
|
4584
4597
|
*/
|
|
4585
4598
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
4586
4599
|
/**
|
|
4587
4600
|
* Prefer `for…of` over the `forEach` method.
|
|
4588
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4601
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-for-each.md
|
|
4589
4602
|
*/
|
|
4590
4603
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
4591
4604
|
/**
|
|
4592
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4605
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-array-instanceof
|
|
4593
4606
|
* @deprecated
|
|
4594
4607
|
*/
|
|
4595
4608
|
'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
|
|
4596
4609
|
/**
|
|
4597
4610
|
* Disallow using the `this` argument in array methods.
|
|
4598
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4611
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-method-this-argument.md
|
|
4599
4612
|
*/
|
|
4600
4613
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
4601
4614
|
/**
|
|
4602
4615
|
* Enforce combining multiple `Array#push()` into one call.
|
|
4603
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4616
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-push-push.md
|
|
4604
4617
|
*/
|
|
4605
4618
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
|
|
4606
4619
|
/**
|
|
4607
4620
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
4608
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4621
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-reduce.md
|
|
4609
4622
|
*/
|
|
4610
4623
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
4611
4624
|
/**
|
|
4612
4625
|
* Disallow member access from await expression.
|
|
4613
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4626
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-expression-member.md
|
|
4614
4627
|
*/
|
|
4615
4628
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
4616
4629
|
/**
|
|
4617
4630
|
* Disallow using `await` in `Promise` method parameters.
|
|
4618
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4631
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-in-promise-methods.md
|
|
4619
4632
|
*/
|
|
4620
4633
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4621
4634
|
/**
|
|
4622
4635
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
4623
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4636
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-console-spaces.md
|
|
4624
4637
|
*/
|
|
4625
4638
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
4626
4639
|
/**
|
|
4627
4640
|
* Do not use `document.cookie` directly.
|
|
4628
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4641
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-document-cookie.md
|
|
4629
4642
|
*/
|
|
4630
4643
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
4631
4644
|
/**
|
|
4632
4645
|
* Disallow empty files.
|
|
4633
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4646
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-empty-file.md
|
|
4634
4647
|
*/
|
|
4635
4648
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
4636
4649
|
/**
|
|
4637
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4650
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-fn-reference-in-iterator
|
|
4638
4651
|
* @deprecated
|
|
4639
4652
|
*/
|
|
4640
4653
|
'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
|
|
4641
4654
|
/**
|
|
4642
4655
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
4643
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4656
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-for-loop.md
|
|
4644
4657
|
*/
|
|
4645
4658
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
4646
4659
|
/**
|
|
4647
4660
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
4648
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4661
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-hex-escape.md
|
|
4649
4662
|
*/
|
|
4650
4663
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
4651
4664
|
/**
|
|
4652
4665
|
* Require `Array.isArray()` instead of `instanceof Array`.
|
|
4653
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4666
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-instanceof-array.md
|
|
4654
4667
|
*/
|
|
4655
4668
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
4656
4669
|
/**
|
|
4657
4670
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
4658
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4671
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-fetch-options.md
|
|
4659
4672
|
*/
|
|
4660
4673
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
4661
4674
|
/**
|
|
4662
4675
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
4663
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4676
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-remove-event-listener.md
|
|
4664
4677
|
*/
|
|
4665
4678
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
4666
4679
|
/**
|
|
4667
4680
|
* Disallow identifiers starting with `new` or `class`.
|
|
4668
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4681
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-keyword-prefix.md
|
|
4669
4682
|
*/
|
|
4670
4683
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
4671
4684
|
/**
|
|
4672
4685
|
* Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
4673
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4686
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-length-as-slice-end.md
|
|
4674
4687
|
*/
|
|
4675
4688
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
|
|
4676
4689
|
/**
|
|
4677
4690
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
4678
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4691
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-lonely-if.md
|
|
4679
4692
|
*/
|
|
4680
4693
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
4681
4694
|
/**
|
|
4682
4695
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
4683
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4696
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-magic-array-flat-depth.md
|
|
4684
4697
|
*/
|
|
4685
4698
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
4686
4699
|
/**
|
|
4687
4700
|
* Disallow negated conditions.
|
|
4688
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4701
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negated-condition.md
|
|
4689
4702
|
*/
|
|
4690
4703
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
4691
4704
|
/**
|
|
4692
4705
|
* Disallow negated expression in equality check.
|
|
4693
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4706
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negation-in-equality-check.md
|
|
4694
4707
|
*/
|
|
4695
4708
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
|
|
4696
4709
|
/**
|
|
4697
4710
|
* Disallow nested ternary expressions.
|
|
4698
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4711
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-nested-ternary.md
|
|
4699
4712
|
*/
|
|
4700
4713
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
4701
4714
|
/**
|
|
4702
4715
|
* Disallow `new Array()`.
|
|
4703
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4716
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-array.md
|
|
4704
4717
|
*/
|
|
4705
4718
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
4706
4719
|
/**
|
|
4707
4720
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
4708
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4721
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-buffer.md
|
|
4709
4722
|
*/
|
|
4710
4723
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
4711
4724
|
/**
|
|
4712
4725
|
* Disallow the use of the `null` literal.
|
|
4713
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4726
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-null.md
|
|
4714
4727
|
*/
|
|
4715
4728
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
4716
4729
|
/**
|
|
4717
4730
|
* Disallow the use of objects as default parameters.
|
|
4718
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4731
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-object-as-default-parameter.md
|
|
4719
4732
|
*/
|
|
4720
4733
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
4721
4734
|
/**
|
|
4722
4735
|
* Disallow `process.exit()`.
|
|
4723
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4736
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-process-exit.md
|
|
4724
4737
|
*/
|
|
4725
4738
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
4726
4739
|
/**
|
|
4727
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4740
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-reduce
|
|
4728
4741
|
* @deprecated
|
|
4729
4742
|
*/
|
|
4730
4743
|
'unicorn/no-reduce'?: Linter.RuleEntry<[]>
|
|
4731
4744
|
/**
|
|
4732
4745
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
4733
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4746
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-single-promise-in-promise-methods.md
|
|
4734
4747
|
*/
|
|
4735
4748
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4736
4749
|
/**
|
|
4737
4750
|
* Disallow classes that only have static members.
|
|
4738
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4751
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-static-only-class.md
|
|
4739
4752
|
*/
|
|
4740
4753
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
4741
4754
|
/**
|
|
4742
4755
|
* Disallow `then` property.
|
|
4743
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4756
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-thenable.md
|
|
4744
4757
|
*/
|
|
4745
4758
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
4746
4759
|
/**
|
|
4747
4760
|
* Disallow assigning `this` to a variable.
|
|
4748
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4761
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-this-assignment.md
|
|
4749
4762
|
*/
|
|
4750
4763
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
4751
4764
|
/**
|
|
4752
4765
|
* Disallow comparing `undefined` using `typeof`.
|
|
4753
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4766
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-typeof-undefined.md
|
|
4754
4767
|
*/
|
|
4755
4768
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
4756
4769
|
/**
|
|
4757
4770
|
* Disallow awaiting non-promise values.
|
|
4758
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4771
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-await.md
|
|
4759
4772
|
*/
|
|
4760
4773
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
4761
4774
|
/**
|
|
4762
4775
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
4763
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4776
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-polyfills.md
|
|
4764
4777
|
*/
|
|
4765
4778
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
4766
4779
|
/**
|
|
4767
4780
|
* Disallow unreadable array destructuring.
|
|
4768
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4781
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-array-destructuring.md
|
|
4769
4782
|
*/
|
|
4770
4783
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
4771
4784
|
/**
|
|
4772
4785
|
* Disallow unreadable IIFEs.
|
|
4773
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4786
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-iife.md
|
|
4774
4787
|
*/
|
|
4775
4788
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
4776
4789
|
/**
|
|
4777
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4790
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-unsafe-regex
|
|
4778
4791
|
* @deprecated
|
|
4779
4792
|
*/
|
|
4780
4793
|
'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
|
|
4781
4794
|
/**
|
|
4782
4795
|
* Disallow unused object properties.
|
|
4783
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4796
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unused-properties.md
|
|
4784
4797
|
*/
|
|
4785
4798
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
4786
4799
|
/**
|
|
4787
4800
|
* Disallow useless fallback when spreading in object literals.
|
|
4788
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4801
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-fallback-in-spread.md
|
|
4789
4802
|
*/
|
|
4790
4803
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
4791
4804
|
/**
|
|
4792
4805
|
* Disallow useless array length check.
|
|
4793
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4806
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-length-check.md
|
|
4794
4807
|
*/
|
|
4795
4808
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
4796
4809
|
/**
|
|
4797
4810
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
4798
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4811
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-promise-resolve-reject.md
|
|
4799
4812
|
*/
|
|
4800
4813
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
4801
4814
|
/**
|
|
4802
4815
|
* Disallow unnecessary spread.
|
|
4803
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4816
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-spread.md
|
|
4804
4817
|
*/
|
|
4805
4818
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
4806
4819
|
/**
|
|
4807
4820
|
* Disallow useless case in switch statements.
|
|
4808
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4821
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-switch-case.md
|
|
4809
4822
|
*/
|
|
4810
4823
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
4811
4824
|
/**
|
|
4812
4825
|
* Disallow useless `undefined`.
|
|
4813
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4826
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-undefined.md
|
|
4814
4827
|
*/
|
|
4815
4828
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
4816
4829
|
/**
|
|
4817
4830
|
* Disallow number literals with zero fractions or dangling dots.
|
|
4818
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4831
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-zero-fractions.md
|
|
4819
4832
|
*/
|
|
4820
4833
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
4821
4834
|
/**
|
|
4822
4835
|
* Enforce proper case for numeric literals.
|
|
4823
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4836
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/number-literal-case.md
|
|
4824
4837
|
*/
|
|
4825
4838
|
'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
|
|
4826
4839
|
/**
|
|
4827
4840
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
4828
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4841
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/numeric-separators-style.md
|
|
4829
4842
|
*/
|
|
4830
4843
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
4831
4844
|
/**
|
|
4832
4845
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
4833
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4846
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-add-event-listener.md
|
|
4834
4847
|
*/
|
|
4835
4848
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
4836
4849
|
/**
|
|
4837
4850
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
4838
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4851
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-find.md
|
|
4839
4852
|
*/
|
|
4840
4853
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
4841
4854
|
/**
|
|
4842
4855
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
4843
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4856
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat.md
|
|
4844
4857
|
*/
|
|
4845
4858
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
4846
4859
|
/**
|
|
4847
4860
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
4848
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4861
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat-map.md
|
|
4849
4862
|
*/
|
|
4850
4863
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
4851
4864
|
/**
|
|
4852
4865
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
4853
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4866
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-index-of.md
|
|
4854
4867
|
*/
|
|
4855
4868
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
4856
4869
|
/**
|
|
4857
4870
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
4858
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4871
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-some.md
|
|
4859
4872
|
*/
|
|
4860
4873
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
4861
4874
|
/**
|
|
4862
4875
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
4863
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4876
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-at.md
|
|
4864
4877
|
*/
|
|
4865
4878
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
4866
4879
|
/**
|
|
4867
4880
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
4868
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4881
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-blob-reading-methods.md
|
|
4869
4882
|
*/
|
|
4870
4883
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
4871
4884
|
/**
|
|
4872
4885
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
4873
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4886
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-code-point.md
|
|
4874
4887
|
*/
|
|
4875
4888
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
4876
4889
|
/**
|
|
4877
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4890
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-dataset
|
|
4878
4891
|
* @deprecated
|
|
4879
4892
|
*/
|
|
4880
4893
|
'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
|
|
4881
4894
|
/**
|
|
4882
4895
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
4883
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4896
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-date-now.md
|
|
4884
4897
|
*/
|
|
4885
4898
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
4886
4899
|
/**
|
|
4887
4900
|
* Prefer default parameters over reassignment.
|
|
4888
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4901
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-default-parameters.md
|
|
4889
4902
|
*/
|
|
4890
4903
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
4891
4904
|
/**
|
|
4892
4905
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
4893
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4906
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-append.md
|
|
4894
4907
|
*/
|
|
4895
4908
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
4896
4909
|
/**
|
|
4897
4910
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
4898
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4911
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-dataset.md
|
|
4899
4912
|
*/
|
|
4900
4913
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
4901
4914
|
/**
|
|
4902
4915
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
4903
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4916
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-remove.md
|
|
4904
4917
|
*/
|
|
4905
4918
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
4906
4919
|
/**
|
|
4907
4920
|
* Prefer `.textContent` over `.innerText`.
|
|
4908
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4921
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-text-content.md
|
|
4909
4922
|
*/
|
|
4910
4923
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
4911
4924
|
/**
|
|
4912
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4925
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-event-key
|
|
4913
4926
|
* @deprecated
|
|
4914
4927
|
*/
|
|
4915
4928
|
'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
|
|
4916
4929
|
/**
|
|
4917
4930
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
4918
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4931
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-event-target.md
|
|
4919
4932
|
*/
|
|
4920
4933
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
4921
4934
|
/**
|
|
4922
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4935
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-exponentiation-operator
|
|
4923
4936
|
* @deprecated
|
|
4924
4937
|
*/
|
|
4925
4938
|
'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
|
|
4926
4939
|
/**
|
|
4927
4940
|
* Prefer `export…from` when re-exporting.
|
|
4928
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4941
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-export-from.md
|
|
4929
4942
|
*/
|
|
4930
4943
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
4931
4944
|
/**
|
|
4932
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4945
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-flat-map
|
|
4933
4946
|
* @deprecated
|
|
4934
4947
|
*/
|
|
4935
4948
|
'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
|
|
4936
4949
|
/**
|
|
4937
4950
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
4938
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4951
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-global-this.md
|
|
4939
4952
|
*/
|
|
4940
4953
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
|
|
4941
4954
|
/**
|
|
4942
4955
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
4943
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4956
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-includes.md
|
|
4944
4957
|
*/
|
|
4945
4958
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
4946
4959
|
/**
|
|
4947
4960
|
* Prefer reading a JSON file as a buffer.
|
|
4948
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4961
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-json-parse-buffer.md
|
|
4949
4962
|
*/
|
|
4950
4963
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
4951
4964
|
/**
|
|
4952
4965
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
4953
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4966
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-keyboard-event-key.md
|
|
4954
4967
|
*/
|
|
4955
4968
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
4956
4969
|
/**
|
|
4957
4970
|
* Prefer using a logical operator over a ternary.
|
|
4958
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4971
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-logical-operator-over-ternary.md
|
|
4959
4972
|
*/
|
|
4960
4973
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
4961
4974
|
/**
|
|
4962
4975
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
4963
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4976
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-min-max.md
|
|
4964
4977
|
*/
|
|
4965
4978
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
|
|
4966
4979
|
/**
|
|
4967
4980
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
4968
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4981
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-trunc.md
|
|
4969
4982
|
*/
|
|
4970
4983
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
4971
4984
|
/**
|
|
4972
4985
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
4973
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4986
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-dom-apis.md
|
|
4974
4987
|
*/
|
|
4975
4988
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
4976
4989
|
/**
|
|
4977
4990
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
4978
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4991
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-math-apis.md
|
|
4979
4992
|
*/
|
|
4980
4993
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
4981
4994
|
/**
|
|
4982
4995
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
4983
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
4996
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-module.md
|
|
4984
4997
|
*/
|
|
4985
4998
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
4986
4999
|
/**
|
|
4987
5000
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
4988
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5001
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-native-coercion-functions.md
|
|
4989
5002
|
*/
|
|
4990
5003
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
4991
5004
|
/**
|
|
4992
5005
|
* Prefer negative index over `.length - index` when possible.
|
|
4993
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5006
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-negative-index.md
|
|
4994
5007
|
*/
|
|
4995
5008
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
4996
5009
|
/**
|
|
4997
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5010
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-append
|
|
4998
5011
|
* @deprecated
|
|
4999
5012
|
*/
|
|
5000
5013
|
'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
|
|
5001
5014
|
/**
|
|
5002
5015
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
5003
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5016
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-node-protocol.md
|
|
5004
5017
|
*/
|
|
5005
5018
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
5006
5019
|
/**
|
|
5007
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5020
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-remove
|
|
5008
5021
|
* @deprecated
|
|
5009
5022
|
*/
|
|
5010
5023
|
'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
|
|
5011
5024
|
/**
|
|
5012
5025
|
* Prefer `Number` static properties over global ones.
|
|
5013
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5026
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-number-properties.md
|
|
5014
5027
|
*/
|
|
5015
5028
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
5016
5029
|
/**
|
|
5017
5030
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
5018
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5031
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-object-from-entries.md
|
|
5019
5032
|
*/
|
|
5020
5033
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
5021
5034
|
/**
|
|
5022
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5035
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-object-has-own
|
|
5023
5036
|
* @deprecated
|
|
5024
5037
|
*/
|
|
5025
5038
|
'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
|
|
5026
5039
|
/**
|
|
5027
5040
|
* Prefer omitting the `catch` binding parameter.
|
|
5028
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5041
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-optional-catch-binding.md
|
|
5029
5042
|
*/
|
|
5030
5043
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
5031
5044
|
/**
|
|
5032
5045
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
5033
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5046
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-prototype-methods.md
|
|
5034
5047
|
*/
|
|
5035
5048
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
5036
5049
|
/**
|
|
5037
5050
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
5038
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5051
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-query-selector.md
|
|
5039
5052
|
*/
|
|
5040
5053
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
5041
5054
|
/**
|
|
5042
5055
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
5043
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5056
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-reflect-apply.md
|
|
5044
5057
|
*/
|
|
5045
5058
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
5046
5059
|
/**
|
|
5047
5060
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
5048
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5061
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-regexp-test.md
|
|
5049
5062
|
*/
|
|
5050
5063
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
5051
5064
|
/**
|
|
5052
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5065
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-replace-all
|
|
5053
5066
|
* @deprecated
|
|
5054
5067
|
*/
|
|
5055
5068
|
'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
|
|
5056
5069
|
/**
|
|
5057
5070
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
5058
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5071
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-has.md
|
|
5059
5072
|
*/
|
|
5060
5073
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
5061
5074
|
/**
|
|
5062
5075
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
5063
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5076
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-size.md
|
|
5064
5077
|
*/
|
|
5065
5078
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
5066
5079
|
/**
|
|
5067
5080
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
5068
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5081
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-spread.md
|
|
5069
5082
|
*/
|
|
5070
5083
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
5071
5084
|
/**
|
|
5072
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5085
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-starts-ends-with
|
|
5073
5086
|
* @deprecated
|
|
5074
5087
|
*/
|
|
5075
5088
|
'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5076
5089
|
/**
|
|
5077
5090
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
5078
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5091
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-raw.md
|
|
5079
5092
|
*/
|
|
5080
5093
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
5081
5094
|
/**
|
|
5082
5095
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
5083
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5096
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-replace-all.md
|
|
5084
5097
|
*/
|
|
5085
5098
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
5086
5099
|
/**
|
|
5087
5100
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
5088
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5101
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-slice.md
|
|
5089
5102
|
*/
|
|
5090
5103
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
5091
5104
|
/**
|
|
5092
5105
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
5093
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5106
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-starts-ends-with.md
|
|
5094
5107
|
*/
|
|
5095
5108
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5096
5109
|
/**
|
|
5097
5110
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
5098
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5111
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-trim-start-end.md
|
|
5099
5112
|
*/
|
|
5100
5113
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5101
5114
|
/**
|
|
5102
5115
|
* Prefer using `structuredClone` to create a deep clone.
|
|
5103
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5116
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-structured-clone.md
|
|
5104
5117
|
*/
|
|
5105
5118
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
5106
5119
|
/**
|
|
5107
5120
|
* Prefer `switch` over multiple `else-if`.
|
|
5108
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5121
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-switch.md
|
|
5109
5122
|
*/
|
|
5110
5123
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
5111
5124
|
/**
|
|
5112
5125
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
5113
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5126
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-ternary.md
|
|
5114
5127
|
*/
|
|
5115
5128
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
5116
5129
|
/**
|
|
5117
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5130
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-text-content
|
|
5118
5131
|
* @deprecated
|
|
5119
5132
|
*/
|
|
5120
5133
|
'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
|
|
5121
5134
|
/**
|
|
5122
5135
|
* Prefer top-level await over top-level promises and async function calls.
|
|
5123
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5136
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-top-level-await.md
|
|
5124
5137
|
*/
|
|
5125
5138
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
5126
5139
|
/**
|
|
5127
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5140
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-trim-start-end
|
|
5128
5141
|
* @deprecated
|
|
5129
5142
|
*/
|
|
5130
5143
|
'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5131
5144
|
/**
|
|
5132
5145
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
5133
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5146
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-type-error.md
|
|
5134
5147
|
*/
|
|
5135
5148
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
5136
5149
|
/**
|
|
5137
5150
|
* Prevent abbreviations.
|
|
5138
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5151
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prevent-abbreviations.md
|
|
5139
5152
|
*/
|
|
5140
5153
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
5141
5154
|
/**
|
|
5142
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5155
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#regex-shorthand
|
|
5143
5156
|
* @deprecated
|
|
5144
5157
|
*/
|
|
5145
5158
|
'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
|
|
5146
5159
|
/**
|
|
5147
5160
|
* Enforce consistent relative URL style.
|
|
5148
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5161
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/relative-url-style.md
|
|
5149
5162
|
*/
|
|
5150
5163
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
5151
5164
|
/**
|
|
5152
5165
|
* Enforce using the separator argument with `Array#join()`.
|
|
5153
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5166
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-array-join-separator.md
|
|
5154
5167
|
*/
|
|
5155
5168
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
5156
5169
|
/**
|
|
5157
5170
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
5158
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5171
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-number-to-fixed-digits-argument.md
|
|
5159
5172
|
*/
|
|
5160
5173
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
5161
5174
|
/**
|
|
5162
5175
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
5163
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5176
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-post-message-target-origin.md
|
|
5164
5177
|
*/
|
|
5165
5178
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
5166
5179
|
/**
|
|
5167
5180
|
* Enforce better string content.
|
|
5168
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5181
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/string-content.md
|
|
5169
5182
|
*/
|
|
5170
5183
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
5171
5184
|
/**
|
|
5172
5185
|
* Enforce consistent brace style for `case` clauses.
|
|
5173
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5186
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/switch-case-braces.md
|
|
5174
5187
|
*/
|
|
5175
5188
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
5176
5189
|
/**
|
|
5177
5190
|
* Fix whitespace-insensitive template indentation.
|
|
5178
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5191
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/template-indent.md
|
|
5179
5192
|
*/
|
|
5180
5193
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
5181
5194
|
/**
|
|
5182
5195
|
* Enforce consistent case for text encoding identifiers.
|
|
5183
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5196
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/text-encoding-identifier-case.md
|
|
5184
5197
|
*/
|
|
5185
5198
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
5186
5199
|
/**
|
|
5187
5200
|
* Require `new` when creating an error.
|
|
5188
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5201
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/throw-new-error.md
|
|
5189
5202
|
*/
|
|
5190
5203
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
5191
5204
|
/**
|
|
@@ -6107,6 +6120,11 @@ interface RuleOptions {
|
|
|
6107
6120
|
* @see https://eslint.vuejs.org/rules/prefer-true-attribute-shorthand.html
|
|
6108
6121
|
*/
|
|
6109
6122
|
'vue/prefer-true-attribute-shorthand'?: Linter.RuleEntry<VuePreferTrueAttributeShorthand>
|
|
6123
|
+
/**
|
|
6124
|
+
* require using `useTemplateRef` instead of `ref` for template refs
|
|
6125
|
+
* @see https://eslint.vuejs.org/rules/prefer-use-template-ref.html
|
|
6126
|
+
*/
|
|
6127
|
+
'vue/prefer-use-template-ref'?: Linter.RuleEntry<[]>
|
|
6110
6128
|
/**
|
|
6111
6129
|
* enforce specific casing for the Prop name in Vue components
|
|
6112
6130
|
* @see https://eslint.vuejs.org/rules/prop-name-casing.html
|
|
@@ -6702,6 +6720,8 @@ type StylisticCommaDangle = []|[(_StylisticCommaDangleValue | {
|
|
|
6702
6720
|
imports?: _StylisticCommaDangleValueWithIgnore
|
|
6703
6721
|
exports?: _StylisticCommaDangleValueWithIgnore
|
|
6704
6722
|
functions?: _StylisticCommaDangleValueWithIgnore
|
|
6723
|
+
importAttributes?: _StylisticCommaDangleValueWithIgnore
|
|
6724
|
+
dynamicImports?: _StylisticCommaDangleValueWithIgnore
|
|
6705
6725
|
enums?: _StylisticCommaDangleValueWithIgnore
|
|
6706
6726
|
generics?: _StylisticCommaDangleValueWithIgnore
|
|
6707
6727
|
tuples?: _StylisticCommaDangleValueWithIgnore
|
|
@@ -6851,12 +6871,20 @@ type StylisticEolLast = []|[("always" | "never" | "unix" | "windows")]
|
|
|
6851
6871
|
// ----- @stylistic/func-call-spacing -----
|
|
6852
6872
|
type StylisticFuncCallSpacing = ([]|["never"] | []|["always"]|["always", {
|
|
6853
6873
|
allowNewlines?: boolean
|
|
6874
|
+
optionalChain?: {
|
|
6875
|
+
before?: boolean
|
|
6876
|
+
after?: boolean
|
|
6877
|
+
}
|
|
6854
6878
|
}])
|
|
6855
6879
|
// ----- @stylistic/function-call-argument-newline -----
|
|
6856
6880
|
type StylisticFunctionCallArgumentNewline = []|[("always" | "never" | "consistent")]
|
|
6857
6881
|
// ----- @stylistic/function-call-spacing -----
|
|
6858
6882
|
type StylisticFunctionCallSpacing = ([]|["never"] | []|["always"]|["always", {
|
|
6859
6883
|
allowNewlines?: boolean
|
|
6884
|
+
optionalChain?: {
|
|
6885
|
+
before?: boolean
|
|
6886
|
+
after?: boolean
|
|
6887
|
+
}
|
|
6860
6888
|
}])
|
|
6861
6889
|
// ----- @stylistic/function-paren-newline -----
|
|
6862
6890
|
type StylisticFunctionParenNewline = []|[(("always" | "never" | "consistent" | "multiline" | "multiline-arguments") | {
|
|
@@ -7508,6 +7536,7 @@ type StylisticMaxLen = []|[({
|
|
|
7508
7536
|
// ----- @stylistic/max-statements-per-line -----
|
|
7509
7537
|
type StylisticMaxStatementsPerLine = []|[{
|
|
7510
7538
|
max?: number
|
|
7539
|
+
ignoredNodes?: ("BreakStatement" | "ClassDeclaration" | "ContinueStatement" | "DebuggerStatement" | "DoWhileStatement" | "ExpressionStatement" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "IfStatement" | "ImportDeclaration" | "LabeledStatement" | "ReturnStatement" | "SwitchStatement" | "ThrowStatement" | "TryStatement" | "VariableDeclaration" | "WhileStatement" | "WithStatement" | "ExportNamedDeclaration" | "ExportDefaultDeclaration" | "ExportAllDeclaration")[]
|
|
7511
7540
|
}]
|
|
7512
7541
|
// ----- @stylistic/member-delimiter-style -----
|
|
7513
7542
|
type StylisticMemberDelimiterStyle = []|[{
|
|
@@ -7677,7 +7706,7 @@ type StylisticPaddedBlocks = []|[(("always" | "never") | {
|
|
|
7677
7706
|
}]
|
|
7678
7707
|
// ----- @stylistic/padding-line-between-statements -----
|
|
7679
7708
|
type _StylisticPaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
|
|
7680
|
-
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"))[]])
|
|
7709
|
+
type _StylisticPaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "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-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "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-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "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"))[]])
|
|
7681
7710
|
type StylisticPaddingLineBetweenStatements = {
|
|
7682
7711
|
blankLine: _StylisticPaddingLineBetweenStatementsPaddingType
|
|
7683
7712
|
prev: _StylisticPaddingLineBetweenStatementsStatementType
|
|
@@ -7893,9 +7922,11 @@ type TypescriptEslintExplicitFunctionReturnType = []|[{
|
|
|
7893
7922
|
}]
|
|
7894
7923
|
// ----- @typescript-eslint/explicit-member-accessibility -----
|
|
7895
7924
|
type TypescriptEslintExplicitMemberAccessibility = []|[{
|
|
7925
|
+
|
|
7896
7926
|
accessibility?: ("explicit" | "no-public" | "off")
|
|
7897
7927
|
|
|
7898
7928
|
ignoredMethodNames?: string[]
|
|
7929
|
+
|
|
7899
7930
|
overrides?: {
|
|
7900
7931
|
accessors?: ("explicit" | "no-public" | "off")
|
|
7901
7932
|
constructors?: ("explicit" | "no-public" | "off")
|
|
@@ -8290,6 +8321,8 @@ type TypescriptEslintNoConfusingVoidExpression = []|[{
|
|
|
8290
8321
|
ignoreArrowShorthand?: boolean
|
|
8291
8322
|
|
|
8292
8323
|
ignoreVoidOperator?: boolean
|
|
8324
|
+
|
|
8325
|
+
ignoreVoidReturningFunctions?: boolean
|
|
8293
8326
|
}]
|
|
8294
8327
|
// ----- @typescript-eslint/no-duplicate-type-constituents -----
|
|
8295
8328
|
type TypescriptEslintNoDuplicateTypeConstituents = []|[{
|
|
@@ -8412,9 +8445,11 @@ type TypescriptEslintNoMeaninglessVoidOperator = []|[{
|
|
|
8412
8445
|
}]
|
|
8413
8446
|
// ----- @typescript-eslint/no-misused-promises -----
|
|
8414
8447
|
type TypescriptEslintNoMisusedPromises = []|[{
|
|
8448
|
+
|
|
8415
8449
|
checksConditionals?: boolean
|
|
8416
8450
|
|
|
8417
8451
|
checksSpreads?: boolean
|
|
8452
|
+
|
|
8418
8453
|
checksVoidReturn?: (boolean | {
|
|
8419
8454
|
|
|
8420
8455
|
arguments?: boolean
|
|
@@ -8486,6 +8521,7 @@ type TypescriptEslintNoRestrictedImports = ((string | {
|
|
|
8486
8521
|
}])
|
|
8487
8522
|
// ----- @typescript-eslint/no-restricted-types -----
|
|
8488
8523
|
type TypescriptEslintNoRestrictedTypes = []|[{
|
|
8524
|
+
|
|
8489
8525
|
types?: {
|
|
8490
8526
|
[k: string]: (true | string | {
|
|
8491
8527
|
|
|
@@ -8591,6 +8627,7 @@ type TypescriptEslintNoUnusedVars = []|[(("all" | "local") | {
|
|
|
8591
8627
|
})]
|
|
8592
8628
|
// ----- @typescript-eslint/no-use-before-define -----
|
|
8593
8629
|
type TypescriptEslintNoUseBeforeDefine = []|[("nofunc" | {
|
|
8630
|
+
|
|
8594
8631
|
allowNamedExports?: boolean
|
|
8595
8632
|
|
|
8596
8633
|
classes?: boolean
|
|
@@ -8613,6 +8650,19 @@ type TypescriptEslintNoVarRequires = []|[{
|
|
|
8613
8650
|
// ----- @typescript-eslint/only-throw-error -----
|
|
8614
8651
|
type TypescriptEslintOnlyThrowError = []|[{
|
|
8615
8652
|
|
|
8653
|
+
allow?: (string | {
|
|
8654
|
+
from: "file"
|
|
8655
|
+
name: (string | [string, ...(string)[]])
|
|
8656
|
+
path?: string
|
|
8657
|
+
} | {
|
|
8658
|
+
from: "lib"
|
|
8659
|
+
name: (string | [string, ...(string)[]])
|
|
8660
|
+
} | {
|
|
8661
|
+
from: "package"
|
|
8662
|
+
name: (string | [string, ...(string)[]])
|
|
8663
|
+
package: string
|
|
8664
|
+
})[]
|
|
8665
|
+
|
|
8616
8666
|
allowThrowingAny?: boolean
|
|
8617
8667
|
|
|
8618
8668
|
allowThrowingUnknown?: boolean
|
|
@@ -8650,7 +8700,9 @@ type TypescriptEslintPreferDestructuring = []|[({
|
|
|
8650
8700
|
array?: boolean
|
|
8651
8701
|
object?: boolean
|
|
8652
8702
|
}), {
|
|
8703
|
+
|
|
8653
8704
|
enforceForDeclarationWithTypeAnnotation?: boolean
|
|
8705
|
+
|
|
8654
8706
|
enforceForRenamedProperties?: boolean
|
|
8655
8707
|
[k: string]: unknown | undefined
|
|
8656
8708
|
}]
|
|
@@ -8664,14 +8716,20 @@ type TypescriptEslintPreferNullishCoalescing = []|[{
|
|
|
8664
8716
|
|
|
8665
8717
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
8666
8718
|
|
|
8719
|
+
ignoreBooleanCoercion?: boolean
|
|
8720
|
+
|
|
8667
8721
|
ignoreConditionalTests?: boolean
|
|
8668
8722
|
|
|
8669
8723
|
ignoreMixedLogicalExpressions?: boolean
|
|
8670
8724
|
|
|
8671
8725
|
ignorePrimitives?: ({
|
|
8726
|
+
|
|
8672
8727
|
bigint?: boolean
|
|
8728
|
+
|
|
8673
8729
|
boolean?: boolean
|
|
8730
|
+
|
|
8674
8731
|
number?: boolean
|
|
8732
|
+
|
|
8675
8733
|
string?: boolean
|
|
8676
8734
|
[k: string]: unknown | undefined
|
|
8677
8735
|
} | true)
|
|
@@ -8828,6 +8886,7 @@ type TypescriptEslintStrictBooleanExpressions = []|[{
|
|
|
8828
8886
|
allowNullableString?: boolean
|
|
8829
8887
|
|
|
8830
8888
|
allowNumber?: boolean
|
|
8889
|
+
|
|
8831
8890
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
8832
8891
|
|
|
8833
8892
|
allowString?: boolean
|
|
@@ -8837,6 +8896,8 @@ type TypescriptEslintSwitchExhaustivenessCheck = []|[{
|
|
|
8837
8896
|
|
|
8838
8897
|
allowDefaultCaseForExhaustiveSwitch?: boolean
|
|
8839
8898
|
|
|
8899
|
+
considerDefaultExhaustiveForUnions?: boolean
|
|
8900
|
+
|
|
8840
8901
|
requireDefaultForNonUnion?: boolean
|
|
8841
8902
|
}]
|
|
8842
8903
|
// ----- @typescript-eslint/triple-slash-reference -----
|
|
@@ -9175,17 +9236,19 @@ type ImportExtensions = ([]|[("always" | "ignorePackages" | "never")] | []|[("al
|
|
|
9175
9236
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
9176
9237
|
}
|
|
9177
9238
|
ignorePackages?: boolean
|
|
9239
|
+
checkTypeImports?: boolean
|
|
9178
9240
|
[k: string]: unknown | undefined
|
|
9179
9241
|
}] | []|[{
|
|
9180
9242
|
pattern?: {
|
|
9181
9243
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
9182
9244
|
}
|
|
9183
9245
|
ignorePackages?: boolean
|
|
9246
|
+
checkTypeImports?: boolean
|
|
9184
9247
|
[k: string]: unknown | undefined
|
|
9185
|
-
}] | []|[{
|
|
9186
|
-
[k: string]: ("always" | "ignorePackages" | "never")
|
|
9187
9248
|
}] | []|[("always" | "ignorePackages" | "never")]|[("always" | "ignorePackages" | "never"), {
|
|
9188
9249
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
9250
|
+
}] | []|[{
|
|
9251
|
+
[k: string]: ("always" | "ignorePackages" | "never")
|
|
9189
9252
|
}])
|
|
9190
9253
|
// ----- import/first -----
|
|
9191
9254
|
type ImportFirst = []|[("absolute-first" | "disable-absolute-first")]
|
|
@@ -10823,7 +10886,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
10823
10886
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
10824
10887
|
version?: string
|
|
10825
10888
|
allowExperimental?: boolean
|
|
10826
|
-
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CustomEvent" | "Event" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.Network.loadingFinished" | "inspector.Network.loadingFailed" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.suite" | "test.suite.skip" | "test.suite.todo" | "test.suite.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.MockFunctionContext" | "test.MockModuleContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.suite" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.snapshot" | "test.test.MockFunctionContext" | "test.test.MockModuleContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib")[]
|
|
10889
|
+
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.after" | "test.afterEach" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib")[]
|
|
10827
10890
|
}]
|
|
10828
10891
|
// ----- node/prefer-global/buffer -----
|
|
10829
10892
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -10974,6 +11037,8 @@ type PerfectionistSortArrayIncludes = []|[{
|
|
|
10974
11037
|
|
|
10975
11038
|
ignoreCase?: boolean
|
|
10976
11039
|
|
|
11040
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11041
|
+
|
|
10977
11042
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
10978
11043
|
|
|
10979
11044
|
partitionByComment?: (string[] | boolean | string)
|
|
@@ -10991,6 +11056,8 @@ type PerfectionistSortAstroAttributes = []|[{
|
|
|
10991
11056
|
|
|
10992
11057
|
ignoreCase?: boolean
|
|
10993
11058
|
|
|
11059
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11060
|
+
|
|
10994
11061
|
groups?: (string | string[])[]
|
|
10995
11062
|
|
|
10996
11063
|
customGroups?: {
|
|
@@ -11008,6 +11075,8 @@ type PerfectionistSortClasses = []|[{
|
|
|
11008
11075
|
|
|
11009
11076
|
ignoreCase?: boolean
|
|
11010
11077
|
|
|
11078
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11079
|
+
|
|
11011
11080
|
partitionByComment?: (string[] | boolean | string)
|
|
11012
11081
|
|
|
11013
11082
|
groups?: (string | string[])[]
|
|
@@ -11029,6 +11098,8 @@ type PerfectionistSortClasses = []|[{
|
|
|
11029
11098
|
|
|
11030
11099
|
elementNamePattern?: string
|
|
11031
11100
|
|
|
11101
|
+
elementValuePattern?: string
|
|
11102
|
+
|
|
11032
11103
|
decoratorNamePattern?: string
|
|
11033
11104
|
}[]
|
|
11034
11105
|
} | {
|
|
@@ -11045,6 +11116,8 @@ type PerfectionistSortClasses = []|[{
|
|
|
11045
11116
|
|
|
11046
11117
|
elementNamePattern?: string
|
|
11047
11118
|
|
|
11119
|
+
elementValuePattern?: string
|
|
11120
|
+
|
|
11048
11121
|
decoratorNamePattern?: string
|
|
11049
11122
|
})[])
|
|
11050
11123
|
}]
|
|
@@ -11059,6 +11132,8 @@ type PerfectionistSortEnums = []|[{
|
|
|
11059
11132
|
|
|
11060
11133
|
ignoreCase?: boolean
|
|
11061
11134
|
|
|
11135
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11136
|
+
|
|
11062
11137
|
sortByValue?: boolean
|
|
11063
11138
|
|
|
11064
11139
|
forceNumericSort?: boolean
|
|
@@ -11078,6 +11153,8 @@ type PerfectionistSortExports = []|[{
|
|
|
11078
11153
|
|
|
11079
11154
|
ignoreCase?: boolean
|
|
11080
11155
|
|
|
11156
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11157
|
+
|
|
11081
11158
|
partitionByComment?: (string[] | boolean | string)
|
|
11082
11159
|
|
|
11083
11160
|
partitionByNewLine?: boolean
|
|
@@ -11096,6 +11173,8 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
11096
11173
|
|
|
11097
11174
|
ignoreCase?: boolean
|
|
11098
11175
|
|
|
11176
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11177
|
+
|
|
11099
11178
|
internalPattern?: string[]
|
|
11100
11179
|
|
|
11101
11180
|
sortSideEffects?: boolean
|
|
@@ -11135,6 +11214,8 @@ type PerfectionistSortInterfaces = []|[{
|
|
|
11135
11214
|
|
|
11136
11215
|
ignoreCase?: boolean
|
|
11137
11216
|
|
|
11217
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11218
|
+
|
|
11138
11219
|
ignorePattern?: string[]
|
|
11139
11220
|
|
|
11140
11221
|
partitionByComment?: (boolean | string | string[])
|
|
@@ -11160,6 +11241,8 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
11160
11241
|
|
|
11161
11242
|
ignoreCase?: boolean
|
|
11162
11243
|
|
|
11244
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11245
|
+
|
|
11163
11246
|
groups?: (string | string[])[]
|
|
11164
11247
|
|
|
11165
11248
|
partitionByComment?: (string[] | boolean | string)
|
|
@@ -11177,6 +11260,8 @@ type PerfectionistSortJsxProps = []|[{
|
|
|
11177
11260
|
|
|
11178
11261
|
ignoreCase?: boolean
|
|
11179
11262
|
|
|
11263
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11264
|
+
|
|
11180
11265
|
ignorePattern?: string[]
|
|
11181
11266
|
|
|
11182
11267
|
groups?: (string | string[])[]
|
|
@@ -11196,6 +11281,8 @@ type PerfectionistSortMaps = []|[{
|
|
|
11196
11281
|
|
|
11197
11282
|
ignoreCase?: boolean
|
|
11198
11283
|
|
|
11284
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11285
|
+
|
|
11199
11286
|
partitionByComment?: (string[] | boolean | string)
|
|
11200
11287
|
|
|
11201
11288
|
partitionByNewLine?: boolean
|
|
@@ -11211,6 +11298,8 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
11211
11298
|
|
|
11212
11299
|
ignoreCase?: boolean
|
|
11213
11300
|
|
|
11301
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11302
|
+
|
|
11214
11303
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
11215
11304
|
|
|
11216
11305
|
partitionByComment?: (string[] | boolean | string)
|
|
@@ -11228,6 +11317,8 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
11228
11317
|
|
|
11229
11318
|
ignoreCase?: boolean
|
|
11230
11319
|
|
|
11320
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11321
|
+
|
|
11231
11322
|
ignoreAlias?: boolean
|
|
11232
11323
|
|
|
11233
11324
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
@@ -11247,6 +11338,8 @@ type PerfectionistSortObjectTypes = []|[{
|
|
|
11247
11338
|
|
|
11248
11339
|
ignoreCase?: boolean
|
|
11249
11340
|
|
|
11341
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11342
|
+
|
|
11250
11343
|
partitionByComment?: (string[] | boolean | string)
|
|
11251
11344
|
|
|
11252
11345
|
partitionByNewLine?: boolean
|
|
@@ -11270,6 +11363,8 @@ type PerfectionistSortObjects = []|[{
|
|
|
11270
11363
|
|
|
11271
11364
|
ignoreCase?: boolean
|
|
11272
11365
|
|
|
11366
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11367
|
+
|
|
11273
11368
|
partitionByComment?: (string[] | boolean | string)
|
|
11274
11369
|
|
|
11275
11370
|
partitionByNewLine?: boolean
|
|
@@ -11297,6 +11392,8 @@ type PerfectionistSortSets = []|[{
|
|
|
11297
11392
|
|
|
11298
11393
|
ignoreCase?: boolean
|
|
11299
11394
|
|
|
11395
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11396
|
+
|
|
11300
11397
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
11301
11398
|
|
|
11302
11399
|
partitionByComment?: (string[] | boolean | string)
|
|
@@ -11314,6 +11411,8 @@ type PerfectionistSortSvelteAttributes = []|[{
|
|
|
11314
11411
|
|
|
11315
11412
|
ignoreCase?: boolean
|
|
11316
11413
|
|
|
11414
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11415
|
+
|
|
11317
11416
|
groups?: (string | string[])[]
|
|
11318
11417
|
|
|
11319
11418
|
customGroups?: {
|
|
@@ -11328,6 +11427,8 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
11328
11427
|
order?: ("asc" | "desc")
|
|
11329
11428
|
|
|
11330
11429
|
ignoreCase?: boolean
|
|
11430
|
+
|
|
11431
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11331
11432
|
}]
|
|
11332
11433
|
// ----- perfectionist/sort-union-types -----
|
|
11333
11434
|
type PerfectionistSortUnionTypes = []|[{
|
|
@@ -11340,6 +11441,8 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
11340
11441
|
|
|
11341
11442
|
ignoreCase?: boolean
|
|
11342
11443
|
|
|
11444
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11445
|
+
|
|
11343
11446
|
groups?: (string | string[])[]
|
|
11344
11447
|
|
|
11345
11448
|
partitionByComment?: (string[] | boolean | string)
|
|
@@ -11357,6 +11460,8 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
11357
11460
|
|
|
11358
11461
|
ignoreCase?: boolean
|
|
11359
11462
|
|
|
11463
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11464
|
+
|
|
11360
11465
|
partitionByComment?: (string[] | boolean | string)
|
|
11361
11466
|
|
|
11362
11467
|
partitionByNewLine?: boolean
|
|
@@ -11372,6 +11477,8 @@ type PerfectionistSortVueAttributes = []|[{
|
|
|
11372
11477
|
|
|
11373
11478
|
ignoreCase?: boolean
|
|
11374
11479
|
|
|
11480
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11481
|
+
|
|
11375
11482
|
groups?: (string | string[])[]
|
|
11376
11483
|
|
|
11377
11484
|
customGroups?: {
|
|
@@ -11645,10 +11752,6 @@ type SpacedComment = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
11645
11752
|
balanced?: boolean
|
|
11646
11753
|
}
|
|
11647
11754
|
}]
|
|
11648
|
-
// ----- storybook/meta-inline-properties -----
|
|
11649
|
-
type StorybookMetaInlineProperties = []|[{
|
|
11650
|
-
csfVersion?: number
|
|
11651
|
-
}]
|
|
11652
11755
|
// ----- storybook/no-uninstalled-addons -----
|
|
11653
11756
|
type StorybookNoUninstalledAddons = []|[{
|
|
11654
11757
|
packageJsonLocation?: string
|
|
@@ -11678,7 +11781,7 @@ type TestConsistentTestIt = []|[{
|
|
|
11678
11781
|
}]
|
|
11679
11782
|
// ----- test/expect-expect -----
|
|
11680
11783
|
type TestExpectExpect = []|[{
|
|
11681
|
-
assertFunctionNames?: []
|
|
11784
|
+
assertFunctionNames?: string[]
|
|
11682
11785
|
additionalTestBlockFunctions?: string[]
|
|
11683
11786
|
}]
|
|
11684
11787
|
// ----- test/max-expects -----
|
|
@@ -12104,6 +12207,8 @@ type VueCommaDangle = []|[(_VueCommaDangleValue | {
|
|
|
12104
12207
|
imports?: _VueCommaDangleValueWithIgnore
|
|
12105
12208
|
exports?: _VueCommaDangleValueWithIgnore
|
|
12106
12209
|
functions?: _VueCommaDangleValueWithIgnore
|
|
12210
|
+
importAttributes?: _VueCommaDangleValueWithIgnore
|
|
12211
|
+
dynamicImports?: _VueCommaDangleValueWithIgnore
|
|
12107
12212
|
enums?: _VueCommaDangleValueWithIgnore
|
|
12108
12213
|
generics?: _VueCommaDangleValueWithIgnore
|
|
12109
12214
|
tuples?: _VueCommaDangleValueWithIgnore
|
|
@@ -12180,6 +12285,10 @@ type VueFirstAttributeLinebreak = []|[{
|
|
|
12180
12285
|
// ----- vue/func-call-spacing -----
|
|
12181
12286
|
type VueFuncCallSpacing = ([]|["never"] | []|["always"]|["always", {
|
|
12182
12287
|
allowNewlines?: boolean
|
|
12288
|
+
optionalChain?: {
|
|
12289
|
+
before?: boolean
|
|
12290
|
+
after?: boolean
|
|
12291
|
+
}
|
|
12183
12292
|
}])
|
|
12184
12293
|
// ----- vue/html-button-has-type -----
|
|
12185
12294
|
type VueHtmlButtonHasType = []|[{
|
|
@@ -12860,6 +12969,7 @@ type VueNoRequiredPropWithDefault = []|[{
|
|
|
12860
12969
|
type VueNoReservedComponentNames = []|[{
|
|
12861
12970
|
disallowVueBuiltInComponents?: boolean
|
|
12862
12971
|
disallowVue3BuiltInComponents?: boolean
|
|
12972
|
+
htmlElementCaseSensitive?: boolean
|
|
12863
12973
|
}]
|
|
12864
12974
|
// ----- vue/no-reserved-keys -----
|
|
12865
12975
|
type VueNoReservedKeys = []|[{
|
|
@@ -13329,6 +13439,9 @@ type YamlNoMultipleEmptyLines = []|[{
|
|
|
13329
13439
|
// ----- yaml/plain-scalar -----
|
|
13330
13440
|
type YamlPlainScalar = []|[("always" | "never")]|[("always" | "never"), {
|
|
13331
13441
|
ignorePatterns?: string[]
|
|
13442
|
+
overrides?: {
|
|
13443
|
+
mappingKey?: ("always" | "never" | null)
|
|
13444
|
+
}
|
|
13332
13445
|
}]
|
|
13333
13446
|
// ----- yaml/quotes -----
|
|
13334
13447
|
type YamlQuotes = []|[{
|