@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/lib/index.d.ts CHANGED
@@ -1779,6 +1779,7 @@ interface Rules {
1779
1779
  /**
1780
1780
  * disallow unused `eslint-disable` comments
1781
1781
  * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-unused-disable.html
1782
+ * @deprecated
1782
1783
  */
1783
1784
  'eslint-comments/no-unused-disable'?: Linter.RuleEntry<[]>
1784
1785
  /**
@@ -1896,238 +1897,238 @@ interface Rules {
1896
1897
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
1897
1898
  /**
1898
1899
  * Enforce or ban the use of inline type-only markers for named imports.
1899
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/consistent-type-specifier-style.md
1900
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/consistent-type-specifier-style.md
1900
1901
  */
1901
1902
  'import-x/consistent-type-specifier-style'?: Linter.RuleEntry<ImportXConsistentTypeSpecifierStyle>
1902
1903
  /**
1903
1904
  * Ensure a default export is present, given a default import.
1904
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/default.md
1905
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/default.md
1905
1906
  */
1906
1907
  'import-x/default'?: Linter.RuleEntry<[]>
1907
1908
  /**
1908
1909
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
1909
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/dynamic-import-chunkname.md
1910
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/dynamic-import-chunkname.md
1910
1911
  */
1911
1912
  'import-x/dynamic-import-chunkname'?: Linter.RuleEntry<ImportXDynamicImportChunkname>
1912
1913
  /**
1913
1914
  * Forbid any invalid exports, i.e. re-export of the same name.
1914
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/export.md
1915
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/export.md
1915
1916
  */
1916
1917
  'import-x/export'?: Linter.RuleEntry<[]>
1917
1918
  /**
1918
1919
  * Ensure all exports appear after other statements.
1919
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/exports-last.md
1920
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/exports-last.md
1920
1921
  */
1921
1922
  'import-x/exports-last'?: Linter.RuleEntry<[]>
1922
1923
  /**
1923
1924
  * Ensure consistent use of file extension within the import path.
1924
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/extensions.md
1925
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/extensions.md
1925
1926
  */
1926
1927
  'import-x/extensions'?: Linter.RuleEntry<ImportXExtensions>
1927
1928
  /**
1928
1929
  * Ensure all imports appear before other statements.
1929
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/first.md
1930
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/first.md
1930
1931
  */
1931
1932
  'import-x/first'?: Linter.RuleEntry<ImportXFirst>
1932
1933
  /**
1933
1934
  * Prefer named exports to be grouped together in a single export declaration.
1934
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/group-exports.md
1935
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/group-exports.md
1935
1936
  */
1936
1937
  'import-x/group-exports'?: Linter.RuleEntry<[]>
1937
1938
  /**
1938
1939
  * Replaced by `import-x/first`.
1939
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/imports-first.md
1940
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/imports-first.md
1940
1941
  * @deprecated
1941
1942
  */
1942
1943
  'import-x/imports-first'?: Linter.RuleEntry<ImportXImportsFirst>
1943
1944
  /**
1944
1945
  * Enforce the maximum number of dependencies a module can have.
1945
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/max-dependencies.md
1946
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/max-dependencies.md
1946
1947
  */
1947
1948
  'import-x/max-dependencies'?: Linter.RuleEntry<ImportXMaxDependencies>
1948
1949
  /**
1949
1950
  * Ensure named imports correspond to a named export in the remote file.
1950
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/named.md
1951
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/named.md
1951
1952
  */
1952
1953
  'import-x/named'?: Linter.RuleEntry<ImportXNamed>
1953
1954
  /**
1954
1955
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
1955
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/namespace.md
1956
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/namespace.md
1956
1957
  */
1957
1958
  'import-x/namespace'?: Linter.RuleEntry<ImportXNamespace>
1958
1959
  /**
1959
1960
  * Enforce a newline after import statements.
1960
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/newline-after-import.md
1961
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/newline-after-import.md
1961
1962
  */
1962
1963
  'import-x/newline-after-import'?: Linter.RuleEntry<ImportXNewlineAfterImport>
1963
1964
  /**
1964
1965
  * Forbid import of modules using absolute paths.
1965
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-absolute-path.md
1966
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-absolute-path.md
1966
1967
  */
1967
1968
  'import-x/no-absolute-path'?: Linter.RuleEntry<ImportXNoAbsolutePath>
1968
1969
  /**
1969
1970
  * Forbid AMD `require` and `define` calls.
1970
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-amd.md
1971
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-amd.md
1971
1972
  */
1972
1973
  'import-x/no-amd'?: Linter.RuleEntry<[]>
1973
1974
  /**
1974
1975
  * Forbid anonymous values as default exports.
1975
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-anonymous-default-export.md
1976
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-anonymous-default-export.md
1976
1977
  */
1977
1978
  'import-x/no-anonymous-default-export'?: Linter.RuleEntry<ImportXNoAnonymousDefaultExport>
1978
1979
  /**
1979
1980
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
1980
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-commonjs.md
1981
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-commonjs.md
1981
1982
  */
1982
1983
  'import-x/no-commonjs'?: Linter.RuleEntry<ImportXNoCommonjs>
1983
1984
  /**
1984
1985
  * Forbid a module from importing a module with a dependency path back to itself.
1985
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-cycle.md
1986
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-cycle.md
1986
1987
  */
1987
1988
  'import-x/no-cycle'?: Linter.RuleEntry<ImportXNoCycle>
1988
1989
  /**
1989
1990
  * Forbid default exports.
1990
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-default-export.md
1991
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-default-export.md
1991
1992
  */
1992
1993
  'import-x/no-default-export'?: Linter.RuleEntry<[]>
1993
1994
  /**
1994
1995
  * Forbid imported names marked with `@deprecated` documentation tag.
1995
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-deprecated.md
1996
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-deprecated.md
1996
1997
  */
1997
1998
  'import-x/no-deprecated'?: Linter.RuleEntry<[]>
1998
1999
  /**
1999
2000
  * Forbid repeated import of the same module in multiple places.
2000
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-duplicates.md
2001
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-duplicates.md
2001
2002
  */
2002
2003
  'import-x/no-duplicates'?: Linter.RuleEntry<ImportXNoDuplicates>
2003
2004
  /**
2004
2005
  * Forbid `require()` calls with expressions.
2005
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-dynamic-require.md
2006
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-dynamic-require.md
2006
2007
  */
2007
2008
  'import-x/no-dynamic-require'?: Linter.RuleEntry<ImportXNoDynamicRequire>
2008
2009
  /**
2009
2010
  * Forbid empty named import blocks.
2010
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-empty-named-blocks.md
2011
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-empty-named-blocks.md
2011
2012
  */
2012
2013
  'import-x/no-empty-named-blocks'?: Linter.RuleEntry<[]>
2013
2014
  /**
2014
2015
  * Forbid the use of extraneous packages.
2015
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-extraneous-dependencies.md
2016
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-extraneous-dependencies.md
2016
2017
  */
2017
2018
  'import-x/no-extraneous-dependencies'?: Linter.RuleEntry<ImportXNoExtraneousDependencies>
2018
2019
  /**
2019
2020
  * Forbid import statements with CommonJS module.exports.
2020
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-import-module-exports.md
2021
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-import-module-exports.md
2021
2022
  */
2022
2023
  'import-x/no-import-module-exports'?: Linter.RuleEntry<ImportXNoImportModuleExports>
2023
2024
  /**
2024
2025
  * Forbid importing the submodules of other modules.
2025
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-internal-modules.md
2026
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-internal-modules.md
2026
2027
  */
2027
2028
  'import-x/no-internal-modules'?: Linter.RuleEntry<ImportXNoInternalModules>
2028
2029
  /**
2029
2030
  * Forbid the use of mutable exports with `var` or `let`.
2030
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-mutable-exports.md
2031
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-mutable-exports.md
2031
2032
  */
2032
2033
  'import-x/no-mutable-exports'?: Linter.RuleEntry<[]>
2033
2034
  /**
2034
2035
  * Forbid use of exported name as identifier of default export.
2035
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-as-default.md
2036
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-as-default.md
2036
2037
  */
2037
2038
  'import-x/no-named-as-default'?: Linter.RuleEntry<[]>
2038
2039
  /**
2039
2040
  * Forbid use of exported name as property of default export.
2040
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-as-default-member.md
2041
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-as-default-member.md
2041
2042
  */
2042
2043
  'import-x/no-named-as-default-member'?: Linter.RuleEntry<[]>
2043
2044
  /**
2044
2045
  * Forbid named default exports.
2045
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-default.md
2046
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-default.md
2046
2047
  */
2047
2048
  'import-x/no-named-default'?: Linter.RuleEntry<[]>
2048
2049
  /**
2049
2050
  * Forbid named exports.
2050
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-export.md
2051
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-export.md
2051
2052
  */
2052
2053
  'import-x/no-named-export'?: Linter.RuleEntry<[]>
2053
2054
  /**
2054
2055
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
2055
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-namespace.md
2056
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-namespace.md
2056
2057
  */
2057
2058
  'import-x/no-namespace'?: Linter.RuleEntry<ImportXNoNamespace>
2058
2059
  /**
2059
2060
  * Forbid Node.js builtin modules.
2060
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-nodejs-modules.md
2061
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-nodejs-modules.md
2061
2062
  */
2062
2063
  'import-x/no-nodejs-modules'?: Linter.RuleEntry<ImportXNoNodejsModules>
2063
2064
  /**
2064
2065
  * Forbid importing packages through relative paths.
2065
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-relative-packages.md
2066
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-relative-packages.md
2066
2067
  */
2067
2068
  'import-x/no-relative-packages'?: Linter.RuleEntry<ImportXNoRelativePackages>
2068
2069
  /**
2069
2070
  * Forbid importing modules from parent directories.
2070
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-relative-parent-imports.md
2071
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-relative-parent-imports.md
2071
2072
  */
2072
2073
  'import-x/no-relative-parent-imports'?: Linter.RuleEntry<ImportXNoRelativeParentImports>
2073
2074
  /**
2074
2075
  * Forbid importing a default export by a different name.
2075
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-rename-default.md
2076
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-rename-default.md
2076
2077
  */
2077
2078
  'import-x/no-rename-default'?: Linter.RuleEntry<ImportXNoRenameDefault>
2078
2079
  /**
2079
2080
  * Enforce which files can be imported in a given folder.
2080
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-restricted-paths.md
2081
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-restricted-paths.md
2081
2082
  */
2082
2083
  'import-x/no-restricted-paths'?: Linter.RuleEntry<ImportXNoRestrictedPaths>
2083
2084
  /**
2084
2085
  * Forbid a module from importing itself.
2085
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-self-import.md
2086
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-self-import.md
2086
2087
  */
2087
2088
  'import-x/no-self-import'?: Linter.RuleEntry<[]>
2088
2089
  /**
2089
2090
  * Forbid unassigned imports.
2090
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unassigned-import.md
2091
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-unassigned-import.md
2091
2092
  */
2092
2093
  'import-x/no-unassigned-import'?: Linter.RuleEntry<ImportXNoUnassignedImport>
2093
2094
  /**
2094
2095
  * Ensure imports point to a file/module that can be resolved.
2095
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unresolved.md
2096
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-unresolved.md
2096
2097
  */
2097
2098
  'import-x/no-unresolved'?: Linter.RuleEntry<ImportXNoUnresolved>
2098
2099
  /**
2099
2100
  * Forbid modules without exports, or exports without matching import in another module.
2100
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unused-modules.md
2101
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-unused-modules.md
2101
2102
  */
2102
2103
  'import-x/no-unused-modules'?: Linter.RuleEntry<ImportXNoUnusedModules>
2103
2104
  /**
2104
2105
  * Forbid unnecessary path segments in import and require statements.
2105
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-useless-path-segments.md
2106
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-useless-path-segments.md
2106
2107
  */
2107
2108
  'import-x/no-useless-path-segments'?: Linter.RuleEntry<ImportXNoUselessPathSegments>
2108
2109
  /**
2109
2110
  * Forbid webpack loader syntax in imports.
2110
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-webpack-loader-syntax.md
2111
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-webpack-loader-syntax.md
2111
2112
  */
2112
2113
  'import-x/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
2113
2114
  /**
2114
2115
  * Enforce a convention in module import order.
2115
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/order.md
2116
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/order.md
2116
2117
  */
2117
2118
  'import-x/order'?: Linter.RuleEntry<ImportXOrder>
2118
2119
  /**
2119
2120
  * Prefer a default export if module exports a single name or multiple names.
2120
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/prefer-default-export.md
2121
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/prefer-default-export.md
2121
2122
  */
2122
2123
  'import-x/prefer-default-export'?: Linter.RuleEntry<ImportXPreferDefaultExport>
2123
2124
  /**
2124
2125
  * Enforce using namespace imports for specific modules, like `react`/`react-dom`, etc.
2125
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/prefer-namespace-import.md
2126
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/prefer-namespace-import.md
2126
2127
  */
2127
2128
  'import-x/prefer-namespace-import'?: Linter.RuleEntry<ImportXPreferNamespaceImport>
2128
2129
  /**
2129
2130
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
2130
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/unambiguous.md
2131
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/unambiguous.md
2131
2132
  */
2132
2133
  'import-x/unambiguous'?: Linter.RuleEntry<[]>
2133
2134
  /**
@@ -3003,6 +3004,11 @@ interface Rules {
3003
3004
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/fenced-code-language.md
3004
3005
  */
3005
3006
  'markdown/fenced-code-language'?: Linter.RuleEntry<MarkdownFencedCodeLanguage>
3007
+ /**
3008
+ * Require or disallow metadata for fenced code blocks
3009
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/fenced-code-meta.md
3010
+ */
3011
+ 'markdown/fenced-code-meta'?: Linter.RuleEntry<MarkdownFencedCodeMeta>
3006
3012
  /**
3007
3013
  * Enforce heading levels increment by one
3008
3014
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/heading-increment.md
@@ -4328,6 +4334,11 @@ interface Rules {
4328
4334
  * @see https://perfectionist.dev/rules/sort-array-includes
4329
4335
  */
4330
4336
  'perfectionist/sort-array-includes'?: Linter.RuleEntry<PerfectionistSortArrayIncludes>
4337
+ /**
4338
+ * Enforce sorted arrays.
4339
+ * @see https://perfectionist.dev/rules/sort-arrays
4340
+ */
4341
+ 'perfectionist/sort-arrays'?: Linter.RuleEntry<PerfectionistSortArrays>
4331
4342
  /**
4332
4343
  * Enforce sorted classes.
4333
4344
  * @see https://perfectionist.dev/rules/sort-classes
@@ -4561,7 +4572,7 @@ interface Rules {
4561
4572
  */
4562
4573
  'quotes'?: Linter.RuleEntry<Quotes>
4563
4574
  /**
4564
- * Enforce the consistent use of the radix argument when using `parseInt()`
4575
+ * Enforce the use of the radix argument when using `parseInt()`
4565
4576
  * @see https://eslint.org/docs/latest/rules/radix
4566
4577
  */
4567
4578
  'radix'?: Linter.RuleEntry<Radix>
@@ -5816,730 +5827,750 @@ interface Rules {
5816
5827
  'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
5817
5828
  /**
5818
5829
  * Improve regexes by making them shorter, consistent, and safer.
5819
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/better-regex.md
5830
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/better-regex.md
5820
5831
  */
5821
5832
  'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
5822
5833
  /**
5823
5834
  * Enforce a specific parameter name in catch clauses.
5824
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/catch-error-name.md
5835
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/catch-error-name.md
5825
5836
  */
5826
5837
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
5827
5838
  /**
5828
5839
  * Enforce consistent assertion style with `node:assert`.
5829
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-assert.md
5840
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-assert.md
5830
5841
  */
5831
5842
  'unicorn/consistent-assert'?: Linter.RuleEntry<[]>
5832
5843
  /**
5833
5844
  * Prefer passing `Date` directly to the constructor when cloning.
5834
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-date-clone.md
5845
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-date-clone.md
5835
5846
  */
5836
5847
  'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>
5837
5848
  /**
5838
5849
  * Use destructured variables over properties.
5839
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-destructuring.md
5850
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-destructuring.md
5840
5851
  */
5841
5852
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
5842
5853
  /**
5843
5854
  * Prefer consistent types when spreading a ternary in an array literal.
5844
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-empty-array-spread.md
5855
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-empty-array-spread.md
5845
5856
  */
5846
5857
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
5847
5858
  /**
5848
5859
  * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
5849
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-existence-index-check.md
5860
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-existence-index-check.md
5850
5861
  */
5851
5862
  'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
5852
5863
  /**
5853
5864
  * Move function definitions to the highest possible scope.
5854
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-function-scoping.md
5865
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-function-scoping.md
5855
5866
  */
5856
5867
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
5868
+ /**
5869
+ * Enforce consistent style for escaping `${` in template literals.
5870
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-template-literal-escape.md
5871
+ */
5872
+ 'unicorn/consistent-template-literal-escape'?: Linter.RuleEntry<[]>
5857
5873
  /**
5858
5874
  * Enforce correct `Error` subclassing.
5859
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/custom-error-definition.md
5875
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/custom-error-definition.md
5860
5876
  */
5861
5877
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
5862
5878
  /**
5863
5879
  * Enforce no spaces between braces.
5864
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/empty-brace-spaces.md
5880
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/empty-brace-spaces.md
5865
5881
  */
5866
5882
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
5867
5883
  /**
5868
5884
  * Enforce passing a `message` value when creating a built-in error.
5869
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/error-message.md
5885
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/error-message.md
5870
5886
  */
5871
5887
  'unicorn/error-message'?: Linter.RuleEntry<[]>
5872
5888
  /**
5873
5889
  * Require escape sequences to use uppercase or lowercase values.
5874
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/escape-case.md
5890
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/escape-case.md
5875
5891
  */
5876
5892
  'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>
5877
5893
  /**
5878
5894
  * Add expiration conditions to TODO comments.
5879
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/expiring-todo-comments.md
5895
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/expiring-todo-comments.md
5880
5896
  */
5881
5897
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
5882
5898
  /**
5883
5899
  * Enforce explicitly comparing the `length` or `size` property of a value.
5884
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/explicit-length-check.md
5900
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/explicit-length-check.md
5885
5901
  */
5886
5902
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
5887
5903
  /**
5888
5904
  * Enforce a case style for filenames.
5889
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/filename-case.md
5905
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/filename-case.md
5890
5906
  */
5891
5907
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
5892
5908
  /**
5893
5909
  * Enforce specific import styles per module.
5894
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/import-style.md
5910
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/import-style.md
5895
5911
  */
5896
5912
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
5897
5913
  /**
5898
5914
  * Prevent usage of variables from outside the scope of isolated functions.
5899
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/isolated-functions.md
5915
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/isolated-functions.md
5900
5916
  */
5901
5917
  'unicorn/isolated-functions'?: Linter.RuleEntry<UnicornIsolatedFunctions>
5902
5918
  /**
5903
5919
  * Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
5904
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/new-for-builtins.md
5920
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/new-for-builtins.md
5905
5921
  */
5906
5922
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
5907
5923
  /**
5908
5924
  * Enforce specifying rules to disable in `eslint-disable` comments.
5909
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-abusive-eslint-disable.md
5925
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-abusive-eslint-disable.md
5910
5926
  */
5911
5927
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
5912
5928
  /**
5913
5929
  * Disallow recursive access to `this` within getters and setters.
5914
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-accessor-recursion.md
5930
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-accessor-recursion.md
5915
5931
  */
5916
5932
  'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>
5917
5933
  /**
5918
5934
  * Disallow anonymous functions and classes as the default export.
5919
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-anonymous-default-export.md
5935
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-anonymous-default-export.md
5920
5936
  */
5921
5937
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
5922
5938
  /**
5923
5939
  * Prevent passing a function reference directly to iterator methods.
5924
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-callback-reference.md
5940
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-callback-reference.md
5925
5941
  */
5926
5942
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
5927
5943
  /**
5928
5944
  * Prefer `for…of` over the `forEach` method.
5929
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-for-each.md
5945
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-for-each.md
5930
5946
  */
5931
5947
  'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
5932
5948
  /**
5933
5949
  * Disallow using the `this` argument in array methods.
5934
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-method-this-argument.md
5950
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-method-this-argument.md
5935
5951
  */
5936
5952
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
5937
5953
  /**
5938
5954
  * Replaced by `unicorn/prefer-single-call` which covers more cases.
5939
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
5955
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
5940
5956
  * @deprecated
5941
5957
  */
5942
5958
  'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>
5943
5959
  /**
5944
5960
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
5945
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-reduce.md
5961
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-reduce.md
5946
5962
  */
5947
5963
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
5948
5964
  /**
5949
5965
  * Prefer `Array#toReversed()` over `Array#reverse()`.
5950
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-reverse.md
5966
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-reverse.md
5951
5967
  */
5952
5968
  'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>
5953
5969
  /**
5954
5970
  * Prefer `Array#toSorted()` over `Array#sort()`.
5955
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-sort.md
5971
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-sort.md
5956
5972
  */
5957
5973
  'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>
5958
5974
  /**
5959
5975
  * Disallow member access from await expression.
5960
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-await-expression-member.md
5976
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-await-expression-member.md
5961
5977
  */
5962
5978
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
5963
5979
  /**
5964
5980
  * Disallow using `await` in `Promise` method parameters.
5965
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-await-in-promise-methods.md
5981
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-await-in-promise-methods.md
5966
5982
  */
5967
5983
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
5968
5984
  /**
5969
5985
  * Do not use leading/trailing space between `console.log` parameters.
5970
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-console-spaces.md
5986
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-console-spaces.md
5971
5987
  */
5972
5988
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
5973
5989
  /**
5974
5990
  * Do not use `document.cookie` directly.
5975
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-document-cookie.md
5991
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-document-cookie.md
5976
5992
  */
5977
5993
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
5978
5994
  /**
5979
5995
  * Disallow empty files.
5980
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-empty-file.md
5996
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-empty-file.md
5981
5997
  */
5982
5998
  'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
5983
5999
  /**
5984
6000
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
5985
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-for-loop.md
6001
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-for-loop.md
5986
6002
  */
5987
6003
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
5988
6004
  /**
5989
6005
  * Enforce the use of Unicode escapes instead of hexadecimal escapes.
5990
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-hex-escape.md
6006
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-hex-escape.md
5991
6007
  */
5992
6008
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
5993
6009
  /**
5994
6010
  * Disallow immediate mutation after variable assignment.
5995
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-immediate-mutation.md
6011
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-immediate-mutation.md
5996
6012
  */
5997
6013
  'unicorn/no-immediate-mutation'?: Linter.RuleEntry<[]>
5998
6014
  /**
5999
6015
  * Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
6000
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
6016
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
6001
6017
  * @deprecated
6002
6018
  */
6003
6019
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
6004
6020
  /**
6005
6021
  * Disallow `instanceof` with built-in objects
6006
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-instanceof-builtins.md
6022
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-instanceof-builtins.md
6007
6023
  */
6008
6024
  'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>
6009
6025
  /**
6010
6026
  * Disallow invalid options in `fetch()` and `new Request()`.
6011
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-invalid-fetch-options.md
6027
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-invalid-fetch-options.md
6012
6028
  */
6013
6029
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
6014
6030
  /**
6015
6031
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
6016
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-invalid-remove-event-listener.md
6032
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-invalid-remove-event-listener.md
6017
6033
  */
6018
6034
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
6019
6035
  /**
6020
6036
  * Disallow identifiers starting with `new` or `class`.
6021
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-keyword-prefix.md
6037
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-keyword-prefix.md
6022
6038
  */
6023
6039
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
6024
6040
  /**
6025
6041
  * Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
6026
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
6042
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
6027
6043
  * @deprecated
6028
6044
  */
6029
6045
  'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
6030
6046
  /**
6031
6047
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
6032
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-lonely-if.md
6048
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-lonely-if.md
6033
6049
  */
6034
6050
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
6035
6051
  /**
6036
6052
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
6037
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-magic-array-flat-depth.md
6053
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-magic-array-flat-depth.md
6038
6054
  */
6039
6055
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
6040
6056
  /**
6041
6057
  * Disallow named usage of default import and export.
6042
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-named-default.md
6058
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-named-default.md
6043
6059
  */
6044
6060
  'unicorn/no-named-default'?: Linter.RuleEntry<[]>
6045
6061
  /**
6046
6062
  * Disallow negated conditions.
6047
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-negated-condition.md
6063
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-negated-condition.md
6048
6064
  */
6049
6065
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
6050
6066
  /**
6051
6067
  * Disallow negated expression in equality check.
6052
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-negation-in-equality-check.md
6068
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-negation-in-equality-check.md
6053
6069
  */
6054
6070
  'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
6055
6071
  /**
6056
6072
  * Disallow nested ternary expressions.
6057
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-nested-ternary.md
6073
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-nested-ternary.md
6058
6074
  */
6059
6075
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
6060
6076
  /**
6061
6077
  * Disallow `new Array()`.
6062
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-new-array.md
6078
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-new-array.md
6063
6079
  */
6064
6080
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>
6065
6081
  /**
6066
6082
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
6067
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-new-buffer.md
6083
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-new-buffer.md
6068
6084
  */
6069
6085
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
6070
6086
  /**
6071
6087
  * Disallow the use of the `null` literal.
6072
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-null.md
6088
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-null.md
6073
6089
  */
6074
6090
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
6075
6091
  /**
6076
6092
  * Disallow the use of objects as default parameters.
6077
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-object-as-default-parameter.md
6093
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-object-as-default-parameter.md
6078
6094
  */
6079
6095
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
6080
6096
  /**
6081
6097
  * Disallow `process.exit()`.
6082
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-process-exit.md
6098
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-process-exit.md
6083
6099
  */
6084
6100
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
6085
6101
  /**
6086
6102
  * Disallow passing single-element arrays to `Promise` methods.
6087
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-single-promise-in-promise-methods.md
6103
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-single-promise-in-promise-methods.md
6088
6104
  */
6089
6105
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
6090
6106
  /**
6091
6107
  * Disallow classes that only have static members.
6092
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-static-only-class.md
6108
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-static-only-class.md
6093
6109
  */
6094
6110
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
6095
6111
  /**
6096
6112
  * Disallow `then` property.
6097
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-thenable.md
6113
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-thenable.md
6098
6114
  */
6099
6115
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>
6100
6116
  /**
6101
6117
  * Disallow assigning `this` to a variable.
6102
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-this-assignment.md
6118
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-this-assignment.md
6103
6119
  */
6104
6120
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
6105
6121
  /**
6106
6122
  * Disallow comparing `undefined` using `typeof`.
6107
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-typeof-undefined.md
6123
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-typeof-undefined.md
6108
6124
  */
6109
6125
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
6110
6126
  /**
6111
6127
  * Disallow using `1` as the `depth` argument of `Array#flat()`.
6112
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-array-flat-depth.md
6128
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unnecessary-array-flat-depth.md
6113
6129
  */
6114
6130
  'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>
6115
6131
  /**
6116
6132
  * Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
6117
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-array-splice-count.md
6133
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unnecessary-array-splice-count.md
6118
6134
  */
6119
6135
  'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>
6120
6136
  /**
6121
6137
  * Disallow awaiting non-promise values.
6122
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-await.md
6138
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unnecessary-await.md
6123
6139
  */
6124
6140
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
6125
6141
  /**
6126
6142
  * Enforce the use of built-in methods instead of unnecessary polyfills.
6127
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-polyfills.md
6143
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unnecessary-polyfills.md
6128
6144
  */
6129
6145
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
6130
6146
  /**
6131
6147
  * Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
6132
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-slice-end.md
6148
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unnecessary-slice-end.md
6133
6149
  */
6134
6150
  'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>
6135
6151
  /**
6136
6152
  * Disallow unreadable array destructuring.
6137
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unreadable-array-destructuring.md
6153
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unreadable-array-destructuring.md
6138
6154
  */
6139
6155
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
6140
6156
  /**
6141
6157
  * Disallow unreadable IIFEs.
6142
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unreadable-iife.md
6158
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unreadable-iife.md
6143
6159
  */
6144
6160
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
6145
6161
  /**
6146
6162
  * Disallow unused object properties.
6147
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unused-properties.md
6163
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unused-properties.md
6148
6164
  */
6149
6165
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
6150
6166
  /**
6151
6167
  * Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
6152
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-collection-argument.md
6168
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-collection-argument.md
6153
6169
  */
6154
6170
  'unicorn/no-useless-collection-argument'?: Linter.RuleEntry<[]>
6155
6171
  /**
6156
6172
  * Disallow unnecessary `Error.captureStackTrace(…)`.
6157
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-error-capture-stack-trace.md
6173
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-error-capture-stack-trace.md
6158
6174
  */
6159
6175
  'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>
6160
6176
  /**
6161
6177
  * Disallow useless fallback when spreading in object literals.
6162
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-fallback-in-spread.md
6178
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-fallback-in-spread.md
6163
6179
  */
6164
6180
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
6181
+ /**
6182
+ * Disallow unnecessary `.toArray()` on iterators.
6183
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-iterator-to-array.md
6184
+ */
6185
+ 'unicorn/no-useless-iterator-to-array'?: Linter.RuleEntry<[]>
6165
6186
  /**
6166
6187
  * Disallow useless array length check.
6167
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-length-check.md
6188
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-length-check.md
6168
6189
  */
6169
6190
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
6170
6191
  /**
6171
6192
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
6172
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-promise-resolve-reject.md
6193
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-promise-resolve-reject.md
6173
6194
  */
6174
6195
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
6175
6196
  /**
6176
6197
  * Disallow unnecessary spread.
6177
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-spread.md
6198
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-spread.md
6178
6199
  */
6179
6200
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
6180
6201
  /**
6181
6202
  * Disallow useless case in switch statements.
6182
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-switch-case.md
6203
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-switch-case.md
6183
6204
  */
6184
6205
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
6185
6206
  /**
6186
6207
  * Disallow useless `undefined`.
6187
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-undefined.md
6208
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-undefined.md
6188
6209
  */
6189
6210
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
6190
6211
  /**
6191
6212
  * Disallow number literals with zero fractions or dangling dots.
6192
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-zero-fractions.md
6213
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-zero-fractions.md
6193
6214
  */
6194
6215
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
6195
6216
  /**
6196
6217
  * Enforce proper case for numeric literals.
6197
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/number-literal-case.md
6218
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/number-literal-case.md
6198
6219
  */
6199
6220
  'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>
6200
6221
  /**
6201
6222
  * Enforce the style of numeric separators by correctly grouping digits.
6202
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/numeric-separators-style.md
6223
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/numeric-separators-style.md
6203
6224
  */
6204
6225
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
6205
6226
  /**
6206
6227
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
6207
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-add-event-listener.md
6228
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-add-event-listener.md
6208
6229
  */
6209
6230
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
6210
6231
  /**
6211
6232
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
6212
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-find.md
6233
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-array-find.md
6213
6234
  */
6214
6235
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
6215
6236
  /**
6216
6237
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
6217
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-flat.md
6238
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-array-flat.md
6218
6239
  */
6219
6240
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
6220
6241
  /**
6221
6242
  * Prefer `.flatMap(…)` over `.map(…).flat()`.
6222
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-flat-map.md
6243
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-array-flat-map.md
6223
6244
  */
6224
6245
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
6225
6246
  /**
6226
6247
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
6227
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-index-of.md
6248
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-array-index-of.md
6228
6249
  */
6229
6250
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
6230
6251
  /**
6231
6252
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
6232
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-some.md
6253
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-array-some.md
6233
6254
  */
6234
6255
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
6235
6256
  /**
6236
6257
  * Prefer `.at()` method for index access and `String#charAt()`.
6237
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-at.md
6258
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-at.md
6238
6259
  */
6239
6260
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
6240
6261
  /**
6241
6262
  * Prefer `BigInt` literals over the constructor.
6242
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-bigint-literals.md
6263
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-bigint-literals.md
6243
6264
  */
6244
6265
  'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>
6245
6266
  /**
6246
6267
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
6247
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-blob-reading-methods.md
6268
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-blob-reading-methods.md
6248
6269
  */
6249
6270
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
6250
6271
  /**
6251
6272
  * Prefer class field declarations over `this` assignments in constructors.
6252
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-class-fields.md
6273
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-class-fields.md
6253
6274
  */
6254
6275
  'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>
6255
6276
  /**
6256
6277
  * Prefer using `Element#classList.toggle()` to toggle class names.
6257
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-classlist-toggle.md
6278
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-classlist-toggle.md
6258
6279
  */
6259
6280
  'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>
6260
6281
  /**
6261
6282
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
6262
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-code-point.md
6283
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-code-point.md
6263
6284
  */
6264
6285
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
6265
6286
  /**
6266
6287
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
6267
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-date-now.md
6288
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-date-now.md
6268
6289
  */
6269
6290
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
6270
6291
  /**
6271
6292
  * Prefer default parameters over reassignment.
6272
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-default-parameters.md
6293
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-default-parameters.md
6273
6294
  */
6274
6295
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
6275
6296
  /**
6276
6297
  * Prefer `Node#append()` over `Node#appendChild()`.
6277
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-append.md
6298
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-dom-node-append.md
6278
6299
  */
6279
6300
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
6280
6301
  /**
6281
6302
  * Prefer using `.dataset` on DOM elements over calling attribute methods.
6282
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-dataset.md
6303
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-dom-node-dataset.md
6283
6304
  */
6284
6305
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
6285
6306
  /**
6286
6307
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
6287
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-remove.md
6308
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-dom-node-remove.md
6288
6309
  */
6289
6310
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
6290
6311
  /**
6291
6312
  * Prefer `.textContent` over `.innerText`.
6292
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-text-content.md
6313
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-dom-node-text-content.md
6293
6314
  */
6294
6315
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
6295
6316
  /**
6296
6317
  * Prefer `EventTarget` over `EventEmitter`.
6297
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-event-target.md
6318
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-event-target.md
6298
6319
  */
6299
6320
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
6300
6321
  /**
6301
6322
  * Prefer `export…from` when re-exporting.
6302
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-export-from.md
6323
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-export-from.md
6303
6324
  */
6304
6325
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
6305
6326
  /**
6306
6327
  * Prefer `globalThis` over `window`, `self`, and `global`.
6307
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-global-this.md
6328
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-global-this.md
6308
6329
  */
6309
6330
  'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
6310
6331
  /**
6311
6332
  * Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
6312
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-import-meta-properties.md
6333
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-import-meta-properties.md
6313
6334
  */
6314
6335
  'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>
6315
6336
  /**
6316
6337
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
6317
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-includes.md
6338
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-includes.md
6318
6339
  */
6319
6340
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
6320
6341
  /**
6321
6342
  * Prefer reading a JSON file as a buffer.
6322
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-json-parse-buffer.md
6343
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-json-parse-buffer.md
6323
6344
  */
6324
6345
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
6325
6346
  /**
6326
6347
  * Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
6327
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-keyboard-event-key.md
6348
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-keyboard-event-key.md
6328
6349
  */
6329
6350
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
6330
6351
  /**
6331
6352
  * Prefer using a logical operator over a ternary.
6332
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-logical-operator-over-ternary.md
6353
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-logical-operator-over-ternary.md
6333
6354
  */
6334
6355
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
6335
6356
  /**
6336
6357
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
6337
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-math-min-max.md
6358
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-math-min-max.md
6338
6359
  */
6339
6360
  'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
6340
6361
  /**
6341
6362
  * Enforce the use of `Math.trunc` instead of bitwise operators.
6342
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-math-trunc.md
6363
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-math-trunc.md
6343
6364
  */
6344
6365
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
6345
6366
  /**
6346
6367
  * Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
6347
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-modern-dom-apis.md
6368
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-modern-dom-apis.md
6348
6369
  */
6349
6370
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
6350
6371
  /**
6351
6372
  * Prefer modern `Math` APIs over legacy patterns.
6352
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-modern-math-apis.md
6373
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-modern-math-apis.md
6353
6374
  */
6354
6375
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
6355
6376
  /**
6356
6377
  * Prefer JavaScript modules (ESM) over CommonJS.
6357
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-module.md
6378
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-module.md
6358
6379
  */
6359
6380
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>
6360
6381
  /**
6361
6382
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
6362
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-native-coercion-functions.md
6383
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-native-coercion-functions.md
6363
6384
  */
6364
6385
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
6365
6386
  /**
6366
6387
  * Prefer negative index over `.length - index` when possible.
6367
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-negative-index.md
6388
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-negative-index.md
6368
6389
  */
6369
6390
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
6370
6391
  /**
6371
6392
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
6372
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-node-protocol.md
6393
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-node-protocol.md
6373
6394
  */
6374
6395
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
6375
6396
  /**
6376
6397
  * Prefer `Number` static properties over global ones.
6377
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-number-properties.md
6398
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-number-properties.md
6378
6399
  */
6379
6400
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
6380
6401
  /**
6381
6402
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
6382
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-object-from-entries.md
6403
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-object-from-entries.md
6383
6404
  */
6384
6405
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
6385
6406
  /**
6386
6407
  * Prefer omitting the `catch` binding parameter.
6387
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-optional-catch-binding.md
6408
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-optional-catch-binding.md
6388
6409
  */
6389
6410
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
6390
6411
  /**
6391
6412
  * Prefer borrowing methods from the prototype instead of the instance.
6392
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-prototype-methods.md
6413
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-prototype-methods.md
6393
6414
  */
6394
6415
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
6395
6416
  /**
6396
6417
  * Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
6397
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-query-selector.md
6418
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-query-selector.md
6398
6419
  */
6399
6420
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
6400
6421
  /**
6401
6422
  * Prefer `Reflect.apply()` over `Function#apply()`.
6402
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-reflect-apply.md
6423
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-reflect-apply.md
6403
6424
  */
6404
6425
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
6405
6426
  /**
6406
6427
  * Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
6407
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-regexp-test.md
6428
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-regexp-test.md
6408
6429
  */
6409
6430
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
6410
6431
  /**
6411
6432
  * Prefer `Response.json()` over `new Response(JSON.stringify())`.
6412
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-response-static-json.md
6433
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-response-static-json.md
6413
6434
  */
6414
6435
  'unicorn/prefer-response-static-json'?: Linter.RuleEntry<[]>
6415
6436
  /**
6416
6437
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
6417
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-set-has.md
6438
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-set-has.md
6418
6439
  */
6419
6440
  'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
6420
6441
  /**
6421
6442
  * Prefer using `Set#size` instead of `Array#length`.
6422
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-set-size.md
6443
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-set-size.md
6423
6444
  */
6424
6445
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
6446
+ /**
6447
+ * Prefer simple conditions first in logical expressions.
6448
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-simple-condition-first.md
6449
+ */
6450
+ 'unicorn/prefer-simple-condition-first'?: Linter.RuleEntry<[]>
6425
6451
  /**
6426
6452
  * Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
6427
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-single-call.md
6453
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-single-call.md
6428
6454
  */
6429
6455
  'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>
6430
6456
  /**
6431
6457
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
6432
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-spread.md
6458
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-spread.md
6433
6459
  */
6434
6460
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
6435
6461
  /**
6436
6462
  * Prefer using the `String.raw` tag to avoid escaping `\`.
6437
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-raw.md
6463
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-string-raw.md
6438
6464
  */
6439
6465
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
6440
6466
  /**
6441
6467
  * Prefer `String#replaceAll()` over regex searches with the global flag.
6442
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-replace-all.md
6468
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-string-replace-all.md
6443
6469
  */
6444
6470
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
6445
6471
  /**
6446
6472
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
6447
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-slice.md
6473
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-string-slice.md
6448
6474
  */
6449
6475
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
6450
6476
  /**
6451
6477
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
6452
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-starts-ends-with.md
6478
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-string-starts-ends-with.md
6453
6479
  */
6454
6480
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
6455
6481
  /**
6456
6482
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
6457
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-trim-start-end.md
6483
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-string-trim-start-end.md
6458
6484
  */
6459
6485
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
6460
6486
  /**
6461
6487
  * Prefer using `structuredClone` to create a deep clone.
6462
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-structured-clone.md
6488
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-structured-clone.md
6463
6489
  */
6464
6490
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
6465
6491
  /**
6466
6492
  * Prefer `switch` over multiple `else-if`.
6467
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-switch.md
6493
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-switch.md
6468
6494
  */
6469
6495
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
6470
6496
  /**
6471
6497
  * Prefer ternary expressions over simple `if-else` statements.
6472
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-ternary.md
6498
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-ternary.md
6473
6499
  */
6474
6500
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
6475
6501
  /**
6476
6502
  * Prefer top-level await over top-level promises and async function calls.
6477
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-top-level-await.md
6503
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-top-level-await.md
6478
6504
  */
6479
6505
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
6480
6506
  /**
6481
6507
  * Enforce throwing `TypeError` in type checking conditions.
6482
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-type-error.md
6508
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-type-error.md
6483
6509
  */
6484
6510
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
6485
6511
  /**
6486
6512
  * Prevent abbreviations.
6487
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prevent-abbreviations.md
6513
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prevent-abbreviations.md
6488
6514
  */
6489
6515
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
6490
6516
  /**
6491
6517
  * Enforce consistent relative URL style.
6492
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/relative-url-style.md
6518
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/relative-url-style.md
6493
6519
  */
6494
6520
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
6495
6521
  /**
6496
6522
  * Enforce using the separator argument with `Array#join()`.
6497
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-array-join-separator.md
6523
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/require-array-join-separator.md
6498
6524
  */
6499
6525
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
6500
6526
  /**
6501
6527
  * Require non-empty module attributes for imports and exports
6502
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-module-attributes.md
6528
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/require-module-attributes.md
6503
6529
  */
6504
6530
  'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>
6505
6531
  /**
6506
6532
  * Require non-empty specifier list in import and export statements.
6507
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-module-specifiers.md
6533
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/require-module-specifiers.md
6508
6534
  */
6509
6535
  'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>
6510
6536
  /**
6511
6537
  * Enforce using the digits argument with `Number#toFixed()`.
6512
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-number-to-fixed-digits-argument.md
6538
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/require-number-to-fixed-digits-argument.md
6513
6539
  */
6514
6540
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
6515
6541
  /**
6516
6542
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
6517
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-post-message-target-origin.md
6543
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/require-post-message-target-origin.md
6518
6544
  */
6519
6545
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
6520
6546
  /**
6521
6547
  * Enforce better string content.
6522
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/string-content.md
6548
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/string-content.md
6523
6549
  */
6524
6550
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
6525
6551
  /**
6526
6552
  * Enforce consistent brace style for `case` clauses.
6527
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/switch-case-braces.md
6553
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/switch-case-braces.md
6528
6554
  */
6529
6555
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
6556
+ /**
6557
+ * Enforce consistent `break`/`return`/`continue`/`throw` position in `case` clauses.
6558
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/switch-case-break-position.md
6559
+ */
6560
+ 'unicorn/switch-case-break-position'?: Linter.RuleEntry<[]>
6530
6561
  /**
6531
6562
  * Fix whitespace-insensitive template indentation.
6532
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/template-indent.md
6563
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/template-indent.md
6533
6564
  */
6534
6565
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
6535
6566
  /**
6536
6567
  * Enforce consistent case for text encoding identifiers.
6537
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/text-encoding-identifier-case.md
6568
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/text-encoding-identifier-case.md
6538
6569
  */
6539
6570
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>
6540
6571
  /**
6541
6572
  * Require `new` when creating an error.
6542
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/throw-new-error.md
6573
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/throw-new-error.md
6543
6574
  */
6544
6575
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
6545
6576
  /**
@@ -6948,6 +6979,11 @@ interface Rules {
6948
6979
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-top-level-describe.md
6949
6980
  */
6950
6981
  'vitest/require-top-level-describe'?: Linter.RuleEntry<VitestRequireTopLevelDescribe>
6982
+ /**
6983
+ * enforce unbound methods are called with their expected scope
6984
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/unbound-method.md
6985
+ */
6986
+ 'vitest/unbound-method'?: Linter.RuleEntry<VitestUnboundMethod>
6951
6987
  /**
6952
6988
  * enforce valid describe callback
6953
6989
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-describe-callback.md
@@ -7339,33 +7375,33 @@ type StylisticExpListStyle = []|[{
7339
7375
  singleLine?: _StylisticExpListStyle_SingleLineConfig
7340
7376
  multiLine?: _StylisticExpListStyle_MultiLineConfig
7341
7377
  overrides?: {
7342
- "()"?: _StylisticExpListStyle_BaseConfig
7343
- "[]"?: _StylisticExpListStyle_BaseConfig
7344
- "{}"?: _StylisticExpListStyle_BaseConfig
7345
- "<>"?: _StylisticExpListStyle_BaseConfig
7346
- ArrayExpression?: _StylisticExpListStyle_BaseConfig
7347
- ArrayPattern?: _StylisticExpListStyle_BaseConfig
7348
- ArrowFunctionExpression?: _StylisticExpListStyle_BaseConfig
7349
- CallExpression?: _StylisticExpListStyle_BaseConfig
7350
- ExportNamedDeclaration?: _StylisticExpListStyle_BaseConfig
7351
- FunctionDeclaration?: _StylisticExpListStyle_BaseConfig
7352
- FunctionExpression?: _StylisticExpListStyle_BaseConfig
7353
- IfStatement?: _StylisticExpListStyle_BaseConfig
7354
- ImportAttributes?: _StylisticExpListStyle_BaseConfig
7355
- ImportDeclaration?: _StylisticExpListStyle_BaseConfig
7356
- JSONArrayExpression?: _StylisticExpListStyle_BaseConfig
7357
- JSONObjectExpression?: _StylisticExpListStyle_BaseConfig
7358
- NewExpression?: _StylisticExpListStyle_BaseConfig
7359
- ObjectExpression?: _StylisticExpListStyle_BaseConfig
7360
- ObjectPattern?: _StylisticExpListStyle_BaseConfig
7361
- TSDeclareFunction?: _StylisticExpListStyle_BaseConfig
7362
- TSEnumBody?: _StylisticExpListStyle_BaseConfig
7363
- TSFunctionType?: _StylisticExpListStyle_BaseConfig
7364
- TSInterfaceBody?: _StylisticExpListStyle_BaseConfig
7365
- TSTupleType?: _StylisticExpListStyle_BaseConfig
7366
- TSTypeLiteral?: _StylisticExpListStyle_BaseConfig
7367
- TSTypeParameterDeclaration?: _StylisticExpListStyle_BaseConfig
7368
- TSTypeParameterInstantiation?: _StylisticExpListStyle_BaseConfig
7378
+ "()"?: (_StylisticExpListStyle_BaseConfig | "off")
7379
+ "[]"?: (_StylisticExpListStyle_BaseConfig | "off")
7380
+ "{}"?: (_StylisticExpListStyle_BaseConfig | "off")
7381
+ "<>"?: (_StylisticExpListStyle_BaseConfig | "off")
7382
+ ArrayExpression?: (_StylisticExpListStyle_BaseConfig | "off")
7383
+ ArrayPattern?: (_StylisticExpListStyle_BaseConfig | "off")
7384
+ ArrowFunctionExpression?: (_StylisticExpListStyle_BaseConfig | "off")
7385
+ CallExpression?: (_StylisticExpListStyle_BaseConfig | "off")
7386
+ ExportNamedDeclaration?: (_StylisticExpListStyle_BaseConfig | "off")
7387
+ FunctionDeclaration?: (_StylisticExpListStyle_BaseConfig | "off")
7388
+ FunctionExpression?: (_StylisticExpListStyle_BaseConfig | "off")
7389
+ IfStatement?: (_StylisticExpListStyle_BaseConfig | "off")
7390
+ ImportAttributes?: (_StylisticExpListStyle_BaseConfig | "off")
7391
+ ImportDeclaration?: (_StylisticExpListStyle_BaseConfig | "off")
7392
+ JSONArrayExpression?: (_StylisticExpListStyle_BaseConfig | "off")
7393
+ JSONObjectExpression?: (_StylisticExpListStyle_BaseConfig | "off")
7394
+ NewExpression?: (_StylisticExpListStyle_BaseConfig | "off")
7395
+ ObjectExpression?: (_StylisticExpListStyle_BaseConfig | "off")
7396
+ ObjectPattern?: (_StylisticExpListStyle_BaseConfig | "off")
7397
+ TSDeclareFunction?: (_StylisticExpListStyle_BaseConfig | "off")
7398
+ TSEnumBody?: (_StylisticExpListStyle_BaseConfig | "off")
7399
+ TSFunctionType?: (_StylisticExpListStyle_BaseConfig | "off")
7400
+ TSInterfaceBody?: (_StylisticExpListStyle_BaseConfig | "off")
7401
+ TSTupleType?: (_StylisticExpListStyle_BaseConfig | "off")
7402
+ TSTypeLiteral?: (_StylisticExpListStyle_BaseConfig | "off")
7403
+ TSTypeParameterDeclaration?: (_StylisticExpListStyle_BaseConfig | "off")
7404
+ TSTypeParameterInstantiation?: (_StylisticExpListStyle_BaseConfig | "off")
7369
7405
  }
7370
7406
  }]
7371
7407
  interface _StylisticExpListStyle_SingleLineConfig {
@@ -8293,6 +8329,7 @@ type StylisticPaddingLineBetweenStatements = {
8293
8329
  }[]
8294
8330
  interface _StylisticPaddingLineBetweenStatements_SelectorOption {
8295
8331
  selector: string
8332
+ lineMode?: ("any" | "singleline" | "multiline")
8296
8333
  }
8297
8334
  // ----- @stylistic/quote-props -----
8298
8335
  type StylisticQuoteProps = ([]|[("always" | "as-needed" | "consistent" | "consistent-as-needed")] | []|[("always" | "as-needed" | "consistent" | "consistent-as-needed")]|[("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
@@ -9419,6 +9456,19 @@ type TypescriptEslintPreferOptionalChain = []|[{
9419
9456
  // ----- @typescript-eslint/prefer-promise-reject-errors -----
9420
9457
  type TypescriptEslintPreferPromiseRejectErrors = []|[{
9421
9458
 
9459
+ allow?: (string | {
9460
+ from: "file"
9461
+ name: (string | [string, ...(string)[]])
9462
+ path?: string
9463
+ } | {
9464
+ from: "lib"
9465
+ name: (string | [string, ...(string)[]])
9466
+ } | {
9467
+ from: "package"
9468
+ name: (string | [string, ...(string)[]])
9469
+ package: string
9470
+ })[]
9471
+
9422
9472
  allowEmptyReject?: boolean
9423
9473
 
9424
9474
  allowThrowingAny?: boolean
@@ -12074,6 +12124,8 @@ type LogicalAssignmentOperators = (([]|["always"]|["always", {
12074
12124
  type MarkdownFencedCodeLanguage = []|[{
12075
12125
  required?: string[]
12076
12126
  }]
12127
+ // ----- markdown/fenced-code-meta -----
12128
+ type MarkdownFencedCodeMeta = []|[("always" | "never")]
12077
12129
  // ----- markdown/heading-increment -----
12078
12130
  type MarkdownHeadingIncrement = []|[{
12079
12131
  frontmatterTitle?: string
@@ -12082,6 +12134,7 @@ type MarkdownHeadingIncrement = []|[{
12082
12134
  type MarkdownNoDuplicateDefinitions = []|[{
12083
12135
  allowDefinitions?: string[]
12084
12136
  allowFootnoteDefinitions?: string[]
12137
+ checkFootnoteDefinitions?: boolean
12085
12138
  }]
12086
12139
  // ----- markdown/no-duplicate-headings -----
12087
12140
  type MarkdownNoDuplicateHeadings = []|[{
@@ -12123,6 +12176,7 @@ type MarkdownNoSpaceInEmphasis = []|[{
12123
12176
  type MarkdownNoUnusedDefinitions = []|[{
12124
12177
  allowDefinitions?: string[]
12125
12178
  allowFootnoteDefinitions?: string[]
12179
+ checkFootnoteDefinitions?: boolean
12126
12180
  }]
12127
12181
  // ----- markdown/table-column-count -----
12128
12182
  type MarkdownTableColumnCount = []|[{
@@ -12230,6 +12284,8 @@ type MaxParams = []|[(number | {
12230
12284
  max?: number
12231
12285
 
12232
12286
  countVoidThis?: boolean
12287
+
12288
+ countThis?: ("never" | "except-void" | "always")
12233
12289
  })]
12234
12290
  // ----- max-statements -----
12235
12291
  type MaxStatements = []|[(number | {
@@ -12675,6 +12731,7 @@ type NodeDependenciesAbsoluteVersion = []|[(("always" | "never") | {
12675
12731
  // ----- node-dependencies/compat-engines -----
12676
12732
  type NodeDependenciesCompatEngines = []|[{
12677
12733
  deep?: boolean
12734
+ devDependencies?: boolean
12678
12735
  comparisonType?: ("normal" | "major")
12679
12736
  }]
12680
12737
  // ----- node-dependencies/no-deprecated -----
@@ -12697,6 +12754,7 @@ type NodeDependenciesRequireProvenanceDeps = []|[{
12697
12754
  // ----- node-dependencies/valid-engines -----
12698
12755
  type NodeDependenciesValidEngines = []|[{
12699
12756
  deep?: boolean
12757
+ devDependencies?: boolean
12700
12758
  comparisonType?: ("normal" | "major")
12701
12759
  }]
12702
12760
  // ----- node/callback-return -----
@@ -13243,6 +13301,186 @@ type PerfectionistSortArrayIncludes = {
13243
13301
 
13244
13302
  flags?: string
13245
13303
  } | string))
13304
+
13305
+ matchesAstSelector?: string
13306
+ }
13307
+
13308
+ partitionByComment?: (boolean | (({
13309
+
13310
+ pattern: string
13311
+
13312
+ flags?: string
13313
+ } | string)[] | ({
13314
+
13315
+ pattern: string
13316
+
13317
+ flags?: string
13318
+ } | string)) | {
13319
+
13320
+ block?: (boolean | (({
13321
+
13322
+ pattern: string
13323
+
13324
+ flags?: string
13325
+ } | string)[] | ({
13326
+
13327
+ pattern: string
13328
+
13329
+ flags?: string
13330
+ } | string)))
13331
+
13332
+ line?: (boolean | (({
13333
+
13334
+ pattern: string
13335
+
13336
+ flags?: string
13337
+ } | string)[] | ({
13338
+
13339
+ pattern: string
13340
+
13341
+ flags?: string
13342
+ } | string)))
13343
+ })
13344
+
13345
+ partitionByNewLine?: boolean
13346
+ }[]
13347
+ // ----- perfectionist/sort-arrays -----
13348
+ type PerfectionistSortArrays = {
13349
+
13350
+ fallbackSort?: {
13351
+
13352
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13353
+
13354
+ order?: ("asc" | "desc")
13355
+ }
13356
+
13357
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13358
+
13359
+ specialCharacters?: ("remove" | "trim" | "keep")
13360
+
13361
+ ignoreCase?: boolean
13362
+
13363
+ alphabet?: string
13364
+
13365
+ locales?: (string | string[])
13366
+
13367
+ order?: ("asc" | "desc")
13368
+
13369
+ customGroups?: ({
13370
+
13371
+ fallbackSort?: {
13372
+
13373
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13374
+
13375
+ order?: ("asc" | "desc")
13376
+ }
13377
+
13378
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13379
+
13380
+ groupName: string
13381
+ newlinesInside?: ("ignore" | number)
13382
+
13383
+ order?: ("asc" | "desc")
13384
+
13385
+ anyOf: [{
13386
+
13387
+ elementNamePattern?: (({
13388
+
13389
+ pattern: string
13390
+
13391
+ flags?: string
13392
+ } | string)[] | ({
13393
+
13394
+ pattern: string
13395
+
13396
+ flags?: string
13397
+ } | string))
13398
+
13399
+ selector?: "literal"
13400
+ }, ...({
13401
+
13402
+ elementNamePattern?: (({
13403
+
13404
+ pattern: string
13405
+
13406
+ flags?: string
13407
+ } | string)[] | ({
13408
+
13409
+ pattern: string
13410
+
13411
+ flags?: string
13412
+ } | string))
13413
+
13414
+ selector?: "literal"
13415
+ })[]]
13416
+ } | {
13417
+
13418
+ fallbackSort?: {
13419
+
13420
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13421
+
13422
+ order?: ("asc" | "desc")
13423
+ }
13424
+
13425
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13426
+
13427
+ groupName: string
13428
+ newlinesInside?: ("ignore" | number)
13429
+
13430
+ order?: ("asc" | "desc")
13431
+
13432
+ elementNamePattern?: (({
13433
+
13434
+ pattern: string
13435
+
13436
+ flags?: string
13437
+ } | string)[] | ({
13438
+
13439
+ pattern: string
13440
+
13441
+ flags?: string
13442
+ } | string))
13443
+
13444
+ selector?: "literal"
13445
+ })[]
13446
+ newlinesInside?: (("ignore" | number) | "newlinesBetween")
13447
+
13448
+ groups?: (string | [string, ...(string)[]] | {
13449
+ newlinesBetween: ("ignore" | number)
13450
+ } | {
13451
+ group: (string | [string, ...(string)[]])
13452
+
13453
+ fallbackSort?: {
13454
+
13455
+ type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13456
+
13457
+ order?: ("asc" | "desc")
13458
+ }
13459
+
13460
+ commentAbove?: string
13461
+
13462
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
13463
+ newlinesInside?: ("ignore" | number)
13464
+
13465
+ order?: ("asc" | "desc")
13466
+ })[]
13467
+ newlinesBetween?: ("ignore" | number)
13468
+
13469
+ useConfigurationIf: {
13470
+
13471
+ allNamesMatchPattern?: (({
13472
+
13473
+ pattern: string
13474
+
13475
+ flags?: string
13476
+ } | string)[] | ({
13477
+
13478
+ pattern: string
13479
+
13480
+ flags?: string
13481
+ } | string))
13482
+
13483
+ matchesAstSelector?: string
13246
13484
  }
13247
13485
 
13248
13486
  partitionByComment?: (boolean | (({
@@ -13285,7 +13523,7 @@ type PerfectionistSortArrayIncludes = {
13285
13523
  partitionByNewLine?: boolean
13286
13524
  }[]
13287
13525
  // ----- perfectionist/sort-classes -----
13288
- type PerfectionistSortClasses = []|[{
13526
+ type PerfectionistSortClasses = {
13289
13527
 
13290
13528
  fallbackSort?: {
13291
13529
 
@@ -13484,6 +13722,23 @@ type PerfectionistSortClasses = []|[{
13484
13722
  })[]
13485
13723
  newlinesBetween?: ("ignore" | number)
13486
13724
 
13725
+ useConfigurationIf?: {
13726
+
13727
+ allNamesMatchPattern?: (({
13728
+
13729
+ pattern: string
13730
+
13731
+ flags?: string
13732
+ } | string)[] | ({
13733
+
13734
+ pattern: string
13735
+
13736
+ flags?: string
13737
+ } | string))
13738
+
13739
+ matchesAstSelector?: string
13740
+ }
13741
+
13487
13742
  useExperimentalDependencyDetection?: boolean
13488
13743
 
13489
13744
  ignoreCallbackDependenciesPatterns?: (({
@@ -13536,7 +13791,7 @@ type PerfectionistSortClasses = []|[{
13536
13791
  })
13537
13792
 
13538
13793
  partitionByNewLine?: boolean
13539
- }]
13794
+ }[]
13540
13795
  // ----- perfectionist/sort-decorators -----
13541
13796
  type PerfectionistSortDecorators = {
13542
13797
 
@@ -13703,7 +13958,7 @@ type PerfectionistSortDecorators = {
13703
13958
  partitionByNewLine?: boolean
13704
13959
  }[]
13705
13960
  // ----- perfectionist/sort-enums -----
13706
- type PerfectionistSortEnums = []|[{
13961
+ type PerfectionistSortEnums = {
13707
13962
 
13708
13963
  fallbackSort?: {
13709
13964
 
@@ -13854,6 +14109,23 @@ type PerfectionistSortEnums = []|[{
13854
14109
  })[]
13855
14110
  newlinesBetween?: ("ignore" | number)
13856
14111
 
14112
+ useConfigurationIf?: {
14113
+
14114
+ allNamesMatchPattern?: (({
14115
+
14116
+ pattern: string
14117
+
14118
+ flags?: string
14119
+ } | string)[] | ({
14120
+
14121
+ pattern: string
14122
+
14123
+ flags?: string
14124
+ } | string))
14125
+
14126
+ matchesAstSelector?: string
14127
+ }
14128
+
13857
14129
  sortByValue?: ("always" | "ifNumericEnum" | "never")
13858
14130
 
13859
14131
  useExperimentalDependencyDetection?: boolean
@@ -13896,7 +14168,7 @@ type PerfectionistSortEnums = []|[{
13896
14168
  })
13897
14169
 
13898
14170
  partitionByNewLine?: boolean
13899
- }]
14171
+ }[]
13900
14172
  // ----- perfectionist/sort-export-attributes -----
13901
14173
  type PerfectionistSortExportAttributes = {
13902
14174
 
@@ -14013,6 +14285,23 @@ type PerfectionistSortExportAttributes = {
14013
14285
  })[]
14014
14286
  newlinesBetween?: ("ignore" | number)
14015
14287
 
14288
+ useConfigurationIf?: {
14289
+
14290
+ allNamesMatchPattern?: (({
14291
+
14292
+ pattern: string
14293
+
14294
+ flags?: string
14295
+ } | string)[] | ({
14296
+
14297
+ pattern: string
14298
+
14299
+ flags?: string
14300
+ } | string))
14301
+
14302
+ matchesAstSelector?: string
14303
+ }
14304
+
14016
14305
  partitionByComment?: (boolean | (({
14017
14306
 
14018
14307
  pattern: string
@@ -14335,6 +14624,23 @@ type PerfectionistSortHeritageClauses = {
14335
14624
  })[]
14336
14625
  newlinesBetween?: ("ignore" | number)
14337
14626
 
14627
+ useConfigurationIf?: {
14628
+
14629
+ allNamesMatchPattern?: (({
14630
+
14631
+ pattern: string
14632
+
14633
+ flags?: string
14634
+ } | string)[] | ({
14635
+
14636
+ pattern: string
14637
+
14638
+ flags?: string
14639
+ } | string))
14640
+
14641
+ matchesAstSelector?: string
14642
+ }
14643
+
14338
14644
  partitionByNewLine?: boolean
14339
14645
 
14340
14646
  partitionByComment?: (boolean | (({
@@ -14490,6 +14796,23 @@ type PerfectionistSortImportAttributes = {
14490
14796
  })[]
14491
14797
  newlinesBetween?: ("ignore" | number)
14492
14798
 
14799
+ useConfigurationIf?: {
14800
+
14801
+ allNamesMatchPattern?: (({
14802
+
14803
+ pattern: string
14804
+
14805
+ flags?: string
14806
+ } | string)[] | ({
14807
+
14808
+ pattern: string
14809
+
14810
+ flags?: string
14811
+ } | string))
14812
+
14813
+ matchesAstSelector?: string
14814
+ }
14815
+
14493
14816
  partitionByComment?: (boolean | (({
14494
14817
 
14495
14818
  pattern: string
@@ -14932,6 +15255,8 @@ type PerfectionistSortInterfaces = {
14932
15255
  flags?: string
14933
15256
  } | string))
14934
15257
 
15258
+ matchesAstSelector?: string
15259
+
14935
15260
  declarationMatchesPattern?: (({
14936
15261
  scope?: ("shallow" | "deep")
14937
15262
 
@@ -15108,6 +15433,23 @@ type PerfectionistSortIntersectionTypes = {
15108
15433
  })[]
15109
15434
  newlinesBetween?: ("ignore" | number)
15110
15435
 
15436
+ useConfigurationIf?: {
15437
+
15438
+ allNamesMatchPattern?: (({
15439
+
15440
+ pattern: string
15441
+
15442
+ flags?: string
15443
+ } | string)[] | ({
15444
+
15445
+ pattern: string
15446
+
15447
+ flags?: string
15448
+ } | string))
15449
+
15450
+ matchesAstSelector?: string
15451
+ }
15452
+
15111
15453
  partitionByComment?: (boolean | (({
15112
15454
 
15113
15455
  pattern: string
@@ -15325,6 +15667,8 @@ type PerfectionistSortJsxProps = {
15325
15667
  flags?: string
15326
15668
  } | string))
15327
15669
 
15670
+ matchesAstSelector?: string
15671
+
15328
15672
  tagMatchesPattern?: (({
15329
15673
 
15330
15674
  pattern: string
@@ -15469,6 +15813,8 @@ type PerfectionistSortMaps = {
15469
15813
 
15470
15814
  flags?: string
15471
15815
  } | string))
15816
+
15817
+ matchesAstSelector?: string
15472
15818
  }
15473
15819
 
15474
15820
  partitionByComment?: (boolean | (({
@@ -15843,6 +16189,23 @@ type PerfectionistSortNamedExports = {
15843
16189
  })[]
15844
16190
  newlinesBetween?: ("ignore" | number)
15845
16191
 
16192
+ useConfigurationIf?: {
16193
+
16194
+ allNamesMatchPattern?: (({
16195
+
16196
+ pattern: string
16197
+
16198
+ flags?: string
16199
+ } | string)[] | ({
16200
+
16201
+ pattern: string
16202
+
16203
+ flags?: string
16204
+ } | string))
16205
+
16206
+ matchesAstSelector?: string
16207
+ }
16208
+
15846
16209
  ignoreAlias?: boolean
15847
16210
 
15848
16211
  partitionByComment?: (boolean | (({
@@ -16012,6 +16375,23 @@ type PerfectionistSortNamedImports = {
16012
16375
  })[]
16013
16376
  newlinesBetween?: ("ignore" | number)
16014
16377
 
16378
+ useConfigurationIf?: {
16379
+
16380
+ allNamesMatchPattern?: (({
16381
+
16382
+ pattern: string
16383
+
16384
+ flags?: string
16385
+ } | string)[] | ({
16386
+
16387
+ pattern: string
16388
+
16389
+ flags?: string
16390
+ } | string))
16391
+
16392
+ matchesAstSelector?: string
16393
+ }
16394
+
16015
16395
  ignoreAlias?: boolean
16016
16396
 
16017
16397
  partitionByComment?: (boolean | (({
@@ -16255,6 +16635,8 @@ type PerfectionistSortObjectTypes = {
16255
16635
  flags?: string
16256
16636
  } | string))
16257
16637
 
16638
+ matchesAstSelector?: string
16639
+
16258
16640
  declarationMatchesPattern?: (({
16259
16641
  scope?: ("shallow" | "deep")
16260
16642
 
@@ -16527,6 +16909,8 @@ type PerfectionistSortObjects = {
16527
16909
  flags?: string
16528
16910
  } | string))
16529
16911
 
16912
+ matchesAstSelector?: string
16913
+
16530
16914
  declarationMatchesPattern?: (({
16531
16915
  scope?: ("shallow" | "deep")
16532
16916
 
@@ -16542,6 +16926,8 @@ type PerfectionistSortObjects = {
16542
16926
  } | string))
16543
16927
  }
16544
16928
 
16929
+ partitionByComputedKey?: boolean
16930
+
16545
16931
  styledComponents?: boolean
16546
16932
 
16547
16933
  useExperimentalDependencyDetection?: boolean
@@ -16720,6 +17106,8 @@ type PerfectionistSortSets = {
16720
17106
 
16721
17107
  flags?: string
16722
17108
  } | string))
17109
+
17110
+ matchesAstSelector?: string
16723
17111
  }
16724
17112
 
16725
17113
  partitionByComment?: (boolean | (({
@@ -16905,6 +17293,23 @@ type PerfectionistSortUnionTypes = {
16905
17293
  })[]
16906
17294
  newlinesBetween?: ("ignore" | number)
16907
17295
 
17296
+ useConfigurationIf?: {
17297
+
17298
+ allNamesMatchPattern?: (({
17299
+
17300
+ pattern: string
17301
+
17302
+ flags?: string
17303
+ } | string)[] | ({
17304
+
17305
+ pattern: string
17306
+
17307
+ flags?: string
17308
+ } | string))
17309
+
17310
+ matchesAstSelector?: string
17311
+ }
17312
+
16908
17313
  partitionByComment?: (boolean | (({
16909
17314
 
16910
17315
  pattern: string
@@ -16945,7 +17350,7 @@ type PerfectionistSortUnionTypes = {
16945
17350
  partitionByNewLine?: boolean
16946
17351
  }[]
16947
17352
  // ----- perfectionist/sort-variable-declarations -----
16948
- type PerfectionistSortVariableDeclarations = []|[{
17353
+ type PerfectionistSortVariableDeclarations = {
16949
17354
 
16950
17355
  fallbackSort?: {
16951
17356
 
@@ -17066,6 +17471,23 @@ type PerfectionistSortVariableDeclarations = []|[{
17066
17471
  })[]
17067
17472
  newlinesBetween?: ("ignore" | number)
17068
17473
 
17474
+ useConfigurationIf?: {
17475
+
17476
+ allNamesMatchPattern?: (({
17477
+
17478
+ pattern: string
17479
+
17480
+ flags?: string
17481
+ } | string)[] | ({
17482
+
17483
+ pattern: string
17484
+
17485
+ flags?: string
17486
+ } | string))
17487
+
17488
+ matchesAstSelector?: string
17489
+ }
17490
+
17069
17491
  useExperimentalDependencyDetection?: boolean
17070
17492
 
17071
17493
  partitionByComment?: (boolean | (({
@@ -17106,7 +17528,7 @@ type PerfectionistSortVariableDeclarations = []|[{
17106
17528
  })
17107
17529
 
17108
17530
  partitionByNewLine?: boolean
17109
- }]
17531
+ }[]
17110
17532
  // ----- pnpm/json-enforce-catalog -----
17111
17533
  type PnpmJsonEnforceCatalog = []|[{
17112
17534
 
@@ -17778,25 +18200,36 @@ type TomlTableBracketSpacing = []|[("always" | "never")]
17778
18200
  type UnicodeBom = []|[("always" | "never")]
17779
18201
  // ----- unicorn/better-regex -----
17780
18202
  type UnicornBetterRegex = []|[{
18203
+
17781
18204
  sortCharacterClasses?: boolean
17782
18205
  }]
17783
18206
  // ----- unicorn/catch-error-name -----
17784
18207
  type UnicornCatchErrorName = []|[{
18208
+
17785
18209
  name?: string
18210
+
17786
18211
  ignore?: unknown[]
17787
18212
  }]
17788
18213
  // ----- unicorn/consistent-function-scoping -----
17789
18214
  type UnicornConsistentFunctionScoping = []|[{
18215
+
17790
18216
  checkArrowFunctions?: boolean
17791
18217
  }]
17792
18218
  // ----- unicorn/escape-case -----
17793
18219
  type UnicornEscapeCase = []|[("uppercase" | "lowercase")]
17794
18220
  // ----- unicorn/expiring-todo-comments -----
17795
18221
  type UnicornExpiringTodoComments = []|[{
18222
+
17796
18223
  terms?: string[]
18224
+
17797
18225
  ignore?: unknown[]
18226
+
18227
+ ignoreDates?: boolean
18228
+
17798
18229
  ignoreDatesOnPullRequests?: boolean
18230
+
17799
18231
  allowWarningComments?: boolean
18232
+
17800
18233
  date?: string
17801
18234
  }]
17802
18235
  // ----- unicorn/explicit-length-check -----
@@ -17805,25 +18238,40 @@ type UnicornExplicitLengthCheck = []|[{
17805
18238
  }]
17806
18239
  // ----- unicorn/filename-case -----
17807
18240
  type UnicornFilenameCase = []|[({
18241
+
17808
18242
  case?: ("camelCase" | "snakeCase" | "kebabCase" | "pascalCase")
18243
+
17809
18244
  ignore?: unknown[]
18245
+
17810
18246
  multipleFileExtensions?: boolean
17811
18247
  } | {
18248
+
17812
18249
  cases?: {
18250
+
17813
18251
  camelCase?: boolean
18252
+
17814
18253
  snakeCase?: boolean
18254
+
17815
18255
  kebabCase?: boolean
18256
+
17816
18257
  pascalCase?: boolean
17817
18258
  }
18259
+
17818
18260
  ignore?: unknown[]
18261
+
17819
18262
  multipleFileExtensions?: boolean
17820
18263
  })]
17821
18264
  // ----- unicorn/import-style -----
17822
18265
  type UnicornImportStyle = []|[{
18266
+
17823
18267
  checkImport?: boolean
18268
+
17824
18269
  checkDynamicImport?: boolean
18270
+
17825
18271
  checkExportFrom?: boolean
18272
+
17826
18273
  checkRequire?: boolean
18274
+
17827
18275
  extendDefaultStyles?: boolean
17828
18276
  styles?: _UnicornImportStyle_ModuleStyles
17829
18277
  }]
@@ -17836,15 +18284,20 @@ interface _UnicornImportStyle_BooleanObject {
17836
18284
  }
17837
18285
  // ----- unicorn/isolated-functions -----
17838
18286
  type UnicornIsolatedFunctions = []|[{
18287
+
17839
18288
  overrideGlobals?: {
17840
18289
  [k: string]: (boolean | ("readonly" | "writable" | "writeable" | "off")) | undefined
17841
18290
  }
18291
+
17842
18292
  functions?: string[]
18293
+
17843
18294
  selectors?: string[]
18295
+
17844
18296
  comments?: string[]
17845
18297
  }]
17846
18298
  // ----- unicorn/no-array-reduce -----
17847
18299
  type UnicornNoArrayReduce = []|[{
18300
+
17848
18301
  allowSimpleOperations?: boolean
17849
18302
  }]
17850
18303
  // ----- unicorn/no-array-reverse -----
@@ -17866,26 +18319,33 @@ type UnicornNoInstanceofBuiltins = []|[{
17866
18319
  type UnicornNoKeywordPrefix = []|[{
17867
18320
 
17868
18321
  disallowedPrefixes?: []|[string]
18322
+
17869
18323
  checkProperties?: boolean
18324
+
17870
18325
  onlyCamelCase?: boolean
17871
18326
  }]
17872
18327
  // ----- unicorn/no-null -----
17873
18328
  type UnicornNoNull = []|[{
18329
+
17874
18330
  checkStrictEquality?: boolean
17875
18331
  }]
17876
18332
  // ----- unicorn/no-typeof-undefined -----
17877
18333
  type UnicornNoTypeofUndefined = []|[{
18334
+
17878
18335
  checkGlobalVariables?: boolean
17879
18336
  }]
17880
18337
  // ----- unicorn/no-unnecessary-polyfills -----
17881
18338
  type UnicornNoUnnecessaryPolyfills = []|[{
18339
+
17882
18340
  targets: (string | unknown[] | {
17883
18341
  [k: string]: unknown | undefined
17884
18342
  })
17885
18343
  }]
17886
18344
  // ----- unicorn/no-useless-undefined -----
17887
18345
  type UnicornNoUselessUndefined = []|[{
18346
+
17888
18347
  checkArguments?: boolean
18348
+
17889
18349
  checkArrowFunctionBody?: boolean
17890
18350
  }]
17891
18351
  // ----- unicorn/number-literal-case -----
@@ -17895,84 +18355,119 @@ type UnicornNumberLiteralCase = []|[{
17895
18355
  // ----- unicorn/numeric-separators-style -----
17896
18356
  type UnicornNumericSeparatorsStyle = []|[{
17897
18357
  binary?: {
18358
+
17898
18359
  onlyIfContainsSeparator?: boolean
18360
+
17899
18361
  minimumDigits?: number
18362
+
17900
18363
  groupLength?: number
17901
18364
  }
17902
18365
  octal?: {
18366
+
17903
18367
  onlyIfContainsSeparator?: boolean
18368
+
17904
18369
  minimumDigits?: number
18370
+
17905
18371
  groupLength?: number
17906
18372
  }
17907
18373
  hexadecimal?: {
18374
+
17908
18375
  onlyIfContainsSeparator?: boolean
18376
+
17909
18377
  minimumDigits?: number
18378
+
17910
18379
  groupLength?: number
17911
18380
  }
17912
18381
  number?: {
18382
+
17913
18383
  onlyIfContainsSeparator?: boolean
18384
+
17914
18385
  minimumDigits?: number
18386
+
17915
18387
  groupLength?: number
17916
18388
  }
18389
+
17917
18390
  onlyIfContainsSeparator?: boolean
17918
18391
  }]
17919
18392
  // ----- unicorn/prefer-add-event-listener -----
17920
18393
  type UnicornPreferAddEventListener = []|[{
18394
+
17921
18395
  excludedPackages?: string[]
17922
18396
  }]
17923
18397
  // ----- unicorn/prefer-array-find -----
17924
18398
  type UnicornPreferArrayFind = []|[{
18399
+
17925
18400
  checkFromLast?: boolean
17926
18401
  }]
17927
18402
  // ----- unicorn/prefer-array-flat -----
17928
18403
  type UnicornPreferArrayFlat = []|[{
18404
+
17929
18405
  functions?: unknown[]
17930
18406
  }]
17931
18407
  // ----- unicorn/prefer-at -----
17932
18408
  type UnicornPreferAt = []|[{
18409
+
17933
18410
  getLastElementFunctions?: unknown[]
18411
+
17934
18412
  checkAllIndexAccess?: boolean
17935
18413
  }]
17936
18414
  // ----- unicorn/prefer-export-from -----
17937
18415
  type UnicornPreferExportFrom = []|[{
18416
+
17938
18417
  ignoreUsedVariables?: boolean
17939
18418
  }]
17940
18419
  // ----- unicorn/prefer-number-properties -----
17941
18420
  type UnicornPreferNumberProperties = []|[{
18421
+
17942
18422
  checkInfinity?: boolean
18423
+
17943
18424
  checkNaN?: boolean
17944
18425
  }]
17945
18426
  // ----- unicorn/prefer-object-from-entries -----
17946
18427
  type UnicornPreferObjectFromEntries = []|[{
18428
+
17947
18429
  functions?: unknown[]
17948
18430
  }]
17949
18431
  // ----- unicorn/prefer-single-call -----
17950
18432
  type UnicornPreferSingleCall = []|[{
18433
+
17951
18434
  ignore?: unknown[]
17952
18435
  }]
17953
18436
  // ----- unicorn/prefer-structured-clone -----
17954
18437
  type UnicornPreferStructuredClone = []|[{
18438
+
17955
18439
  functions?: unknown[]
17956
18440
  }]
17957
18441
  // ----- unicorn/prefer-switch -----
17958
18442
  type UnicornPreferSwitch = []|[{
18443
+
17959
18444
  minimumCases?: number
18445
+
17960
18446
  emptyDefaultCase?: ("no-default-comment" | "do-nothing-comment" | "no-default-case")
17961
18447
  }]
17962
18448
  // ----- unicorn/prefer-ternary -----
17963
18449
  type UnicornPreferTernary = []|[("always" | "only-single-line")]
17964
18450
  // ----- unicorn/prevent-abbreviations -----
17965
18451
  type UnicornPreventAbbreviations = []|[{
18452
+
17966
18453
  checkProperties?: boolean
18454
+
17967
18455
  checkVariables?: boolean
18456
+
17968
18457
  checkDefaultAndNamespaceImports?: (boolean | string)
18458
+
17969
18459
  checkShorthandImports?: (boolean | string)
18460
+
17970
18461
  checkShorthandProperties?: boolean
18462
+
17971
18463
  checkFilenames?: boolean
18464
+
17972
18465
  extendDefaultReplacements?: boolean
17973
18466
  replacements?: _UnicornPreventAbbreviations_Abbreviations
18467
+
17974
18468
  extendDefaultAllowList?: boolean
17975
18469
  allowList?: _UnicornPreventAbbreviations_BooleanObject
18470
+
17976
18471
  ignore?: unknown[]
17977
18472
  }]
17978
18473
  type _UnicornPreventAbbreviationsReplacements = (false | _UnicornPreventAbbreviations_BooleanObject) | undefined
@@ -17982,10 +18477,14 @@ interface _UnicornPreventAbbreviations_Abbreviations {
17982
18477
  interface _UnicornPreventAbbreviations_BooleanObject {
17983
18478
  [k: string]: boolean | undefined
17984
18479
  }
18480
+ interface _UnicornPreventAbbreviations_BooleanObject {
18481
+ [k: string]: boolean | undefined
18482
+ }
17985
18483
  // ----- unicorn/relative-url-style -----
17986
18484
  type UnicornRelativeUrlStyle = []|[("never" | "always")]
17987
18485
  // ----- unicorn/string-content -----
17988
18486
  type UnicornStringContent = []|[{
18487
+
17989
18488
  patterns?: {
17990
18489
  [k: string]: (string | {
17991
18490
  suggest: string
@@ -17998,14 +18497,20 @@ type UnicornStringContent = []|[{
17998
18497
  type UnicornSwitchCaseBraces = []|[("always" | "avoid")]
17999
18498
  // ----- unicorn/template-indent -----
18000
18499
  type UnicornTemplateIndent = []|[{
18500
+
18001
18501
  indent?: (string | number)
18502
+
18002
18503
  tags?: string[]
18504
+
18003
18505
  functions?: string[]
18506
+
18004
18507
  selectors?: string[]
18508
+
18005
18509
  comments?: string[]
18006
18510
  }]
18007
18511
  // ----- unicorn/text-encoding-identifier-case -----
18008
18512
  type UnicornTextEncodingIdentifierCase = []|[{
18513
+
18009
18514
  withDash?: boolean
18010
18515
  }]
18011
18516
  // ----- unused-imports/no-unused-imports -----
@@ -18079,36 +18584,49 @@ type ValidTypeof = []|[{
18079
18584
  }]
18080
18585
  // ----- vitest/consistent-each-for -----
18081
18586
  type VitestConsistentEachFor = []|[{
18587
+
18082
18588
  test?: ("each" | "for")
18589
+
18083
18590
  it?: ("each" | "for")
18591
+
18084
18592
  describe?: ("each" | "for")
18593
+
18085
18594
  suite?: ("each" | "for")
18086
18595
  }]
18087
18596
  // ----- vitest/consistent-test-filename -----
18088
18597
  type VitestConsistentTestFilename = []|[{
18598
+
18089
18599
  pattern?: string
18600
+
18090
18601
  allTestPattern?: string
18091
18602
  }]
18092
18603
  // ----- vitest/consistent-test-it -----
18093
18604
  type VitestConsistentTestIt = []|[{
18605
+
18094
18606
  fn?: ("test" | "it")
18607
+
18095
18608
  withinDescribe?: ("test" | "it")
18096
18609
  }]
18097
18610
  // ----- vitest/consistent-vitest-vi -----
18098
18611
  type VitestConsistentVitestVi = []|[{
18612
+
18099
18613
  fn?: ("vi" | "vitest")
18100
18614
  }]
18101
18615
  // ----- vitest/expect-expect -----
18102
18616
  type VitestExpectExpect = []|[{
18617
+
18103
18618
  assertFunctionNames?: string[]
18619
+
18104
18620
  additionalTestBlockFunctions?: string[]
18105
18621
  }]
18106
18622
  // ----- vitest/max-expects -----
18107
18623
  type VitestMaxExpects = []|[{
18624
+
18108
18625
  max?: number
18109
18626
  }]
18110
18627
  // ----- vitest/max-nested-describe -----
18111
18628
  type VitestMaxNestedDescribe = []|[{
18629
+
18112
18630
  max?: number
18113
18631
  }]
18114
18632
  // ----- vitest/no-conditional-expect -----
@@ -18118,6 +18636,7 @@ type VitestNoConditionalExpect = []|[{
18118
18636
  }]
18119
18637
  // ----- vitest/no-focused-tests -----
18120
18638
  type VitestNoFocusedTests = []|[{
18639
+
18121
18640
  fixable?: boolean
18122
18641
  }]
18123
18642
  // ----- vitest/no-hooks -----
@@ -18127,8 +18646,11 @@ type VitestNoHooks = []|[{
18127
18646
  }]
18128
18647
  // ----- vitest/no-large-snapshots -----
18129
18648
  type VitestNoLargeSnapshots = []|[{
18649
+
18130
18650
  maxSize?: number
18651
+
18131
18652
  inlineMaxSize?: number
18653
+
18132
18654
  allowedSnapshots?: {
18133
18655
  [k: string]: unknown[] | undefined
18134
18656
  }
@@ -18143,50 +18665,74 @@ type VitestNoRestrictedViMethods = []|[{
18143
18665
  }]
18144
18666
  // ----- vitest/no-standalone-expect -----
18145
18667
  type VitestNoStandaloneExpect = []|[{
18668
+
18146
18669
  additionalTestBlockFunctions?: string[]
18147
18670
  }]
18148
18671
  // ----- vitest/prefer-expect-assertions -----
18149
18672
  type VitestPreferExpectAssertions = []|[{
18673
+
18150
18674
  onlyFunctionsWithAsyncKeyword?: boolean
18675
+
18151
18676
  onlyFunctionsWithExpectInLoop?: boolean
18677
+
18152
18678
  onlyFunctionsWithExpectInCallback?: boolean
18153
18679
  }]
18154
18680
  // ----- vitest/prefer-import-in-mock -----
18155
18681
  type VitestPreferImportInMock = []|[{
18682
+
18156
18683
  fixable?: boolean
18157
18684
  }]
18158
18685
  // ----- vitest/prefer-lowercase-title -----
18159
18686
  type VitestPreferLowercaseTitle = []|[{
18687
+
18160
18688
  ignore?: ("describe" | "test" | "it")[]
18689
+
18161
18690
  allowedPrefixes?: string[]
18691
+
18162
18692
  ignoreTopLevelDescribe?: boolean
18693
+
18163
18694
  lowercaseFirstCharacterOnly?: boolean
18164
18695
  }]
18165
18696
  // ----- vitest/prefer-snapshot-hint -----
18166
18697
  type VitestPreferSnapshotHint = []|[("always" | "multi")]
18167
18698
  // ----- vitest/require-hook -----
18168
18699
  type VitestRequireHook = []|[{
18700
+
18169
18701
  allowedFunctionCalls?: string[]
18170
18702
  }]
18171
18703
  // ----- vitest/require-mock-type-parameters -----
18172
18704
  type VitestRequireMockTypeParameters = []|[{
18705
+
18173
18706
  checkImportFunctions?: boolean
18174
18707
  }]
18175
18708
  // ----- vitest/require-top-level-describe -----
18176
18709
  type VitestRequireTopLevelDescribe = []|[{
18710
+
18177
18711
  maxNumberOfTopLevelDescribes?: number
18178
18712
  }]
18713
+ // ----- vitest/unbound-method -----
18714
+ type VitestUnboundMethod = []|[{
18715
+
18716
+ ignoreStatic?: boolean
18717
+ }]
18179
18718
  // ----- vitest/valid-expect -----
18180
18719
  type VitestValidExpect = []|[{
18720
+
18181
18721
  alwaysAwait?: boolean
18722
+
18182
18723
  asyncMatchers?: string[]
18724
+
18183
18725
  minArgs?: number
18726
+
18184
18727
  maxArgs?: number
18185
18728
  }]
18186
18729
  // ----- vitest/valid-title -----
18187
18730
  type VitestValidTitle = []|[{
18731
+
18188
18732
  ignoreTypeOfDescribeName?: boolean
18733
+
18189
18734
  allowArguments?: boolean
18735
+
18190
18736
  disallowedWords?: string[]
18191
18737
  [k: string]: (string | [string]|[string, string] | {
18192
18738
  [k: string]: (string | [string]|[string, string]) | undefined