@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/src/rules.d.ts
CHANGED
|
@@ -1770,6 +1770,7 @@ export interface Rules {
|
|
|
1770
1770
|
/**
|
|
1771
1771
|
* disallow unused `eslint-disable` comments
|
|
1772
1772
|
* @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-unused-disable.html
|
|
1773
|
+
* @deprecated
|
|
1773
1774
|
*/
|
|
1774
1775
|
'eslint-comments/no-unused-disable'?: Linter.RuleEntry<[]>
|
|
1775
1776
|
/**
|
|
@@ -1887,238 +1888,238 @@ export interface Rules {
|
|
|
1887
1888
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
1888
1889
|
/**
|
|
1889
1890
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
1890
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1891
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/consistent-type-specifier-style.md
|
|
1891
1892
|
*/
|
|
1892
1893
|
'import-x/consistent-type-specifier-style'?: Linter.RuleEntry<ImportXConsistentTypeSpecifierStyle>
|
|
1893
1894
|
/**
|
|
1894
1895
|
* Ensure a default export is present, given a default import.
|
|
1895
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1896
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/default.md
|
|
1896
1897
|
*/
|
|
1897
1898
|
'import-x/default'?: Linter.RuleEntry<[]>
|
|
1898
1899
|
/**
|
|
1899
1900
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
1900
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1901
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/dynamic-import-chunkname.md
|
|
1901
1902
|
*/
|
|
1902
1903
|
'import-x/dynamic-import-chunkname'?: Linter.RuleEntry<ImportXDynamicImportChunkname>
|
|
1903
1904
|
/**
|
|
1904
1905
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
1905
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1906
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/export.md
|
|
1906
1907
|
*/
|
|
1907
1908
|
'import-x/export'?: Linter.RuleEntry<[]>
|
|
1908
1909
|
/**
|
|
1909
1910
|
* Ensure all exports appear after other statements.
|
|
1910
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1911
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/exports-last.md
|
|
1911
1912
|
*/
|
|
1912
1913
|
'import-x/exports-last'?: Linter.RuleEntry<[]>
|
|
1913
1914
|
/**
|
|
1914
1915
|
* Ensure consistent use of file extension within the import path.
|
|
1915
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1916
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/extensions.md
|
|
1916
1917
|
*/
|
|
1917
1918
|
'import-x/extensions'?: Linter.RuleEntry<ImportXExtensions>
|
|
1918
1919
|
/**
|
|
1919
1920
|
* Ensure all imports appear before other statements.
|
|
1920
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1921
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/first.md
|
|
1921
1922
|
*/
|
|
1922
1923
|
'import-x/first'?: Linter.RuleEntry<ImportXFirst>
|
|
1923
1924
|
/**
|
|
1924
1925
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
1925
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1926
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/group-exports.md
|
|
1926
1927
|
*/
|
|
1927
1928
|
'import-x/group-exports'?: Linter.RuleEntry<[]>
|
|
1928
1929
|
/**
|
|
1929
1930
|
* Replaced by `import-x/first`.
|
|
1930
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1931
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/imports-first.md
|
|
1931
1932
|
* @deprecated
|
|
1932
1933
|
*/
|
|
1933
1934
|
'import-x/imports-first'?: Linter.RuleEntry<ImportXImportsFirst>
|
|
1934
1935
|
/**
|
|
1935
1936
|
* Enforce the maximum number of dependencies a module can have.
|
|
1936
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1937
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/max-dependencies.md
|
|
1937
1938
|
*/
|
|
1938
1939
|
'import-x/max-dependencies'?: Linter.RuleEntry<ImportXMaxDependencies>
|
|
1939
1940
|
/**
|
|
1940
1941
|
* Ensure named imports correspond to a named export in the remote file.
|
|
1941
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1942
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/named.md
|
|
1942
1943
|
*/
|
|
1943
1944
|
'import-x/named'?: Linter.RuleEntry<ImportXNamed>
|
|
1944
1945
|
/**
|
|
1945
1946
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
1946
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1947
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/namespace.md
|
|
1947
1948
|
*/
|
|
1948
1949
|
'import-x/namespace'?: Linter.RuleEntry<ImportXNamespace>
|
|
1949
1950
|
/**
|
|
1950
1951
|
* Enforce a newline after import statements.
|
|
1951
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1952
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/newline-after-import.md
|
|
1952
1953
|
*/
|
|
1953
1954
|
'import-x/newline-after-import'?: Linter.RuleEntry<ImportXNewlineAfterImport>
|
|
1954
1955
|
/**
|
|
1955
1956
|
* Forbid import of modules using absolute paths.
|
|
1956
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1957
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-absolute-path.md
|
|
1957
1958
|
*/
|
|
1958
1959
|
'import-x/no-absolute-path'?: Linter.RuleEntry<ImportXNoAbsolutePath>
|
|
1959
1960
|
/**
|
|
1960
1961
|
* Forbid AMD `require` and `define` calls.
|
|
1961
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1962
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-amd.md
|
|
1962
1963
|
*/
|
|
1963
1964
|
'import-x/no-amd'?: Linter.RuleEntry<[]>
|
|
1964
1965
|
/**
|
|
1965
1966
|
* Forbid anonymous values as default exports.
|
|
1966
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1967
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-anonymous-default-export.md
|
|
1967
1968
|
*/
|
|
1968
1969
|
'import-x/no-anonymous-default-export'?: Linter.RuleEntry<ImportXNoAnonymousDefaultExport>
|
|
1969
1970
|
/**
|
|
1970
1971
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
1971
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1972
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-commonjs.md
|
|
1972
1973
|
*/
|
|
1973
1974
|
'import-x/no-commonjs'?: Linter.RuleEntry<ImportXNoCommonjs>
|
|
1974
1975
|
/**
|
|
1975
1976
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
1976
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1977
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-cycle.md
|
|
1977
1978
|
*/
|
|
1978
1979
|
'import-x/no-cycle'?: Linter.RuleEntry<ImportXNoCycle>
|
|
1979
1980
|
/**
|
|
1980
1981
|
* Forbid default exports.
|
|
1981
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1982
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-default-export.md
|
|
1982
1983
|
*/
|
|
1983
1984
|
'import-x/no-default-export'?: Linter.RuleEntry<[]>
|
|
1984
1985
|
/**
|
|
1985
1986
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
1986
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1987
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-deprecated.md
|
|
1987
1988
|
*/
|
|
1988
1989
|
'import-x/no-deprecated'?: Linter.RuleEntry<[]>
|
|
1989
1990
|
/**
|
|
1990
1991
|
* Forbid repeated import of the same module in multiple places.
|
|
1991
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1992
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-duplicates.md
|
|
1992
1993
|
*/
|
|
1993
1994
|
'import-x/no-duplicates'?: Linter.RuleEntry<ImportXNoDuplicates>
|
|
1994
1995
|
/**
|
|
1995
1996
|
* Forbid `require()` calls with expressions.
|
|
1996
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
1997
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-dynamic-require.md
|
|
1997
1998
|
*/
|
|
1998
1999
|
'import-x/no-dynamic-require'?: Linter.RuleEntry<ImportXNoDynamicRequire>
|
|
1999
2000
|
/**
|
|
2000
2001
|
* Forbid empty named import blocks.
|
|
2001
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2002
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-empty-named-blocks.md
|
|
2002
2003
|
*/
|
|
2003
2004
|
'import-x/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
2004
2005
|
/**
|
|
2005
2006
|
* Forbid the use of extraneous packages.
|
|
2006
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2007
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-extraneous-dependencies.md
|
|
2007
2008
|
*/
|
|
2008
2009
|
'import-x/no-extraneous-dependencies'?: Linter.RuleEntry<ImportXNoExtraneousDependencies>
|
|
2009
2010
|
/**
|
|
2010
2011
|
* Forbid import statements with CommonJS module.exports.
|
|
2011
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2012
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-import-module-exports.md
|
|
2012
2013
|
*/
|
|
2013
2014
|
'import-x/no-import-module-exports'?: Linter.RuleEntry<ImportXNoImportModuleExports>
|
|
2014
2015
|
/**
|
|
2015
2016
|
* Forbid importing the submodules of other modules.
|
|
2016
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2017
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-internal-modules.md
|
|
2017
2018
|
*/
|
|
2018
2019
|
'import-x/no-internal-modules'?: Linter.RuleEntry<ImportXNoInternalModules>
|
|
2019
2020
|
/**
|
|
2020
2021
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
2021
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2022
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-mutable-exports.md
|
|
2022
2023
|
*/
|
|
2023
2024
|
'import-x/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
2024
2025
|
/**
|
|
2025
2026
|
* Forbid use of exported name as identifier of default export.
|
|
2026
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2027
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-as-default.md
|
|
2027
2028
|
*/
|
|
2028
2029
|
'import-x/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
2029
2030
|
/**
|
|
2030
2031
|
* Forbid use of exported name as property of default export.
|
|
2031
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2032
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-as-default-member.md
|
|
2032
2033
|
*/
|
|
2033
2034
|
'import-x/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
2034
2035
|
/**
|
|
2035
2036
|
* Forbid named default exports.
|
|
2036
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2037
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-default.md
|
|
2037
2038
|
*/
|
|
2038
2039
|
'import-x/no-named-default'?: Linter.RuleEntry<[]>
|
|
2039
2040
|
/**
|
|
2040
2041
|
* Forbid named exports.
|
|
2041
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2042
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-export.md
|
|
2042
2043
|
*/
|
|
2043
2044
|
'import-x/no-named-export'?: Linter.RuleEntry<[]>
|
|
2044
2045
|
/**
|
|
2045
2046
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
2046
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2047
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-namespace.md
|
|
2047
2048
|
*/
|
|
2048
2049
|
'import-x/no-namespace'?: Linter.RuleEntry<ImportXNoNamespace>
|
|
2049
2050
|
/**
|
|
2050
2051
|
* Forbid Node.js builtin modules.
|
|
2051
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2052
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-nodejs-modules.md
|
|
2052
2053
|
*/
|
|
2053
2054
|
'import-x/no-nodejs-modules'?: Linter.RuleEntry<ImportXNoNodejsModules>
|
|
2054
2055
|
/**
|
|
2055
2056
|
* Forbid importing packages through relative paths.
|
|
2056
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2057
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-relative-packages.md
|
|
2057
2058
|
*/
|
|
2058
2059
|
'import-x/no-relative-packages'?: Linter.RuleEntry<ImportXNoRelativePackages>
|
|
2059
2060
|
/**
|
|
2060
2061
|
* Forbid importing modules from parent directories.
|
|
2061
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2062
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-relative-parent-imports.md
|
|
2062
2063
|
*/
|
|
2063
2064
|
'import-x/no-relative-parent-imports'?: Linter.RuleEntry<ImportXNoRelativeParentImports>
|
|
2064
2065
|
/**
|
|
2065
2066
|
* Forbid importing a default export by a different name.
|
|
2066
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2067
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-rename-default.md
|
|
2067
2068
|
*/
|
|
2068
2069
|
'import-x/no-rename-default'?: Linter.RuleEntry<ImportXNoRenameDefault>
|
|
2069
2070
|
/**
|
|
2070
2071
|
* Enforce which files can be imported in a given folder.
|
|
2071
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2072
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-restricted-paths.md
|
|
2072
2073
|
*/
|
|
2073
2074
|
'import-x/no-restricted-paths'?: Linter.RuleEntry<ImportXNoRestrictedPaths>
|
|
2074
2075
|
/**
|
|
2075
2076
|
* Forbid a module from importing itself.
|
|
2076
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2077
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-self-import.md
|
|
2077
2078
|
*/
|
|
2078
2079
|
'import-x/no-self-import'?: Linter.RuleEntry<[]>
|
|
2079
2080
|
/**
|
|
2080
2081
|
* Forbid unassigned imports.
|
|
2081
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2082
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-unassigned-import.md
|
|
2082
2083
|
*/
|
|
2083
2084
|
'import-x/no-unassigned-import'?: Linter.RuleEntry<ImportXNoUnassignedImport>
|
|
2084
2085
|
/**
|
|
2085
2086
|
* Ensure imports point to a file/module that can be resolved.
|
|
2086
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2087
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-unresolved.md
|
|
2087
2088
|
*/
|
|
2088
2089
|
'import-x/no-unresolved'?: Linter.RuleEntry<ImportXNoUnresolved>
|
|
2089
2090
|
/**
|
|
2090
2091
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
2091
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2092
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-unused-modules.md
|
|
2092
2093
|
*/
|
|
2093
2094
|
'import-x/no-unused-modules'?: Linter.RuleEntry<ImportXNoUnusedModules>
|
|
2094
2095
|
/**
|
|
2095
2096
|
* Forbid unnecessary path segments in import and require statements.
|
|
2096
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2097
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-useless-path-segments.md
|
|
2097
2098
|
*/
|
|
2098
2099
|
'import-x/no-useless-path-segments'?: Linter.RuleEntry<ImportXNoUselessPathSegments>
|
|
2099
2100
|
/**
|
|
2100
2101
|
* Forbid webpack loader syntax in imports.
|
|
2101
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2102
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-webpack-loader-syntax.md
|
|
2102
2103
|
*/
|
|
2103
2104
|
'import-x/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
2104
2105
|
/**
|
|
2105
2106
|
* Enforce a convention in module import order.
|
|
2106
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2107
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/order.md
|
|
2107
2108
|
*/
|
|
2108
2109
|
'import-x/order'?: Linter.RuleEntry<ImportXOrder>
|
|
2109
2110
|
/**
|
|
2110
2111
|
* Prefer a default export if module exports a single name or multiple names.
|
|
2111
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2112
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/prefer-default-export.md
|
|
2112
2113
|
*/
|
|
2113
2114
|
'import-x/prefer-default-export'?: Linter.RuleEntry<ImportXPreferDefaultExport>
|
|
2114
2115
|
/**
|
|
2115
2116
|
* Enforce using namespace imports for specific modules, like `react`/`react-dom`, etc.
|
|
2116
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2117
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/prefer-namespace-import.md
|
|
2117
2118
|
*/
|
|
2118
2119
|
'import-x/prefer-namespace-import'?: Linter.RuleEntry<ImportXPreferNamespaceImport>
|
|
2119
2120
|
/**
|
|
2120
2121
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
2121
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.
|
|
2122
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/unambiguous.md
|
|
2122
2123
|
*/
|
|
2123
2124
|
'import-x/unambiguous'?: Linter.RuleEntry<[]>
|
|
2124
2125
|
/**
|
|
@@ -4319,6 +4320,11 @@ export interface Rules {
|
|
|
4319
4320
|
* @see https://perfectionist.dev/rules/sort-array-includes
|
|
4320
4321
|
*/
|
|
4321
4322
|
'perfectionist/sort-array-includes'?: Linter.RuleEntry<PerfectionistSortArrayIncludes>
|
|
4323
|
+
/**
|
|
4324
|
+
* Enforce sorted arrays.
|
|
4325
|
+
* @see https://perfectionist.dev/rules/sort-arrays
|
|
4326
|
+
*/
|
|
4327
|
+
'perfectionist/sort-arrays'?: Linter.RuleEntry<PerfectionistSortArrays>
|
|
4322
4328
|
/**
|
|
4323
4329
|
* Enforce sorted classes.
|
|
4324
4330
|
* @see https://perfectionist.dev/rules/sort-classes
|
|
@@ -4552,7 +4558,7 @@ export interface Rules {
|
|
|
4552
4558
|
*/
|
|
4553
4559
|
'quotes'?: Linter.RuleEntry<Quotes>
|
|
4554
4560
|
/**
|
|
4555
|
-
* Enforce the
|
|
4561
|
+
* Enforce the use of the radix argument when using `parseInt()`
|
|
4556
4562
|
* @see https://eslint.org/docs/latest/rules/radix
|
|
4557
4563
|
*/
|
|
4558
4564
|
'radix'?: Linter.RuleEntry<Radix>
|
|
@@ -6939,6 +6945,11 @@ export interface Rules {
|
|
|
6939
6945
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-top-level-describe.md
|
|
6940
6946
|
*/
|
|
6941
6947
|
'vitest/require-top-level-describe'?: Linter.RuleEntry<VitestRequireTopLevelDescribe>
|
|
6948
|
+
/**
|
|
6949
|
+
* enforce unbound methods are called with their expected scope
|
|
6950
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/unbound-method.md
|
|
6951
|
+
*/
|
|
6952
|
+
'vitest/unbound-method'?: Linter.RuleEntry<VitestUnboundMethod>
|
|
6942
6953
|
/**
|
|
6943
6954
|
* enforce valid describe callback
|
|
6944
6955
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-describe-callback.md
|
|
@@ -7330,33 +7341,33 @@ type StylisticExpListStyle = []|[{
|
|
|
7330
7341
|
singleLine?: _StylisticExpListStyle_SingleLineConfig
|
|
7331
7342
|
multiLine?: _StylisticExpListStyle_MultiLineConfig
|
|
7332
7343
|
overrides?: {
|
|
7333
|
-
"()"?: _StylisticExpListStyle_BaseConfig
|
|
7334
|
-
"[]"?: _StylisticExpListStyle_BaseConfig
|
|
7335
|
-
"{}"?: _StylisticExpListStyle_BaseConfig
|
|
7336
|
-
"<>"?: _StylisticExpListStyle_BaseConfig
|
|
7337
|
-
ArrayExpression?: _StylisticExpListStyle_BaseConfig
|
|
7338
|
-
ArrayPattern?: _StylisticExpListStyle_BaseConfig
|
|
7339
|
-
ArrowFunctionExpression?: _StylisticExpListStyle_BaseConfig
|
|
7340
|
-
CallExpression?: _StylisticExpListStyle_BaseConfig
|
|
7341
|
-
ExportNamedDeclaration?: _StylisticExpListStyle_BaseConfig
|
|
7342
|
-
FunctionDeclaration?: _StylisticExpListStyle_BaseConfig
|
|
7343
|
-
FunctionExpression?: _StylisticExpListStyle_BaseConfig
|
|
7344
|
-
IfStatement?: _StylisticExpListStyle_BaseConfig
|
|
7345
|
-
ImportAttributes?: _StylisticExpListStyle_BaseConfig
|
|
7346
|
-
ImportDeclaration?: _StylisticExpListStyle_BaseConfig
|
|
7347
|
-
JSONArrayExpression?: _StylisticExpListStyle_BaseConfig
|
|
7348
|
-
JSONObjectExpression?: _StylisticExpListStyle_BaseConfig
|
|
7349
|
-
NewExpression?: _StylisticExpListStyle_BaseConfig
|
|
7350
|
-
ObjectExpression?: _StylisticExpListStyle_BaseConfig
|
|
7351
|
-
ObjectPattern?: _StylisticExpListStyle_BaseConfig
|
|
7352
|
-
TSDeclareFunction?: _StylisticExpListStyle_BaseConfig
|
|
7353
|
-
TSEnumBody?: _StylisticExpListStyle_BaseConfig
|
|
7354
|
-
TSFunctionType?: _StylisticExpListStyle_BaseConfig
|
|
7355
|
-
TSInterfaceBody?: _StylisticExpListStyle_BaseConfig
|
|
7356
|
-
TSTupleType?: _StylisticExpListStyle_BaseConfig
|
|
7357
|
-
TSTypeLiteral?: _StylisticExpListStyle_BaseConfig
|
|
7358
|
-
TSTypeParameterDeclaration?: _StylisticExpListStyle_BaseConfig
|
|
7359
|
-
TSTypeParameterInstantiation?: _StylisticExpListStyle_BaseConfig
|
|
7344
|
+
"()"?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7345
|
+
"[]"?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7346
|
+
"{}"?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7347
|
+
"<>"?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7348
|
+
ArrayExpression?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7349
|
+
ArrayPattern?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7350
|
+
ArrowFunctionExpression?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7351
|
+
CallExpression?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7352
|
+
ExportNamedDeclaration?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7353
|
+
FunctionDeclaration?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7354
|
+
FunctionExpression?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7355
|
+
IfStatement?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7356
|
+
ImportAttributes?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7357
|
+
ImportDeclaration?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7358
|
+
JSONArrayExpression?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7359
|
+
JSONObjectExpression?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7360
|
+
NewExpression?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7361
|
+
ObjectExpression?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7362
|
+
ObjectPattern?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7363
|
+
TSDeclareFunction?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7364
|
+
TSEnumBody?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7365
|
+
TSFunctionType?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7366
|
+
TSInterfaceBody?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7367
|
+
TSTupleType?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7368
|
+
TSTypeLiteral?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7369
|
+
TSTypeParameterDeclaration?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7370
|
+
TSTypeParameterInstantiation?: (_StylisticExpListStyle_BaseConfig | "off")
|
|
7360
7371
|
}
|
|
7361
7372
|
}]
|
|
7362
7373
|
interface _StylisticExpListStyle_SingleLineConfig {
|
|
@@ -8284,6 +8295,7 @@ type StylisticPaddingLineBetweenStatements = {
|
|
|
8284
8295
|
}[]
|
|
8285
8296
|
interface _StylisticPaddingLineBetweenStatements_SelectorOption {
|
|
8286
8297
|
selector: string
|
|
8298
|
+
lineMode?: ("any" | "singleline" | "multiline")
|
|
8287
8299
|
}
|
|
8288
8300
|
// ----- @stylistic/quote-props -----
|
|
8289
8301
|
type StylisticQuoteProps = ([]|[("always" | "as-needed" | "consistent" | "consistent-as-needed")] | []|[("always" | "as-needed" | "consistent" | "consistent-as-needed")]|[("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
|
|
@@ -9410,6 +9422,19 @@ type TypescriptEslintPreferOptionalChain = []|[{
|
|
|
9410
9422
|
// ----- @typescript-eslint/prefer-promise-reject-errors -----
|
|
9411
9423
|
type TypescriptEslintPreferPromiseRejectErrors = []|[{
|
|
9412
9424
|
|
|
9425
|
+
allow?: (string | {
|
|
9426
|
+
from: "file"
|
|
9427
|
+
name: (string | [string, ...(string)[]])
|
|
9428
|
+
path?: string
|
|
9429
|
+
} | {
|
|
9430
|
+
from: "lib"
|
|
9431
|
+
name: (string | [string, ...(string)[]])
|
|
9432
|
+
} | {
|
|
9433
|
+
from: "package"
|
|
9434
|
+
name: (string | [string, ...(string)[]])
|
|
9435
|
+
package: string
|
|
9436
|
+
})[]
|
|
9437
|
+
|
|
9413
9438
|
allowEmptyReject?: boolean
|
|
9414
9439
|
|
|
9415
9440
|
allowThrowingAny?: boolean
|
|
@@ -12221,6 +12246,8 @@ type MaxParams = []|[(number | {
|
|
|
12221
12246
|
max?: number
|
|
12222
12247
|
|
|
12223
12248
|
countVoidThis?: boolean
|
|
12249
|
+
|
|
12250
|
+
countThis?: ("never" | "except-void" | "always")
|
|
12224
12251
|
})]
|
|
12225
12252
|
// ----- max-statements -----
|
|
12226
12253
|
type MaxStatements = []|[(number | {
|
|
@@ -12666,6 +12693,7 @@ type NodeDependenciesAbsoluteVersion = []|[(("always" | "never") | {
|
|
|
12666
12693
|
// ----- node-dependencies/compat-engines -----
|
|
12667
12694
|
type NodeDependenciesCompatEngines = []|[{
|
|
12668
12695
|
deep?: boolean
|
|
12696
|
+
devDependencies?: boolean
|
|
12669
12697
|
comparisonType?: ("normal" | "major")
|
|
12670
12698
|
}]
|
|
12671
12699
|
// ----- node-dependencies/no-deprecated -----
|
|
@@ -12688,6 +12716,7 @@ type NodeDependenciesRequireProvenanceDeps = []|[{
|
|
|
12688
12716
|
// ----- node-dependencies/valid-engines -----
|
|
12689
12717
|
type NodeDependenciesValidEngines = []|[{
|
|
12690
12718
|
deep?: boolean
|
|
12719
|
+
devDependencies?: boolean
|
|
12691
12720
|
comparisonType?: ("normal" | "major")
|
|
12692
12721
|
}]
|
|
12693
12722
|
// ----- node/callback-return -----
|
|
@@ -13234,6 +13263,186 @@ type PerfectionistSortArrayIncludes = {
|
|
|
13234
13263
|
|
|
13235
13264
|
flags?: string
|
|
13236
13265
|
} | string))
|
|
13266
|
+
|
|
13267
|
+
matchesAstSelector?: string
|
|
13268
|
+
}
|
|
13269
|
+
|
|
13270
|
+
partitionByComment?: (boolean | (({
|
|
13271
|
+
|
|
13272
|
+
pattern: string
|
|
13273
|
+
|
|
13274
|
+
flags?: string
|
|
13275
|
+
} | string)[] | ({
|
|
13276
|
+
|
|
13277
|
+
pattern: string
|
|
13278
|
+
|
|
13279
|
+
flags?: string
|
|
13280
|
+
} | string)) | {
|
|
13281
|
+
|
|
13282
|
+
block?: (boolean | (({
|
|
13283
|
+
|
|
13284
|
+
pattern: string
|
|
13285
|
+
|
|
13286
|
+
flags?: string
|
|
13287
|
+
} | string)[] | ({
|
|
13288
|
+
|
|
13289
|
+
pattern: string
|
|
13290
|
+
|
|
13291
|
+
flags?: string
|
|
13292
|
+
} | string)))
|
|
13293
|
+
|
|
13294
|
+
line?: (boolean | (({
|
|
13295
|
+
|
|
13296
|
+
pattern: string
|
|
13297
|
+
|
|
13298
|
+
flags?: string
|
|
13299
|
+
} | string)[] | ({
|
|
13300
|
+
|
|
13301
|
+
pattern: string
|
|
13302
|
+
|
|
13303
|
+
flags?: string
|
|
13304
|
+
} | string)))
|
|
13305
|
+
})
|
|
13306
|
+
|
|
13307
|
+
partitionByNewLine?: boolean
|
|
13308
|
+
}[]
|
|
13309
|
+
// ----- perfectionist/sort-arrays -----
|
|
13310
|
+
type PerfectionistSortArrays = {
|
|
13311
|
+
|
|
13312
|
+
fallbackSort?: {
|
|
13313
|
+
|
|
13314
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
|
|
13315
|
+
|
|
13316
|
+
order?: ("asc" | "desc")
|
|
13317
|
+
}
|
|
13318
|
+
|
|
13319
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
|
|
13320
|
+
|
|
13321
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
13322
|
+
|
|
13323
|
+
ignoreCase?: boolean
|
|
13324
|
+
|
|
13325
|
+
alphabet?: string
|
|
13326
|
+
|
|
13327
|
+
locales?: (string | string[])
|
|
13328
|
+
|
|
13329
|
+
order?: ("asc" | "desc")
|
|
13330
|
+
|
|
13331
|
+
customGroups?: ({
|
|
13332
|
+
|
|
13333
|
+
fallbackSort?: {
|
|
13334
|
+
|
|
13335
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
|
|
13336
|
+
|
|
13337
|
+
order?: ("asc" | "desc")
|
|
13338
|
+
}
|
|
13339
|
+
|
|
13340
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
|
|
13341
|
+
|
|
13342
|
+
groupName: string
|
|
13343
|
+
newlinesInside?: ("ignore" | number)
|
|
13344
|
+
|
|
13345
|
+
order?: ("asc" | "desc")
|
|
13346
|
+
|
|
13347
|
+
anyOf: [{
|
|
13348
|
+
|
|
13349
|
+
elementNamePattern?: (({
|
|
13350
|
+
|
|
13351
|
+
pattern: string
|
|
13352
|
+
|
|
13353
|
+
flags?: string
|
|
13354
|
+
} | string)[] | ({
|
|
13355
|
+
|
|
13356
|
+
pattern: string
|
|
13357
|
+
|
|
13358
|
+
flags?: string
|
|
13359
|
+
} | string))
|
|
13360
|
+
|
|
13361
|
+
selector?: "literal"
|
|
13362
|
+
}, ...({
|
|
13363
|
+
|
|
13364
|
+
elementNamePattern?: (({
|
|
13365
|
+
|
|
13366
|
+
pattern: string
|
|
13367
|
+
|
|
13368
|
+
flags?: string
|
|
13369
|
+
} | string)[] | ({
|
|
13370
|
+
|
|
13371
|
+
pattern: string
|
|
13372
|
+
|
|
13373
|
+
flags?: string
|
|
13374
|
+
} | string))
|
|
13375
|
+
|
|
13376
|
+
selector?: "literal"
|
|
13377
|
+
})[]]
|
|
13378
|
+
} | {
|
|
13379
|
+
|
|
13380
|
+
fallbackSort?: {
|
|
13381
|
+
|
|
13382
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
|
|
13383
|
+
|
|
13384
|
+
order?: ("asc" | "desc")
|
|
13385
|
+
}
|
|
13386
|
+
|
|
13387
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
|
|
13388
|
+
|
|
13389
|
+
groupName: string
|
|
13390
|
+
newlinesInside?: ("ignore" | number)
|
|
13391
|
+
|
|
13392
|
+
order?: ("asc" | "desc")
|
|
13393
|
+
|
|
13394
|
+
elementNamePattern?: (({
|
|
13395
|
+
|
|
13396
|
+
pattern: string
|
|
13397
|
+
|
|
13398
|
+
flags?: string
|
|
13399
|
+
} | string)[] | ({
|
|
13400
|
+
|
|
13401
|
+
pattern: string
|
|
13402
|
+
|
|
13403
|
+
flags?: string
|
|
13404
|
+
} | string))
|
|
13405
|
+
|
|
13406
|
+
selector?: "literal"
|
|
13407
|
+
})[]
|
|
13408
|
+
newlinesInside?: (("ignore" | number) | "newlinesBetween")
|
|
13409
|
+
|
|
13410
|
+
groups?: (string | [string, ...(string)[]] | {
|
|
13411
|
+
newlinesBetween: ("ignore" | number)
|
|
13412
|
+
} | {
|
|
13413
|
+
group: (string | [string, ...(string)[]])
|
|
13414
|
+
|
|
13415
|
+
fallbackSort?: {
|
|
13416
|
+
|
|
13417
|
+
type: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
|
|
13418
|
+
|
|
13419
|
+
order?: ("asc" | "desc")
|
|
13420
|
+
}
|
|
13421
|
+
|
|
13422
|
+
commentAbove?: string
|
|
13423
|
+
|
|
13424
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order")
|
|
13425
|
+
newlinesInside?: ("ignore" | number)
|
|
13426
|
+
|
|
13427
|
+
order?: ("asc" | "desc")
|
|
13428
|
+
})[]
|
|
13429
|
+
newlinesBetween?: ("ignore" | number)
|
|
13430
|
+
|
|
13431
|
+
useConfigurationIf: {
|
|
13432
|
+
|
|
13433
|
+
allNamesMatchPattern?: (({
|
|
13434
|
+
|
|
13435
|
+
pattern: string
|
|
13436
|
+
|
|
13437
|
+
flags?: string
|
|
13438
|
+
} | string)[] | ({
|
|
13439
|
+
|
|
13440
|
+
pattern: string
|
|
13441
|
+
|
|
13442
|
+
flags?: string
|
|
13443
|
+
} | string))
|
|
13444
|
+
|
|
13445
|
+
matchesAstSelector?: string
|
|
13237
13446
|
}
|
|
13238
13447
|
|
|
13239
13448
|
partitionByComment?: (boolean | (({
|
|
@@ -13276,7 +13485,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
13276
13485
|
partitionByNewLine?: boolean
|
|
13277
13486
|
}[]
|
|
13278
13487
|
// ----- perfectionist/sort-classes -----
|
|
13279
|
-
type PerfectionistSortClasses =
|
|
13488
|
+
type PerfectionistSortClasses = {
|
|
13280
13489
|
|
|
13281
13490
|
fallbackSort?: {
|
|
13282
13491
|
|
|
@@ -13475,6 +13684,23 @@ type PerfectionistSortClasses = []|[{
|
|
|
13475
13684
|
})[]
|
|
13476
13685
|
newlinesBetween?: ("ignore" | number)
|
|
13477
13686
|
|
|
13687
|
+
useConfigurationIf?: {
|
|
13688
|
+
|
|
13689
|
+
allNamesMatchPattern?: (({
|
|
13690
|
+
|
|
13691
|
+
pattern: string
|
|
13692
|
+
|
|
13693
|
+
flags?: string
|
|
13694
|
+
} | string)[] | ({
|
|
13695
|
+
|
|
13696
|
+
pattern: string
|
|
13697
|
+
|
|
13698
|
+
flags?: string
|
|
13699
|
+
} | string))
|
|
13700
|
+
|
|
13701
|
+
matchesAstSelector?: string
|
|
13702
|
+
}
|
|
13703
|
+
|
|
13478
13704
|
useExperimentalDependencyDetection?: boolean
|
|
13479
13705
|
|
|
13480
13706
|
ignoreCallbackDependenciesPatterns?: (({
|
|
@@ -13527,7 +13753,7 @@ type PerfectionistSortClasses = []|[{
|
|
|
13527
13753
|
})
|
|
13528
13754
|
|
|
13529
13755
|
partitionByNewLine?: boolean
|
|
13530
|
-
}]
|
|
13756
|
+
}[]
|
|
13531
13757
|
// ----- perfectionist/sort-decorators -----
|
|
13532
13758
|
type PerfectionistSortDecorators = {
|
|
13533
13759
|
|
|
@@ -13694,7 +13920,7 @@ type PerfectionistSortDecorators = {
|
|
|
13694
13920
|
partitionByNewLine?: boolean
|
|
13695
13921
|
}[]
|
|
13696
13922
|
// ----- perfectionist/sort-enums -----
|
|
13697
|
-
type PerfectionistSortEnums =
|
|
13923
|
+
type PerfectionistSortEnums = {
|
|
13698
13924
|
|
|
13699
13925
|
fallbackSort?: {
|
|
13700
13926
|
|
|
@@ -13845,6 +14071,23 @@ type PerfectionistSortEnums = []|[{
|
|
|
13845
14071
|
})[]
|
|
13846
14072
|
newlinesBetween?: ("ignore" | number)
|
|
13847
14073
|
|
|
14074
|
+
useConfigurationIf?: {
|
|
14075
|
+
|
|
14076
|
+
allNamesMatchPattern?: (({
|
|
14077
|
+
|
|
14078
|
+
pattern: string
|
|
14079
|
+
|
|
14080
|
+
flags?: string
|
|
14081
|
+
} | string)[] | ({
|
|
14082
|
+
|
|
14083
|
+
pattern: string
|
|
14084
|
+
|
|
14085
|
+
flags?: string
|
|
14086
|
+
} | string))
|
|
14087
|
+
|
|
14088
|
+
matchesAstSelector?: string
|
|
14089
|
+
}
|
|
14090
|
+
|
|
13848
14091
|
sortByValue?: ("always" | "ifNumericEnum" | "never")
|
|
13849
14092
|
|
|
13850
14093
|
useExperimentalDependencyDetection?: boolean
|
|
@@ -13887,7 +14130,7 @@ type PerfectionistSortEnums = []|[{
|
|
|
13887
14130
|
})
|
|
13888
14131
|
|
|
13889
14132
|
partitionByNewLine?: boolean
|
|
13890
|
-
}]
|
|
14133
|
+
}[]
|
|
13891
14134
|
// ----- perfectionist/sort-export-attributes -----
|
|
13892
14135
|
type PerfectionistSortExportAttributes = {
|
|
13893
14136
|
|
|
@@ -14004,6 +14247,23 @@ type PerfectionistSortExportAttributes = {
|
|
|
14004
14247
|
})[]
|
|
14005
14248
|
newlinesBetween?: ("ignore" | number)
|
|
14006
14249
|
|
|
14250
|
+
useConfigurationIf?: {
|
|
14251
|
+
|
|
14252
|
+
allNamesMatchPattern?: (({
|
|
14253
|
+
|
|
14254
|
+
pattern: string
|
|
14255
|
+
|
|
14256
|
+
flags?: string
|
|
14257
|
+
} | string)[] | ({
|
|
14258
|
+
|
|
14259
|
+
pattern: string
|
|
14260
|
+
|
|
14261
|
+
flags?: string
|
|
14262
|
+
} | string))
|
|
14263
|
+
|
|
14264
|
+
matchesAstSelector?: string
|
|
14265
|
+
}
|
|
14266
|
+
|
|
14007
14267
|
partitionByComment?: (boolean | (({
|
|
14008
14268
|
|
|
14009
14269
|
pattern: string
|
|
@@ -14326,6 +14586,23 @@ type PerfectionistSortHeritageClauses = {
|
|
|
14326
14586
|
})[]
|
|
14327
14587
|
newlinesBetween?: ("ignore" | number)
|
|
14328
14588
|
|
|
14589
|
+
useConfigurationIf?: {
|
|
14590
|
+
|
|
14591
|
+
allNamesMatchPattern?: (({
|
|
14592
|
+
|
|
14593
|
+
pattern: string
|
|
14594
|
+
|
|
14595
|
+
flags?: string
|
|
14596
|
+
} | string)[] | ({
|
|
14597
|
+
|
|
14598
|
+
pattern: string
|
|
14599
|
+
|
|
14600
|
+
flags?: string
|
|
14601
|
+
} | string))
|
|
14602
|
+
|
|
14603
|
+
matchesAstSelector?: string
|
|
14604
|
+
}
|
|
14605
|
+
|
|
14329
14606
|
partitionByNewLine?: boolean
|
|
14330
14607
|
|
|
14331
14608
|
partitionByComment?: (boolean | (({
|
|
@@ -14481,6 +14758,23 @@ type PerfectionistSortImportAttributes = {
|
|
|
14481
14758
|
})[]
|
|
14482
14759
|
newlinesBetween?: ("ignore" | number)
|
|
14483
14760
|
|
|
14761
|
+
useConfigurationIf?: {
|
|
14762
|
+
|
|
14763
|
+
allNamesMatchPattern?: (({
|
|
14764
|
+
|
|
14765
|
+
pattern: string
|
|
14766
|
+
|
|
14767
|
+
flags?: string
|
|
14768
|
+
} | string)[] | ({
|
|
14769
|
+
|
|
14770
|
+
pattern: string
|
|
14771
|
+
|
|
14772
|
+
flags?: string
|
|
14773
|
+
} | string))
|
|
14774
|
+
|
|
14775
|
+
matchesAstSelector?: string
|
|
14776
|
+
}
|
|
14777
|
+
|
|
14484
14778
|
partitionByComment?: (boolean | (({
|
|
14485
14779
|
|
|
14486
14780
|
pattern: string
|
|
@@ -14923,6 +15217,8 @@ type PerfectionistSortInterfaces = {
|
|
|
14923
15217
|
flags?: string
|
|
14924
15218
|
} | string))
|
|
14925
15219
|
|
|
15220
|
+
matchesAstSelector?: string
|
|
15221
|
+
|
|
14926
15222
|
declarationMatchesPattern?: (({
|
|
14927
15223
|
scope?: ("shallow" | "deep")
|
|
14928
15224
|
|
|
@@ -15099,6 +15395,23 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
15099
15395
|
})[]
|
|
15100
15396
|
newlinesBetween?: ("ignore" | number)
|
|
15101
15397
|
|
|
15398
|
+
useConfigurationIf?: {
|
|
15399
|
+
|
|
15400
|
+
allNamesMatchPattern?: (({
|
|
15401
|
+
|
|
15402
|
+
pattern: string
|
|
15403
|
+
|
|
15404
|
+
flags?: string
|
|
15405
|
+
} | string)[] | ({
|
|
15406
|
+
|
|
15407
|
+
pattern: string
|
|
15408
|
+
|
|
15409
|
+
flags?: string
|
|
15410
|
+
} | string))
|
|
15411
|
+
|
|
15412
|
+
matchesAstSelector?: string
|
|
15413
|
+
}
|
|
15414
|
+
|
|
15102
15415
|
partitionByComment?: (boolean | (({
|
|
15103
15416
|
|
|
15104
15417
|
pattern: string
|
|
@@ -15316,6 +15629,8 @@ type PerfectionistSortJsxProps = {
|
|
|
15316
15629
|
flags?: string
|
|
15317
15630
|
} | string))
|
|
15318
15631
|
|
|
15632
|
+
matchesAstSelector?: string
|
|
15633
|
+
|
|
15319
15634
|
tagMatchesPattern?: (({
|
|
15320
15635
|
|
|
15321
15636
|
pattern: string
|
|
@@ -15460,6 +15775,8 @@ type PerfectionistSortMaps = {
|
|
|
15460
15775
|
|
|
15461
15776
|
flags?: string
|
|
15462
15777
|
} | string))
|
|
15778
|
+
|
|
15779
|
+
matchesAstSelector?: string
|
|
15463
15780
|
}
|
|
15464
15781
|
|
|
15465
15782
|
partitionByComment?: (boolean | (({
|
|
@@ -15834,6 +16151,23 @@ type PerfectionistSortNamedExports = {
|
|
|
15834
16151
|
})[]
|
|
15835
16152
|
newlinesBetween?: ("ignore" | number)
|
|
15836
16153
|
|
|
16154
|
+
useConfigurationIf?: {
|
|
16155
|
+
|
|
16156
|
+
allNamesMatchPattern?: (({
|
|
16157
|
+
|
|
16158
|
+
pattern: string
|
|
16159
|
+
|
|
16160
|
+
flags?: string
|
|
16161
|
+
} | string)[] | ({
|
|
16162
|
+
|
|
16163
|
+
pattern: string
|
|
16164
|
+
|
|
16165
|
+
flags?: string
|
|
16166
|
+
} | string))
|
|
16167
|
+
|
|
16168
|
+
matchesAstSelector?: string
|
|
16169
|
+
}
|
|
16170
|
+
|
|
15837
16171
|
ignoreAlias?: boolean
|
|
15838
16172
|
|
|
15839
16173
|
partitionByComment?: (boolean | (({
|
|
@@ -16003,6 +16337,23 @@ type PerfectionistSortNamedImports = {
|
|
|
16003
16337
|
})[]
|
|
16004
16338
|
newlinesBetween?: ("ignore" | number)
|
|
16005
16339
|
|
|
16340
|
+
useConfigurationIf?: {
|
|
16341
|
+
|
|
16342
|
+
allNamesMatchPattern?: (({
|
|
16343
|
+
|
|
16344
|
+
pattern: string
|
|
16345
|
+
|
|
16346
|
+
flags?: string
|
|
16347
|
+
} | string)[] | ({
|
|
16348
|
+
|
|
16349
|
+
pattern: string
|
|
16350
|
+
|
|
16351
|
+
flags?: string
|
|
16352
|
+
} | string))
|
|
16353
|
+
|
|
16354
|
+
matchesAstSelector?: string
|
|
16355
|
+
}
|
|
16356
|
+
|
|
16006
16357
|
ignoreAlias?: boolean
|
|
16007
16358
|
|
|
16008
16359
|
partitionByComment?: (boolean | (({
|
|
@@ -16246,6 +16597,8 @@ type PerfectionistSortObjectTypes = {
|
|
|
16246
16597
|
flags?: string
|
|
16247
16598
|
} | string))
|
|
16248
16599
|
|
|
16600
|
+
matchesAstSelector?: string
|
|
16601
|
+
|
|
16249
16602
|
declarationMatchesPattern?: (({
|
|
16250
16603
|
scope?: ("shallow" | "deep")
|
|
16251
16604
|
|
|
@@ -16518,6 +16871,8 @@ type PerfectionistSortObjects = {
|
|
|
16518
16871
|
flags?: string
|
|
16519
16872
|
} | string))
|
|
16520
16873
|
|
|
16874
|
+
matchesAstSelector?: string
|
|
16875
|
+
|
|
16521
16876
|
declarationMatchesPattern?: (({
|
|
16522
16877
|
scope?: ("shallow" | "deep")
|
|
16523
16878
|
|
|
@@ -16533,6 +16888,8 @@ type PerfectionistSortObjects = {
|
|
|
16533
16888
|
} | string))
|
|
16534
16889
|
}
|
|
16535
16890
|
|
|
16891
|
+
partitionByComputedKey?: boolean
|
|
16892
|
+
|
|
16536
16893
|
styledComponents?: boolean
|
|
16537
16894
|
|
|
16538
16895
|
useExperimentalDependencyDetection?: boolean
|
|
@@ -16711,6 +17068,8 @@ type PerfectionistSortSets = {
|
|
|
16711
17068
|
|
|
16712
17069
|
flags?: string
|
|
16713
17070
|
} | string))
|
|
17071
|
+
|
|
17072
|
+
matchesAstSelector?: string
|
|
16714
17073
|
}
|
|
16715
17074
|
|
|
16716
17075
|
partitionByComment?: (boolean | (({
|
|
@@ -16896,6 +17255,23 @@ type PerfectionistSortUnionTypes = {
|
|
|
16896
17255
|
})[]
|
|
16897
17256
|
newlinesBetween?: ("ignore" | number)
|
|
16898
17257
|
|
|
17258
|
+
useConfigurationIf?: {
|
|
17259
|
+
|
|
17260
|
+
allNamesMatchPattern?: (({
|
|
17261
|
+
|
|
17262
|
+
pattern: string
|
|
17263
|
+
|
|
17264
|
+
flags?: string
|
|
17265
|
+
} | string)[] | ({
|
|
17266
|
+
|
|
17267
|
+
pattern: string
|
|
17268
|
+
|
|
17269
|
+
flags?: string
|
|
17270
|
+
} | string))
|
|
17271
|
+
|
|
17272
|
+
matchesAstSelector?: string
|
|
17273
|
+
}
|
|
17274
|
+
|
|
16899
17275
|
partitionByComment?: (boolean | (({
|
|
16900
17276
|
|
|
16901
17277
|
pattern: string
|
|
@@ -16936,7 +17312,7 @@ type PerfectionistSortUnionTypes = {
|
|
|
16936
17312
|
partitionByNewLine?: boolean
|
|
16937
17313
|
}[]
|
|
16938
17314
|
// ----- perfectionist/sort-variable-declarations -----
|
|
16939
|
-
type PerfectionistSortVariableDeclarations =
|
|
17315
|
+
type PerfectionistSortVariableDeclarations = {
|
|
16940
17316
|
|
|
16941
17317
|
fallbackSort?: {
|
|
16942
17318
|
|
|
@@ -17057,6 +17433,23 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
17057
17433
|
})[]
|
|
17058
17434
|
newlinesBetween?: ("ignore" | number)
|
|
17059
17435
|
|
|
17436
|
+
useConfigurationIf?: {
|
|
17437
|
+
|
|
17438
|
+
allNamesMatchPattern?: (({
|
|
17439
|
+
|
|
17440
|
+
pattern: string
|
|
17441
|
+
|
|
17442
|
+
flags?: string
|
|
17443
|
+
} | string)[] | ({
|
|
17444
|
+
|
|
17445
|
+
pattern: string
|
|
17446
|
+
|
|
17447
|
+
flags?: string
|
|
17448
|
+
} | string))
|
|
17449
|
+
|
|
17450
|
+
matchesAstSelector?: string
|
|
17451
|
+
}
|
|
17452
|
+
|
|
17060
17453
|
useExperimentalDependencyDetection?: boolean
|
|
17061
17454
|
|
|
17062
17455
|
partitionByComment?: (boolean | (({
|
|
@@ -17097,7 +17490,7 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
17097
17490
|
})
|
|
17098
17491
|
|
|
17099
17492
|
partitionByNewLine?: boolean
|
|
17100
|
-
}]
|
|
17493
|
+
}[]
|
|
17101
17494
|
// ----- pnpm/json-enforce-catalog -----
|
|
17102
17495
|
type PnpmJsonEnforceCatalog = []|[{
|
|
17103
17496
|
|
|
@@ -18070,36 +18463,49 @@ type ValidTypeof = []|[{
|
|
|
18070
18463
|
}]
|
|
18071
18464
|
// ----- vitest/consistent-each-for -----
|
|
18072
18465
|
type VitestConsistentEachFor = []|[{
|
|
18466
|
+
|
|
18073
18467
|
test?: ("each" | "for")
|
|
18468
|
+
|
|
18074
18469
|
it?: ("each" | "for")
|
|
18470
|
+
|
|
18075
18471
|
describe?: ("each" | "for")
|
|
18472
|
+
|
|
18076
18473
|
suite?: ("each" | "for")
|
|
18077
18474
|
}]
|
|
18078
18475
|
// ----- vitest/consistent-test-filename -----
|
|
18079
18476
|
type VitestConsistentTestFilename = []|[{
|
|
18477
|
+
|
|
18080
18478
|
pattern?: string
|
|
18479
|
+
|
|
18081
18480
|
allTestPattern?: string
|
|
18082
18481
|
}]
|
|
18083
18482
|
// ----- vitest/consistent-test-it -----
|
|
18084
18483
|
type VitestConsistentTestIt = []|[{
|
|
18484
|
+
|
|
18085
18485
|
fn?: ("test" | "it")
|
|
18486
|
+
|
|
18086
18487
|
withinDescribe?: ("test" | "it")
|
|
18087
18488
|
}]
|
|
18088
18489
|
// ----- vitest/consistent-vitest-vi -----
|
|
18089
18490
|
type VitestConsistentVitestVi = []|[{
|
|
18491
|
+
|
|
18090
18492
|
fn?: ("vi" | "vitest")
|
|
18091
18493
|
}]
|
|
18092
18494
|
// ----- vitest/expect-expect -----
|
|
18093
18495
|
type VitestExpectExpect = []|[{
|
|
18496
|
+
|
|
18094
18497
|
assertFunctionNames?: string[]
|
|
18498
|
+
|
|
18095
18499
|
additionalTestBlockFunctions?: string[]
|
|
18096
18500
|
}]
|
|
18097
18501
|
// ----- vitest/max-expects -----
|
|
18098
18502
|
type VitestMaxExpects = []|[{
|
|
18503
|
+
|
|
18099
18504
|
max?: number
|
|
18100
18505
|
}]
|
|
18101
18506
|
// ----- vitest/max-nested-describe -----
|
|
18102
18507
|
type VitestMaxNestedDescribe = []|[{
|
|
18508
|
+
|
|
18103
18509
|
max?: number
|
|
18104
18510
|
}]
|
|
18105
18511
|
// ----- vitest/no-conditional-expect -----
|
|
@@ -18109,6 +18515,7 @@ type VitestNoConditionalExpect = []|[{
|
|
|
18109
18515
|
}]
|
|
18110
18516
|
// ----- vitest/no-focused-tests -----
|
|
18111
18517
|
type VitestNoFocusedTests = []|[{
|
|
18518
|
+
|
|
18112
18519
|
fixable?: boolean
|
|
18113
18520
|
}]
|
|
18114
18521
|
// ----- vitest/no-hooks -----
|
|
@@ -18118,8 +18525,11 @@ type VitestNoHooks = []|[{
|
|
|
18118
18525
|
}]
|
|
18119
18526
|
// ----- vitest/no-large-snapshots -----
|
|
18120
18527
|
type VitestNoLargeSnapshots = []|[{
|
|
18528
|
+
|
|
18121
18529
|
maxSize?: number
|
|
18530
|
+
|
|
18122
18531
|
inlineMaxSize?: number
|
|
18532
|
+
|
|
18123
18533
|
allowedSnapshots?: {
|
|
18124
18534
|
[k: string]: unknown[] | undefined
|
|
18125
18535
|
}
|
|
@@ -18134,50 +18544,74 @@ type VitestNoRestrictedViMethods = []|[{
|
|
|
18134
18544
|
}]
|
|
18135
18545
|
// ----- vitest/no-standalone-expect -----
|
|
18136
18546
|
type VitestNoStandaloneExpect = []|[{
|
|
18547
|
+
|
|
18137
18548
|
additionalTestBlockFunctions?: string[]
|
|
18138
18549
|
}]
|
|
18139
18550
|
// ----- vitest/prefer-expect-assertions -----
|
|
18140
18551
|
type VitestPreferExpectAssertions = []|[{
|
|
18552
|
+
|
|
18141
18553
|
onlyFunctionsWithAsyncKeyword?: boolean
|
|
18554
|
+
|
|
18142
18555
|
onlyFunctionsWithExpectInLoop?: boolean
|
|
18556
|
+
|
|
18143
18557
|
onlyFunctionsWithExpectInCallback?: boolean
|
|
18144
18558
|
}]
|
|
18145
18559
|
// ----- vitest/prefer-import-in-mock -----
|
|
18146
18560
|
type VitestPreferImportInMock = []|[{
|
|
18561
|
+
|
|
18147
18562
|
fixable?: boolean
|
|
18148
18563
|
}]
|
|
18149
18564
|
// ----- vitest/prefer-lowercase-title -----
|
|
18150
18565
|
type VitestPreferLowercaseTitle = []|[{
|
|
18566
|
+
|
|
18151
18567
|
ignore?: ("describe" | "test" | "it")[]
|
|
18568
|
+
|
|
18152
18569
|
allowedPrefixes?: string[]
|
|
18570
|
+
|
|
18153
18571
|
ignoreTopLevelDescribe?: boolean
|
|
18572
|
+
|
|
18154
18573
|
lowercaseFirstCharacterOnly?: boolean
|
|
18155
18574
|
}]
|
|
18156
18575
|
// ----- vitest/prefer-snapshot-hint -----
|
|
18157
18576
|
type VitestPreferSnapshotHint = []|[("always" | "multi")]
|
|
18158
18577
|
// ----- vitest/require-hook -----
|
|
18159
18578
|
type VitestRequireHook = []|[{
|
|
18579
|
+
|
|
18160
18580
|
allowedFunctionCalls?: string[]
|
|
18161
18581
|
}]
|
|
18162
18582
|
// ----- vitest/require-mock-type-parameters -----
|
|
18163
18583
|
type VitestRequireMockTypeParameters = []|[{
|
|
18584
|
+
|
|
18164
18585
|
checkImportFunctions?: boolean
|
|
18165
18586
|
}]
|
|
18166
18587
|
// ----- vitest/require-top-level-describe -----
|
|
18167
18588
|
type VitestRequireTopLevelDescribe = []|[{
|
|
18589
|
+
|
|
18168
18590
|
maxNumberOfTopLevelDescribes?: number
|
|
18169
18591
|
}]
|
|
18592
|
+
// ----- vitest/unbound-method -----
|
|
18593
|
+
type VitestUnboundMethod = []|[{
|
|
18594
|
+
|
|
18595
|
+
ignoreStatic?: boolean
|
|
18596
|
+
}]
|
|
18170
18597
|
// ----- vitest/valid-expect -----
|
|
18171
18598
|
type VitestValidExpect = []|[{
|
|
18599
|
+
|
|
18172
18600
|
alwaysAwait?: boolean
|
|
18601
|
+
|
|
18173
18602
|
asyncMatchers?: string[]
|
|
18603
|
+
|
|
18174
18604
|
minArgs?: number
|
|
18605
|
+
|
|
18175
18606
|
maxArgs?: number
|
|
18176
18607
|
}]
|
|
18177
18608
|
// ----- vitest/valid-title -----
|
|
18178
18609
|
type VitestValidTitle = []|[{
|
|
18610
|
+
|
|
18179
18611
|
ignoreTypeOfDescribeName?: boolean
|
|
18612
|
+
|
|
18180
18613
|
allowArguments?: boolean
|
|
18614
|
+
|
|
18181
18615
|
disallowedWords?: string[]
|
|
18182
18616
|
[k: string]: (string | [string]|[string, string] | {
|
|
18183
18617
|
[k: string]: (string | [string]|[string, string]) | undefined
|