@bfra.me/eslint-config 0.50.1 → 0.50.2
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 +515 -81
- package/lib/index.js +1 -1
- package/package.json +22 -22
- package/src/rules.d.ts +515 -81
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
/**
|
|
@@ -4328,6 +4329,11 @@ interface Rules {
|
|
|
4328
4329
|
* @see https://perfectionist.dev/rules/sort-array-includes
|
|
4329
4330
|
*/
|
|
4330
4331
|
'perfectionist/sort-array-includes'?: Linter.RuleEntry<PerfectionistSortArrayIncludes>
|
|
4332
|
+
/**
|
|
4333
|
+
* Enforce sorted arrays.
|
|
4334
|
+
* @see https://perfectionist.dev/rules/sort-arrays
|
|
4335
|
+
*/
|
|
4336
|
+
'perfectionist/sort-arrays'?: Linter.RuleEntry<PerfectionistSortArrays>
|
|
4331
4337
|
/**
|
|
4332
4338
|
* Enforce sorted classes.
|
|
4333
4339
|
* @see https://perfectionist.dev/rules/sort-classes
|
|
@@ -4561,7 +4567,7 @@ interface Rules {
|
|
|
4561
4567
|
*/
|
|
4562
4568
|
'quotes'?: Linter.RuleEntry<Quotes>
|
|
4563
4569
|
/**
|
|
4564
|
-
* Enforce the
|
|
4570
|
+
* Enforce the use of the radix argument when using `parseInt()`
|
|
4565
4571
|
* @see https://eslint.org/docs/latest/rules/radix
|
|
4566
4572
|
*/
|
|
4567
4573
|
'radix'?: Linter.RuleEntry<Radix>
|
|
@@ -6948,6 +6954,11 @@ interface Rules {
|
|
|
6948
6954
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-top-level-describe.md
|
|
6949
6955
|
*/
|
|
6950
6956
|
'vitest/require-top-level-describe'?: Linter.RuleEntry<VitestRequireTopLevelDescribe>
|
|
6957
|
+
/**
|
|
6958
|
+
* enforce unbound methods are called with their expected scope
|
|
6959
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/unbound-method.md
|
|
6960
|
+
*/
|
|
6961
|
+
'vitest/unbound-method'?: Linter.RuleEntry<VitestUnboundMethod>
|
|
6951
6962
|
/**
|
|
6952
6963
|
* enforce valid describe callback
|
|
6953
6964
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-describe-callback.md
|
|
@@ -7339,33 +7350,33 @@ type StylisticExpListStyle = []|[{
|
|
|
7339
7350
|
singleLine?: _StylisticExpListStyle_SingleLineConfig
|
|
7340
7351
|
multiLine?: _StylisticExpListStyle_MultiLineConfig
|
|
7341
7352
|
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
|
|
7353
|
+
"()"?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7354
|
+
"[]"?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7355
|
+
"{}"?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7356
|
+
"<>"?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7357
|
+
ArrayExpression?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7358
|
+
ArrayPattern?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7359
|
+
ArrowFunctionExpression?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7360
|
+
CallExpression?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7361
|
+
ExportNamedDeclaration?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7362
|
+
FunctionDeclaration?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7363
|
+
FunctionExpression?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7364
|
+
IfStatement?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7365
|
+
ImportAttributes?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7366
|
+
ImportDeclaration?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7367
|
+
JSONArrayExpression?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7368
|
+
JSONObjectExpression?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7369
|
+
NewExpression?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7370
|
+
ObjectExpression?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7371
|
+
ObjectPattern?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7372
|
+
TSDeclareFunction?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7373
|
+
TSEnumBody?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7374
|
+
TSFunctionType?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7375
|
+
TSInterfaceBody?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7376
|
+
TSTupleType?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7377
|
+
TSTypeLiteral?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7378
|
+
TSTypeParameterDeclaration?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7379
|
+
TSTypeParameterInstantiation?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7369
7380
|
}
|
|
7370
7381
|
}]
|
|
7371
7382
|
interface _StylisticExpListStyle_SingleLineConfig {
|
|
@@ -8293,6 +8304,7 @@ type StylisticPaddingLineBetweenStatements = {
|
|
|
8293
8304
|
}[]
|
|
8294
8305
|
interface _StylisticPaddingLineBetweenStatements_SelectorOption {
|
|
8295
8306
|
selector: string
|
|
8307
|
+
lineMode?: ("any" | "singleline" | "multiline")
|
|
8296
8308
|
}
|
|
8297
8309
|
// ----- @stylistic/quote-props -----
|
|
8298
8310
|
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 +9431,19 @@ type TypescriptEslintPreferOptionalChain = []|[{
|
|
|
9419
9431
|
// ----- @typescript-eslint/prefer-promise-reject-errors -----
|
|
9420
9432
|
type TypescriptEslintPreferPromiseRejectErrors = []|[{
|
|
9421
9433
|
|
|
9434
|
+
allow?: (string | {
|
|
9435
|
+
from: "file"
|
|
9436
|
+
name: (string | [string, ...(string)[]])
|
|
9437
|
+
path?: string
|
|
9438
|
+
} | {
|
|
9439
|
+
from: "lib"
|
|
9440
|
+
name: (string | [string, ...(string)[]])
|
|
9441
|
+
} | {
|
|
9442
|
+
from: "package"
|
|
9443
|
+
name: (string | [string, ...(string)[]])
|
|
9444
|
+
package: string
|
|
9445
|
+
})[]
|
|
9446
|
+
|
|
9422
9447
|
allowEmptyReject?: boolean
|
|
9423
9448
|
|
|
9424
9449
|
allowThrowingAny?: boolean
|
|
@@ -12230,6 +12255,8 @@ type MaxParams = []|[(number | {
|
|
|
12230
12255
|
max?: number
|
|
12231
12256
|
|
|
12232
12257
|
countVoidThis?: boolean
|
|
12258
|
+
|
|
12259
|
+
countThis?: ("never" | "except-void" | "always")
|
|
12233
12260
|
})]
|
|
12234
12261
|
// ----- max-statements -----
|
|
12235
12262
|
type MaxStatements = []|[(number | {
|
|
@@ -12675,6 +12702,7 @@ type NodeDependenciesAbsoluteVersion = []|[(("always" | "never") | {
|
|
|
12675
12702
|
// ----- node-dependencies/compat-engines -----
|
|
12676
12703
|
type NodeDependenciesCompatEngines = []|[{
|
|
12677
12704
|
deep?: boolean
|
|
12705
|
+
devDependencies?: boolean
|
|
12678
12706
|
comparisonType?: ("normal" | "major")
|
|
12679
12707
|
}]
|
|
12680
12708
|
// ----- node-dependencies/no-deprecated -----
|
|
@@ -12697,6 +12725,7 @@ type NodeDependenciesRequireProvenanceDeps = []|[{
|
|
|
12697
12725
|
// ----- node-dependencies/valid-engines -----
|
|
12698
12726
|
type NodeDependenciesValidEngines = []|[{
|
|
12699
12727
|
deep?: boolean
|
|
12728
|
+
devDependencies?: boolean
|
|
12700
12729
|
comparisonType?: ("normal" | "major")
|
|
12701
12730
|
}]
|
|
12702
12731
|
// ----- node/callback-return -----
|
|
@@ -13243,6 +13272,186 @@ type PerfectionistSortArrayIncludes = {
|
|
|
13243
13272
|
|
|
13244
13273
|
flags?: string
|
|
13245
13274
|
} | string))
|
|
13275
|
+
|
|
13276
|
+
matchesAstSelector?: string
|
|
13277
|
+
}
|
|
13278
|
+
|
|
13279
|
+
partitionByComment?: (boolean | (({
|
|
13280
|
+
|
|
13281
|
+
pattern: string
|
|
13282
|
+
|
|
13283
|
+
flags?: string
|
|
13284
|
+
} | string)[] | ({
|
|
13285
|
+
|
|
13286
|
+
pattern: string
|
|
13287
|
+
|
|
13288
|
+
flags?: string
|
|
13289
|
+
} | string)) | {
|
|
13290
|
+
|
|
13291
|
+
block?: (boolean | (({
|
|
13292
|
+
|
|
13293
|
+
pattern: string
|
|
13294
|
+
|
|
13295
|
+
flags?: string
|
|
13296
|
+
} | string)[] | ({
|
|
13297
|
+
|
|
13298
|
+
pattern: string
|
|
13299
|
+
|
|
13300
|
+
flags?: string
|
|
13301
|
+
} | string)))
|
|
13302
|
+
|
|
13303
|
+
line?: (boolean | (({
|
|
13304
|
+
|
|
13305
|
+
pattern: string
|
|
13306
|
+
|
|
13307
|
+
flags?: string
|
|
13308
|
+
} | string)[] | ({
|
|
13309
|
+
|
|
13310
|
+
pattern: string
|
|
13311
|
+
|
|
13312
|
+
flags?: string
|
|
13313
|
+
} | string)))
|
|
13314
|
+
})
|
|
13315
|
+
|
|
13316
|
+
partitionByNewLine?: boolean
|
|
13317
|
+
}[]
|
|
13318
|
+
// ----- perfectionist/sort-arrays -----
|
|
13319
|
+
type PerfectionistSortArrays = {
|
|
13320
|
+
|
|
13321
|
+
fallbackSort?: {
|
|
13322
|
+
|
|
13323
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
|
|
13324
|
+
|
|
13325
|
+
order?: ("asc" | "desc")
|
|
13326
|
+
}
|
|
13327
|
+
|
|
13328
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
|
|
13329
|
+
|
|
13330
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
13331
|
+
|
|
13332
|
+
ignoreCase?: boolean
|
|
13333
|
+
|
|
13334
|
+
alphabet?: string
|
|
13335
|
+
|
|
13336
|
+
locales?: (string | string[])
|
|
13337
|
+
|
|
13338
|
+
order?: ("asc" | "desc")
|
|
13339
|
+
|
|
13340
|
+
customGroups?: ({
|
|
13341
|
+
|
|
13342
|
+
fallbackSort?: {
|
|
13343
|
+
|
|
13344
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
|
|
13345
|
+
|
|
13346
|
+
order?: ("asc" | "desc")
|
|
13347
|
+
}
|
|
13348
|
+
|
|
13349
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
|
|
13350
|
+
|
|
13351
|
+
groupName: string
|
|
13352
|
+
newlinesInside?: ("ignore" | number)
|
|
13353
|
+
|
|
13354
|
+
order?: ("asc" | "desc")
|
|
13355
|
+
|
|
13356
|
+
anyOf: [{
|
|
13357
|
+
|
|
13358
|
+
elementNamePattern?: (({
|
|
13359
|
+
|
|
13360
|
+
pattern: string
|
|
13361
|
+
|
|
13362
|
+
flags?: string
|
|
13363
|
+
} | string)[] | ({
|
|
13364
|
+
|
|
13365
|
+
pattern: string
|
|
13366
|
+
|
|
13367
|
+
flags?: string
|
|
13368
|
+
} | string))
|
|
13369
|
+
|
|
13370
|
+
selector?: "literal"
|
|
13371
|
+
}, ...({
|
|
13372
|
+
|
|
13373
|
+
elementNamePattern?: (({
|
|
13374
|
+
|
|
13375
|
+
pattern: string
|
|
13376
|
+
|
|
13377
|
+
flags?: string
|
|
13378
|
+
} | string)[] | ({
|
|
13379
|
+
|
|
13380
|
+
pattern: string
|
|
13381
|
+
|
|
13382
|
+
flags?: string
|
|
13383
|
+
} | string))
|
|
13384
|
+
|
|
13385
|
+
selector?: "literal"
|
|
13386
|
+
})[]]
|
|
13387
|
+
} | {
|
|
13388
|
+
|
|
13389
|
+
fallbackSort?: {
|
|
13390
|
+
|
|
13391
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
|
|
13392
|
+
|
|
13393
|
+
order?: ("asc" | "desc")
|
|
13394
|
+
}
|
|
13395
|
+
|
|
13396
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
|
|
13397
|
+
|
|
13398
|
+
groupName: string
|
|
13399
|
+
newlinesInside?: ("ignore" | number)
|
|
13400
|
+
|
|
13401
|
+
order?: ("asc" | "desc")
|
|
13402
|
+
|
|
13403
|
+
elementNamePattern?: (({
|
|
13404
|
+
|
|
13405
|
+
pattern: string
|
|
13406
|
+
|
|
13407
|
+
flags?: string
|
|
13408
|
+
} | string)[] | ({
|
|
13409
|
+
|
|
13410
|
+
pattern: string
|
|
13411
|
+
|
|
13412
|
+
flags?: string
|
|
13413
|
+
} | string))
|
|
13414
|
+
|
|
13415
|
+
selector?: "literal"
|
|
13416
|
+
})[]
|
|
13417
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween")
|
|
13418
|
+
|
|
13419
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
13420
|
+
newlinesBetween: ("ignore" | number)
|
|
13421
|
+
} | {
|
|
13422
|
+
group: (string | [string, ...(string)[]])
|
|
13423
|
+
|
|
13424
|
+
fallbackSort?: {
|
|
13425
|
+
|
|
13426
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
|
|
13427
|
+
|
|
13428
|
+
order?: ("asc" | "desc")
|
|
13429
|
+
}
|
|
13430
|
+
|
|
13431
|
+
commentAbove?: string
|
|
13432
|
+
|
|
13433
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
|
|
13434
|
+
newlinesInside?: ("ignore" | number)
|
|
13435
|
+
|
|
13436
|
+
order?: ("asc" | "desc")
|
|
13437
|
+
})[]
|
|
13438
|
+
newlinesBetween?: ("ignore" | number)
|
|
13439
|
+
|
|
13440
|
+
useConfigurationIf: {
|
|
13441
|
+
|
|
13442
|
+
allNamesMatchPattern?: (({
|
|
13443
|
+
|
|
13444
|
+
pattern: string
|
|
13445
|
+
|
|
13446
|
+
flags?: string
|
|
13447
|
+
} | string)[] | ({
|
|
13448
|
+
|
|
13449
|
+
pattern: string
|
|
13450
|
+
|
|
13451
|
+
flags?: string
|
|
13452
|
+
} | string))
|
|
13453
|
+
|
|
13454
|
+
matchesAstSelector?: string
|
|
13246
13455
|
}
|
|
13247
13456
|
|
|
13248
13457
|
partitionByComment?: (boolean | (({
|
|
@@ -13285,7 +13494,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
13285
13494
|
partitionByNewLine?: boolean
|
|
13286
13495
|
}[]
|
|
13287
13496
|
// ----- perfectionist/sort-classes -----
|
|
13288
|
-
type PerfectionistSortClasses =
|
|
13497
|
+
type PerfectionistSortClasses = {
|
|
13289
13498
|
|
|
13290
13499
|
fallbackSort?: {
|
|
13291
13500
|
|
|
@@ -13484,6 +13693,23 @@ type PerfectionistSortClasses = []|[{
|
|
|
13484
13693
|
})[]
|
|
13485
13694
|
newlinesBetween?: ("ignore" | number)
|
|
13486
13695
|
|
|
13696
|
+
useConfigurationIf?: {
|
|
13697
|
+
|
|
13698
|
+
allNamesMatchPattern?: (({
|
|
13699
|
+
|
|
13700
|
+
pattern: string
|
|
13701
|
+
|
|
13702
|
+
flags?: string
|
|
13703
|
+
} | string)[] | ({
|
|
13704
|
+
|
|
13705
|
+
pattern: string
|
|
13706
|
+
|
|
13707
|
+
flags?: string
|
|
13708
|
+
} | string))
|
|
13709
|
+
|
|
13710
|
+
matchesAstSelector?: string
|
|
13711
|
+
}
|
|
13712
|
+
|
|
13487
13713
|
useExperimentalDependencyDetection?: boolean
|
|
13488
13714
|
|
|
13489
13715
|
ignoreCallbackDependenciesPatterns?: (({
|
|
@@ -13536,7 +13762,7 @@ type PerfectionistSortClasses = []|[{
|
|
|
13536
13762
|
})
|
|
13537
13763
|
|
|
13538
13764
|
partitionByNewLine?: boolean
|
|
13539
|
-
}]
|
|
13765
|
+
}[]
|
|
13540
13766
|
// ----- perfectionist/sort-decorators -----
|
|
13541
13767
|
type PerfectionistSortDecorators = {
|
|
13542
13768
|
|
|
@@ -13703,7 +13929,7 @@ type PerfectionistSortDecorators = {
|
|
|
13703
13929
|
partitionByNewLine?: boolean
|
|
13704
13930
|
}[]
|
|
13705
13931
|
// ----- perfectionist/sort-enums -----
|
|
13706
|
-
type PerfectionistSortEnums =
|
|
13932
|
+
type PerfectionistSortEnums = {
|
|
13707
13933
|
|
|
13708
13934
|
fallbackSort?: {
|
|
13709
13935
|
|
|
@@ -13854,6 +14080,23 @@ type PerfectionistSortEnums = []|[{
|
|
|
13854
14080
|
})[]
|
|
13855
14081
|
newlinesBetween?: ("ignore" | number)
|
|
13856
14082
|
|
|
14083
|
+
useConfigurationIf?: {
|
|
14084
|
+
|
|
14085
|
+
allNamesMatchPattern?: (({
|
|
14086
|
+
|
|
14087
|
+
pattern: string
|
|
14088
|
+
|
|
14089
|
+
flags?: string
|
|
14090
|
+
} | string)[] | ({
|
|
14091
|
+
|
|
14092
|
+
pattern: string
|
|
14093
|
+
|
|
14094
|
+
flags?: string
|
|
14095
|
+
} | string))
|
|
14096
|
+
|
|
14097
|
+
matchesAstSelector?: string
|
|
14098
|
+
}
|
|
14099
|
+
|
|
13857
14100
|
sortByValue?: ("always" | "ifNumericEnum" | "never")
|
|
13858
14101
|
|
|
13859
14102
|
useExperimentalDependencyDetection?: boolean
|
|
@@ -13896,7 +14139,7 @@ type PerfectionistSortEnums = []|[{
|
|
|
13896
14139
|
})
|
|
13897
14140
|
|
|
13898
14141
|
partitionByNewLine?: boolean
|
|
13899
|
-
}]
|
|
14142
|
+
}[]
|
|
13900
14143
|
// ----- perfectionist/sort-export-attributes -----
|
|
13901
14144
|
type PerfectionistSortExportAttributes = {
|
|
13902
14145
|
|
|
@@ -14013,6 +14256,23 @@ type PerfectionistSortExportAttributes = {
|
|
|
14013
14256
|
})[]
|
|
14014
14257
|
newlinesBetween?: ("ignore" | number)
|
|
14015
14258
|
|
|
14259
|
+
useConfigurationIf?: {
|
|
14260
|
+
|
|
14261
|
+
allNamesMatchPattern?: (({
|
|
14262
|
+
|
|
14263
|
+
pattern: string
|
|
14264
|
+
|
|
14265
|
+
flags?: string
|
|
14266
|
+
} | string)[] | ({
|
|
14267
|
+
|
|
14268
|
+
pattern: string
|
|
14269
|
+
|
|
14270
|
+
flags?: string
|
|
14271
|
+
} | string))
|
|
14272
|
+
|
|
14273
|
+
matchesAstSelector?: string
|
|
14274
|
+
}
|
|
14275
|
+
|
|
14016
14276
|
partitionByComment?: (boolean | (({
|
|
14017
14277
|
|
|
14018
14278
|
pattern: string
|
|
@@ -14335,6 +14595,23 @@ type PerfectionistSortHeritageClauses = {
|
|
|
14335
14595
|
})[]
|
|
14336
14596
|
newlinesBetween?: ("ignore" | number)
|
|
14337
14597
|
|
|
14598
|
+
useConfigurationIf?: {
|
|
14599
|
+
|
|
14600
|
+
allNamesMatchPattern?: (({
|
|
14601
|
+
|
|
14602
|
+
pattern: string
|
|
14603
|
+
|
|
14604
|
+
flags?: string
|
|
14605
|
+
} | string)[] | ({
|
|
14606
|
+
|
|
14607
|
+
pattern: string
|
|
14608
|
+
|
|
14609
|
+
flags?: string
|
|
14610
|
+
} | string))
|
|
14611
|
+
|
|
14612
|
+
matchesAstSelector?: string
|
|
14613
|
+
}
|
|
14614
|
+
|
|
14338
14615
|
partitionByNewLine?: boolean
|
|
14339
14616
|
|
|
14340
14617
|
partitionByComment?: (boolean | (({
|
|
@@ -14490,6 +14767,23 @@ type PerfectionistSortImportAttributes = {
|
|
|
14490
14767
|
})[]
|
|
14491
14768
|
newlinesBetween?: ("ignore" | number)
|
|
14492
14769
|
|
|
14770
|
+
useConfigurationIf?: {
|
|
14771
|
+
|
|
14772
|
+
allNamesMatchPattern?: (({
|
|
14773
|
+
|
|
14774
|
+
pattern: string
|
|
14775
|
+
|
|
14776
|
+
flags?: string
|
|
14777
|
+
} | string)[] | ({
|
|
14778
|
+
|
|
14779
|
+
pattern: string
|
|
14780
|
+
|
|
14781
|
+
flags?: string
|
|
14782
|
+
} | string))
|
|
14783
|
+
|
|
14784
|
+
matchesAstSelector?: string
|
|
14785
|
+
}
|
|
14786
|
+
|
|
14493
14787
|
partitionByComment?: (boolean | (({
|
|
14494
14788
|
|
|
14495
14789
|
pattern: string
|
|
@@ -14932,6 +15226,8 @@ type PerfectionistSortInterfaces = {
|
|
|
14932
15226
|
flags?: string
|
|
14933
15227
|
} | string))
|
|
14934
15228
|
|
|
15229
|
+
matchesAstSelector?: string
|
|
15230
|
+
|
|
14935
15231
|
declarationMatchesPattern?: (({
|
|
14936
15232
|
scope?: ("shallow" | "deep")
|
|
14937
15233
|
|
|
@@ -15108,6 +15404,23 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
15108
15404
|
})[]
|
|
15109
15405
|
newlinesBetween?: ("ignore" | number)
|
|
15110
15406
|
|
|
15407
|
+
useConfigurationIf?: {
|
|
15408
|
+
|
|
15409
|
+
allNamesMatchPattern?: (({
|
|
15410
|
+
|
|
15411
|
+
pattern: string
|
|
15412
|
+
|
|
15413
|
+
flags?: string
|
|
15414
|
+
} | string)[] | ({
|
|
15415
|
+
|
|
15416
|
+
pattern: string
|
|
15417
|
+
|
|
15418
|
+
flags?: string
|
|
15419
|
+
} | string))
|
|
15420
|
+
|
|
15421
|
+
matchesAstSelector?: string
|
|
15422
|
+
}
|
|
15423
|
+
|
|
15111
15424
|
partitionByComment?: (boolean | (({
|
|
15112
15425
|
|
|
15113
15426
|
pattern: string
|
|
@@ -15325,6 +15638,8 @@ type PerfectionistSortJsxProps = {
|
|
|
15325
15638
|
flags?: string
|
|
15326
15639
|
} | string))
|
|
15327
15640
|
|
|
15641
|
+
matchesAstSelector?: string
|
|
15642
|
+
|
|
15328
15643
|
tagMatchesPattern?: (({
|
|
15329
15644
|
|
|
15330
15645
|
pattern: string
|
|
@@ -15469,6 +15784,8 @@ type PerfectionistSortMaps = {
|
|
|
15469
15784
|
|
|
15470
15785
|
flags?: string
|
|
15471
15786
|
} | string))
|
|
15787
|
+
|
|
15788
|
+
matchesAstSelector?: string
|
|
15472
15789
|
}
|
|
15473
15790
|
|
|
15474
15791
|
partitionByComment?: (boolean | (({
|
|
@@ -15843,6 +16160,23 @@ type PerfectionistSortNamedExports = {
|
|
|
15843
16160
|
})[]
|
|
15844
16161
|
newlinesBetween?: ("ignore" | number)
|
|
15845
16162
|
|
|
16163
|
+
useConfigurationIf?: {
|
|
16164
|
+
|
|
16165
|
+
allNamesMatchPattern?: (({
|
|
16166
|
+
|
|
16167
|
+
pattern: string
|
|
16168
|
+
|
|
16169
|
+
flags?: string
|
|
16170
|
+
} | string)[] | ({
|
|
16171
|
+
|
|
16172
|
+
pattern: string
|
|
16173
|
+
|
|
16174
|
+
flags?: string
|
|
16175
|
+
} | string))
|
|
16176
|
+
|
|
16177
|
+
matchesAstSelector?: string
|
|
16178
|
+
}
|
|
16179
|
+
|
|
15846
16180
|
ignoreAlias?: boolean
|
|
15847
16181
|
|
|
15848
16182
|
partitionByComment?: (boolean | (({
|
|
@@ -16012,6 +16346,23 @@ type PerfectionistSortNamedImports = {
|
|
|
16012
16346
|
})[]
|
|
16013
16347
|
newlinesBetween?: ("ignore" | number)
|
|
16014
16348
|
|
|
16349
|
+
useConfigurationIf?: {
|
|
16350
|
+
|
|
16351
|
+
allNamesMatchPattern?: (({
|
|
16352
|
+
|
|
16353
|
+
pattern: string
|
|
16354
|
+
|
|
16355
|
+
flags?: string
|
|
16356
|
+
} | string)[] | ({
|
|
16357
|
+
|
|
16358
|
+
pattern: string
|
|
16359
|
+
|
|
16360
|
+
flags?: string
|
|
16361
|
+
} | string))
|
|
16362
|
+
|
|
16363
|
+
matchesAstSelector?: string
|
|
16364
|
+
}
|
|
16365
|
+
|
|
16015
16366
|
ignoreAlias?: boolean
|
|
16016
16367
|
|
|
16017
16368
|
partitionByComment?: (boolean | (({
|
|
@@ -16255,6 +16606,8 @@ type PerfectionistSortObjectTypes = {
|
|
|
16255
16606
|
flags?: string
|
|
16256
16607
|
} | string))
|
|
16257
16608
|
|
|
16609
|
+
matchesAstSelector?: string
|
|
16610
|
+
|
|
16258
16611
|
declarationMatchesPattern?: (({
|
|
16259
16612
|
scope?: ("shallow" | "deep")
|
|
16260
16613
|
|
|
@@ -16527,6 +16880,8 @@ type PerfectionistSortObjects = {
|
|
|
16527
16880
|
flags?: string
|
|
16528
16881
|
} | string))
|
|
16529
16882
|
|
|
16883
|
+
matchesAstSelector?: string
|
|
16884
|
+
|
|
16530
16885
|
declarationMatchesPattern?: (({
|
|
16531
16886
|
scope?: ("shallow" | "deep")
|
|
16532
16887
|
|
|
@@ -16542,6 +16897,8 @@ type PerfectionistSortObjects = {
|
|
|
16542
16897
|
} | string))
|
|
16543
16898
|
}
|
|
16544
16899
|
|
|
16900
|
+
partitionByComputedKey?: boolean
|
|
16901
|
+
|
|
16545
16902
|
styledComponents?: boolean
|
|
16546
16903
|
|
|
16547
16904
|
useExperimentalDependencyDetection?: boolean
|
|
@@ -16720,6 +17077,8 @@ type PerfectionistSortSets = {
|
|
|
16720
17077
|
|
|
16721
17078
|
flags?: string
|
|
16722
17079
|
} | string))
|
|
17080
|
+
|
|
17081
|
+
matchesAstSelector?: string
|
|
16723
17082
|
}
|
|
16724
17083
|
|
|
16725
17084
|
partitionByComment?: (boolean | (({
|
|
@@ -16905,6 +17264,23 @@ type PerfectionistSortUnionTypes = {
|
|
|
16905
17264
|
})[]
|
|
16906
17265
|
newlinesBetween?: ("ignore" | number)
|
|
16907
17266
|
|
|
17267
|
+
useConfigurationIf?: {
|
|
17268
|
+
|
|
17269
|
+
allNamesMatchPattern?: (({
|
|
17270
|
+
|
|
17271
|
+
pattern: string
|
|
17272
|
+
|
|
17273
|
+
flags?: string
|
|
17274
|
+
} | string)[] | ({
|
|
17275
|
+
|
|
17276
|
+
pattern: string
|
|
17277
|
+
|
|
17278
|
+
flags?: string
|
|
17279
|
+
} | string))
|
|
17280
|
+
|
|
17281
|
+
matchesAstSelector?: string
|
|
17282
|
+
}
|
|
17283
|
+
|
|
16908
17284
|
partitionByComment?: (boolean | (({
|
|
16909
17285
|
|
|
16910
17286
|
pattern: string
|
|
@@ -16945,7 +17321,7 @@ type PerfectionistSortUnionTypes = {
|
|
|
16945
17321
|
partitionByNewLine?: boolean
|
|
16946
17322
|
}[]
|
|
16947
17323
|
// ----- perfectionist/sort-variable-declarations -----
|
|
16948
|
-
type PerfectionistSortVariableDeclarations =
|
|
17324
|
+
type PerfectionistSortVariableDeclarations = {
|
|
16949
17325
|
|
|
16950
17326
|
fallbackSort?: {
|
|
16951
17327
|
|
|
@@ -17066,6 +17442,23 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
17066
17442
|
})[]
|
|
17067
17443
|
newlinesBetween?: ("ignore" | number)
|
|
17068
17444
|
|
|
17445
|
+
useConfigurationIf?: {
|
|
17446
|
+
|
|
17447
|
+
allNamesMatchPattern?: (({
|
|
17448
|
+
|
|
17449
|
+
pattern: string
|
|
17450
|
+
|
|
17451
|
+
flags?: string
|
|
17452
|
+
} | string)[] | ({
|
|
17453
|
+
|
|
17454
|
+
pattern: string
|
|
17455
|
+
|
|
17456
|
+
flags?: string
|
|
17457
|
+
} | string))
|
|
17458
|
+
|
|
17459
|
+
matchesAstSelector?: string
|
|
17460
|
+
}
|
|
17461
|
+
|
|
17069
17462
|
useExperimentalDependencyDetection?: boolean
|
|
17070
17463
|
|
|
17071
17464
|
partitionByComment?: (boolean | (({
|
|
@@ -17106,7 +17499,7 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
17106
17499
|
})
|
|
17107
17500
|
|
|
17108
17501
|
partitionByNewLine?: boolean
|
|
17109
|
-
}]
|
|
17502
|
+
}[]
|
|
17110
17503
|
// ----- pnpm/json-enforce-catalog -----
|
|
17111
17504
|
type PnpmJsonEnforceCatalog = []|[{
|
|
17112
17505
|
|
|
@@ -18079,36 +18472,49 @@ type ValidTypeof = []|[{
|
|
|
18079
18472
|
}]
|
|
18080
18473
|
// ----- vitest/consistent-each-for -----
|
|
18081
18474
|
type VitestConsistentEachFor = []|[{
|
|
18475
|
+
|
|
18082
18476
|
test?: ("each" | "for")
|
|
18477
|
+
|
|
18083
18478
|
it?: ("each" | "for")
|
|
18479
|
+
|
|
18084
18480
|
describe?: ("each" | "for")
|
|
18481
|
+
|
|
18085
18482
|
suite?: ("each" | "for")
|
|
18086
18483
|
}]
|
|
18087
18484
|
// ----- vitest/consistent-test-filename -----
|
|
18088
18485
|
type VitestConsistentTestFilename = []|[{
|
|
18486
|
+
|
|
18089
18487
|
pattern?: string
|
|
18488
|
+
|
|
18090
18489
|
allTestPattern?: string
|
|
18091
18490
|
}]
|
|
18092
18491
|
// ----- vitest/consistent-test-it -----
|
|
18093
18492
|
type VitestConsistentTestIt = []|[{
|
|
18493
|
+
|
|
18094
18494
|
fn?: ("test" | "it")
|
|
18495
|
+
|
|
18095
18496
|
withinDescribe?: ("test" | "it")
|
|
18096
18497
|
}]
|
|
18097
18498
|
// ----- vitest/consistent-vitest-vi -----
|
|
18098
18499
|
type VitestConsistentVitestVi = []|[{
|
|
18500
|
+
|
|
18099
18501
|
fn?: ("vi" | "vitest")
|
|
18100
18502
|
}]
|
|
18101
18503
|
// ----- vitest/expect-expect -----
|
|
18102
18504
|
type VitestExpectExpect = []|[{
|
|
18505
|
+
|
|
18103
18506
|
assertFunctionNames?: string[]
|
|
18507
|
+
|
|
18104
18508
|
additionalTestBlockFunctions?: string[]
|
|
18105
18509
|
}]
|
|
18106
18510
|
// ----- vitest/max-expects -----
|
|
18107
18511
|
type VitestMaxExpects = []|[{
|
|
18512
|
+
|
|
18108
18513
|
max?: number
|
|
18109
18514
|
}]
|
|
18110
18515
|
// ----- vitest/max-nested-describe -----
|
|
18111
18516
|
type VitestMaxNestedDescribe = []|[{
|
|
18517
|
+
|
|
18112
18518
|
max?: number
|
|
18113
18519
|
}]
|
|
18114
18520
|
// ----- vitest/no-conditional-expect -----
|
|
@@ -18118,6 +18524,7 @@ type VitestNoConditionalExpect = []|[{
|
|
|
18118
18524
|
}]
|
|
18119
18525
|
// ----- vitest/no-focused-tests -----
|
|
18120
18526
|
type VitestNoFocusedTests = []|[{
|
|
18527
|
+
|
|
18121
18528
|
fixable?: boolean
|
|
18122
18529
|
}]
|
|
18123
18530
|
// ----- vitest/no-hooks -----
|
|
@@ -18127,8 +18534,11 @@ type VitestNoHooks = []|[{
|
|
|
18127
18534
|
}]
|
|
18128
18535
|
// ----- vitest/no-large-snapshots -----
|
|
18129
18536
|
type VitestNoLargeSnapshots = []|[{
|
|
18537
|
+
|
|
18130
18538
|
maxSize?: number
|
|
18539
|
+
|
|
18131
18540
|
inlineMaxSize?: number
|
|
18541
|
+
|
|
18132
18542
|
allowedSnapshots?: {
|
|
18133
18543
|
[k: string]: unknown[] | undefined
|
|
18134
18544
|
}
|
|
@@ -18143,50 +18553,74 @@ type VitestNoRestrictedViMethods = []|[{
|
|
|
18143
18553
|
}]
|
|
18144
18554
|
// ----- vitest/no-standalone-expect -----
|
|
18145
18555
|
type VitestNoStandaloneExpect = []|[{
|
|
18556
|
+
|
|
18146
18557
|
additionalTestBlockFunctions?: string[]
|
|
18147
18558
|
}]
|
|
18148
18559
|
// ----- vitest/prefer-expect-assertions -----
|
|
18149
18560
|
type VitestPreferExpectAssertions = []|[{
|
|
18561
|
+
|
|
18150
18562
|
onlyFunctionsWithAsyncKeyword?: boolean
|
|
18563
|
+
|
|
18151
18564
|
onlyFunctionsWithExpectInLoop?: boolean
|
|
18565
|
+
|
|
18152
18566
|
onlyFunctionsWithExpectInCallback?: boolean
|
|
18153
18567
|
}]
|
|
18154
18568
|
// ----- vitest/prefer-import-in-mock -----
|
|
18155
18569
|
type VitestPreferImportInMock = []|[{
|
|
18570
|
+
|
|
18156
18571
|
fixable?: boolean
|
|
18157
18572
|
}]
|
|
18158
18573
|
// ----- vitest/prefer-lowercase-title -----
|
|
18159
18574
|
type VitestPreferLowercaseTitle = []|[{
|
|
18575
|
+
|
|
18160
18576
|
ignore?: ("describe" | "test" | "it")[]
|
|
18577
|
+
|
|
18161
18578
|
allowedPrefixes?: string[]
|
|
18579
|
+
|
|
18162
18580
|
ignoreTopLevelDescribe?: boolean
|
|
18581
|
+
|
|
18163
18582
|
lowercaseFirstCharacterOnly?: boolean
|
|
18164
18583
|
}]
|
|
18165
18584
|
// ----- vitest/prefer-snapshot-hint -----
|
|
18166
18585
|
type VitestPreferSnapshotHint = []|[("always" | "multi")]
|
|
18167
18586
|
// ----- vitest/require-hook -----
|
|
18168
18587
|
type VitestRequireHook = []|[{
|
|
18588
|
+
|
|
18169
18589
|
allowedFunctionCalls?: string[]
|
|
18170
18590
|
}]
|
|
18171
18591
|
// ----- vitest/require-mock-type-parameters -----
|
|
18172
18592
|
type VitestRequireMockTypeParameters = []|[{
|
|
18593
|
+
|
|
18173
18594
|
checkImportFunctions?: boolean
|
|
18174
18595
|
}]
|
|
18175
18596
|
// ----- vitest/require-top-level-describe -----
|
|
18176
18597
|
type VitestRequireTopLevelDescribe = []|[{
|
|
18598
|
+
|
|
18177
18599
|
maxNumberOfTopLevelDescribes?: number
|
|
18178
18600
|
}]
|
|
18601
|
+
// ----- vitest/unbound-method -----
|
|
18602
|
+
type VitestUnboundMethod = []|[{
|
|
18603
|
+
|
|
18604
|
+
ignoreStatic?: boolean
|
|
18605
|
+
}]
|
|
18179
18606
|
// ----- vitest/valid-expect -----
|
|
18180
18607
|
type VitestValidExpect = []|[{
|
|
18608
|
+
|
|
18181
18609
|
alwaysAwait?: boolean
|
|
18610
|
+
|
|
18182
18611
|
asyncMatchers?: string[]
|
|
18612
|
+
|
|
18183
18613
|
minArgs?: number
|
|
18614
|
+
|
|
18184
18615
|
maxArgs?: number
|
|
18185
18616
|
}]
|
|
18186
18617
|
// ----- vitest/valid-title -----
|
|
18187
18618
|
type VitestValidTitle = []|[{
|
|
18619
|
+
|
|
18188
18620
|
ignoreTypeOfDescribeName?: boolean
|
|
18621
|
+
|
|
18189
18622
|
allowArguments?: boolean
|
|
18623
|
+
|
|
18190
18624
|
disallowedWords?: string[]
|
|
18191
18625
|
[k: string]: (string | [string]|[string, string] | {
|
|
18192
18626
|
[k: string]: (string | [string]|[string, string]) | undefined
|