@bfra.me/eslint-config 0.50.1 → 0.50.3

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/src/rules.d.ts CHANGED
@@ -1770,6 +1770,7 @@ export interface Rules {
1770
1770
  /**
1771
1771
  * disallow unused `eslint-disable` comments
1772
1772
  * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-unused-disable.html
1773
+ * @deprecated
1773
1774
  */
1774
1775
  'eslint-comments/no-unused-disable'?: Linter.RuleEntry<[]>
1775
1776
  /**
@@ -1887,238 +1888,238 @@ export interface Rules {
1887
1888
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
1888
1889
  /**
1889
1890
  * Enforce or ban the use of inline type-only markers for named imports.
1890
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/consistent-type-specifier-style.md
1891
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/consistent-type-specifier-style.md
1891
1892
  */
1892
1893
  'import-x/consistent-type-specifier-style'?: Linter.RuleEntry<ImportXConsistentTypeSpecifierStyle>
1893
1894
  /**
1894
1895
  * Ensure a default export is present, given a default import.
1895
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/default.md
1896
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/default.md
1896
1897
  */
1897
1898
  'import-x/default'?: Linter.RuleEntry<[]>
1898
1899
  /**
1899
1900
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
1900
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/dynamic-import-chunkname.md
1901
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/dynamic-import-chunkname.md
1901
1902
  */
1902
1903
  'import-x/dynamic-import-chunkname'?: Linter.RuleEntry<ImportXDynamicImportChunkname>
1903
1904
  /**
1904
1905
  * Forbid any invalid exports, i.e. re-export of the same name.
1905
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/export.md
1906
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/export.md
1906
1907
  */
1907
1908
  'import-x/export'?: Linter.RuleEntry<[]>
1908
1909
  /**
1909
1910
  * Ensure all exports appear after other statements.
1910
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/exports-last.md
1911
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/exports-last.md
1911
1912
  */
1912
1913
  'import-x/exports-last'?: Linter.RuleEntry<[]>
1913
1914
  /**
1914
1915
  * Ensure consistent use of file extension within the import path.
1915
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/extensions.md
1916
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/extensions.md
1916
1917
  */
1917
1918
  'import-x/extensions'?: Linter.RuleEntry<ImportXExtensions>
1918
1919
  /**
1919
1920
  * Ensure all imports appear before other statements.
1920
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/first.md
1921
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/first.md
1921
1922
  */
1922
1923
  'import-x/first'?: Linter.RuleEntry<ImportXFirst>
1923
1924
  /**
1924
1925
  * Prefer named exports to be grouped together in a single export declaration.
1925
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/group-exports.md
1926
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/group-exports.md
1926
1927
  */
1927
1928
  'import-x/group-exports'?: Linter.RuleEntry<[]>
1928
1929
  /**
1929
1930
  * Replaced by `import-x/first`.
1930
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/imports-first.md
1931
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/imports-first.md
1931
1932
  * @deprecated
1932
1933
  */
1933
1934
  'import-x/imports-first'?: Linter.RuleEntry<ImportXImportsFirst>
1934
1935
  /**
1935
1936
  * Enforce the maximum number of dependencies a module can have.
1936
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/max-dependencies.md
1937
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/max-dependencies.md
1937
1938
  */
1938
1939
  'import-x/max-dependencies'?: Linter.RuleEntry<ImportXMaxDependencies>
1939
1940
  /**
1940
1941
  * Ensure named imports correspond to a named export in the remote file.
1941
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/named.md
1942
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/named.md
1942
1943
  */
1943
1944
  'import-x/named'?: Linter.RuleEntry<ImportXNamed>
1944
1945
  /**
1945
1946
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
1946
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/namespace.md
1947
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/namespace.md
1947
1948
  */
1948
1949
  'import-x/namespace'?: Linter.RuleEntry<ImportXNamespace>
1949
1950
  /**
1950
1951
  * Enforce a newline after import statements.
1951
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/newline-after-import.md
1952
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/newline-after-import.md
1952
1953
  */
1953
1954
  'import-x/newline-after-import'?: Linter.RuleEntry<ImportXNewlineAfterImport>
1954
1955
  /**
1955
1956
  * Forbid import of modules using absolute paths.
1956
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-absolute-path.md
1957
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-absolute-path.md
1957
1958
  */
1958
1959
  'import-x/no-absolute-path'?: Linter.RuleEntry<ImportXNoAbsolutePath>
1959
1960
  /**
1960
1961
  * Forbid AMD `require` and `define` calls.
1961
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-amd.md
1962
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-amd.md
1962
1963
  */
1963
1964
  'import-x/no-amd'?: Linter.RuleEntry<[]>
1964
1965
  /**
1965
1966
  * Forbid anonymous values as default exports.
1966
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-anonymous-default-export.md
1967
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-anonymous-default-export.md
1967
1968
  */
1968
1969
  'import-x/no-anonymous-default-export'?: Linter.RuleEntry<ImportXNoAnonymousDefaultExport>
1969
1970
  /**
1970
1971
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
1971
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-commonjs.md
1972
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-commonjs.md
1972
1973
  */
1973
1974
  'import-x/no-commonjs'?: Linter.RuleEntry<ImportXNoCommonjs>
1974
1975
  /**
1975
1976
  * Forbid a module from importing a module with a dependency path back to itself.
1976
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-cycle.md
1977
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-cycle.md
1977
1978
  */
1978
1979
  'import-x/no-cycle'?: Linter.RuleEntry<ImportXNoCycle>
1979
1980
  /**
1980
1981
  * Forbid default exports.
1981
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-default-export.md
1982
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-default-export.md
1982
1983
  */
1983
1984
  'import-x/no-default-export'?: Linter.RuleEntry<[]>
1984
1985
  /**
1985
1986
  * Forbid imported names marked with `@deprecated` documentation tag.
1986
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-deprecated.md
1987
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-deprecated.md
1987
1988
  */
1988
1989
  'import-x/no-deprecated'?: Linter.RuleEntry<[]>
1989
1990
  /**
1990
1991
  * Forbid repeated import of the same module in multiple places.
1991
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-duplicates.md
1992
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-duplicates.md
1992
1993
  */
1993
1994
  'import-x/no-duplicates'?: Linter.RuleEntry<ImportXNoDuplicates>
1994
1995
  /**
1995
1996
  * Forbid `require()` calls with expressions.
1996
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-dynamic-require.md
1997
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-dynamic-require.md
1997
1998
  */
1998
1999
  'import-x/no-dynamic-require'?: Linter.RuleEntry<ImportXNoDynamicRequire>
1999
2000
  /**
2000
2001
  * Forbid empty named import blocks.
2001
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-empty-named-blocks.md
2002
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-empty-named-blocks.md
2002
2003
  */
2003
2004
  'import-x/no-empty-named-blocks'?: Linter.RuleEntry<[]>
2004
2005
  /**
2005
2006
  * Forbid the use of extraneous packages.
2006
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-extraneous-dependencies.md
2007
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-extraneous-dependencies.md
2007
2008
  */
2008
2009
  'import-x/no-extraneous-dependencies'?: Linter.RuleEntry<ImportXNoExtraneousDependencies>
2009
2010
  /**
2010
2011
  * Forbid import statements with CommonJS module.exports.
2011
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-import-module-exports.md
2012
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-import-module-exports.md
2012
2013
  */
2013
2014
  'import-x/no-import-module-exports'?: Linter.RuleEntry<ImportXNoImportModuleExports>
2014
2015
  /**
2015
2016
  * Forbid importing the submodules of other modules.
2016
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-internal-modules.md
2017
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-internal-modules.md
2017
2018
  */
2018
2019
  'import-x/no-internal-modules'?: Linter.RuleEntry<ImportXNoInternalModules>
2019
2020
  /**
2020
2021
  * Forbid the use of mutable exports with `var` or `let`.
2021
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-mutable-exports.md
2022
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-mutable-exports.md
2022
2023
  */
2023
2024
  'import-x/no-mutable-exports'?: Linter.RuleEntry<[]>
2024
2025
  /**
2025
2026
  * Forbid use of exported name as identifier of default export.
2026
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-as-default.md
2027
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-as-default.md
2027
2028
  */
2028
2029
  'import-x/no-named-as-default'?: Linter.RuleEntry<[]>
2029
2030
  /**
2030
2031
  * Forbid use of exported name as property of default export.
2031
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-as-default-member.md
2032
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-as-default-member.md
2032
2033
  */
2033
2034
  'import-x/no-named-as-default-member'?: Linter.RuleEntry<[]>
2034
2035
  /**
2035
2036
  * Forbid named default exports.
2036
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-default.md
2037
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-default.md
2037
2038
  */
2038
2039
  'import-x/no-named-default'?: Linter.RuleEntry<[]>
2039
2040
  /**
2040
2041
  * Forbid named exports.
2041
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-export.md
2042
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-export.md
2042
2043
  */
2043
2044
  'import-x/no-named-export'?: Linter.RuleEntry<[]>
2044
2045
  /**
2045
2046
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
2046
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-namespace.md
2047
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-namespace.md
2047
2048
  */
2048
2049
  'import-x/no-namespace'?: Linter.RuleEntry<ImportXNoNamespace>
2049
2050
  /**
2050
2051
  * Forbid Node.js builtin modules.
2051
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-nodejs-modules.md
2052
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-nodejs-modules.md
2052
2053
  */
2053
2054
  'import-x/no-nodejs-modules'?: Linter.RuleEntry<ImportXNoNodejsModules>
2054
2055
  /**
2055
2056
  * Forbid importing packages through relative paths.
2056
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-relative-packages.md
2057
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-relative-packages.md
2057
2058
  */
2058
2059
  'import-x/no-relative-packages'?: Linter.RuleEntry<ImportXNoRelativePackages>
2059
2060
  /**
2060
2061
  * Forbid importing modules from parent directories.
2061
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-relative-parent-imports.md
2062
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-relative-parent-imports.md
2062
2063
  */
2063
2064
  'import-x/no-relative-parent-imports'?: Linter.RuleEntry<ImportXNoRelativeParentImports>
2064
2065
  /**
2065
2066
  * Forbid importing a default export by a different name.
2066
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-rename-default.md
2067
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-rename-default.md
2067
2068
  */
2068
2069
  'import-x/no-rename-default'?: Linter.RuleEntry<ImportXNoRenameDefault>
2069
2070
  /**
2070
2071
  * Enforce which files can be imported in a given folder.
2071
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-restricted-paths.md
2072
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-restricted-paths.md
2072
2073
  */
2073
2074
  'import-x/no-restricted-paths'?: Linter.RuleEntry<ImportXNoRestrictedPaths>
2074
2075
  /**
2075
2076
  * Forbid a module from importing itself.
2076
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-self-import.md
2077
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-self-import.md
2077
2078
  */
2078
2079
  'import-x/no-self-import'?: Linter.RuleEntry<[]>
2079
2080
  /**
2080
2081
  * Forbid unassigned imports.
2081
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unassigned-import.md
2082
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-unassigned-import.md
2082
2083
  */
2083
2084
  'import-x/no-unassigned-import'?: Linter.RuleEntry<ImportXNoUnassignedImport>
2084
2085
  /**
2085
2086
  * Ensure imports point to a file/module that can be resolved.
2086
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unresolved.md
2087
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-unresolved.md
2087
2088
  */
2088
2089
  'import-x/no-unresolved'?: Linter.RuleEntry<ImportXNoUnresolved>
2089
2090
  /**
2090
2091
  * Forbid modules without exports, or exports without matching import in another module.
2091
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unused-modules.md
2092
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-unused-modules.md
2092
2093
  */
2093
2094
  'import-x/no-unused-modules'?: Linter.RuleEntry<ImportXNoUnusedModules>
2094
2095
  /**
2095
2096
  * Forbid unnecessary path segments in import and require statements.
2096
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-useless-path-segments.md
2097
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-useless-path-segments.md
2097
2098
  */
2098
2099
  'import-x/no-useless-path-segments'?: Linter.RuleEntry<ImportXNoUselessPathSegments>
2099
2100
  /**
2100
2101
  * Forbid webpack loader syntax in imports.
2101
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-webpack-loader-syntax.md
2102
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-webpack-loader-syntax.md
2102
2103
  */
2103
2104
  'import-x/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
2104
2105
  /**
2105
2106
  * Enforce a convention in module import order.
2106
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/order.md
2107
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/order.md
2107
2108
  */
2108
2109
  'import-x/order'?: Linter.RuleEntry<ImportXOrder>
2109
2110
  /**
2110
2111
  * Prefer a default export if module exports a single name or multiple names.
2111
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/prefer-default-export.md
2112
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/prefer-default-export.md
2112
2113
  */
2113
2114
  'import-x/prefer-default-export'?: Linter.RuleEntry<ImportXPreferDefaultExport>
2114
2115
  /**
2115
2116
  * Enforce using namespace imports for specific modules, like `react`/`react-dom`, etc.
2116
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/prefer-namespace-import.md
2117
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/prefer-namespace-import.md
2117
2118
  */
2118
2119
  'import-x/prefer-namespace-import'?: Linter.RuleEntry<ImportXPreferNamespaceImport>
2119
2120
  /**
2120
2121
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
2121
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/unambiguous.md
2122
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/unambiguous.md
2122
2123
  */
2123
2124
  'import-x/unambiguous'?: Linter.RuleEntry<[]>
2124
2125
  /**
@@ -2994,6 +2995,11 @@ export interface Rules {
2994
2995
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/fenced-code-language.md
2995
2996
  */
2996
2997
  'markdown/fenced-code-language'?: Linter.RuleEntry<MarkdownFencedCodeLanguage>
2998
+ /**
2999
+ * Require or disallow metadata for fenced code blocks
3000
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/fenced-code-meta.md
3001
+ */
3002
+ 'markdown/fenced-code-meta'?: Linter.RuleEntry<MarkdownFencedCodeMeta>
2997
3003
  /**
2998
3004
  * Enforce heading levels increment by one
2999
3005
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/heading-increment.md
@@ -4319,6 +4325,11 @@ export interface Rules {
4319
4325
  * @see https://perfectionist.dev/rules/sort-array-includes
4320
4326
  */
4321
4327
  'perfectionist/sort-array-includes'?: Linter.RuleEntry<PerfectionistSortArrayIncludes>
4328
+ /**
4329
+ * Enforce sorted arrays.
4330
+ * @see https://perfectionist.dev/rules/sort-arrays
4331
+ */
4332
+ 'perfectionist/sort-arrays'?: Linter.RuleEntry<PerfectionistSortArrays>
4322
4333
  /**
4323
4334
  * Enforce sorted classes.
4324
4335
  * @see https://perfectionist.dev/rules/sort-classes
@@ -4552,7 +4563,7 @@ export interface Rules {
4552
4563
  */
4553
4564
  'quotes'?: Linter.RuleEntry<Quotes>
4554
4565
  /**
4555
- * Enforce the consistent use of the radix argument when using `parseInt()`
4566
+ * Enforce the use of the radix argument when using `parseInt()`
4556
4567
  * @see https://eslint.org/docs/latest/rules/radix
4557
4568
  */
4558
4569
  'radix'?: Linter.RuleEntry<Radix>
@@ -5807,730 +5818,750 @@ export interface Rules {
5807
5818
  'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
5808
5819
  /**
5809
5820
  * Improve regexes by making them shorter, consistent, and safer.
5810
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/better-regex.md
5821
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/better-regex.md
5811
5822
  */
5812
5823
  'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
5813
5824
  /**
5814
5825
  * Enforce a specific parameter name in catch clauses.
5815
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/catch-error-name.md
5826
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/catch-error-name.md
5816
5827
  */
5817
5828
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
5818
5829
  /**
5819
5830
  * Enforce consistent assertion style with `node:assert`.
5820
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-assert.md
5831
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-assert.md
5821
5832
  */
5822
5833
  'unicorn/consistent-assert'?: Linter.RuleEntry<[]>
5823
5834
  /**
5824
5835
  * Prefer passing `Date` directly to the constructor when cloning.
5825
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-date-clone.md
5836
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-date-clone.md
5826
5837
  */
5827
5838
  'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>
5828
5839
  /**
5829
5840
  * Use destructured variables over properties.
5830
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-destructuring.md
5841
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-destructuring.md
5831
5842
  */
5832
5843
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
5833
5844
  /**
5834
5845
  * Prefer consistent types when spreading a ternary in an array literal.
5835
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-empty-array-spread.md
5846
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-empty-array-spread.md
5836
5847
  */
5837
5848
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
5838
5849
  /**
5839
5850
  * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
5840
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-existence-index-check.md
5851
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-existence-index-check.md
5841
5852
  */
5842
5853
  'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
5843
5854
  /**
5844
5855
  * Move function definitions to the highest possible scope.
5845
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-function-scoping.md
5856
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-function-scoping.md
5846
5857
  */
5847
5858
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
5859
+ /**
5860
+ * Enforce consistent style for escaping `${` in template literals.
5861
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-template-literal-escape.md
5862
+ */
5863
+ 'unicorn/consistent-template-literal-escape'?: Linter.RuleEntry<[]>
5848
5864
  /**
5849
5865
  * Enforce correct `Error` subclassing.
5850
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/custom-error-definition.md
5866
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/custom-error-definition.md
5851
5867
  */
5852
5868
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
5853
5869
  /**
5854
5870
  * Enforce no spaces between braces.
5855
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/empty-brace-spaces.md
5871
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/empty-brace-spaces.md
5856
5872
  */
5857
5873
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
5858
5874
  /**
5859
5875
  * Enforce passing a `message` value when creating a built-in error.
5860
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/error-message.md
5876
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/error-message.md
5861
5877
  */
5862
5878
  'unicorn/error-message'?: Linter.RuleEntry<[]>
5863
5879
  /**
5864
5880
  * Require escape sequences to use uppercase or lowercase values.
5865
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/escape-case.md
5881
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/escape-case.md
5866
5882
  */
5867
5883
  'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>
5868
5884
  /**
5869
5885
  * Add expiration conditions to TODO comments.
5870
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/expiring-todo-comments.md
5886
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/expiring-todo-comments.md
5871
5887
  */
5872
5888
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
5873
5889
  /**
5874
5890
  * Enforce explicitly comparing the `length` or `size` property of a value.
5875
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/explicit-length-check.md
5891
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/explicit-length-check.md
5876
5892
  */
5877
5893
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
5878
5894
  /**
5879
5895
  * Enforce a case style for filenames.
5880
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/filename-case.md
5896
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/filename-case.md
5881
5897
  */
5882
5898
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
5883
5899
  /**
5884
5900
  * Enforce specific import styles per module.
5885
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/import-style.md
5901
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/import-style.md
5886
5902
  */
5887
5903
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
5888
5904
  /**
5889
5905
  * Prevent usage of variables from outside the scope of isolated functions.
5890
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/isolated-functions.md
5906
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/isolated-functions.md
5891
5907
  */
5892
5908
  'unicorn/isolated-functions'?: Linter.RuleEntry<UnicornIsolatedFunctions>
5893
5909
  /**
5894
5910
  * Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
5895
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/new-for-builtins.md
5911
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/new-for-builtins.md
5896
5912
  */
5897
5913
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
5898
5914
  /**
5899
5915
  * Enforce specifying rules to disable in `eslint-disable` comments.
5900
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-abusive-eslint-disable.md
5916
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-abusive-eslint-disable.md
5901
5917
  */
5902
5918
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
5903
5919
  /**
5904
5920
  * Disallow recursive access to `this` within getters and setters.
5905
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-accessor-recursion.md
5921
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-accessor-recursion.md
5906
5922
  */
5907
5923
  'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>
5908
5924
  /**
5909
5925
  * Disallow anonymous functions and classes as the default export.
5910
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-anonymous-default-export.md
5926
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-anonymous-default-export.md
5911
5927
  */
5912
5928
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
5913
5929
  /**
5914
5930
  * Prevent passing a function reference directly to iterator methods.
5915
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-callback-reference.md
5931
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-callback-reference.md
5916
5932
  */
5917
5933
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
5918
5934
  /**
5919
5935
  * Prefer `for…of` over the `forEach` method.
5920
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-for-each.md
5936
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-for-each.md
5921
5937
  */
5922
5938
  'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
5923
5939
  /**
5924
5940
  * Disallow using the `this` argument in array methods.
5925
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-method-this-argument.md
5941
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-method-this-argument.md
5926
5942
  */
5927
5943
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
5928
5944
  /**
5929
5945
  * Replaced by `unicorn/prefer-single-call` which covers more cases.
5930
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
5946
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
5931
5947
  * @deprecated
5932
5948
  */
5933
5949
  'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>
5934
5950
  /**
5935
5951
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
5936
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-reduce.md
5952
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-reduce.md
5937
5953
  */
5938
5954
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
5939
5955
  /**
5940
5956
  * Prefer `Array#toReversed()` over `Array#reverse()`.
5941
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-reverse.md
5957
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-reverse.md
5942
5958
  */
5943
5959
  'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>
5944
5960
  /**
5945
5961
  * Prefer `Array#toSorted()` over `Array#sort()`.
5946
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-sort.md
5962
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-sort.md
5947
5963
  */
5948
5964
  'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>
5949
5965
  /**
5950
5966
  * Disallow member access from await expression.
5951
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-await-expression-member.md
5967
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-await-expression-member.md
5952
5968
  */
5953
5969
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
5954
5970
  /**
5955
5971
  * Disallow using `await` in `Promise` method parameters.
5956
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-await-in-promise-methods.md
5972
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-await-in-promise-methods.md
5957
5973
  */
5958
5974
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
5959
5975
  /**
5960
5976
  * Do not use leading/trailing space between `console.log` parameters.
5961
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-console-spaces.md
5977
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-console-spaces.md
5962
5978
  */
5963
5979
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
5964
5980
  /**
5965
5981
  * Do not use `document.cookie` directly.
5966
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-document-cookie.md
5982
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-document-cookie.md
5967
5983
  */
5968
5984
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
5969
5985
  /**
5970
5986
  * Disallow empty files.
5971
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-empty-file.md
5987
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-empty-file.md
5972
5988
  */
5973
5989
  'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
5974
5990
  /**
5975
5991
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
5976
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-for-loop.md
5992
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-for-loop.md
5977
5993
  */
5978
5994
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
5979
5995
  /**
5980
5996
  * Enforce the use of Unicode escapes instead of hexadecimal escapes.
5981
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-hex-escape.md
5997
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-hex-escape.md
5982
5998
  */
5983
5999
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
5984
6000
  /**
5985
6001
  * Disallow immediate mutation after variable assignment.
5986
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-immediate-mutation.md
6002
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-immediate-mutation.md
5987
6003
  */
5988
6004
  'unicorn/no-immediate-mutation'?: Linter.RuleEntry<[]>
5989
6005
  /**
5990
6006
  * Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
5991
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
6007
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
5992
6008
  * @deprecated
5993
6009
  */
5994
6010
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
5995
6011
  /**
5996
6012
  * Disallow `instanceof` with built-in objects
5997
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-instanceof-builtins.md
6013
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-instanceof-builtins.md
5998
6014
  */
5999
6015
  'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>
6000
6016
  /**
6001
6017
  * Disallow invalid options in `fetch()` and `new Request()`.
6002
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-invalid-fetch-options.md
6018
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-invalid-fetch-options.md
6003
6019
  */
6004
6020
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
6005
6021
  /**
6006
6022
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
6007
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-invalid-remove-event-listener.md
6023
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-invalid-remove-event-listener.md
6008
6024
  */
6009
6025
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
6010
6026
  /**
6011
6027
  * Disallow identifiers starting with `new` or `class`.
6012
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-keyword-prefix.md
6028
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-keyword-prefix.md
6013
6029
  */
6014
6030
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
6015
6031
  /**
6016
6032
  * Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
6017
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
6033
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
6018
6034
  * @deprecated
6019
6035
  */
6020
6036
  'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
6021
6037
  /**
6022
6038
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
6023
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-lonely-if.md
6039
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-lonely-if.md
6024
6040
  */
6025
6041
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
6026
6042
  /**
6027
6043
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
6028
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-magic-array-flat-depth.md
6044
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-magic-array-flat-depth.md
6029
6045
  */
6030
6046
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
6031
6047
  /**
6032
6048
  * Disallow named usage of default import and export.
6033
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-named-default.md
6049
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-named-default.md
6034
6050
  */
6035
6051
  'unicorn/no-named-default'?: Linter.RuleEntry<[]>
6036
6052
  /**
6037
6053
  * Disallow negated conditions.
6038
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-negated-condition.md
6054
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-negated-condition.md
6039
6055
  */
6040
6056
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
6041
6057
  /**
6042
6058
  * Disallow negated expression in equality check.
6043
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-negation-in-equality-check.md
6059
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-negation-in-equality-check.md
6044
6060
  */
6045
6061
  'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
6046
6062
  /**
6047
6063
  * Disallow nested ternary expressions.
6048
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-nested-ternary.md
6064
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-nested-ternary.md
6049
6065
  */
6050
6066
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
6051
6067
  /**
6052
6068
  * Disallow `new Array()`.
6053
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-new-array.md
6069
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-new-array.md
6054
6070
  */
6055
6071
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>
6056
6072
  /**
6057
6073
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
6058
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-new-buffer.md
6074
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-new-buffer.md
6059
6075
  */
6060
6076
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
6061
6077
  /**
6062
6078
  * Disallow the use of the `null` literal.
6063
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-null.md
6079
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-null.md
6064
6080
  */
6065
6081
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
6066
6082
  /**
6067
6083
  * Disallow the use of objects as default parameters.
6068
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-object-as-default-parameter.md
6084
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-object-as-default-parameter.md
6069
6085
  */
6070
6086
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
6071
6087
  /**
6072
6088
  * Disallow `process.exit()`.
6073
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-process-exit.md
6089
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-process-exit.md
6074
6090
  */
6075
6091
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
6076
6092
  /**
6077
6093
  * Disallow passing single-element arrays to `Promise` methods.
6078
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-single-promise-in-promise-methods.md
6094
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-single-promise-in-promise-methods.md
6079
6095
  */
6080
6096
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
6081
6097
  /**
6082
6098
  * Disallow classes that only have static members.
6083
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-static-only-class.md
6099
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-static-only-class.md
6084
6100
  */
6085
6101
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
6086
6102
  /**
6087
6103
  * Disallow `then` property.
6088
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-thenable.md
6104
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-thenable.md
6089
6105
  */
6090
6106
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>
6091
6107
  /**
6092
6108
  * Disallow assigning `this` to a variable.
6093
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-this-assignment.md
6109
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-this-assignment.md
6094
6110
  */
6095
6111
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
6096
6112
  /**
6097
6113
  * Disallow comparing `undefined` using `typeof`.
6098
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-typeof-undefined.md
6114
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-typeof-undefined.md
6099
6115
  */
6100
6116
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
6101
6117
  /**
6102
6118
  * Disallow using `1` as the `depth` argument of `Array#flat()`.
6103
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-array-flat-depth.md
6119
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unnecessary-array-flat-depth.md
6104
6120
  */
6105
6121
  'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>
6106
6122
  /**
6107
6123
  * Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
6108
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-array-splice-count.md
6124
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unnecessary-array-splice-count.md
6109
6125
  */
6110
6126
  'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>
6111
6127
  /**
6112
6128
  * Disallow awaiting non-promise values.
6113
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-await.md
6129
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unnecessary-await.md
6114
6130
  */
6115
6131
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
6116
6132
  /**
6117
6133
  * Enforce the use of built-in methods instead of unnecessary polyfills.
6118
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-polyfills.md
6134
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unnecessary-polyfills.md
6119
6135
  */
6120
6136
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
6121
6137
  /**
6122
6138
  * Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
6123
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-slice-end.md
6139
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unnecessary-slice-end.md
6124
6140
  */
6125
6141
  'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>
6126
6142
  /**
6127
6143
  * Disallow unreadable array destructuring.
6128
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unreadable-array-destructuring.md
6144
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unreadable-array-destructuring.md
6129
6145
  */
6130
6146
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
6131
6147
  /**
6132
6148
  * Disallow unreadable IIFEs.
6133
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unreadable-iife.md
6149
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unreadable-iife.md
6134
6150
  */
6135
6151
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
6136
6152
  /**
6137
6153
  * Disallow unused object properties.
6138
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unused-properties.md
6154
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unused-properties.md
6139
6155
  */
6140
6156
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
6141
6157
  /**
6142
6158
  * Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
6143
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-collection-argument.md
6159
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-collection-argument.md
6144
6160
  */
6145
6161
  'unicorn/no-useless-collection-argument'?: Linter.RuleEntry<[]>
6146
6162
  /**
6147
6163
  * Disallow unnecessary `Error.captureStackTrace(…)`.
6148
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-error-capture-stack-trace.md
6164
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-error-capture-stack-trace.md
6149
6165
  */
6150
6166
  'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>
6151
6167
  /**
6152
6168
  * Disallow useless fallback when spreading in object literals.
6153
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-fallback-in-spread.md
6169
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-fallback-in-spread.md
6154
6170
  */
6155
6171
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
6172
+ /**
6173
+ * Disallow unnecessary `.toArray()` on iterators.
6174
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-iterator-to-array.md
6175
+ */
6176
+ 'unicorn/no-useless-iterator-to-array'?: Linter.RuleEntry<[]>
6156
6177
  /**
6157
6178
  * Disallow useless array length check.
6158
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-length-check.md
6179
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-length-check.md
6159
6180
  */
6160
6181
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
6161
6182
  /**
6162
6183
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
6163
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-promise-resolve-reject.md
6184
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-promise-resolve-reject.md
6164
6185
  */
6165
6186
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
6166
6187
  /**
6167
6188
  * Disallow unnecessary spread.
6168
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-spread.md
6189
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-spread.md
6169
6190
  */
6170
6191
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
6171
6192
  /**
6172
6193
  * Disallow useless case in switch statements.
6173
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-switch-case.md
6194
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-switch-case.md
6174
6195
  */
6175
6196
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
6176
6197
  /**
6177
6198
  * Disallow useless `undefined`.
6178
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-undefined.md
6199
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-undefined.md
6179
6200
  */
6180
6201
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
6181
6202
  /**
6182
6203
  * Disallow number literals with zero fractions or dangling dots.
6183
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-zero-fractions.md
6204
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-zero-fractions.md
6184
6205
  */
6185
6206
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
6186
6207
  /**
6187
6208
  * Enforce proper case for numeric literals.
6188
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/number-literal-case.md
6209
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/number-literal-case.md
6189
6210
  */
6190
6211
  'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>
6191
6212
  /**
6192
6213
  * Enforce the style of numeric separators by correctly grouping digits.
6193
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/numeric-separators-style.md
6214
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/numeric-separators-style.md
6194
6215
  */
6195
6216
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
6196
6217
  /**
6197
6218
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
6198
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-add-event-listener.md
6219
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-add-event-listener.md
6199
6220
  */
6200
6221
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
6201
6222
  /**
6202
6223
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
6203
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-find.md
6224
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-array-find.md
6204
6225
  */
6205
6226
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
6206
6227
  /**
6207
6228
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
6208
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-flat.md
6229
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-array-flat.md
6209
6230
  */
6210
6231
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
6211
6232
  /**
6212
6233
  * Prefer `.flatMap(…)` over `.map(…).flat()`.
6213
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-flat-map.md
6234
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-array-flat-map.md
6214
6235
  */
6215
6236
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
6216
6237
  /**
6217
6238
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
6218
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-index-of.md
6239
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-array-index-of.md
6219
6240
  */
6220
6241
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
6221
6242
  /**
6222
6243
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
6223
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-some.md
6244
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-array-some.md
6224
6245
  */
6225
6246
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
6226
6247
  /**
6227
6248
  * Prefer `.at()` method for index access and `String#charAt()`.
6228
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-at.md
6249
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-at.md
6229
6250
  */
6230
6251
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
6231
6252
  /**
6232
6253
  * Prefer `BigInt` literals over the constructor.
6233
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-bigint-literals.md
6254
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-bigint-literals.md
6234
6255
  */
6235
6256
  'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>
6236
6257
  /**
6237
6258
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
6238
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-blob-reading-methods.md
6259
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-blob-reading-methods.md
6239
6260
  */
6240
6261
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
6241
6262
  /**
6242
6263
  * Prefer class field declarations over `this` assignments in constructors.
6243
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-class-fields.md
6264
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-class-fields.md
6244
6265
  */
6245
6266
  'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>
6246
6267
  /**
6247
6268
  * Prefer using `Element#classList.toggle()` to toggle class names.
6248
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-classlist-toggle.md
6269
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-classlist-toggle.md
6249
6270
  */
6250
6271
  'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>
6251
6272
  /**
6252
6273
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
6253
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-code-point.md
6274
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-code-point.md
6254
6275
  */
6255
6276
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
6256
6277
  /**
6257
6278
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
6258
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-date-now.md
6279
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-date-now.md
6259
6280
  */
6260
6281
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
6261
6282
  /**
6262
6283
  * Prefer default parameters over reassignment.
6263
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-default-parameters.md
6284
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-default-parameters.md
6264
6285
  */
6265
6286
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
6266
6287
  /**
6267
6288
  * Prefer `Node#append()` over `Node#appendChild()`.
6268
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-append.md
6289
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-dom-node-append.md
6269
6290
  */
6270
6291
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
6271
6292
  /**
6272
6293
  * Prefer using `.dataset` on DOM elements over calling attribute methods.
6273
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-dataset.md
6294
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-dom-node-dataset.md
6274
6295
  */
6275
6296
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
6276
6297
  /**
6277
6298
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
6278
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-remove.md
6299
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-dom-node-remove.md
6279
6300
  */
6280
6301
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
6281
6302
  /**
6282
6303
  * Prefer `.textContent` over `.innerText`.
6283
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-text-content.md
6304
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-dom-node-text-content.md
6284
6305
  */
6285
6306
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
6286
6307
  /**
6287
6308
  * Prefer `EventTarget` over `EventEmitter`.
6288
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-event-target.md
6309
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-event-target.md
6289
6310
  */
6290
6311
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
6291
6312
  /**
6292
6313
  * Prefer `export…from` when re-exporting.
6293
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-export-from.md
6314
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-export-from.md
6294
6315
  */
6295
6316
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
6296
6317
  /**
6297
6318
  * Prefer `globalThis` over `window`, `self`, and `global`.
6298
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-global-this.md
6319
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-global-this.md
6299
6320
  */
6300
6321
  'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
6301
6322
  /**
6302
6323
  * Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
6303
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-import-meta-properties.md
6324
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-import-meta-properties.md
6304
6325
  */
6305
6326
  'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>
6306
6327
  /**
6307
6328
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
6308
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-includes.md
6329
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-includes.md
6309
6330
  */
6310
6331
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
6311
6332
  /**
6312
6333
  * Prefer reading a JSON file as a buffer.
6313
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-json-parse-buffer.md
6334
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-json-parse-buffer.md
6314
6335
  */
6315
6336
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
6316
6337
  /**
6317
6338
  * Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
6318
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-keyboard-event-key.md
6339
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-keyboard-event-key.md
6319
6340
  */
6320
6341
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
6321
6342
  /**
6322
6343
  * Prefer using a logical operator over a ternary.
6323
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-logical-operator-over-ternary.md
6344
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-logical-operator-over-ternary.md
6324
6345
  */
6325
6346
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
6326
6347
  /**
6327
6348
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
6328
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-math-min-max.md
6349
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-math-min-max.md
6329
6350
  */
6330
6351
  'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
6331
6352
  /**
6332
6353
  * Enforce the use of `Math.trunc` instead of bitwise operators.
6333
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-math-trunc.md
6354
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-math-trunc.md
6334
6355
  */
6335
6356
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
6336
6357
  /**
6337
6358
  * Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
6338
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-modern-dom-apis.md
6359
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-modern-dom-apis.md
6339
6360
  */
6340
6361
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
6341
6362
  /**
6342
6363
  * Prefer modern `Math` APIs over legacy patterns.
6343
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-modern-math-apis.md
6364
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-modern-math-apis.md
6344
6365
  */
6345
6366
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
6346
6367
  /**
6347
6368
  * Prefer JavaScript modules (ESM) over CommonJS.
6348
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-module.md
6369
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-module.md
6349
6370
  */
6350
6371
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>
6351
6372
  /**
6352
6373
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
6353
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-native-coercion-functions.md
6374
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-native-coercion-functions.md
6354
6375
  */
6355
6376
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
6356
6377
  /**
6357
6378
  * Prefer negative index over `.length - index` when possible.
6358
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-negative-index.md
6379
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-negative-index.md
6359
6380
  */
6360
6381
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
6361
6382
  /**
6362
6383
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
6363
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-node-protocol.md
6384
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-node-protocol.md
6364
6385
  */
6365
6386
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
6366
6387
  /**
6367
6388
  * Prefer `Number` static properties over global ones.
6368
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-number-properties.md
6389
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-number-properties.md
6369
6390
  */
6370
6391
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
6371
6392
  /**
6372
6393
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
6373
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-object-from-entries.md
6394
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-object-from-entries.md
6374
6395
  */
6375
6396
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
6376
6397
  /**
6377
6398
  * Prefer omitting the `catch` binding parameter.
6378
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-optional-catch-binding.md
6399
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-optional-catch-binding.md
6379
6400
  */
6380
6401
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
6381
6402
  /**
6382
6403
  * Prefer borrowing methods from the prototype instead of the instance.
6383
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-prototype-methods.md
6404
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-prototype-methods.md
6384
6405
  */
6385
6406
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
6386
6407
  /**
6387
6408
  * Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
6388
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-query-selector.md
6409
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-query-selector.md
6389
6410
  */
6390
6411
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
6391
6412
  /**
6392
6413
  * Prefer `Reflect.apply()` over `Function#apply()`.
6393
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-reflect-apply.md
6414
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-reflect-apply.md
6394
6415
  */
6395
6416
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
6396
6417
  /**
6397
6418
  * Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
6398
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-regexp-test.md
6419
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-regexp-test.md
6399
6420
  */
6400
6421
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
6401
6422
  /**
6402
6423
  * Prefer `Response.json()` over `new Response(JSON.stringify())`.
6403
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-response-static-json.md
6424
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-response-static-json.md
6404
6425
  */
6405
6426
  'unicorn/prefer-response-static-json'?: Linter.RuleEntry<[]>
6406
6427
  /**
6407
6428
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
6408
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-set-has.md
6429
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-set-has.md
6409
6430
  */
6410
6431
  'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
6411
6432
  /**
6412
6433
  * Prefer using `Set#size` instead of `Array#length`.
6413
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-set-size.md
6434
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-set-size.md
6414
6435
  */
6415
6436
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
6437
+ /**
6438
+ * Prefer simple conditions first in logical expressions.
6439
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-simple-condition-first.md
6440
+ */
6441
+ 'unicorn/prefer-simple-condition-first'?: Linter.RuleEntry<[]>
6416
6442
  /**
6417
6443
  * Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
6418
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-single-call.md
6444
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-single-call.md
6419
6445
  */
6420
6446
  'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>
6421
6447
  /**
6422
6448
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
6423
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-spread.md
6449
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-spread.md
6424
6450
  */
6425
6451
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
6426
6452
  /**
6427
6453
  * Prefer using the `String.raw` tag to avoid escaping `\`.
6428
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-raw.md
6454
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-string-raw.md
6429
6455
  */
6430
6456
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
6431
6457
  /**
6432
6458
  * Prefer `String#replaceAll()` over regex searches with the global flag.
6433
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-replace-all.md
6459
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-string-replace-all.md
6434
6460
  */
6435
6461
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
6436
6462
  /**
6437
6463
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
6438
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-slice.md
6464
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-string-slice.md
6439
6465
  */
6440
6466
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
6441
6467
  /**
6442
6468
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
6443
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-starts-ends-with.md
6469
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-string-starts-ends-with.md
6444
6470
  */
6445
6471
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
6446
6472
  /**
6447
6473
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
6448
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-trim-start-end.md
6474
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-string-trim-start-end.md
6449
6475
  */
6450
6476
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
6451
6477
  /**
6452
6478
  * Prefer using `structuredClone` to create a deep clone.
6453
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-structured-clone.md
6479
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-structured-clone.md
6454
6480
  */
6455
6481
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
6456
6482
  /**
6457
6483
  * Prefer `switch` over multiple `else-if`.
6458
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-switch.md
6484
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-switch.md
6459
6485
  */
6460
6486
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
6461
6487
  /**
6462
6488
  * Prefer ternary expressions over simple `if-else` statements.
6463
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-ternary.md
6489
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-ternary.md
6464
6490
  */
6465
6491
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
6466
6492
  /**
6467
6493
  * Prefer top-level await over top-level promises and async function calls.
6468
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-top-level-await.md
6494
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-top-level-await.md
6469
6495
  */
6470
6496
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
6471
6497
  /**
6472
6498
  * Enforce throwing `TypeError` in type checking conditions.
6473
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-type-error.md
6499
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-type-error.md
6474
6500
  */
6475
6501
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
6476
6502
  /**
6477
6503
  * Prevent abbreviations.
6478
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prevent-abbreviations.md
6504
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prevent-abbreviations.md
6479
6505
  */
6480
6506
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
6481
6507
  /**
6482
6508
  * Enforce consistent relative URL style.
6483
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/relative-url-style.md
6509
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/relative-url-style.md
6484
6510
  */
6485
6511
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
6486
6512
  /**
6487
6513
  * Enforce using the separator argument with `Array#join()`.
6488
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-array-join-separator.md
6514
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/require-array-join-separator.md
6489
6515
  */
6490
6516
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
6491
6517
  /**
6492
6518
  * Require non-empty module attributes for imports and exports
6493
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-module-attributes.md
6519
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/require-module-attributes.md
6494
6520
  */
6495
6521
  'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>
6496
6522
  /**
6497
6523
  * Require non-empty specifier list in import and export statements.
6498
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-module-specifiers.md
6524
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/require-module-specifiers.md
6499
6525
  */
6500
6526
  'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>
6501
6527
  /**
6502
6528
  * Enforce using the digits argument with `Number#toFixed()`.
6503
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-number-to-fixed-digits-argument.md
6529
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/require-number-to-fixed-digits-argument.md
6504
6530
  */
6505
6531
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
6506
6532
  /**
6507
6533
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
6508
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-post-message-target-origin.md
6534
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/require-post-message-target-origin.md
6509
6535
  */
6510
6536
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
6511
6537
  /**
6512
6538
  * Enforce better string content.
6513
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/string-content.md
6539
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/string-content.md
6514
6540
  */
6515
6541
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
6516
6542
  /**
6517
6543
  * Enforce consistent brace style for `case` clauses.
6518
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/switch-case-braces.md
6544
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/switch-case-braces.md
6519
6545
  */
6520
6546
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
6547
+ /**
6548
+ * Enforce consistent `break`/`return`/`continue`/`throw` position in `case` clauses.
6549
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/switch-case-break-position.md
6550
+ */
6551
+ 'unicorn/switch-case-break-position'?: Linter.RuleEntry<[]>
6521
6552
  /**
6522
6553
  * Fix whitespace-insensitive template indentation.
6523
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/template-indent.md
6554
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/template-indent.md
6524
6555
  */
6525
6556
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
6526
6557
  /**
6527
6558
  * Enforce consistent case for text encoding identifiers.
6528
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/text-encoding-identifier-case.md
6559
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/text-encoding-identifier-case.md
6529
6560
  */
6530
6561
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>
6531
6562
  /**
6532
6563
  * Require `new` when creating an error.
6533
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/throw-new-error.md
6564
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/throw-new-error.md
6534
6565
  */
6535
6566
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
6536
6567
  /**
@@ -6939,6 +6970,11 @@ export interface Rules {
6939
6970
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-top-level-describe.md
6940
6971
  */
6941
6972
  'vitest/require-top-level-describe'?: Linter.RuleEntry<VitestRequireTopLevelDescribe>
6973
+ /**
6974
+ * enforce unbound methods are called with their expected scope
6975
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/unbound-method.md
6976
+ */
6977
+ 'vitest/unbound-method'?: Linter.RuleEntry<VitestUnboundMethod>
6942
6978
  /**
6943
6979
  * enforce valid describe callback
6944
6980
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-describe-callback.md
@@ -7330,33 +7366,33 @@ type StylisticExpListStyle = []|[{
7330
7366
  singleLine?: _StylisticExpListStyle_SingleLineConfig
7331
7367
  multiLine?: _StylisticExpListStyle_MultiLineConfig
7332
7368
  overrides?: {
7333
- "()"?: _StylisticExpListStyle_BaseConfig
7334
- "[]"?: _StylisticExpListStyle_BaseConfig
7335
- "{}"?: _StylisticExpListStyle_BaseConfig
7336
- "<>"?: _StylisticExpListStyle_BaseConfig
7337
- ArrayExpression?: _StylisticExpListStyle_BaseConfig
7338
- ArrayPattern?: _StylisticExpListStyle_BaseConfig
7339
- ArrowFunctionExpression?: _StylisticExpListStyle_BaseConfig
7340
- CallExpression?: _StylisticExpListStyle_BaseConfig
7341
- ExportNamedDeclaration?: _StylisticExpListStyle_BaseConfig
7342
- FunctionDeclaration?: _StylisticExpListStyle_BaseConfig
7343
- FunctionExpression?: _StylisticExpListStyle_BaseConfig
7344
- IfStatement?: _StylisticExpListStyle_BaseConfig
7345
- ImportAttributes?: _StylisticExpListStyle_BaseConfig
7346
- ImportDeclaration?: _StylisticExpListStyle_BaseConfig
7347
- JSONArrayExpression?: _StylisticExpListStyle_BaseConfig
7348
- JSONObjectExpression?: _StylisticExpListStyle_BaseConfig
7349
- NewExpression?: _StylisticExpListStyle_BaseConfig
7350
- ObjectExpression?: _StylisticExpListStyle_BaseConfig
7351
- ObjectPattern?: _StylisticExpListStyle_BaseConfig
7352
- TSDeclareFunction?: _StylisticExpListStyle_BaseConfig
7353
- TSEnumBody?: _StylisticExpListStyle_BaseConfig
7354
- TSFunctionType?: _StylisticExpListStyle_BaseConfig
7355
- TSInterfaceBody?: _StylisticExpListStyle_BaseConfig
7356
- TSTupleType?: _StylisticExpListStyle_BaseConfig
7357
- TSTypeLiteral?: _StylisticExpListStyle_BaseConfig
7358
- TSTypeParameterDeclaration?: _StylisticExpListStyle_BaseConfig
7359
- TSTypeParameterInstantiation?: _StylisticExpListStyle_BaseConfig
7369
+ "()"?: (_StylisticExpListStyle_BaseConfig | "off")
7370
+ "[]"?: (_StylisticExpListStyle_BaseConfig | "off")
7371
+ "{}"?: (_StylisticExpListStyle_BaseConfig | "off")
7372
+ "<>"?: (_StylisticExpListStyle_BaseConfig | "off")
7373
+ ArrayExpression?: (_StylisticExpListStyle_BaseConfig | "off")
7374
+ ArrayPattern?: (_StylisticExpListStyle_BaseConfig | "off")
7375
+ ArrowFunctionExpression?: (_StylisticExpListStyle_BaseConfig | "off")
7376
+ CallExpression?: (_StylisticExpListStyle_BaseConfig | "off")
7377
+ ExportNamedDeclaration?: (_StylisticExpListStyle_BaseConfig | "off")
7378
+ FunctionDeclaration?: (_StylisticExpListStyle_BaseConfig | "off")
7379
+ FunctionExpression?: (_StylisticExpListStyle_BaseConfig | "off")
7380
+ IfStatement?: (_StylisticExpListStyle_BaseConfig | "off")
7381
+ ImportAttributes?: (_StylisticExpListStyle_BaseConfig | "off")
7382
+ ImportDeclaration?: (_StylisticExpListStyle_BaseConfig | "off")
7383
+ JSONArrayExpression?: (_StylisticExpListStyle_BaseConfig | "off")
7384
+ JSONObjectExpression?: (_StylisticExpListStyle_BaseConfig | "off")
7385
+ NewExpression?: (_StylisticExpListStyle_BaseConfig | "off")
7386
+ ObjectExpression?: (_StylisticExpListStyle_BaseConfig | "off")
7387
+ ObjectPattern?: (_StylisticExpListStyle_BaseConfig | "off")
7388
+ TSDeclareFunction?: (_StylisticExpListStyle_BaseConfig | "off")
7389
+ TSEnumBody?: (_StylisticExpListStyle_BaseConfig | "off")
7390
+ TSFunctionType?: (_StylisticExpListStyle_BaseConfig | "off")
7391
+ TSInterfaceBody?: (_StylisticExpListStyle_BaseConfig | "off")
7392
+ TSTupleType?: (_StylisticExpListStyle_BaseConfig | "off")
7393
+ TSTypeLiteral?: (_StylisticExpListStyle_BaseConfig | "off")
7394
+ TSTypeParameterDeclaration?: (_StylisticExpListStyle_BaseConfig | "off")
7395
+ TSTypeParameterInstantiation?: (_StylisticExpListStyle_BaseConfig | "off")
7360
7396
  }
7361
7397
  }]
7362
7398
  interface _StylisticExpListStyle_SingleLineConfig {
@@ -8284,6 +8320,7 @@ type StylisticPaddingLineBetweenStatements = {
8284
8320
  }[]
8285
8321
  interface _StylisticPaddingLineBetweenStatements_SelectorOption {
8286
8322
  selector: string
8323
+ lineMode?: ("any" | "singleline" | "multiline")
8287
8324
  }
8288
8325
  // ----- @stylistic/quote-props -----
8289
8326
  type StylisticQuoteProps = ([]|[("always" | "as-needed" | "consistent" | "consistent-as-needed")] | []|[("always" | "as-needed" | "consistent" | "consistent-as-needed")]|[("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
@@ -9410,6 +9447,19 @@ type TypescriptEslintPreferOptionalChain = []|[{
9410
9447
  // ----- @typescript-eslint/prefer-promise-reject-errors -----
9411
9448
  type TypescriptEslintPreferPromiseRejectErrors = []|[{
9412
9449
 
9450
+ allow?: (string | {
9451
+ from: "file"
9452
+ name: (string | [string, ...(string)[]])
9453
+ path?: string
9454
+ } | {
9455
+ from: "lib"
9456
+ name: (string | [string, ...(string)[]])
9457
+ } | {
9458
+ from: "package"
9459
+ name: (string | [string, ...(string)[]])
9460
+ package: string
9461
+ })[]
9462
+
9413
9463
  allowEmptyReject?: boolean
9414
9464
 
9415
9465
  allowThrowingAny?: boolean
@@ -12065,6 +12115,8 @@ type LogicalAssignmentOperators = (([]|["always"]|["always", {
12065
12115
  type MarkdownFencedCodeLanguage = []|[{
12066
12116
  required?: string[]
12067
12117
  }]
12118
+ // ----- markdown/fenced-code-meta -----
12119
+ type MarkdownFencedCodeMeta = []|[("always" | "never")]
12068
12120
  // ----- markdown/heading-increment -----
12069
12121
  type MarkdownHeadingIncrement = []|[{
12070
12122
  frontmatterTitle?: string
@@ -12073,6 +12125,7 @@ type MarkdownHeadingIncrement = []|[{
12073
12125
  type MarkdownNoDuplicateDefinitions = []|[{
12074
12126
  allowDefinitions?: string[]
12075
12127
  allowFootnoteDefinitions?: string[]
12128
+ checkFootnoteDefinitions?: boolean
12076
12129
  }]
12077
12130
  // ----- markdown/no-duplicate-headings -----
12078
12131
  type MarkdownNoDuplicateHeadings = []|[{
@@ -12114,6 +12167,7 @@ type MarkdownNoSpaceInEmphasis = []|[{
12114
12167
  type MarkdownNoUnusedDefinitions = []|[{
12115
12168
  allowDefinitions?: string[]
12116
12169
  allowFootnoteDefinitions?: string[]
12170
+ checkFootnoteDefinitions?: boolean
12117
12171
  }]
12118
12172
  // ----- markdown/table-column-count -----
12119
12173
  type MarkdownTableColumnCount = []|[{
@@ -12221,6 +12275,8 @@ type MaxParams = []|[(number | {
12221
12275
  max?: number
12222
12276
 
12223
12277
  countVoidThis?: boolean
12278
+
12279
+ countThis?: ("never" | "except-void" | "always")
12224
12280
  })]
12225
12281
  // ----- max-statements -----
12226
12282
  type MaxStatements = []|[(number | {
@@ -12666,6 +12722,7 @@ type NodeDependenciesAbsoluteVersion = []|[(("always" | "never") | {
12666
12722
  // ----- node-dependencies/compat-engines -----
12667
12723
  type NodeDependenciesCompatEngines = []|[{
12668
12724
  deep?: boolean
12725
+ devDependencies?: boolean
12669
12726
  comparisonType?: ("normal" | "major")
12670
12727
  }]
12671
12728
  // ----- node-dependencies/no-deprecated -----
@@ -12688,6 +12745,7 @@ type NodeDependenciesRequireProvenanceDeps = []|[{
12688
12745
  // ----- node-dependencies/valid-engines -----
12689
12746
  type NodeDependenciesValidEngines = []|[{
12690
12747
  deep?: boolean
12748
+ devDependencies?: boolean
12691
12749
  comparisonType?: ("normal" | "major")
12692
12750
  }]
12693
12751
  // ----- node/callback-return -----
@@ -13234,6 +13292,186 @@ type PerfectionistSortArrayIncludes = {
13234
13292
 
13235
13293
  flags?: string
13236
13294
  } | string))
13295
+
13296
+ matchesAstSelector?: string
13297
+ }
13298
+
13299
+ partitionByComment?: (boolean | (({
13300
+
13301
+ pattern: string
13302
+
13303
+ flags?: string
13304
+ } | string)[] | ({
13305
+
13306
+ pattern: string
13307
+
13308
+ flags?: string
13309
+ } | string)) | {
13310
+
13311
+ block?: (boolean | (({
13312
+
13313
+ pattern: string
13314
+
13315
+ flags?: string
13316
+ } | string)[] | ({
13317
+
13318
+ pattern: string
13319
+
13320
+ flags?: string
13321
+ } | string)))
13322
+
13323
+ line?: (boolean | (({
13324
+
13325
+ pattern: string
13326
+
13327
+ flags?: string
13328
+ } | string)[] | ({
13329
+
13330
+ pattern: string
13331
+
13332
+ flags?: string
13333
+ } | string)))
13334
+ })
13335
+
13336
+ partitionByNewLine?: boolean
13337
+ }[]
13338
+ // ----- perfectionist/sort-arrays -----
13339
+ type PerfectionistSortArrays = {
13340
+
13341
+ fallbackSort?: {
13342
+
13343
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13344
+
13345
+ order?: ("asc" | "desc")
13346
+ }
13347
+
13348
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13349
+
13350
+ specialCharacters?: ("remove" | "trim" | "keep")
13351
+
13352
+ ignoreCase?: boolean
13353
+
13354
+ alphabet?: string
13355
+
13356
+ locales?: (string | string[])
13357
+
13358
+ order?: ("asc" | "desc")
13359
+
13360
+ customGroups?: ({
13361
+
13362
+ fallbackSort?: {
13363
+
13364
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13365
+
13366
+ order?: ("asc" | "desc")
13367
+ }
13368
+
13369
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13370
+
13371
+ groupName: string
13372
+ newlinesInside?: ("ignore" | number)
13373
+
13374
+ order?: ("asc" | "desc")
13375
+
13376
+ anyOf: [{
13377
+
13378
+ elementNamePattern?: (({
13379
+
13380
+ pattern: string
13381
+
13382
+ flags?: string
13383
+ } | string)[] | ({
13384
+
13385
+ pattern: string
13386
+
13387
+ flags?: string
13388
+ } | string))
13389
+
13390
+ selector?: "literal"
13391
+ }, ...({
13392
+
13393
+ elementNamePattern?: (({
13394
+
13395
+ pattern: string
13396
+
13397
+ flags?: string
13398
+ } | string)[] | ({
13399
+
13400
+ pattern: string
13401
+
13402
+ flags?: string
13403
+ } | string))
13404
+
13405
+ selector?: "literal"
13406
+ })[]]
13407
+ } | {
13408
+
13409
+ fallbackSort?: {
13410
+
13411
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13412
+
13413
+ order?: ("asc" | "desc")
13414
+ }
13415
+
13416
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13417
+
13418
+ groupName: string
13419
+ newlinesInside?: ("ignore" | number)
13420
+
13421
+ order?: ("asc" | "desc")
13422
+
13423
+ elementNamePattern?: (({
13424
+
13425
+ pattern: string
13426
+
13427
+ flags?: string
13428
+ } | string)[] | ({
13429
+
13430
+ pattern: string
13431
+
13432
+ flags?: string
13433
+ } | string))
13434
+
13435
+ selector?: "literal"
13436
+ })[]
13437
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
13438
+
13439
+ groups?: (string | [string, ...(string)[]] | {
13440
+ newlinesBetween: ("ignore" | number)
13441
+ } | {
13442
+ group: (string | [string, ...(string)[]])
13443
+
13444
+ fallbackSort?: {
13445
+
13446
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13447
+
13448
+ order?: ("asc" | "desc")
13449
+ }
13450
+
13451
+ commentAbove?: string
13452
+
13453
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13454
+ newlinesInside?: ("ignore" | number)
13455
+
13456
+ order?: ("asc" | "desc")
13457
+ })[]
13458
+ newlinesBetween?: ("ignore" | number)
13459
+
13460
+ useConfigurationIf: {
13461
+
13462
+ allNamesMatchPattern?: (({
13463
+
13464
+ pattern: string
13465
+
13466
+ flags?: string
13467
+ } | string)[] | ({
13468
+
13469
+ pattern: string
13470
+
13471
+ flags?: string
13472
+ } | string))
13473
+
13474
+ matchesAstSelector?: string
13237
13475
  }
13238
13476
 
13239
13477
  partitionByComment?: (boolean | (({
@@ -13276,7 +13514,7 @@ type PerfectionistSortArrayIncludes = {
13276
13514
  partitionByNewLine?: boolean
13277
13515
  }[]
13278
13516
  // ----- perfectionist/sort-classes -----
13279
- type PerfectionistSortClasses = []|[{
13517
+ type PerfectionistSortClasses = {
13280
13518
 
13281
13519
  fallbackSort?: {
13282
13520
 
@@ -13475,6 +13713,23 @@ type PerfectionistSortClasses = []|[{
13475
13713
  })[]
13476
13714
  newlinesBetween?: ("ignore" | number)
13477
13715
 
13716
+ useConfigurationIf?: {
13717
+
13718
+ allNamesMatchPattern?: (({
13719
+
13720
+ pattern: string
13721
+
13722
+ flags?: string
13723
+ } | string)[] | ({
13724
+
13725
+ pattern: string
13726
+
13727
+ flags?: string
13728
+ } | string))
13729
+
13730
+ matchesAstSelector?: string
13731
+ }
13732
+
13478
13733
  useExperimentalDependencyDetection?: boolean
13479
13734
 
13480
13735
  ignoreCallbackDependenciesPatterns?: (({
@@ -13527,7 +13782,7 @@ type PerfectionistSortClasses = []|[{
13527
13782
  })
13528
13783
 
13529
13784
  partitionByNewLine?: boolean
13530
- }]
13785
+ }[]
13531
13786
  // ----- perfectionist/sort-decorators -----
13532
13787
  type PerfectionistSortDecorators = {
13533
13788
 
@@ -13694,7 +13949,7 @@ type PerfectionistSortDecorators = {
13694
13949
  partitionByNewLine?: boolean
13695
13950
  }[]
13696
13951
  // ----- perfectionist/sort-enums -----
13697
- type PerfectionistSortEnums = []|[{
13952
+ type PerfectionistSortEnums = {
13698
13953
 
13699
13954
  fallbackSort?: {
13700
13955
 
@@ -13845,6 +14100,23 @@ type PerfectionistSortEnums = []|[{
13845
14100
  })[]
13846
14101
  newlinesBetween?: ("ignore" | number)
13847
14102
 
14103
+ useConfigurationIf?: {
14104
+
14105
+ allNamesMatchPattern?: (({
14106
+
14107
+ pattern: string
14108
+
14109
+ flags?: string
14110
+ } | string)[] | ({
14111
+
14112
+ pattern: string
14113
+
14114
+ flags?: string
14115
+ } | string))
14116
+
14117
+ matchesAstSelector?: string
14118
+ }
14119
+
13848
14120
  sortByValue?: ("always" | "ifNumericEnum" | "never")
13849
14121
 
13850
14122
  useExperimentalDependencyDetection?: boolean
@@ -13887,7 +14159,7 @@ type PerfectionistSortEnums = []|[{
13887
14159
  })
13888
14160
 
13889
14161
  partitionByNewLine?: boolean
13890
- }]
14162
+ }[]
13891
14163
  // ----- perfectionist/sort-export-attributes -----
13892
14164
  type PerfectionistSortExportAttributes = {
13893
14165
 
@@ -14004,6 +14276,23 @@ type PerfectionistSortExportAttributes = {
14004
14276
  })[]
14005
14277
  newlinesBetween?: ("ignore" | number)
14006
14278
 
14279
+ useConfigurationIf?: {
14280
+
14281
+ allNamesMatchPattern?: (({
14282
+
14283
+ pattern: string
14284
+
14285
+ flags?: string
14286
+ } | string)[] | ({
14287
+
14288
+ pattern: string
14289
+
14290
+ flags?: string
14291
+ } | string))
14292
+
14293
+ matchesAstSelector?: string
14294
+ }
14295
+
14007
14296
  partitionByComment?: (boolean | (({
14008
14297
 
14009
14298
  pattern: string
@@ -14326,6 +14615,23 @@ type PerfectionistSortHeritageClauses = {
14326
14615
  })[]
14327
14616
  newlinesBetween?: ("ignore" | number)
14328
14617
 
14618
+ useConfigurationIf?: {
14619
+
14620
+ allNamesMatchPattern?: (({
14621
+
14622
+ pattern: string
14623
+
14624
+ flags?: string
14625
+ } | string)[] | ({
14626
+
14627
+ pattern: string
14628
+
14629
+ flags?: string
14630
+ } | string))
14631
+
14632
+ matchesAstSelector?: string
14633
+ }
14634
+
14329
14635
  partitionByNewLine?: boolean
14330
14636
 
14331
14637
  partitionByComment?: (boolean | (({
@@ -14481,6 +14787,23 @@ type PerfectionistSortImportAttributes = {
14481
14787
  })[]
14482
14788
  newlinesBetween?: ("ignore" | number)
14483
14789
 
14790
+ useConfigurationIf?: {
14791
+
14792
+ allNamesMatchPattern?: (({
14793
+
14794
+ pattern: string
14795
+
14796
+ flags?: string
14797
+ } | string)[] | ({
14798
+
14799
+ pattern: string
14800
+
14801
+ flags?: string
14802
+ } | string))
14803
+
14804
+ matchesAstSelector?: string
14805
+ }
14806
+
14484
14807
  partitionByComment?: (boolean | (({
14485
14808
 
14486
14809
  pattern: string
@@ -14923,6 +15246,8 @@ type PerfectionistSortInterfaces = {
14923
15246
  flags?: string
14924
15247
  } | string))
14925
15248
 
15249
+ matchesAstSelector?: string
15250
+
14926
15251
  declarationMatchesPattern?: (({
14927
15252
  scope?: ("shallow" | "deep")
14928
15253
 
@@ -15099,6 +15424,23 @@ type PerfectionistSortIntersectionTypes = {
15099
15424
  })[]
15100
15425
  newlinesBetween?: ("ignore" | number)
15101
15426
 
15427
+ useConfigurationIf?: {
15428
+
15429
+ allNamesMatchPattern?: (({
15430
+
15431
+ pattern: string
15432
+
15433
+ flags?: string
15434
+ } | string)[] | ({
15435
+
15436
+ pattern: string
15437
+
15438
+ flags?: string
15439
+ } | string))
15440
+
15441
+ matchesAstSelector?: string
15442
+ }
15443
+
15102
15444
  partitionByComment?: (boolean | (({
15103
15445
 
15104
15446
  pattern: string
@@ -15316,6 +15658,8 @@ type PerfectionistSortJsxProps = {
15316
15658
  flags?: string
15317
15659
  } | string))
15318
15660
 
15661
+ matchesAstSelector?: string
15662
+
15319
15663
  tagMatchesPattern?: (({
15320
15664
 
15321
15665
  pattern: string
@@ -15460,6 +15804,8 @@ type PerfectionistSortMaps = {
15460
15804
 
15461
15805
  flags?: string
15462
15806
  } | string))
15807
+
15808
+ matchesAstSelector?: string
15463
15809
  }
15464
15810
 
15465
15811
  partitionByComment?: (boolean | (({
@@ -15834,6 +16180,23 @@ type PerfectionistSortNamedExports = {
15834
16180
  })[]
15835
16181
  newlinesBetween?: ("ignore" | number)
15836
16182
 
16183
+ useConfigurationIf?: {
16184
+
16185
+ allNamesMatchPattern?: (({
16186
+
16187
+ pattern: string
16188
+
16189
+ flags?: string
16190
+ } | string)[] | ({
16191
+
16192
+ pattern: string
16193
+
16194
+ flags?: string
16195
+ } | string))
16196
+
16197
+ matchesAstSelector?: string
16198
+ }
16199
+
15837
16200
  ignoreAlias?: boolean
15838
16201
 
15839
16202
  partitionByComment?: (boolean | (({
@@ -16003,6 +16366,23 @@ type PerfectionistSortNamedImports = {
16003
16366
  })[]
16004
16367
  newlinesBetween?: ("ignore" | number)
16005
16368
 
16369
+ useConfigurationIf?: {
16370
+
16371
+ allNamesMatchPattern?: (({
16372
+
16373
+ pattern: string
16374
+
16375
+ flags?: string
16376
+ } | string)[] | ({
16377
+
16378
+ pattern: string
16379
+
16380
+ flags?: string
16381
+ } | string))
16382
+
16383
+ matchesAstSelector?: string
16384
+ }
16385
+
16006
16386
  ignoreAlias?: boolean
16007
16387
 
16008
16388
  partitionByComment?: (boolean | (({
@@ -16246,6 +16626,8 @@ type PerfectionistSortObjectTypes = {
16246
16626
  flags?: string
16247
16627
  } | string))
16248
16628
 
16629
+ matchesAstSelector?: string
16630
+
16249
16631
  declarationMatchesPattern?: (({
16250
16632
  scope?: ("shallow" | "deep")
16251
16633
 
@@ -16518,6 +16900,8 @@ type PerfectionistSortObjects = {
16518
16900
  flags?: string
16519
16901
  } | string))
16520
16902
 
16903
+ matchesAstSelector?: string
16904
+
16521
16905
  declarationMatchesPattern?: (({
16522
16906
  scope?: ("shallow" | "deep")
16523
16907
 
@@ -16533,6 +16917,8 @@ type PerfectionistSortObjects = {
16533
16917
  } | string))
16534
16918
  }
16535
16919
 
16920
+ partitionByComputedKey?: boolean
16921
+
16536
16922
  styledComponents?: boolean
16537
16923
 
16538
16924
  useExperimentalDependencyDetection?: boolean
@@ -16711,6 +17097,8 @@ type PerfectionistSortSets = {
16711
17097
 
16712
17098
  flags?: string
16713
17099
  } | string))
17100
+
17101
+ matchesAstSelector?: string
16714
17102
  }
16715
17103
 
16716
17104
  partitionByComment?: (boolean | (({
@@ -16896,6 +17284,23 @@ type PerfectionistSortUnionTypes = {
16896
17284
  })[]
16897
17285
  newlinesBetween?: ("ignore" | number)
16898
17286
 
17287
+ useConfigurationIf?: {
17288
+
17289
+ allNamesMatchPattern?: (({
17290
+
17291
+ pattern: string
17292
+
17293
+ flags?: string
17294
+ } | string)[] | ({
17295
+
17296
+ pattern: string
17297
+
17298
+ flags?: string
17299
+ } | string))
17300
+
17301
+ matchesAstSelector?: string
17302
+ }
17303
+
16899
17304
  partitionByComment?: (boolean | (({
16900
17305
 
16901
17306
  pattern: string
@@ -16936,7 +17341,7 @@ type PerfectionistSortUnionTypes = {
16936
17341
  partitionByNewLine?: boolean
16937
17342
  }[]
16938
17343
  // ----- perfectionist/sort-variable-declarations -----
16939
- type PerfectionistSortVariableDeclarations = []|[{
17344
+ type PerfectionistSortVariableDeclarations = {
16940
17345
 
16941
17346
  fallbackSort?: {
16942
17347
 
@@ -17057,6 +17462,23 @@ type PerfectionistSortVariableDeclarations = []|[{
17057
17462
  })[]
17058
17463
  newlinesBetween?: ("ignore" | number)
17059
17464
 
17465
+ useConfigurationIf?: {
17466
+
17467
+ allNamesMatchPattern?: (({
17468
+
17469
+ pattern: string
17470
+
17471
+ flags?: string
17472
+ } | string)[] | ({
17473
+
17474
+ pattern: string
17475
+
17476
+ flags?: string
17477
+ } | string))
17478
+
17479
+ matchesAstSelector?: string
17480
+ }
17481
+
17060
17482
  useExperimentalDependencyDetection?: boolean
17061
17483
 
17062
17484
  partitionByComment?: (boolean | (({
@@ -17097,7 +17519,7 @@ type PerfectionistSortVariableDeclarations = []|[{
17097
17519
  })
17098
17520
 
17099
17521
  partitionByNewLine?: boolean
17100
- }]
17522
+ }[]
17101
17523
  // ----- pnpm/json-enforce-catalog -----
17102
17524
  type PnpmJsonEnforceCatalog = []|[{
17103
17525
 
@@ -17769,25 +18191,36 @@ type TomlTableBracketSpacing = []|[("always" | "never")]
17769
18191
  type UnicodeBom = []|[("always" | "never")]
17770
18192
  // ----- unicorn/better-regex -----
17771
18193
  type UnicornBetterRegex = []|[{
18194
+
17772
18195
  sortCharacterClasses?: boolean
17773
18196
  }]
17774
18197
  // ----- unicorn/catch-error-name -----
17775
18198
  type UnicornCatchErrorName = []|[{
18199
+
17776
18200
  name?: string
18201
+
17777
18202
  ignore?: unknown[]
17778
18203
  }]
17779
18204
  // ----- unicorn/consistent-function-scoping -----
17780
18205
  type UnicornConsistentFunctionScoping = []|[{
18206
+
17781
18207
  checkArrowFunctions?: boolean
17782
18208
  }]
17783
18209
  // ----- unicorn/escape-case -----
17784
18210
  type UnicornEscapeCase = []|[("uppercase" | "lowercase")]
17785
18211
  // ----- unicorn/expiring-todo-comments -----
17786
18212
  type UnicornExpiringTodoComments = []|[{
18213
+
17787
18214
  terms?: string[]
18215
+
17788
18216
  ignore?: unknown[]
18217
+
18218
+ ignoreDates?: boolean
18219
+
17789
18220
  ignoreDatesOnPullRequests?: boolean
18221
+
17790
18222
  allowWarningComments?: boolean
18223
+
17791
18224
  date?: string
17792
18225
  }]
17793
18226
  // ----- unicorn/explicit-length-check -----
@@ -17796,25 +18229,40 @@ type UnicornExplicitLengthCheck = []|[{
17796
18229
  }]
17797
18230
  // ----- unicorn/filename-case -----
17798
18231
  type UnicornFilenameCase = []|[({
18232
+
17799
18233
  case?: ("camelCase" | "snakeCase" | "kebabCase" | "pascalCase")
18234
+
17800
18235
  ignore?: unknown[]
18236
+
17801
18237
  multipleFileExtensions?: boolean
17802
18238
  } | {
18239
+
17803
18240
  cases?: {
18241
+
17804
18242
  camelCase?: boolean
18243
+
17805
18244
  snakeCase?: boolean
18245
+
17806
18246
  kebabCase?: boolean
18247
+
17807
18248
  pascalCase?: boolean
17808
18249
  }
18250
+
17809
18251
  ignore?: unknown[]
18252
+
17810
18253
  multipleFileExtensions?: boolean
17811
18254
  })]
17812
18255
  // ----- unicorn/import-style -----
17813
18256
  type UnicornImportStyle = []|[{
18257
+
17814
18258
  checkImport?: boolean
18259
+
17815
18260
  checkDynamicImport?: boolean
18261
+
17816
18262
  checkExportFrom?: boolean
18263
+
17817
18264
  checkRequire?: boolean
18265
+
17818
18266
  extendDefaultStyles?: boolean
17819
18267
  styles?: _UnicornImportStyle_ModuleStyles
17820
18268
  }]
@@ -17827,15 +18275,20 @@ interface _UnicornImportStyle_BooleanObject {
17827
18275
  }
17828
18276
  // ----- unicorn/isolated-functions -----
17829
18277
  type UnicornIsolatedFunctions = []|[{
18278
+
17830
18279
  overrideGlobals?: {
17831
18280
  [k: string]: (boolean | ("readonly" | "writable" | "writeable" | "off")) | undefined
17832
18281
  }
18282
+
17833
18283
  functions?: string[]
18284
+
17834
18285
  selectors?: string[]
18286
+
17835
18287
  comments?: string[]
17836
18288
  }]
17837
18289
  // ----- unicorn/no-array-reduce -----
17838
18290
  type UnicornNoArrayReduce = []|[{
18291
+
17839
18292
  allowSimpleOperations?: boolean
17840
18293
  }]
17841
18294
  // ----- unicorn/no-array-reverse -----
@@ -17857,26 +18310,33 @@ type UnicornNoInstanceofBuiltins = []|[{
17857
18310
  type UnicornNoKeywordPrefix = []|[{
17858
18311
 
17859
18312
  disallowedPrefixes?: []|[string]
18313
+
17860
18314
  checkProperties?: boolean
18315
+
17861
18316
  onlyCamelCase?: boolean
17862
18317
  }]
17863
18318
  // ----- unicorn/no-null -----
17864
18319
  type UnicornNoNull = []|[{
18320
+
17865
18321
  checkStrictEquality?: boolean
17866
18322
  }]
17867
18323
  // ----- unicorn/no-typeof-undefined -----
17868
18324
  type UnicornNoTypeofUndefined = []|[{
18325
+
17869
18326
  checkGlobalVariables?: boolean
17870
18327
  }]
17871
18328
  // ----- unicorn/no-unnecessary-polyfills -----
17872
18329
  type UnicornNoUnnecessaryPolyfills = []|[{
18330
+
17873
18331
  targets: (string | unknown[] | {
17874
18332
  [k: string]: unknown | undefined
17875
18333
  })
17876
18334
  }]
17877
18335
  // ----- unicorn/no-useless-undefined -----
17878
18336
  type UnicornNoUselessUndefined = []|[{
18337
+
17879
18338
  checkArguments?: boolean
18339
+
17880
18340
  checkArrowFunctionBody?: boolean
17881
18341
  }]
17882
18342
  // ----- unicorn/number-literal-case -----
@@ -17886,84 +18346,119 @@ type UnicornNumberLiteralCase = []|[{
17886
18346
  // ----- unicorn/numeric-separators-style -----
17887
18347
  type UnicornNumericSeparatorsStyle = []|[{
17888
18348
  binary?: {
18349
+
17889
18350
  onlyIfContainsSeparator?: boolean
18351
+
17890
18352
  minimumDigits?: number
18353
+
17891
18354
  groupLength?: number
17892
18355
  }
17893
18356
  octal?: {
18357
+
17894
18358
  onlyIfContainsSeparator?: boolean
18359
+
17895
18360
  minimumDigits?: number
18361
+
17896
18362
  groupLength?: number
17897
18363
  }
17898
18364
  hexadecimal?: {
18365
+
17899
18366
  onlyIfContainsSeparator?: boolean
18367
+
17900
18368
  minimumDigits?: number
18369
+
17901
18370
  groupLength?: number
17902
18371
  }
17903
18372
  number?: {
18373
+
17904
18374
  onlyIfContainsSeparator?: boolean
18375
+
17905
18376
  minimumDigits?: number
18377
+
17906
18378
  groupLength?: number
17907
18379
  }
18380
+
17908
18381
  onlyIfContainsSeparator?: boolean
17909
18382
  }]
17910
18383
  // ----- unicorn/prefer-add-event-listener -----
17911
18384
  type UnicornPreferAddEventListener = []|[{
18385
+
17912
18386
  excludedPackages?: string[]
17913
18387
  }]
17914
18388
  // ----- unicorn/prefer-array-find -----
17915
18389
  type UnicornPreferArrayFind = []|[{
18390
+
17916
18391
  checkFromLast?: boolean
17917
18392
  }]
17918
18393
  // ----- unicorn/prefer-array-flat -----
17919
18394
  type UnicornPreferArrayFlat = []|[{
18395
+
17920
18396
  functions?: unknown[]
17921
18397
  }]
17922
18398
  // ----- unicorn/prefer-at -----
17923
18399
  type UnicornPreferAt = []|[{
18400
+
17924
18401
  getLastElementFunctions?: unknown[]
18402
+
17925
18403
  checkAllIndexAccess?: boolean
17926
18404
  }]
17927
18405
  // ----- unicorn/prefer-export-from -----
17928
18406
  type UnicornPreferExportFrom = []|[{
18407
+
17929
18408
  ignoreUsedVariables?: boolean
17930
18409
  }]
17931
18410
  // ----- unicorn/prefer-number-properties -----
17932
18411
  type UnicornPreferNumberProperties = []|[{
18412
+
17933
18413
  checkInfinity?: boolean
18414
+
17934
18415
  checkNaN?: boolean
17935
18416
  }]
17936
18417
  // ----- unicorn/prefer-object-from-entries -----
17937
18418
  type UnicornPreferObjectFromEntries = []|[{
18419
+
17938
18420
  functions?: unknown[]
17939
18421
  }]
17940
18422
  // ----- unicorn/prefer-single-call -----
17941
18423
  type UnicornPreferSingleCall = []|[{
18424
+
17942
18425
  ignore?: unknown[]
17943
18426
  }]
17944
18427
  // ----- unicorn/prefer-structured-clone -----
17945
18428
  type UnicornPreferStructuredClone = []|[{
18429
+
17946
18430
  functions?: unknown[]
17947
18431
  }]
17948
18432
  // ----- unicorn/prefer-switch -----
17949
18433
  type UnicornPreferSwitch = []|[{
18434
+
17950
18435
  minimumCases?: number
18436
+
17951
18437
  emptyDefaultCase?: ("no-default-comment" | "do-nothing-comment" | "no-default-case")
17952
18438
  }]
17953
18439
  // ----- unicorn/prefer-ternary -----
17954
18440
  type UnicornPreferTernary = []|[("always" | "only-single-line")]
17955
18441
  // ----- unicorn/prevent-abbreviations -----
17956
18442
  type UnicornPreventAbbreviations = []|[{
18443
+
17957
18444
  checkProperties?: boolean
18445
+
17958
18446
  checkVariables?: boolean
18447
+
17959
18448
  checkDefaultAndNamespaceImports?: (boolean | string)
18449
+
17960
18450
  checkShorthandImports?: (boolean | string)
18451
+
17961
18452
  checkShorthandProperties?: boolean
18453
+
17962
18454
  checkFilenames?: boolean
18455
+
17963
18456
  extendDefaultReplacements?: boolean
17964
18457
  replacements?: _UnicornPreventAbbreviations_Abbreviations
18458
+
17965
18459
  extendDefaultAllowList?: boolean
17966
18460
  allowList?: _UnicornPreventAbbreviations_BooleanObject
18461
+
17967
18462
  ignore?: unknown[]
17968
18463
  }]
17969
18464
  type _UnicornPreventAbbreviationsReplacements = (false | _UnicornPreventAbbreviations_BooleanObject) | undefined
@@ -17973,10 +18468,14 @@ interface _UnicornPreventAbbreviations_Abbreviations {
17973
18468
  interface _UnicornPreventAbbreviations_BooleanObject {
17974
18469
  [k: string]: boolean | undefined
17975
18470
  }
18471
+ interface _UnicornPreventAbbreviations_BooleanObject {
18472
+ [k: string]: boolean | undefined
18473
+ }
17976
18474
  // ----- unicorn/relative-url-style -----
17977
18475
  type UnicornRelativeUrlStyle = []|[("never" | "always")]
17978
18476
  // ----- unicorn/string-content -----
17979
18477
  type UnicornStringContent = []|[{
18478
+
17980
18479
  patterns?: {
17981
18480
  [k: string]: (string | {
17982
18481
  suggest: string
@@ -17989,14 +18488,20 @@ type UnicornStringContent = []|[{
17989
18488
  type UnicornSwitchCaseBraces = []|[("always" | "avoid")]
17990
18489
  // ----- unicorn/template-indent -----
17991
18490
  type UnicornTemplateIndent = []|[{
18491
+
17992
18492
  indent?: (string | number)
18493
+
17993
18494
  tags?: string[]
18495
+
17994
18496
  functions?: string[]
18497
+
17995
18498
  selectors?: string[]
18499
+
17996
18500
  comments?: string[]
17997
18501
  }]
17998
18502
  // ----- unicorn/text-encoding-identifier-case -----
17999
18503
  type UnicornTextEncodingIdentifierCase = []|[{
18504
+
18000
18505
  withDash?: boolean
18001
18506
  }]
18002
18507
  // ----- unused-imports/no-unused-imports -----
@@ -18070,36 +18575,49 @@ type ValidTypeof = []|[{
18070
18575
  }]
18071
18576
  // ----- vitest/consistent-each-for -----
18072
18577
  type VitestConsistentEachFor = []|[{
18578
+
18073
18579
  test?: ("each" | "for")
18580
+
18074
18581
  it?: ("each" | "for")
18582
+
18075
18583
  describe?: ("each" | "for")
18584
+
18076
18585
  suite?: ("each" | "for")
18077
18586
  }]
18078
18587
  // ----- vitest/consistent-test-filename -----
18079
18588
  type VitestConsistentTestFilename = []|[{
18589
+
18080
18590
  pattern?: string
18591
+
18081
18592
  allTestPattern?: string
18082
18593
  }]
18083
18594
  // ----- vitest/consistent-test-it -----
18084
18595
  type VitestConsistentTestIt = []|[{
18596
+
18085
18597
  fn?: ("test" | "it")
18598
+
18086
18599
  withinDescribe?: ("test" | "it")
18087
18600
  }]
18088
18601
  // ----- vitest/consistent-vitest-vi -----
18089
18602
  type VitestConsistentVitestVi = []|[{
18603
+
18090
18604
  fn?: ("vi" | "vitest")
18091
18605
  }]
18092
18606
  // ----- vitest/expect-expect -----
18093
18607
  type VitestExpectExpect = []|[{
18608
+
18094
18609
  assertFunctionNames?: string[]
18610
+
18095
18611
  additionalTestBlockFunctions?: string[]
18096
18612
  }]
18097
18613
  // ----- vitest/max-expects -----
18098
18614
  type VitestMaxExpects = []|[{
18615
+
18099
18616
  max?: number
18100
18617
  }]
18101
18618
  // ----- vitest/max-nested-describe -----
18102
18619
  type VitestMaxNestedDescribe = []|[{
18620
+
18103
18621
  max?: number
18104
18622
  }]
18105
18623
  // ----- vitest/no-conditional-expect -----
@@ -18109,6 +18627,7 @@ type VitestNoConditionalExpect = []|[{
18109
18627
  }]
18110
18628
  // ----- vitest/no-focused-tests -----
18111
18629
  type VitestNoFocusedTests = []|[{
18630
+
18112
18631
  fixable?: boolean
18113
18632
  }]
18114
18633
  // ----- vitest/no-hooks -----
@@ -18118,8 +18637,11 @@ type VitestNoHooks = []|[{
18118
18637
  }]
18119
18638
  // ----- vitest/no-large-snapshots -----
18120
18639
  type VitestNoLargeSnapshots = []|[{
18640
+
18121
18641
  maxSize?: number
18642
+
18122
18643
  inlineMaxSize?: number
18644
+
18123
18645
  allowedSnapshots?: {
18124
18646
  [k: string]: unknown[] | undefined
18125
18647
  }
@@ -18134,50 +18656,74 @@ type VitestNoRestrictedViMethods = []|[{
18134
18656
  }]
18135
18657
  // ----- vitest/no-standalone-expect -----
18136
18658
  type VitestNoStandaloneExpect = []|[{
18659
+
18137
18660
  additionalTestBlockFunctions?: string[]
18138
18661
  }]
18139
18662
  // ----- vitest/prefer-expect-assertions -----
18140
18663
  type VitestPreferExpectAssertions = []|[{
18664
+
18141
18665
  onlyFunctionsWithAsyncKeyword?: boolean
18666
+
18142
18667
  onlyFunctionsWithExpectInLoop?: boolean
18668
+
18143
18669
  onlyFunctionsWithExpectInCallback?: boolean
18144
18670
  }]
18145
18671
  // ----- vitest/prefer-import-in-mock -----
18146
18672
  type VitestPreferImportInMock = []|[{
18673
+
18147
18674
  fixable?: boolean
18148
18675
  }]
18149
18676
  // ----- vitest/prefer-lowercase-title -----
18150
18677
  type VitestPreferLowercaseTitle = []|[{
18678
+
18151
18679
  ignore?: ("describe" | "test" | "it")[]
18680
+
18152
18681
  allowedPrefixes?: string[]
18682
+
18153
18683
  ignoreTopLevelDescribe?: boolean
18684
+
18154
18685
  lowercaseFirstCharacterOnly?: boolean
18155
18686
  }]
18156
18687
  // ----- vitest/prefer-snapshot-hint -----
18157
18688
  type VitestPreferSnapshotHint = []|[("always" | "multi")]
18158
18689
  // ----- vitest/require-hook -----
18159
18690
  type VitestRequireHook = []|[{
18691
+
18160
18692
  allowedFunctionCalls?: string[]
18161
18693
  }]
18162
18694
  // ----- vitest/require-mock-type-parameters -----
18163
18695
  type VitestRequireMockTypeParameters = []|[{
18696
+
18164
18697
  checkImportFunctions?: boolean
18165
18698
  }]
18166
18699
  // ----- vitest/require-top-level-describe -----
18167
18700
  type VitestRequireTopLevelDescribe = []|[{
18701
+
18168
18702
  maxNumberOfTopLevelDescribes?: number
18169
18703
  }]
18704
+ // ----- vitest/unbound-method -----
18705
+ type VitestUnboundMethod = []|[{
18706
+
18707
+ ignoreStatic?: boolean
18708
+ }]
18170
18709
  // ----- vitest/valid-expect -----
18171
18710
  type VitestValidExpect = []|[{
18711
+
18172
18712
  alwaysAwait?: boolean
18713
+
18173
18714
  asyncMatchers?: string[]
18715
+
18174
18716
  minArgs?: number
18717
+
18175
18718
  maxArgs?: number
18176
18719
  }]
18177
18720
  // ----- vitest/valid-title -----
18178
18721
  type VitestValidTitle = []|[{
18722
+
18179
18723
  ignoreTypeOfDescribeName?: boolean
18724
+
18180
18725
  allowArguments?: boolean
18726
+
18181
18727
  disallowedWords?: string[]
18182
18728
  [k: string]: (string | [string]|[string, string] | {
18183
18729
  [k: string]: (string | [string]|[string, string]) | undefined