@2digits/eslint-config 5.1.8 → 5.1.10
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/dist/index.d.mts +110 -119
- package/package.json +19 -19
package/dist/index.d.mts
CHANGED
|
@@ -725,7 +725,7 @@ interface JSONSchema4 {
|
|
|
725
725
|
format?: string | undefined;
|
|
726
726
|
}
|
|
727
727
|
//#endregion
|
|
728
|
-
//#region ../../node_modules/.pnpm/@eslint+core@
|
|
728
|
+
//#region ../../node_modules/.pnpm/@eslint+core@1.1.0/node_modules/@eslint/core/dist/esm/types.d.ts
|
|
729
729
|
/**
|
|
730
730
|
* Represents an error inside of a file.
|
|
731
731
|
*/
|
|
@@ -781,7 +781,7 @@ type RuleFixType = "code" | "whitespace";
|
|
|
781
781
|
* name of a node type or a selector, or is a method that will be called at specific
|
|
782
782
|
* times during the traversal.
|
|
783
783
|
*/
|
|
784
|
-
type RuleVisitor = Record<string, ((...args: any[]) => void) | undefined>;
|
|
784
|
+
type RuleVisitor$1 = Record<string, ((...args: any[]) => void) | undefined>;
|
|
785
785
|
/**
|
|
786
786
|
* Rule meta information used for documentation.
|
|
787
787
|
*/
|
|
@@ -794,11 +794,6 @@ interface RulesMetaDocs {
|
|
|
794
794
|
* The URL to the documentation for the rule.
|
|
795
795
|
*/
|
|
796
796
|
url?: string | undefined;
|
|
797
|
-
/**
|
|
798
|
-
* The category the rule falls under.
|
|
799
|
-
* @deprecated No longer used.
|
|
800
|
-
*/
|
|
801
|
-
category?: string | undefined;
|
|
802
797
|
/**
|
|
803
798
|
* Indicates if the rule is generally recommended for all users.
|
|
804
799
|
*
|
|
@@ -945,56 +940,26 @@ interface RuleContext$1<Options extends RuleContextTypeOptions = RuleContextType
|
|
|
945
940
|
* The current working directory for the session.
|
|
946
941
|
*/
|
|
947
942
|
cwd: string;
|
|
948
|
-
/**
|
|
949
|
-
* Returns the current working directory for the session.
|
|
950
|
-
* @deprecated Use `cwd` instead.
|
|
951
|
-
*/
|
|
952
|
-
getCwd(): string;
|
|
953
943
|
/**
|
|
954
944
|
* The filename of the file being linted.
|
|
955
945
|
*/
|
|
956
946
|
filename: string;
|
|
957
|
-
/**
|
|
958
|
-
* Returns the filename of the file being linted.
|
|
959
|
-
* @deprecated Use `filename` instead.
|
|
960
|
-
*/
|
|
961
|
-
getFilename(): string;
|
|
962
947
|
/**
|
|
963
948
|
* The physical filename of the file being linted.
|
|
964
949
|
*/
|
|
965
950
|
physicalFilename: string;
|
|
966
|
-
/**
|
|
967
|
-
* Returns the physical filename of the file being linted.
|
|
968
|
-
* @deprecated Use `physicalFilename` instead.
|
|
969
|
-
*/
|
|
970
|
-
getPhysicalFilename(): string;
|
|
971
951
|
/**
|
|
972
952
|
* The source code object that the rule is running on.
|
|
973
953
|
*/
|
|
974
954
|
sourceCode: Options["Code"];
|
|
975
|
-
/**
|
|
976
|
-
* Returns the source code object that the rule is running on.
|
|
977
|
-
* @deprecated Use `sourceCode` instead.
|
|
978
|
-
*/
|
|
979
|
-
getSourceCode(): Options["Code"];
|
|
980
955
|
/**
|
|
981
956
|
* Shared settings for the configuration.
|
|
982
957
|
*/
|
|
983
958
|
settings: SettingsConfig;
|
|
984
|
-
/**
|
|
985
|
-
* Parser-specific options for the configuration.
|
|
986
|
-
* @deprecated Use `languageOptions.parserOptions` instead.
|
|
987
|
-
*/
|
|
988
|
-
parserOptions: Record<string, unknown>;
|
|
989
959
|
/**
|
|
990
960
|
* The language options for the configuration.
|
|
991
961
|
*/
|
|
992
962
|
languageOptions: Options["LangOptions"];
|
|
993
|
-
/**
|
|
994
|
-
* The CommonJS path to the parser used while parsing this file.
|
|
995
|
-
* @deprecated No longer used.
|
|
996
|
-
*/
|
|
997
|
-
parserPath: string | undefined;
|
|
998
963
|
/**
|
|
999
964
|
* The rule ID.
|
|
1000
965
|
*/
|
|
@@ -1083,11 +1048,15 @@ interface RuleTextEdit {
|
|
|
1083
1048
|
* @returns The fix(es) for the violation.
|
|
1084
1049
|
*/
|
|
1085
1050
|
type RuleFixer = (fixer: RuleTextEditor) => RuleTextEdit | Iterable<RuleTextEdit> | null;
|
|
1051
|
+
/**
|
|
1052
|
+
* Data that can be used to fill placeholders in error messages.
|
|
1053
|
+
*/
|
|
1054
|
+
type MessagePlaceholderData = Record<string, string | number | boolean | bigint | null | undefined>;
|
|
1086
1055
|
interface ViolationReportBase {
|
|
1087
1056
|
/**
|
|
1088
1057
|
* The data to insert into the message.
|
|
1089
1058
|
*/
|
|
1090
|
-
data?:
|
|
1059
|
+
data?: MessagePlaceholderData | undefined;
|
|
1091
1060
|
/**
|
|
1092
1061
|
* The fix to be applied for the violation.
|
|
1093
1062
|
*/
|
|
@@ -1113,7 +1082,7 @@ interface SuggestedEditBase {
|
|
|
1113
1082
|
/**
|
|
1114
1083
|
* The data to insert into the message.
|
|
1115
1084
|
*/
|
|
1116
|
-
data?:
|
|
1085
|
+
data?: MessagePlaceholderData | undefined;
|
|
1117
1086
|
/**
|
|
1118
1087
|
* The fix to be applied for the suggestion.
|
|
1119
1088
|
*/
|
|
@@ -1157,11 +1126,6 @@ interface LintMessage$1 {
|
|
|
1157
1126
|
message: string;
|
|
1158
1127
|
/** The ID of the message in the rule's meta. */
|
|
1159
1128
|
messageId?: string | undefined;
|
|
1160
|
-
/**
|
|
1161
|
-
* Type of node.
|
|
1162
|
-
* @deprecated `nodeType` is deprecated and will be removed in the next major version.
|
|
1163
|
-
*/
|
|
1164
|
-
nodeType?: string | undefined;
|
|
1165
1129
|
/** If `true` then this is a fatal error. */
|
|
1166
1130
|
fatal?: true | undefined;
|
|
1167
1131
|
/** The severity of this message. */
|
|
@@ -1178,7 +1142,7 @@ interface RuleDefinitionTypeOptions {
|
|
|
1178
1142
|
LangOptions: LanguageOptions;
|
|
1179
1143
|
Code: SourceCode$1;
|
|
1180
1144
|
RuleOptions: unknown[];
|
|
1181
|
-
Visitor: RuleVisitor;
|
|
1145
|
+
Visitor: RuleVisitor$1;
|
|
1182
1146
|
Node: unknown;
|
|
1183
1147
|
MessageIds: string;
|
|
1184
1148
|
ExtRuleDocs: unknown;
|
|
@@ -1329,7 +1293,7 @@ interface ConfigObject<Rules extends RulesConfig = RulesConfig> {
|
|
|
1329
1293
|
* An object containing name-value pairs of information that should be
|
|
1330
1294
|
* available to all rules.
|
|
1331
1295
|
*/
|
|
1332
|
-
settings?:
|
|
1296
|
+
settings?: SettingsConfig;
|
|
1333
1297
|
}
|
|
1334
1298
|
/** @deprecated Only supported in legacy eslintrc config format. */
|
|
1335
1299
|
type GlobalAccess = boolean | "off" | "readable" | "readonly" | "writable" | "writeable";
|
|
@@ -1392,7 +1356,6 @@ interface JavaScriptParserOptionsConfig {
|
|
|
1392
1356
|
globalReturn?: boolean | undefined;
|
|
1393
1357
|
impliedStrict?: boolean | undefined;
|
|
1394
1358
|
jsx?: boolean | undefined;
|
|
1395
|
-
experimentalObjectRestSpread?: boolean | undefined;
|
|
1396
1359
|
[key: string]: any;
|
|
1397
1360
|
} | undefined;
|
|
1398
1361
|
[key: string]: any;
|
|
@@ -1861,12 +1824,18 @@ interface Directive {
|
|
|
1861
1824
|
justification?: string;
|
|
1862
1825
|
}
|
|
1863
1826
|
//#endregion
|
|
1864
|
-
//#region ../../node_modules/.pnpm
|
|
1865
|
-
|
|
1866
|
-
|
|
1827
|
+
//#region ../../node_modules/.pnpm/@eslint+plugin-kit@0.6.0_patch_hash=c9c5f1e48363ce3f8a4fae7cf0229bb54da3894d3524eb9e6f5fe82c8c793c55/node_modules/@eslint/plugin-kit/dist/cjs/types.d.cts
|
|
1828
|
+
/**
|
|
1829
|
+
* Adds matching `:exit` selector properties for each key of a `RuleVisitor`.
|
|
1830
|
+
*/
|
|
1831
|
+
type CustomRuleVisitorWithExit$1<RuleVisitorType extends RuleVisitor$1> = { [Key in keyof RuleVisitorType as Key | `${Key & string}:exit`]: RuleVisitorType[Key] };
|
|
1832
|
+
//#endregion
|
|
1833
|
+
//#region ../../node_modules/.pnpm/@eslint+plugin-kit@0.6.0_patch_hash=c9c5f1e48363ce3f8a4fae7cf0229bb54da3894d3524eb9e6f5fe82c8c793c55/node_modules/@eslint/plugin-kit/dist/cjs/index.d.cts
|
|
1834
|
+
type RuleVisitor = RuleVisitor$1;
|
|
1835
|
+
type CustomRuleVisitorWithExit<RuleVisitorType extends RuleVisitor> = CustomRuleVisitorWithExit$1<RuleVisitorType>;
|
|
1836
|
+
//#endregion
|
|
1837
|
+
//#region ../../node_modules/.pnpm/eslint@10.0.0_jiti@2.6.0/node_modules/eslint/lib/types/index.d.ts
|
|
1867
1838
|
//------------------------------------------------------------------------------
|
|
1868
|
-
/** Adds matching `:exit` selectors for all properties of a `RuleVisitor`. */
|
|
1869
|
-
type WithExit<RuleVisitorType extends RuleVisitor> = { [Key in keyof RuleVisitorType as Key | `${Key & string}:exit`]: RuleVisitorType[Key] }; //------------------------------------------------------------------------------
|
|
1870
1839
|
// Exports
|
|
1871
1840
|
//------------------------------------------------------------------------------
|
|
1872
1841
|
declare namespace AST {
|
|
@@ -1881,7 +1850,7 @@ declare namespace AST {
|
|
|
1881
1850
|
start: Position$1;
|
|
1882
1851
|
end: Position$1;
|
|
1883
1852
|
}
|
|
1884
|
-
type Range =
|
|
1853
|
+
type Range = SourceRange;
|
|
1885
1854
|
interface Program extends Program {
|
|
1886
1855
|
comments: Comment[];
|
|
1887
1856
|
tokens: Token[];
|
|
@@ -1889,15 +1858,20 @@ declare namespace AST {
|
|
|
1889
1858
|
range: Range;
|
|
1890
1859
|
}
|
|
1891
1860
|
}
|
|
1861
|
+
interface JSXIdentifier extends BaseNode {
|
|
1862
|
+
type: "JSXIdentifier";
|
|
1863
|
+
name: string;
|
|
1864
|
+
}
|
|
1892
1865
|
declare namespace Scope {
|
|
1893
1866
|
interface ScopeManager {
|
|
1894
1867
|
scopes: Scope[];
|
|
1895
1868
|
globalScope: Scope | null;
|
|
1896
1869
|
acquire(node: Node$1, inner?: boolean): Scope | null;
|
|
1897
1870
|
getDeclaredVariables(node: Node$1): Variable[];
|
|
1871
|
+
addGlobals(names: ReadonlyArray<string>): void;
|
|
1898
1872
|
}
|
|
1899
1873
|
interface Scope {
|
|
1900
|
-
type: "block" | "catch" | "class" | "class-field-initializer" | "class-static-block" | "for" | "function" | "function-expression-name" | "global" | "module" | "switch" | "with"
|
|
1874
|
+
type: "block" | "catch" | "class" | "class-field-initializer" | "class-static-block" | "for" | "function" | "function-expression-name" | "global" | "module" | "switch" | "with";
|
|
1901
1875
|
isStrict: boolean;
|
|
1902
1876
|
upper: Scope | null;
|
|
1903
1877
|
childScopes: Scope[];
|
|
@@ -1921,11 +1895,11 @@ declare namespace Scope {
|
|
|
1921
1895
|
defs: Definition[];
|
|
1922
1896
|
}
|
|
1923
1897
|
interface Reference {
|
|
1924
|
-
identifier: Identifier;
|
|
1898
|
+
identifier: Identifier | JSXIdentifier;
|
|
1925
1899
|
from: Scope;
|
|
1926
1900
|
resolved: Variable | null;
|
|
1927
|
-
writeExpr
|
|
1928
|
-
init
|
|
1901
|
+
writeExpr?: Expression | null;
|
|
1902
|
+
init?: boolean;
|
|
1929
1903
|
isWrite(): boolean;
|
|
1930
1904
|
isRead(): boolean;
|
|
1931
1905
|
isWriteOnly(): boolean;
|
|
@@ -1956,10 +1930,6 @@ declare namespace Scope {
|
|
|
1956
1930
|
type: "Parameter";
|
|
1957
1931
|
node: FunctionDeclaration | FunctionExpression | ArrowFunctionExpression;
|
|
1958
1932
|
parent: null;
|
|
1959
|
-
} | {
|
|
1960
|
-
type: "TDZ";
|
|
1961
|
-
node: any;
|
|
1962
|
-
parent: null;
|
|
1963
1933
|
} | {
|
|
1964
1934
|
type: "Variable";
|
|
1965
1935
|
node: VariableDeclarator;
|
|
@@ -1993,11 +1963,7 @@ declare class SourceCode implements TextSourceCode<{
|
|
|
1993
1963
|
getAllComments(): Comment[];
|
|
1994
1964
|
getAncestors(node: Node$1): Node$1[];
|
|
1995
1965
|
getDeclaredVariables(node: Node$1): Scope.Variable[];
|
|
1996
|
-
/** @deprecated */
|
|
1997
|
-
getJSDocComment(node: Node$1): Comment | null;
|
|
1998
1966
|
getNodeByRangeIndex(index: number): Node$1 | null;
|
|
1999
|
-
/** @deprecated Use `isSpaceBetween()` instead. */
|
|
2000
|
-
isSpaceBetweenTokens(first: Node$1 | AST.Token, second: Node$1 | AST.Token): boolean;
|
|
2001
1967
|
getLocFromIndex(index: number): Position$1;
|
|
2002
1968
|
getIndexFromLoc(location: Position$1): number; // Inherited methods from TokenStore
|
|
2003
1969
|
// ---------------------------------
|
|
@@ -2015,10 +1981,6 @@ declare class SourceCode implements TextSourceCode<{
|
|
|
2015
1981
|
getTokensBefore: SourceCode.UnaryCursorWithCountOptions;
|
|
2016
1982
|
getTokenAfter: SourceCode.UnaryCursorWithSkipOptions;
|
|
2017
1983
|
getTokensAfter: SourceCode.UnaryCursorWithCountOptions;
|
|
2018
|
-
/** @deprecated Use `getTokenBefore()` instead. */
|
|
2019
|
-
getTokenOrCommentBefore(node: Node$1 | AST.Token | Comment, skip?: number | undefined): AST.Token | Comment | null;
|
|
2020
|
-
/** @deprecated Use `getTokenAfter()` instead. */
|
|
2021
|
-
getTokenOrCommentAfter(node: Node$1 | AST.Token | Comment, skip?: number | undefined): AST.Token | Comment | null;
|
|
2022
1984
|
getFirstTokenBetween: SourceCode.BinaryCursorWithSkipOptions;
|
|
2023
1985
|
getFirstTokensBetween: SourceCode.BinaryCursorWithCountOptions;
|
|
2024
1986
|
getLastTokenBetween: SourceCode.BinaryCursorWithSkipOptions;
|
|
@@ -2199,7 +2161,7 @@ declare namespace Rule {
|
|
|
2199
2161
|
create(context: RuleContext): RuleListener;
|
|
2200
2162
|
}
|
|
2201
2163
|
type NodeTypes = Node$1["type"];
|
|
2202
|
-
interface NodeListener extends
|
|
2164
|
+
interface NodeListener extends CustomRuleVisitorWithExit<{ [Node in Rule.Node as Node["type"]]?: ((node: Node) => void) | undefined } & {
|
|
2203
2165
|
// A `Program` visitor's node type has no `parent` property.
|
|
2204
2166
|
Program?: ((node: AST.Program) => void) | undefined;
|
|
2205
2167
|
}> {}
|
|
@@ -2246,14 +2208,14 @@ declare namespace Rule {
|
|
|
2246
2208
|
}> {}
|
|
2247
2209
|
type ReportFixer = RuleFixer;
|
|
2248
2210
|
/** @deprecated Use `ReportDescriptorOptions` instead. */
|
|
2249
|
-
type ReportDescriptorOptionsBase = ViolationReportBase
|
|
2211
|
+
type ReportDescriptorOptionsBase = Omit<ViolationReportBase, "suggest">;
|
|
2250
2212
|
type SuggestionReportOptions = SuggestedEditBase;
|
|
2251
2213
|
type SuggestionDescriptorMessage = SuggestionMessage;
|
|
2252
2214
|
type SuggestionReportDescriptor = SuggestedEdit; // redundant with ReportDescriptorOptionsBase but kept for clarity
|
|
2253
2215
|
type ReportDescriptorOptions = ViolationReportBase;
|
|
2254
|
-
type ReportDescriptor = ViolationReport<
|
|
2216
|
+
type ReportDescriptor = ViolationReport<JSSyntaxElement>;
|
|
2255
2217
|
type ReportDescriptorMessage = ViolationMessage;
|
|
2256
|
-
type ReportDescriptorLocation = ViolationLocation<
|
|
2218
|
+
type ReportDescriptorLocation = ViolationLocation<JSSyntaxElement>;
|
|
2257
2219
|
type RuleFixer = RuleTextEditor<Node$1 | AST.Token>;
|
|
2258
2220
|
type Fix = RuleTextEdit;
|
|
2259
2221
|
}
|
|
@@ -2263,19 +2225,13 @@ declare class Linter {
|
|
|
2263
2225
|
version: string;
|
|
2264
2226
|
constructor(options?: {
|
|
2265
2227
|
cwd?: string | undefined;
|
|
2266
|
-
configType?: "flat"
|
|
2228
|
+
configType?: "flat";
|
|
2267
2229
|
});
|
|
2268
|
-
verify(code: SourceCode | string, config: Linter.
|
|
2269
|
-
verify(code: SourceCode | string, config: Linter.
|
|
2270
|
-
verifyAndFix(code: string, config: Linter.
|
|
2271
|
-
verifyAndFix(code: string, config: Linter.
|
|
2230
|
+
verify(code: SourceCode | string, config: Linter.Config | Linter.Config[], filename?: string): Linter.LintMessage[];
|
|
2231
|
+
verify(code: SourceCode | string, config: Linter.Config | Linter.Config[], options: Linter.LintOptions): Linter.LintMessage[];
|
|
2232
|
+
verifyAndFix(code: string, config: Linter.Config | Linter.Config[], filename?: string): Linter.FixReport;
|
|
2233
|
+
verifyAndFix(code: string, config: Linter.Config | Linter.Config[], options: Linter.FixOptions): Linter.FixReport;
|
|
2272
2234
|
getSourceCode(): SourceCode;
|
|
2273
|
-
defineRule(name: string, rule: Rule.RuleModule): void;
|
|
2274
|
-
defineRules(rules: {
|
|
2275
|
-
[name: string]: Rule.RuleModule;
|
|
2276
|
-
}): void;
|
|
2277
|
-
getRules(): Map<string, Rule.RuleModule>;
|
|
2278
|
-
defineParser(name: string, parser: Linter.Parser): void;
|
|
2279
2235
|
getTimes(): Linter.Stats["times"];
|
|
2280
2236
|
getFixPassCount(): Linter.Stats["fixPasses"];
|
|
2281
2237
|
}
|
|
@@ -2352,7 +2308,41 @@ declare namespace Linter {
|
|
|
2352
2308
|
*
|
|
2353
2309
|
* @see [Specifying Parser Options](https://eslint.org/docs/latest/use/configure/language-options#specifying-parser-options)
|
|
2354
2310
|
*/
|
|
2355
|
-
|
|
2311
|
+
interface ParserOptions {
|
|
2312
|
+
/**
|
|
2313
|
+
* Allow the use of reserved words as identifiers (if `ecmaVersion` is 3).
|
|
2314
|
+
*
|
|
2315
|
+
* @default false
|
|
2316
|
+
*/
|
|
2317
|
+
allowReserved?: boolean | undefined;
|
|
2318
|
+
/**
|
|
2319
|
+
* An object indicating which additional language features you'd like to use.
|
|
2320
|
+
*
|
|
2321
|
+
* @see https://eslint.org/docs/latest/use/configure/language-options#specifying-parser-options
|
|
2322
|
+
*/
|
|
2323
|
+
ecmaFeatures?: {
|
|
2324
|
+
/**
|
|
2325
|
+
* Allow `return` statements in the global scope.
|
|
2326
|
+
*
|
|
2327
|
+
* @default false
|
|
2328
|
+
*/
|
|
2329
|
+
globalReturn?: boolean | undefined;
|
|
2330
|
+
/**
|
|
2331
|
+
* Enable global [strict mode](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode) (if `ecmaVersion` is 5 or greater).
|
|
2332
|
+
*
|
|
2333
|
+
* @default false
|
|
2334
|
+
*/
|
|
2335
|
+
impliedStrict?: boolean | undefined;
|
|
2336
|
+
/**
|
|
2337
|
+
* Enable [JSX](https://facebook.github.io/jsx/).
|
|
2338
|
+
*
|
|
2339
|
+
* @default false
|
|
2340
|
+
*/
|
|
2341
|
+
jsx?: boolean | undefined;
|
|
2342
|
+
[key: string]: any;
|
|
2343
|
+
} | undefined;
|
|
2344
|
+
[key: string]: any;
|
|
2345
|
+
}
|
|
2356
2346
|
/**
|
|
2357
2347
|
* Options used for linting code with `Linter#verify` and `Linter#verifyAndFix`.
|
|
2358
2348
|
*/
|
|
@@ -2547,30 +2537,6 @@ declare namespace ESLint {
|
|
|
2547
2537
|
concurrency?: number | "auto" | "off" | undefined;
|
|
2548
2538
|
flags?: string[] | undefined;
|
|
2549
2539
|
}
|
|
2550
|
-
interface LegacyOptions {
|
|
2551
|
-
// File enumeration
|
|
2552
|
-
cwd?: string | undefined;
|
|
2553
|
-
errorOnUnmatchedPattern?: boolean | undefined;
|
|
2554
|
-
extensions?: string[] | undefined;
|
|
2555
|
-
globInputPaths?: boolean | undefined;
|
|
2556
|
-
ignore?: boolean | undefined;
|
|
2557
|
-
ignorePath?: string | undefined; // Linting
|
|
2558
|
-
allowInlineConfig?: boolean | undefined;
|
|
2559
|
-
baseConfig?: Linter.LegacyConfig | undefined;
|
|
2560
|
-
overrideConfig?: Linter.LegacyConfig | undefined;
|
|
2561
|
-
overrideConfigFile?: string | undefined;
|
|
2562
|
-
plugins?: Record<string, Plugin> | undefined;
|
|
2563
|
-
reportUnusedDisableDirectives?: Linter.StringSeverity | undefined;
|
|
2564
|
-
resolvePluginsRelativeTo?: string | undefined;
|
|
2565
|
-
rulePaths?: string[] | undefined;
|
|
2566
|
-
useEslintrc?: boolean | undefined; // Autofix
|
|
2567
|
-
fix?: boolean | ((message: Linter.LintMessage) => boolean) | undefined;
|
|
2568
|
-
fixTypes?: FixType[] | null | undefined; // Cache-related
|
|
2569
|
-
cache?: boolean | undefined;
|
|
2570
|
-
cacheLocation?: string | undefined;
|
|
2571
|
-
cacheStrategy?: CacheStrategy | undefined; // Other Options
|
|
2572
|
-
flags?: string[] | undefined;
|
|
2573
|
-
}
|
|
2574
2540
|
/** A linting result. */
|
|
2575
2541
|
interface LintResult {
|
|
2576
2542
|
/** The path to the file that was linted. */
|
|
@@ -2611,9 +2577,8 @@ declare namespace ESLint {
|
|
|
2611
2577
|
*/
|
|
2612
2578
|
foundWarnings: number;
|
|
2613
2579
|
}
|
|
2614
|
-
interface LintResultData {
|
|
2580
|
+
interface LintResultData extends ResultsMeta {
|
|
2615
2581
|
cwd: string;
|
|
2616
|
-
maxWarningsExceeded?: MaxWarningsExceeded | undefined;
|
|
2617
2582
|
rulesMeta: {
|
|
2618
2583
|
[ruleId: string]: Rule.RuleMetaData;
|
|
2619
2584
|
};
|
|
@@ -2641,6 +2606,13 @@ declare namespace ESLint {
|
|
|
2641
2606
|
* Metadata about results for formatters.
|
|
2642
2607
|
*/
|
|
2643
2608
|
interface ResultsMeta {
|
|
2609
|
+
/**
|
|
2610
|
+
* Whether or not to use color in the formatter output.
|
|
2611
|
+
* - If `--color` was set, this property is `true`.
|
|
2612
|
+
* - If `--no-color` was set, it is `false`.
|
|
2613
|
+
* - If neither option was provided, the property is omitted.
|
|
2614
|
+
*/
|
|
2615
|
+
color?: boolean | undefined;
|
|
2644
2616
|
/**
|
|
2645
2617
|
* Present if the maxWarnings threshold was exceeded.
|
|
2646
2618
|
*/
|
|
@@ -2651,9 +2623,9 @@ declare namespace ESLint {
|
|
|
2651
2623
|
/**
|
|
2652
2624
|
* Used to call the underlying formatter.
|
|
2653
2625
|
* @param results An array of lint results to format.
|
|
2654
|
-
* @param resultsMeta An object with
|
|
2626
|
+
* @param resultsMeta An object with optional `color` and `maxWarningsExceeded` properties that will be
|
|
2655
2627
|
* passed to the underlying formatter function along with other properties set by ESLint.
|
|
2656
|
-
* This argument can be omitted if `maxWarningsExceeded`
|
|
2628
|
+
* This argument can be omitted if `color` and `maxWarningsExceeded` are not needed.
|
|
2657
2629
|
* @return The formatter output.
|
|
2658
2630
|
*/
|
|
2659
2631
|
format(results: LintResult[], resultsMeta?: ResultsMeta): string | Promise<string>;
|
|
@@ -5567,6 +5539,11 @@ interface RuleOptions {
|
|
|
5567
5539
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/console.md
|
|
5568
5540
|
*/
|
|
5569
5541
|
'node/prefer-global/console'?: Linter.RuleEntry<NodePreferGlobalConsole>;
|
|
5542
|
+
/**
|
|
5543
|
+
* enforce either `crypto` or `require("crypto").webcrypto`
|
|
5544
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/crypto.md
|
|
5545
|
+
*/
|
|
5546
|
+
'node/prefer-global/crypto'?: Linter.RuleEntry<NodePreferGlobalCrypto>;
|
|
5570
5547
|
/**
|
|
5571
5548
|
* enforce either `process` or `require("process")`
|
|
5572
5549
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/process.md
|
|
@@ -5582,6 +5559,11 @@ interface RuleOptions {
|
|
|
5582
5559
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/text-encoder.md
|
|
5583
5560
|
*/
|
|
5584
5561
|
'node/prefer-global/text-encoder'?: Linter.RuleEntry<NodePreferGlobalTextEncoder>;
|
|
5562
|
+
/**
|
|
5563
|
+
* enforce either global timer functions or `require("timers")`
|
|
5564
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/timers.md
|
|
5565
|
+
*/
|
|
5566
|
+
'node/prefer-global/timers'?: Linter.RuleEntry<NodePreferGlobalTimers>;
|
|
5585
5567
|
/**
|
|
5586
5568
|
* enforce either `URL` or `require("url").URL`
|
|
5587
5569
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/url.md
|
|
@@ -5805,7 +5787,7 @@ interface RuleOptions {
|
|
|
5805
5787
|
*/
|
|
5806
5788
|
'quotes'?: Linter.RuleEntry<Quotes>;
|
|
5807
5789
|
/**
|
|
5808
|
-
* Enforce the
|
|
5790
|
+
* Enforce the use of the radix argument when using `parseInt()`
|
|
5809
5791
|
* @see https://eslint.org/docs/latest/rules/radix
|
|
5810
5792
|
*/
|
|
5811
5793
|
'radix'?: Linter.RuleEntry<Radix>;
|
|
@@ -5904,7 +5886,7 @@ interface RuleOptions {
|
|
|
5904
5886
|
*/
|
|
5905
5887
|
'react-dom/prefer-namespace-import'?: Linter.RuleEntry<[]>;
|
|
5906
5888
|
/**
|
|
5907
|
-
* Prevents
|
|
5889
|
+
* Prevents unintentional '$' sign before expression.
|
|
5908
5890
|
* @see https://eslint-react.xyz/docs/rules/jsx-dollar
|
|
5909
5891
|
*/
|
|
5910
5892
|
'react-extra/jsx-dollar'?: Linter.RuleEntry<[]>;
|
|
@@ -6367,6 +6349,11 @@ interface RuleOptions {
|
|
|
6367
6349
|
* @see https://eslint-react.xyz/docs/rules/naming-convention-filename-extension
|
|
6368
6350
|
*/
|
|
6369
6351
|
'react-naming-convention/filename-extension'?: Linter.RuleEntry<ReactNamingConventionFilenameExtension>;
|
|
6352
|
+
/**
|
|
6353
|
+
* Enforces identifier names assigned from 'useId' calls to be either 'id' or end with 'Id'.
|
|
6354
|
+
* @see https://eslint-react.xyz/docs/rules/naming-convention-id-name
|
|
6355
|
+
*/
|
|
6356
|
+
'react-naming-convention/id-name'?: Linter.RuleEntry<[]>;
|
|
6370
6357
|
/**
|
|
6371
6358
|
* Enforces identifier names assigned from 'useRef' calls to be either 'ref' or end with 'Ref'.
|
|
6372
6359
|
* @see https://eslint-react.xyz/docs/rules/naming-convention-ref-name
|
|
@@ -7539,12 +7526,12 @@ interface RuleOptions {
|
|
|
7539
7526
|
*/
|
|
7540
7527
|
'sonar/no-hardcoded-ip'?: Linter.RuleEntry<[]>;
|
|
7541
7528
|
/**
|
|
7542
|
-
*
|
|
7529
|
+
* Credentials should not be hard-coded
|
|
7543
7530
|
* @see https://sonarsource.github.io/rspec/#/rspec/S2068/javascript
|
|
7544
7531
|
*/
|
|
7545
7532
|
'sonar/no-hardcoded-passwords'?: Linter.RuleEntry<SonarNoHardcodedPasswords>;
|
|
7546
7533
|
/**
|
|
7547
|
-
*
|
|
7534
|
+
* Secrets should not be hard-coded
|
|
7548
7535
|
* @see https://sonarsource.github.io/rspec/#/rspec/S6418/javascript
|
|
7549
7536
|
*/
|
|
7550
7537
|
'sonar/no-hardcoded-secrets'?: Linter.RuleEntry<SonarNoHardcodedSecrets>;
|
|
@@ -11987,6 +11974,7 @@ type JsdocTagLines = [] | [("always" | "any" | "never")] | [("always" | "any" |
|
|
|
11987
11974
|
endLines?: (number | null);
|
|
11988
11975
|
maxBlockLines?: (number | null);
|
|
11989
11976
|
startLines?: (number | null);
|
|
11977
|
+
startLinesWithNoTags?: number;
|
|
11990
11978
|
tags?: {
|
|
11991
11979
|
[k: string]: {
|
|
11992
11980
|
count?: number;
|
|
@@ -12806,6 +12794,7 @@ type MaxParams = [] | [(number | {
|
|
|
12806
12794
|
maximum?: number;
|
|
12807
12795
|
max?: number;
|
|
12808
12796
|
countVoidThis?: boolean;
|
|
12797
|
+
countThis?: ("never" | "except-void" | "always");
|
|
12809
12798
|
})]; // ----- max-statements -----
|
|
12810
12799
|
type MaxStatements = [] | [(number | {
|
|
12811
12800
|
maximum?: number;
|
|
@@ -13364,10 +13353,12 @@ type NodeNoUnsupportedFeaturesNodeBuiltins = [] | [{
|
|
|
13364
13353
|
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.execve" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.ref" | "process.release" | "process.report" | "process.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.threadCpuUsage" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.unref" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.Assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.partialDeepStrictEqual" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.Assert" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.partialDeepStrictEqual" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.Assert" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.partialDeepStrictEqual" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTlsa" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTlsa" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTlsa" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.METHODS" | "http.STATUS_CODES" | "http.globalAgent" | "http.maxHeaderSize" | "http.createServer" | "http.get" | "http.request" | "http.validateHeaderName" | "http.validateHeaderValue" | "http.setMaxIdleHTTPParsers" | "http.Agent" | "http.ClientRequest" | "http.Server" | "http.ServerResponse" | "http.IncomingMessage" | "http.OutgoingMessage" | "http.WebSocket" | "_http_agent" | "_http_client" | "_http_common" | "_http_incoming" | "_http_outgoing" | "_http_server" | "https" | "https.globalAgent" | "https.createServer" | "https.get" | "https.request" | "https.Agent" | "https.Server" | "inspector" | "inspector.Session" | "inspector.Network.dataReceived" | "inspector.Network.dataSent" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.NetworkResources.put" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.dataReceived" | "inspector/promises.Network.dataSent" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.NetworkResources.put" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.getSourceMapsSupport" | "module.isBuiltin" | "module.registerHooks" | "module.register" | "module.setSourceMapsSupport" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.getSourceMapsSupport" | "module.Module.isBuiltin" | "module.Module.registerHooks" | "module.Module.register" | "module.Module.setSourceMapsSupport" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.BlockList.isBlockList" | "net.SocketAddress" | "net.SocketAddress.parse" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "sqlite" | "sqlite.constants" | "sqlite.constants.SQLITE_CHANGESET_OMIT" | "sqlite.constants.SQLITE_CHANGESET_REPLACE" | "sqlite.constants.SQLITE_CHANGESET_ABORT" | "sqlite.backup" | "sqlite.DatabaseSync" | "sqlite.StatementSync" | "sqlite.SQLITE_CHANGESET_OMIT" | "sqlite.SQLITE_CHANGESET_REPLACE" | "sqlite.SQLITE_CHANGESET_ABORT" | "test" | "test.after" | "test.afterEach" | "test.assert" | "test.assert.register" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "tls" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.CryptoStream" | "tls.DEFAULT_CIPHERS" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.getCACertificates" | "tls.getCiphers" | "tls.rootCertificates" | "tls.SecureContext" | "tls.SecurePair" | "tls.Server" | "tls.setDefaultCACertificates" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLPattern" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.diff" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.setTraceSigInt" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat16Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat16Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.isStringOneByteRepresentation" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.getHeapStatistics" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isInternalThread" | "worker_threads.isMainThread" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.constants" | "zlib.constants.ZSTD_e_continue" | "zlib.constants.ZSTD_e_flush" | "zlib.constants.ZSTD_e_end" | "zlib.constants.ZSTD_fast" | "zlib.constants.ZSTD_dfast" | "zlib.constants.ZSTD_greedy" | "zlib.constants.ZSTD_lazy" | "zlib.constants.ZSTD_lazy2" | "zlib.constants.ZSTD_btlazy2" | "zlib.constants.ZSTD_btopt" | "zlib.constants.ZSTD_btultra" | "zlib.constants.ZSTD_btultra2" | "zlib.constants.ZSTD_c_compressionLevel" | "zlib.constants.ZSTD_c_windowLog" | "zlib.constants.ZSTD_c_hashLog" | "zlib.constants.ZSTD_c_chainLog" | "zlib.constants.ZSTD_c_searchLog" | "zlib.constants.ZSTD_c_minMatch" | "zlib.constants.ZSTD_c_targetLength" | "zlib.constants.ZSTD_c_strategy" | "zlib.constants.ZSTD_c_enableLongDistanceMatching" | "zlib.constants.ZSTD_c_ldmHashLog" | "zlib.constants.ZSTD_c_ldmMinMatch" | "zlib.constants.ZSTD_c_ldmBucketSizeLog" | "zlib.constants.ZSTD_c_ldmHashRateLog" | "zlib.constants.ZSTD_c_contentSizeFlag" | "zlib.constants.ZSTD_c_checksumFlag" | "zlib.constants.ZSTD_c_dictIDFlag" | "zlib.constants.ZSTD_c_nbWorkers" | "zlib.constants.ZSTD_c_jobSize" | "zlib.constants.ZSTD_c_overlapLog" | "zlib.constants.ZSTD_d_windowLogMax" | "zlib.constants.ZSTD_CLEVEL_DEFAULT" | "zlib.constants.ZSTD_error_no_error" | "zlib.constants.ZSTD_error_GENERIC" | "zlib.constants.ZSTD_error_prefix_unknown" | "zlib.constants.ZSTD_error_version_unsupported" | "zlib.constants.ZSTD_error_frameParameter_unsupported" | "zlib.constants.ZSTD_error_frameParameter_windowTooLarge" | "zlib.constants.ZSTD_error_corruption_detected" | "zlib.constants.ZSTD_error_checksum_wrong" | "zlib.constants.ZSTD_error_literals_headerWrong" | "zlib.constants.ZSTD_error_dictionary_corrupted" | "zlib.constants.ZSTD_error_dictionary_wrong" | "zlib.constants.ZSTD_error_dictionaryCreation_failed" | "zlib.constants.ZSTD_error_parameter_unsupported" | "zlib.constants.ZSTD_error_parameter_combination_unsupported" | "zlib.constants.ZSTD_error_parameter_outOfBound" | "zlib.constants.ZSTD_error_tableLog_tooLarge" | "zlib.constants.ZSTD_error_maxSymbolValue_tooLarge" | "zlib.constants.ZSTD_error_maxSymbolValue_tooSmall" | "zlib.constants.ZSTD_error_stabilityCondition_notRespected" | "zlib.constants.ZSTD_error_stage_wrong" | "zlib.constants.ZSTD_error_init_missing" | "zlib.constants.ZSTD_error_memory_allocation" | "zlib.constants.ZSTD_error_workSpace_tooSmall" | "zlib.constants.ZSTD_error_dstSize_tooSmall" | "zlib.constants.ZSTD_error_srcSize_wrong" | "zlib.constants.ZSTD_error_dstBuffer_null" | "zlib.constants.ZSTD_error_noForwardProgress_destFull" | "zlib.constants.ZSTD_error_noForwardProgress_inputEmpty" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.createZstdCompress" | "zlib.createZstdDecompress" | "zlib.deflate" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.deflateSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.inflateSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.zstdCompress" | "zlib.zstdCompressSync" | "zlib.zstdDecompress" | "zlib.zstdDecompressSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib.ZstdCompress" | "zlib.ZstdDecompress" | "zlib.ZstdOptions" | "zlib" | "import.meta.resolve" | "import.meta.dirname" | "import.meta.filename" | "import.meta.main")[];
|
|
13365
13354
|
}]; // ----- node/prefer-global/buffer -----
|
|
13366
13355
|
type NodePreferGlobalBuffer = [] | [("always" | "never")]; // ----- node/prefer-global/console -----
|
|
13367
|
-
type NodePreferGlobalConsole = [] | [("always" | "never")]; // ----- node/prefer-global/
|
|
13356
|
+
type NodePreferGlobalConsole = [] | [("always" | "never")]; // ----- node/prefer-global/crypto -----
|
|
13357
|
+
type NodePreferGlobalCrypto = [] | [("always" | "never")]; // ----- node/prefer-global/process -----
|
|
13368
13358
|
type NodePreferGlobalProcess = [] | [("always" | "never")]; // ----- node/prefer-global/text-decoder -----
|
|
13369
13359
|
type NodePreferGlobalTextDecoder = [] | [("always" | "never")]; // ----- node/prefer-global/text-encoder -----
|
|
13370
|
-
type NodePreferGlobalTextEncoder = [] | [("always" | "never")]; // ----- node/prefer-global/
|
|
13360
|
+
type NodePreferGlobalTextEncoder = [] | [("always" | "never")]; // ----- node/prefer-global/timers -----
|
|
13361
|
+
type NodePreferGlobalTimers = [] | [("always" | "never")]; // ----- node/prefer-global/url -----
|
|
13371
13362
|
type NodePreferGlobalUrl = [] | [("always" | "never")]; // ----- node/prefer-global/url-search-params -----
|
|
13372
13363
|
type NodePreferGlobalUrlSearchParams = [] | [("always" | "never")]; // ----- node/prefer-node-protocol -----
|
|
13373
13364
|
type NodePreferNodeProtocol = [] | [{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@2digits/eslint-config",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.10",
|
|
4
4
|
"description": "Effortlessly enforce best practices and catch errors with this comprehensive ESLint configuration for TypeScript, featuring popular plugins like @typescript-eslint, eslint-plugin-react, and eslint-plugin-unicorn.",
|
|
5
5
|
"homepage": "https://2d-configs.vercel.app/",
|
|
6
6
|
"repository": {
|
|
@@ -25,41 +25,41 @@
|
|
|
25
25
|
"public": true,
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@eslint-community/eslint-plugin-eslint-comments": "4.6.0",
|
|
28
|
-
"@eslint-react/eslint-plugin": "2.
|
|
28
|
+
"@eslint-react/eslint-plugin": "2.13.0",
|
|
29
29
|
"@eslint/compat": "2.0.2",
|
|
30
30
|
"@eslint/css": "0.14.1",
|
|
31
|
-
"@eslint/js": "
|
|
31
|
+
"@eslint/js": "10.0.1",
|
|
32
32
|
"@eslint/markdown": "7.5.1",
|
|
33
33
|
"@graphql-eslint/eslint-plugin": "4.4.0",
|
|
34
34
|
"@next/eslint-plugin-next": "16.1.6",
|
|
35
35
|
"@stylistic/eslint-plugin": "5.8.0",
|
|
36
36
|
"@tanstack/eslint-plugin-query": "5.91.4",
|
|
37
37
|
"@tanstack/eslint-plugin-router": "1.155.0",
|
|
38
|
-
"@typescript-eslint/parser": "8.
|
|
39
|
-
"@typescript-eslint/utils": "8.
|
|
38
|
+
"@typescript-eslint/parser": "8.56.0",
|
|
39
|
+
"@typescript-eslint/utils": "8.56.0",
|
|
40
40
|
"empathic": "2.0.0",
|
|
41
41
|
"eslint-config-flat-gitignore": "2.1.0",
|
|
42
42
|
"eslint-config-prettier": "10.1.8",
|
|
43
43
|
"eslint-flat-config-utils": "3.0.1",
|
|
44
44
|
"eslint-merge-processors": "2.0.0",
|
|
45
|
-
"eslint-plugin-antfu": "3.2.
|
|
45
|
+
"eslint-plugin-antfu": "3.2.2",
|
|
46
46
|
"eslint-plugin-de-morgan": "2.0.0",
|
|
47
47
|
"eslint-plugin-depend": "1.4.0",
|
|
48
48
|
"eslint-plugin-drizzle": "0.2.3",
|
|
49
49
|
"eslint-plugin-github-action": "0.1.0",
|
|
50
|
-
"eslint-plugin-jsdoc": "62.
|
|
50
|
+
"eslint-plugin-jsdoc": "62.6.0",
|
|
51
51
|
"eslint-plugin-jsonc": "2.21.1",
|
|
52
|
-
"eslint-plugin-n": "17.
|
|
52
|
+
"eslint-plugin-n": "17.24.0",
|
|
53
53
|
"eslint-plugin-pnpm": "1.5.0",
|
|
54
54
|
"eslint-plugin-react-compiler": "19.1.0-rc.2",
|
|
55
55
|
"eslint-plugin-regexp": "3.0.0",
|
|
56
|
-
"eslint-plugin-sonarjs": "3.0.
|
|
57
|
-
"eslint-plugin-storybook": "10.2.
|
|
56
|
+
"eslint-plugin-sonarjs": "3.0.7",
|
|
57
|
+
"eslint-plugin-storybook": "10.2.9",
|
|
58
58
|
"eslint-plugin-tailwindcss": "3.18.2",
|
|
59
|
-
"eslint-plugin-toml": "1.
|
|
60
|
-
"eslint-plugin-turbo": "2.8.
|
|
59
|
+
"eslint-plugin-toml": "1.1.1",
|
|
60
|
+
"eslint-plugin-turbo": "2.8.9",
|
|
61
61
|
"eslint-plugin-unicorn": "63.0.0",
|
|
62
|
-
"eslint-plugin-yml": "3.1
|
|
62
|
+
"eslint-plugin-yml": "3.2.1",
|
|
63
63
|
"eslint-plugin-zod": "3.1.0",
|
|
64
64
|
"globals": "17.3.0",
|
|
65
65
|
"graphql-config": "5.1.5",
|
|
@@ -67,18 +67,18 @@
|
|
|
67
67
|
"local-pkg": "1.1.2",
|
|
68
68
|
"pkg-types": "2.3.0",
|
|
69
69
|
"tailwind-csstree": "0.1.4",
|
|
70
|
-
"typescript-eslint": "8.
|
|
70
|
+
"typescript-eslint": "8.56.0",
|
|
71
71
|
"yaml-eslint-parser": "2.0.0",
|
|
72
|
-
"@2digits/
|
|
73
|
-
"@2digits/
|
|
72
|
+
"@2digits/eslint-plugin": "4.0.4",
|
|
73
|
+
"@2digits/constants": "1.1.16"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@arethetypeswrong/core": "0.18.2",
|
|
77
77
|
"@eslint/config-inspector": "1.4.2",
|
|
78
|
-
"@types/react": "19.2.
|
|
79
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
78
|
+
"@types/react": "19.2.14",
|
|
79
|
+
"@typescript/native-preview": "7.0.0-dev.20260218.1",
|
|
80
80
|
"dedent": "1.7.1",
|
|
81
|
-
"eslint": "
|
|
81
|
+
"eslint": "10.0.0",
|
|
82
82
|
"eslint-plugin-react-hooks": "7.0.1",
|
|
83
83
|
"eslint-typegen": "2.3.0",
|
|
84
84
|
"publint": "0.3.17",
|