@bfra.me/eslint-config 0.50.0 → 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 +538 -81
- package/lib/index.js +1 -1
- package/package.json +28 -28
- package/src/rules.d.ts +538 -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>
|
|
@@ -5713,11 +5719,21 @@ interface Rules {
|
|
|
5713
5719
|
* @see https://ota-meshi.github.io/eslint-plugin-toml/rules/indent.html
|
|
5714
5720
|
*/
|
|
5715
5721
|
'toml/indent'?: Linter.RuleEntry<TomlIndent>
|
|
5722
|
+
/**
|
|
5723
|
+
* enforce linebreaks after opening and before closing braces
|
|
5724
|
+
* @see https://ota-meshi.github.io/eslint-plugin-toml/rules/inline-table-curly-newline.html
|
|
5725
|
+
*/
|
|
5726
|
+
'toml/inline-table-curly-newline'?: Linter.RuleEntry<TomlInlineTableCurlyNewline>
|
|
5716
5727
|
/**
|
|
5717
5728
|
* enforce consistent spacing inside braces
|
|
5718
5729
|
* @see https://ota-meshi.github.io/eslint-plugin-toml/rules/inline-table-curly-spacing.html
|
|
5719
5730
|
*/
|
|
5720
5731
|
'toml/inline-table-curly-spacing'?: Linter.RuleEntry<TomlInlineTableCurlySpacing>
|
|
5732
|
+
/**
|
|
5733
|
+
* enforce placing inline table key-value pairs on separate lines
|
|
5734
|
+
* @see https://ota-meshi.github.io/eslint-plugin-toml/rules/inline-table-key-value-newline.html
|
|
5735
|
+
*/
|
|
5736
|
+
'toml/inline-table-key-value-newline'?: Linter.RuleEntry<TomlInlineTableKeyValueNewline>
|
|
5721
5737
|
/**
|
|
5722
5738
|
* enforce consistent spacing between keys and values in key/value pairs
|
|
5723
5739
|
* @see https://ota-meshi.github.io/eslint-plugin-toml/rules/key-spacing.html
|
|
@@ -6938,6 +6954,11 @@ interface Rules {
|
|
|
6938
6954
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-top-level-describe.md
|
|
6939
6955
|
*/
|
|
6940
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>
|
|
6941
6962
|
/**
|
|
6942
6963
|
* enforce valid describe callback
|
|
6943
6964
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-describe-callback.md
|
|
@@ -7329,33 +7350,33 @@ type StylisticExpListStyle = []|[{
|
|
|
7329
7350
|
singleLine?: _StylisticExpListStyle_SingleLineConfig
|
|
7330
7351
|
multiLine?: _StylisticExpListStyle_MultiLineConfig
|
|
7331
7352
|
overrides?: {
|
|
7332
|
-
"()"?: _StylisticExpListStyle_BaseConfig
|
|
7333
|
-
"[]"?: _StylisticExpListStyle_BaseConfig
|
|
7334
|
-
"{}"?: _StylisticExpListStyle_BaseConfig
|
|
7335
|
-
"<>"?: _StylisticExpListStyle_BaseConfig
|
|
7336
|
-
ArrayExpression?: _StylisticExpListStyle_BaseConfig
|
|
7337
|
-
ArrayPattern?: _StylisticExpListStyle_BaseConfig
|
|
7338
|
-
ArrowFunctionExpression?: _StylisticExpListStyle_BaseConfig
|
|
7339
|
-
CallExpression?: _StylisticExpListStyle_BaseConfig
|
|
7340
|
-
ExportNamedDeclaration?: _StylisticExpListStyle_BaseConfig
|
|
7341
|
-
FunctionDeclaration?: _StylisticExpListStyle_BaseConfig
|
|
7342
|
-
FunctionExpression?: _StylisticExpListStyle_BaseConfig
|
|
7343
|
-
IfStatement?: _StylisticExpListStyle_BaseConfig
|
|
7344
|
-
ImportAttributes?: _StylisticExpListStyle_BaseConfig
|
|
7345
|
-
ImportDeclaration?: _StylisticExpListStyle_BaseConfig
|
|
7346
|
-
JSONArrayExpression?: _StylisticExpListStyle_BaseConfig
|
|
7347
|
-
JSONObjectExpression?: _StylisticExpListStyle_BaseConfig
|
|
7348
|
-
NewExpression?: _StylisticExpListStyle_BaseConfig
|
|
7349
|
-
ObjectExpression?: _StylisticExpListStyle_BaseConfig
|
|
7350
|
-
ObjectPattern?: _StylisticExpListStyle_BaseConfig
|
|
7351
|
-
TSDeclareFunction?: _StylisticExpListStyle_BaseConfig
|
|
7352
|
-
TSEnumBody?: _StylisticExpListStyle_BaseConfig
|
|
7353
|
-
TSFunctionType?: _StylisticExpListStyle_BaseConfig
|
|
7354
|
-
TSInterfaceBody?: _StylisticExpListStyle_BaseConfig
|
|
7355
|
-
TSTupleType?: _StylisticExpListStyle_BaseConfig
|
|
7356
|
-
TSTypeLiteral?: _StylisticExpListStyle_BaseConfig
|
|
7357
|
-
TSTypeParameterDeclaration?: _StylisticExpListStyle_BaseConfig
|
|
7358
|
-
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")
|
|
7359
7380
|
}
|
|
7360
7381
|
}]
|
|
7361
7382
|
interface _StylisticExpListStyle_SingleLineConfig {
|
|
@@ -8283,6 +8304,7 @@ type StylisticPaddingLineBetweenStatements = {
|
|
|
8283
8304
|
}[]
|
|
8284
8305
|
interface _StylisticPaddingLineBetweenStatements_SelectorOption {
|
|
8285
8306
|
selector: string
|
|
8307
|
+
lineMode?: ("any" | "singleline" | "multiline")
|
|
8286
8308
|
}
|
|
8287
8309
|
// ----- @stylistic/quote-props -----
|
|
8288
8310
|
type StylisticQuoteProps = ([]|[("always" | "as-needed" | "consistent" | "consistent-as-needed")] | []|[("always" | "as-needed" | "consistent" | "consistent-as-needed")]|[("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
|
|
@@ -9409,6 +9431,19 @@ type TypescriptEslintPreferOptionalChain = []|[{
|
|
|
9409
9431
|
// ----- @typescript-eslint/prefer-promise-reject-errors -----
|
|
9410
9432
|
type TypescriptEslintPreferPromiseRejectErrors = []|[{
|
|
9411
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
|
+
|
|
9412
9447
|
allowEmptyReject?: boolean
|
|
9413
9448
|
|
|
9414
9449
|
allowThrowingAny?: boolean
|
|
@@ -11357,6 +11392,7 @@ type JsoncObjectCurlyNewline = []|[((("always" | "never") | {
|
|
|
11357
11392
|
type JsoncObjectCurlySpacing = []|[("always" | "never")]|[("always" | "never"), {
|
|
11358
11393
|
arraysInObjects?: boolean
|
|
11359
11394
|
objectsInObjects?: boolean
|
|
11395
|
+
emptyObjects?: ("ignore" | "always" | "never")
|
|
11360
11396
|
}]
|
|
11361
11397
|
// ----- jsonc/object-property-newline -----
|
|
11362
11398
|
type JsoncObjectPropertyNewline = []|[{
|
|
@@ -12219,6 +12255,8 @@ type MaxParams = []|[(number | {
|
|
|
12219
12255
|
max?: number
|
|
12220
12256
|
|
|
12221
12257
|
countVoidThis?: boolean
|
|
12258
|
+
|
|
12259
|
+
countThis?: ("never" | "except-void" | "always")
|
|
12222
12260
|
})]
|
|
12223
12261
|
// ----- max-statements -----
|
|
12224
12262
|
type MaxStatements = []|[(number | {
|
|
@@ -12664,6 +12702,7 @@ type NodeDependenciesAbsoluteVersion = []|[(("always" | "never") | {
|
|
|
12664
12702
|
// ----- node-dependencies/compat-engines -----
|
|
12665
12703
|
type NodeDependenciesCompatEngines = []|[{
|
|
12666
12704
|
deep?: boolean
|
|
12705
|
+
devDependencies?: boolean
|
|
12667
12706
|
comparisonType?: ("normal" | "major")
|
|
12668
12707
|
}]
|
|
12669
12708
|
// ----- node-dependencies/no-deprecated -----
|
|
@@ -12686,6 +12725,7 @@ type NodeDependenciesRequireProvenanceDeps = []|[{
|
|
|
12686
12725
|
// ----- node-dependencies/valid-engines -----
|
|
12687
12726
|
type NodeDependenciesValidEngines = []|[{
|
|
12688
12727
|
deep?: boolean
|
|
12728
|
+
devDependencies?: boolean
|
|
12689
12729
|
comparisonType?: ("normal" | "major")
|
|
12690
12730
|
}]
|
|
12691
12731
|
// ----- node/callback-return -----
|
|
@@ -13232,6 +13272,186 @@ type PerfectionistSortArrayIncludes = {
|
|
|
13232
13272
|
|
|
13233
13273
|
flags?: string
|
|
13234
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
|
|
13235
13455
|
}
|
|
13236
13456
|
|
|
13237
13457
|
partitionByComment?: (boolean | (({
|
|
@@ -13274,7 +13494,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
13274
13494
|
partitionByNewLine?: boolean
|
|
13275
13495
|
}[]
|
|
13276
13496
|
// ----- perfectionist/sort-classes -----
|
|
13277
|
-
type PerfectionistSortClasses =
|
|
13497
|
+
type PerfectionistSortClasses = {
|
|
13278
13498
|
|
|
13279
13499
|
fallbackSort?: {
|
|
13280
13500
|
|
|
@@ -13473,6 +13693,23 @@ type PerfectionistSortClasses = []|[{
|
|
|
13473
13693
|
})[]
|
|
13474
13694
|
newlinesBetween?: ("ignore" | number)
|
|
13475
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
|
+
|
|
13476
13713
|
useExperimentalDependencyDetection?: boolean
|
|
13477
13714
|
|
|
13478
13715
|
ignoreCallbackDependenciesPatterns?: (({
|
|
@@ -13525,7 +13762,7 @@ type PerfectionistSortClasses = []|[{
|
|
|
13525
13762
|
})
|
|
13526
13763
|
|
|
13527
13764
|
partitionByNewLine?: boolean
|
|
13528
|
-
}]
|
|
13765
|
+
}[]
|
|
13529
13766
|
// ----- perfectionist/sort-decorators -----
|
|
13530
13767
|
type PerfectionistSortDecorators = {
|
|
13531
13768
|
|
|
@@ -13692,7 +13929,7 @@ type PerfectionistSortDecorators = {
|
|
|
13692
13929
|
partitionByNewLine?: boolean
|
|
13693
13930
|
}[]
|
|
13694
13931
|
// ----- perfectionist/sort-enums -----
|
|
13695
|
-
type PerfectionistSortEnums =
|
|
13932
|
+
type PerfectionistSortEnums = {
|
|
13696
13933
|
|
|
13697
13934
|
fallbackSort?: {
|
|
13698
13935
|
|
|
@@ -13843,6 +14080,23 @@ type PerfectionistSortEnums = []|[{
|
|
|
13843
14080
|
})[]
|
|
13844
14081
|
newlinesBetween?: ("ignore" | number)
|
|
13845
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
|
+
|
|
13846
14100
|
sortByValue?: ("always" | "ifNumericEnum" | "never")
|
|
13847
14101
|
|
|
13848
14102
|
useExperimentalDependencyDetection?: boolean
|
|
@@ -13885,7 +14139,7 @@ type PerfectionistSortEnums = []|[{
|
|
|
13885
14139
|
})
|
|
13886
14140
|
|
|
13887
14141
|
partitionByNewLine?: boolean
|
|
13888
|
-
}]
|
|
14142
|
+
}[]
|
|
13889
14143
|
// ----- perfectionist/sort-export-attributes -----
|
|
13890
14144
|
type PerfectionistSortExportAttributes = {
|
|
13891
14145
|
|
|
@@ -14002,6 +14256,23 @@ type PerfectionistSortExportAttributes = {
|
|
|
14002
14256
|
})[]
|
|
14003
14257
|
newlinesBetween?: ("ignore" | number)
|
|
14004
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
|
+
|
|
14005
14276
|
partitionByComment?: (boolean | (({
|
|
14006
14277
|
|
|
14007
14278
|
pattern: string
|
|
@@ -14324,6 +14595,23 @@ type PerfectionistSortHeritageClauses = {
|
|
|
14324
14595
|
})[]
|
|
14325
14596
|
newlinesBetween?: ("ignore" | number)
|
|
14326
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
|
+
|
|
14327
14615
|
partitionByNewLine?: boolean
|
|
14328
14616
|
|
|
14329
14617
|
partitionByComment?: (boolean | (({
|
|
@@ -14479,6 +14767,23 @@ type PerfectionistSortImportAttributes = {
|
|
|
14479
14767
|
})[]
|
|
14480
14768
|
newlinesBetween?: ("ignore" | number)
|
|
14481
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
|
+
|
|
14482
14787
|
partitionByComment?: (boolean | (({
|
|
14483
14788
|
|
|
14484
14789
|
pattern: string
|
|
@@ -14921,6 +15226,8 @@ type PerfectionistSortInterfaces = {
|
|
|
14921
15226
|
flags?: string
|
|
14922
15227
|
} | string))
|
|
14923
15228
|
|
|
15229
|
+
matchesAstSelector?: string
|
|
15230
|
+
|
|
14924
15231
|
declarationMatchesPattern?: (({
|
|
14925
15232
|
scope?: ("shallow" | "deep")
|
|
14926
15233
|
|
|
@@ -15097,6 +15404,23 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
15097
15404
|
})[]
|
|
15098
15405
|
newlinesBetween?: ("ignore" | number)
|
|
15099
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
|
+
|
|
15100
15424
|
partitionByComment?: (boolean | (({
|
|
15101
15425
|
|
|
15102
15426
|
pattern: string
|
|
@@ -15314,6 +15638,8 @@ type PerfectionistSortJsxProps = {
|
|
|
15314
15638
|
flags?: string
|
|
15315
15639
|
} | string))
|
|
15316
15640
|
|
|
15641
|
+
matchesAstSelector?: string
|
|
15642
|
+
|
|
15317
15643
|
tagMatchesPattern?: (({
|
|
15318
15644
|
|
|
15319
15645
|
pattern: string
|
|
@@ -15458,6 +15784,8 @@ type PerfectionistSortMaps = {
|
|
|
15458
15784
|
|
|
15459
15785
|
flags?: string
|
|
15460
15786
|
} | string))
|
|
15787
|
+
|
|
15788
|
+
matchesAstSelector?: string
|
|
15461
15789
|
}
|
|
15462
15790
|
|
|
15463
15791
|
partitionByComment?: (boolean | (({
|
|
@@ -15832,6 +16160,23 @@ type PerfectionistSortNamedExports = {
|
|
|
15832
16160
|
})[]
|
|
15833
16161
|
newlinesBetween?: ("ignore" | number)
|
|
15834
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
|
+
|
|
15835
16180
|
ignoreAlias?: boolean
|
|
15836
16181
|
|
|
15837
16182
|
partitionByComment?: (boolean | (({
|
|
@@ -16001,6 +16346,23 @@ type PerfectionistSortNamedImports = {
|
|
|
16001
16346
|
})[]
|
|
16002
16347
|
newlinesBetween?: ("ignore" | number)
|
|
16003
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
|
+
|
|
16004
16366
|
ignoreAlias?: boolean
|
|
16005
16367
|
|
|
16006
16368
|
partitionByComment?: (boolean | (({
|
|
@@ -16244,6 +16606,8 @@ type PerfectionistSortObjectTypes = {
|
|
|
16244
16606
|
flags?: string
|
|
16245
16607
|
} | string))
|
|
16246
16608
|
|
|
16609
|
+
matchesAstSelector?: string
|
|
16610
|
+
|
|
16247
16611
|
declarationMatchesPattern?: (({
|
|
16248
16612
|
scope?: ("shallow" | "deep")
|
|
16249
16613
|
|
|
@@ -16516,6 +16880,8 @@ type PerfectionistSortObjects = {
|
|
|
16516
16880
|
flags?: string
|
|
16517
16881
|
} | string))
|
|
16518
16882
|
|
|
16883
|
+
matchesAstSelector?: string
|
|
16884
|
+
|
|
16519
16885
|
declarationMatchesPattern?: (({
|
|
16520
16886
|
scope?: ("shallow" | "deep")
|
|
16521
16887
|
|
|
@@ -16531,6 +16897,8 @@ type PerfectionistSortObjects = {
|
|
|
16531
16897
|
} | string))
|
|
16532
16898
|
}
|
|
16533
16899
|
|
|
16900
|
+
partitionByComputedKey?: boolean
|
|
16901
|
+
|
|
16534
16902
|
styledComponents?: boolean
|
|
16535
16903
|
|
|
16536
16904
|
useExperimentalDependencyDetection?: boolean
|
|
@@ -16709,6 +17077,8 @@ type PerfectionistSortSets = {
|
|
|
16709
17077
|
|
|
16710
17078
|
flags?: string
|
|
16711
17079
|
} | string))
|
|
17080
|
+
|
|
17081
|
+
matchesAstSelector?: string
|
|
16712
17082
|
}
|
|
16713
17083
|
|
|
16714
17084
|
partitionByComment?: (boolean | (({
|
|
@@ -16894,6 +17264,23 @@ type PerfectionistSortUnionTypes = {
|
|
|
16894
17264
|
})[]
|
|
16895
17265
|
newlinesBetween?: ("ignore" | number)
|
|
16896
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
|
+
|
|
16897
17284
|
partitionByComment?: (boolean | (({
|
|
16898
17285
|
|
|
16899
17286
|
pattern: string
|
|
@@ -16934,7 +17321,7 @@ type PerfectionistSortUnionTypes = {
|
|
|
16934
17321
|
partitionByNewLine?: boolean
|
|
16935
17322
|
}[]
|
|
16936
17323
|
// ----- perfectionist/sort-variable-declarations -----
|
|
16937
|
-
type PerfectionistSortVariableDeclarations =
|
|
17324
|
+
type PerfectionistSortVariableDeclarations = {
|
|
16938
17325
|
|
|
16939
17326
|
fallbackSort?: {
|
|
16940
17327
|
|
|
@@ -17055,6 +17442,23 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
17055
17442
|
})[]
|
|
17056
17443
|
newlinesBetween?: ("ignore" | number)
|
|
17057
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
|
+
|
|
17058
17462
|
useExperimentalDependencyDetection?: boolean
|
|
17059
17463
|
|
|
17060
17464
|
partitionByComment?: (boolean | (({
|
|
@@ -17095,7 +17499,7 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
17095
17499
|
})
|
|
17096
17500
|
|
|
17097
17501
|
partitionByNewLine?: boolean
|
|
17098
|
-
}]
|
|
17502
|
+
}[]
|
|
17099
17503
|
// ----- pnpm/json-enforce-catalog -----
|
|
17100
17504
|
type PnpmJsonEnforceCatalog = []|[{
|
|
17101
17505
|
|
|
@@ -17660,10 +18064,21 @@ type TomlIndent = []|[("tab" | number)]|[("tab" | number), {
|
|
|
17660
18064
|
subTables?: number
|
|
17661
18065
|
keyValuePairs?: number
|
|
17662
18066
|
}]
|
|
18067
|
+
// ----- toml/inline-table-curly-newline -----
|
|
18068
|
+
type TomlInlineTableCurlyNewline = []|[(("always" | "never") | {
|
|
18069
|
+
multiline?: boolean
|
|
18070
|
+
minProperties?: number
|
|
18071
|
+
consistent?: boolean
|
|
18072
|
+
})]
|
|
17663
18073
|
// ----- toml/inline-table-curly-spacing -----
|
|
17664
18074
|
type TomlInlineTableCurlySpacing = []|[("always" | "never")]|[("always" | "never"), {
|
|
17665
18075
|
arraysInObjects?: boolean
|
|
17666
18076
|
objectsInObjects?: boolean
|
|
18077
|
+
emptyObjects?: ("ignore" | "always" | "never")
|
|
18078
|
+
}]
|
|
18079
|
+
// ----- toml/inline-table-key-value-newline -----
|
|
18080
|
+
type TomlInlineTableKeyValueNewline = []|[{
|
|
18081
|
+
allowAllPropertiesOnSameLine?: boolean
|
|
17667
18082
|
}]
|
|
17668
18083
|
// ----- toml/key-spacing -----
|
|
17669
18084
|
type TomlKeySpacing = []|[({
|
|
@@ -18057,36 +18472,49 @@ type ValidTypeof = []|[{
|
|
|
18057
18472
|
}]
|
|
18058
18473
|
// ----- vitest/consistent-each-for -----
|
|
18059
18474
|
type VitestConsistentEachFor = []|[{
|
|
18475
|
+
|
|
18060
18476
|
test?: ("each" | "for")
|
|
18477
|
+
|
|
18061
18478
|
it?: ("each" | "for")
|
|
18479
|
+
|
|
18062
18480
|
describe?: ("each" | "for")
|
|
18481
|
+
|
|
18063
18482
|
suite?: ("each" | "for")
|
|
18064
18483
|
}]
|
|
18065
18484
|
// ----- vitest/consistent-test-filename -----
|
|
18066
18485
|
type VitestConsistentTestFilename = []|[{
|
|
18486
|
+
|
|
18067
18487
|
pattern?: string
|
|
18488
|
+
|
|
18068
18489
|
allTestPattern?: string
|
|
18069
18490
|
}]
|
|
18070
18491
|
// ----- vitest/consistent-test-it -----
|
|
18071
18492
|
type VitestConsistentTestIt = []|[{
|
|
18493
|
+
|
|
18072
18494
|
fn?: ("test" | "it")
|
|
18495
|
+
|
|
18073
18496
|
withinDescribe?: ("test" | "it")
|
|
18074
18497
|
}]
|
|
18075
18498
|
// ----- vitest/consistent-vitest-vi -----
|
|
18076
18499
|
type VitestConsistentVitestVi = []|[{
|
|
18500
|
+
|
|
18077
18501
|
fn?: ("vi" | "vitest")
|
|
18078
18502
|
}]
|
|
18079
18503
|
// ----- vitest/expect-expect -----
|
|
18080
18504
|
type VitestExpectExpect = []|[{
|
|
18505
|
+
|
|
18081
18506
|
assertFunctionNames?: string[]
|
|
18507
|
+
|
|
18082
18508
|
additionalTestBlockFunctions?: string[]
|
|
18083
18509
|
}]
|
|
18084
18510
|
// ----- vitest/max-expects -----
|
|
18085
18511
|
type VitestMaxExpects = []|[{
|
|
18512
|
+
|
|
18086
18513
|
max?: number
|
|
18087
18514
|
}]
|
|
18088
18515
|
// ----- vitest/max-nested-describe -----
|
|
18089
18516
|
type VitestMaxNestedDescribe = []|[{
|
|
18517
|
+
|
|
18090
18518
|
max?: number
|
|
18091
18519
|
}]
|
|
18092
18520
|
// ----- vitest/no-conditional-expect -----
|
|
@@ -18096,6 +18524,7 @@ type VitestNoConditionalExpect = []|[{
|
|
|
18096
18524
|
}]
|
|
18097
18525
|
// ----- vitest/no-focused-tests -----
|
|
18098
18526
|
type VitestNoFocusedTests = []|[{
|
|
18527
|
+
|
|
18099
18528
|
fixable?: boolean
|
|
18100
18529
|
}]
|
|
18101
18530
|
// ----- vitest/no-hooks -----
|
|
@@ -18105,8 +18534,11 @@ type VitestNoHooks = []|[{
|
|
|
18105
18534
|
}]
|
|
18106
18535
|
// ----- vitest/no-large-snapshots -----
|
|
18107
18536
|
type VitestNoLargeSnapshots = []|[{
|
|
18537
|
+
|
|
18108
18538
|
maxSize?: number
|
|
18539
|
+
|
|
18109
18540
|
inlineMaxSize?: number
|
|
18541
|
+
|
|
18110
18542
|
allowedSnapshots?: {
|
|
18111
18543
|
[k: string]: unknown[] | undefined
|
|
18112
18544
|
}
|
|
@@ -18121,50 +18553,74 @@ type VitestNoRestrictedViMethods = []|[{
|
|
|
18121
18553
|
}]
|
|
18122
18554
|
// ----- vitest/no-standalone-expect -----
|
|
18123
18555
|
type VitestNoStandaloneExpect = []|[{
|
|
18556
|
+
|
|
18124
18557
|
additionalTestBlockFunctions?: string[]
|
|
18125
18558
|
}]
|
|
18126
18559
|
// ----- vitest/prefer-expect-assertions -----
|
|
18127
18560
|
type VitestPreferExpectAssertions = []|[{
|
|
18561
|
+
|
|
18128
18562
|
onlyFunctionsWithAsyncKeyword?: boolean
|
|
18563
|
+
|
|
18129
18564
|
onlyFunctionsWithExpectInLoop?: boolean
|
|
18565
|
+
|
|
18130
18566
|
onlyFunctionsWithExpectInCallback?: boolean
|
|
18131
18567
|
}]
|
|
18132
18568
|
// ----- vitest/prefer-import-in-mock -----
|
|
18133
18569
|
type VitestPreferImportInMock = []|[{
|
|
18570
|
+
|
|
18134
18571
|
fixable?: boolean
|
|
18135
18572
|
}]
|
|
18136
18573
|
// ----- vitest/prefer-lowercase-title -----
|
|
18137
18574
|
type VitestPreferLowercaseTitle = []|[{
|
|
18575
|
+
|
|
18138
18576
|
ignore?: ("describe" | "test" | "it")[]
|
|
18577
|
+
|
|
18139
18578
|
allowedPrefixes?: string[]
|
|
18579
|
+
|
|
18140
18580
|
ignoreTopLevelDescribe?: boolean
|
|
18581
|
+
|
|
18141
18582
|
lowercaseFirstCharacterOnly?: boolean
|
|
18142
18583
|
}]
|
|
18143
18584
|
// ----- vitest/prefer-snapshot-hint -----
|
|
18144
18585
|
type VitestPreferSnapshotHint = []|[("always" | "multi")]
|
|
18145
18586
|
// ----- vitest/require-hook -----
|
|
18146
18587
|
type VitestRequireHook = []|[{
|
|
18588
|
+
|
|
18147
18589
|
allowedFunctionCalls?: string[]
|
|
18148
18590
|
}]
|
|
18149
18591
|
// ----- vitest/require-mock-type-parameters -----
|
|
18150
18592
|
type VitestRequireMockTypeParameters = []|[{
|
|
18593
|
+
|
|
18151
18594
|
checkImportFunctions?: boolean
|
|
18152
18595
|
}]
|
|
18153
18596
|
// ----- vitest/require-top-level-describe -----
|
|
18154
18597
|
type VitestRequireTopLevelDescribe = []|[{
|
|
18598
|
+
|
|
18155
18599
|
maxNumberOfTopLevelDescribes?: number
|
|
18156
18600
|
}]
|
|
18601
|
+
// ----- vitest/unbound-method -----
|
|
18602
|
+
type VitestUnboundMethod = []|[{
|
|
18603
|
+
|
|
18604
|
+
ignoreStatic?: boolean
|
|
18605
|
+
}]
|
|
18157
18606
|
// ----- vitest/valid-expect -----
|
|
18158
18607
|
type VitestValidExpect = []|[{
|
|
18608
|
+
|
|
18159
18609
|
alwaysAwait?: boolean
|
|
18610
|
+
|
|
18160
18611
|
asyncMatchers?: string[]
|
|
18612
|
+
|
|
18161
18613
|
minArgs?: number
|
|
18614
|
+
|
|
18162
18615
|
maxArgs?: number
|
|
18163
18616
|
}]
|
|
18164
18617
|
// ----- vitest/valid-title -----
|
|
18165
18618
|
type VitestValidTitle = []|[{
|
|
18619
|
+
|
|
18166
18620
|
ignoreTypeOfDescribeName?: boolean
|
|
18621
|
+
|
|
18167
18622
|
allowArguments?: boolean
|
|
18623
|
+
|
|
18168
18624
|
disallowedWords?: string[]
|
|
18169
18625
|
[k: string]: (string | [string]|[string, string] | {
|
|
18170
18626
|
[k: string]: (string | [string]|[string, string]) | undefined
|
|
@@ -18213,6 +18669,7 @@ type YmlFlowMappingCurlyNewline = []|[(("always" | "never") | {
|
|
|
18213
18669
|
type YmlFlowMappingCurlySpacing = []|[("always" | "never")]|[("always" | "never"), {
|
|
18214
18670
|
arraysInObjects?: boolean
|
|
18215
18671
|
objectsInObjects?: boolean
|
|
18672
|
+
emptyObjects?: ("ignore" | "always" | "never")
|
|
18216
18673
|
}]
|
|
18217
18674
|
// ----- yml/flow-sequence-bracket-newline -----
|
|
18218
18675
|
type YmlFlowSequenceBracketNewline = []|[(("always" | "never" | "consistent") | {
|