@biomejs/wasm-bundler 2.1.4 → 2.2.0
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/biome_wasm.d.ts +1151 -920
- package/biome_wasm_bg.js +88 -0
- package/biome_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/biome_wasm.d.ts
CHANGED
|
@@ -521,7 +521,12 @@ interface HtmlFormatterConfiguration {
|
|
|
521
521
|
*/
|
|
522
522
|
whitespaceSensitivity?: WhitespaceSensitivity;
|
|
523
523
|
}
|
|
524
|
-
|
|
524
|
+
interface HtmlParserConfiguration {
|
|
525
|
+
/**
|
|
526
|
+
* Enables the parsing of double text expressions such as `{{ expression }}` inside `.html` files
|
|
527
|
+
*/
|
|
528
|
+
interpolation?: Bool;
|
|
529
|
+
}
|
|
525
530
|
interface JsAssistConfiguration {
|
|
526
531
|
/**
|
|
527
532
|
* Control the assist for JavaScript (and its super languages) files.
|
|
@@ -573,6 +578,10 @@ interface JsFormatterConfiguration {
|
|
|
573
578
|
* What's the max width of a line applied to JavaScript (and its super languages) files. Defaults to 80.
|
|
574
579
|
*/
|
|
575
580
|
lineWidth?: LineWidth;
|
|
581
|
+
/**
|
|
582
|
+
* When breaking binary expressions into multiple lines, whether to break them before or after the binary operator. Defaults to "after".
|
|
583
|
+
*/
|
|
584
|
+
operatorLinebreak?: OperatorLinebreak;
|
|
576
585
|
/**
|
|
577
586
|
* When properties in objects are quoted. Defaults to asNeeded.
|
|
578
587
|
*/
|
|
@@ -766,6 +775,7 @@ type IndentScriptAndStyle = boolean;
|
|
|
766
775
|
type SelfCloseVoidElements = "never" | "always";
|
|
767
776
|
type WhitespaceSensitivity = "css" | "strict" | "ignore";
|
|
768
777
|
type ArrowParentheses = "always" | "asNeeded";
|
|
778
|
+
type OperatorLinebreak = "after" | "before";
|
|
769
779
|
type QuoteProperties = "asNeeded" | "preserve";
|
|
770
780
|
type Semicolons = "always" | "asNeeded";
|
|
771
781
|
type TrailingCommas = "all" | "es5" | "none";
|
|
@@ -908,6 +918,10 @@ interface A11y {
|
|
|
908
918
|
* Enforce that a label element or component has a text label and an associated input.
|
|
909
919
|
*/
|
|
910
920
|
noLabelWithoutControl?: RuleConfiguration_for_NoLabelWithoutControlOptions;
|
|
921
|
+
/**
|
|
922
|
+
* Disallow use event handlers on non-interactive elements.
|
|
923
|
+
*/
|
|
924
|
+
noNoninteractiveElementInteractions?: RuleConfiguration_for_NoNoninteractiveElementInteractionsOptions;
|
|
911
925
|
/**
|
|
912
926
|
* Enforce that interactive ARIA roles are not assigned to non-interactive HTML elements.
|
|
913
927
|
*/
|
|
@@ -1050,6 +1064,10 @@ interface Complexity {
|
|
|
1050
1064
|
* Disallow functions that exceed a given Cognitive Complexity score.
|
|
1051
1065
|
*/
|
|
1052
1066
|
noExcessiveCognitiveComplexity?: RuleConfiguration_for_NoExcessiveCognitiveComplexityOptions;
|
|
1067
|
+
/**
|
|
1068
|
+
* Restrict the number of lines of code in a function.
|
|
1069
|
+
*/
|
|
1070
|
+
noExcessiveLinesPerFunction?: RuleConfiguration_for_NoExcessiveLinesPerFunctionOptions;
|
|
1053
1071
|
/**
|
|
1054
1072
|
* This rule enforces a maximum depth to nested describe() in test files.
|
|
1055
1073
|
*/
|
|
@@ -1066,6 +1084,14 @@ interface Complexity {
|
|
|
1066
1084
|
* Prefer for...of statement instead of Array.forEach.
|
|
1067
1085
|
*/
|
|
1068
1086
|
noForEach?: RuleConfiguration_for_NoForEachOptions;
|
|
1087
|
+
/**
|
|
1088
|
+
* Disallow shorthand type conversions.
|
|
1089
|
+
*/
|
|
1090
|
+
noImplicitCoercions?: RuleFixConfiguration_for_NoImplicitCoercionsOptions;
|
|
1091
|
+
/**
|
|
1092
|
+
* Disallow the use of the !important style.
|
|
1093
|
+
*/
|
|
1094
|
+
noImportantStyles?: RuleFixConfiguration_for_NoImportantStylesOptions;
|
|
1069
1095
|
/**
|
|
1070
1096
|
* This rule reports when a class has no non-static members, such as for a class used exclusively as a static namespace.
|
|
1071
1097
|
*/
|
|
@@ -1158,6 +1184,10 @@ interface Complexity {
|
|
|
1158
1184
|
* Promotes the use of .flatMap() when map().flat() are used together.
|
|
1159
1185
|
*/
|
|
1160
1186
|
useFlatMap?: RuleFixConfiguration_for_UseFlatMapOptions;
|
|
1187
|
+
/**
|
|
1188
|
+
* Prefer Array#{indexOf,lastIndexOf}() over Array#{findIndex,findLastIndex}() when looking for the index of an item.
|
|
1189
|
+
*/
|
|
1190
|
+
useIndexOf?: RuleFixConfiguration_for_UseIndexOfOptions;
|
|
1161
1191
|
/**
|
|
1162
1192
|
* Enforce the usage of a literal access to properties over computed property access.
|
|
1163
1193
|
*/
|
|
@@ -1216,6 +1246,10 @@ interface Correctness {
|
|
|
1216
1246
|
* Disallows empty destructuring patterns.
|
|
1217
1247
|
*/
|
|
1218
1248
|
noEmptyPattern?: RuleConfiguration_for_NoEmptyPatternOptions;
|
|
1249
|
+
/**
|
|
1250
|
+
* Disallow the use of __dirname and __filename in the global scope.
|
|
1251
|
+
*/
|
|
1252
|
+
noGlobalDirnameFilename?: RuleFixConfiguration_for_NoGlobalDirnameFilenameOptions;
|
|
1219
1253
|
/**
|
|
1220
1254
|
* Disallow calling global object properties as functions
|
|
1221
1255
|
*/
|
|
@@ -1252,6 +1286,10 @@ interface Correctness {
|
|
|
1252
1286
|
* Disallow missing var function for css variables.
|
|
1253
1287
|
*/
|
|
1254
1288
|
noMissingVarFunction?: RuleConfiguration_for_NoMissingVarFunctionOptions;
|
|
1289
|
+
/**
|
|
1290
|
+
* Disallows defining React components inside other components.
|
|
1291
|
+
*/
|
|
1292
|
+
noNestedComponentDefinitions?: RuleConfiguration_for_NoNestedComponentDefinitionsOptions;
|
|
1255
1293
|
/**
|
|
1256
1294
|
* Forbid the use of Node.js builtin modules.
|
|
1257
1295
|
*/
|
|
@@ -1268,10 +1306,22 @@ interface Correctness {
|
|
|
1268
1306
|
* Restrict imports of private exports.
|
|
1269
1307
|
*/
|
|
1270
1308
|
noPrivateImports?: RuleConfiguration_for_NoPrivateImportsOptions;
|
|
1309
|
+
/**
|
|
1310
|
+
* Disallow the use of process global.
|
|
1311
|
+
*/
|
|
1312
|
+
noProcessGlobal?: RuleFixConfiguration_for_NoProcessGlobalOptions;
|
|
1313
|
+
/**
|
|
1314
|
+
* Disallow assigning to React component props.
|
|
1315
|
+
*/
|
|
1316
|
+
noReactPropAssignments?: RuleConfiguration_for_NoReactPropAssignmentsOptions;
|
|
1271
1317
|
/**
|
|
1272
1318
|
* Prevent the usage of the return value of React.render.
|
|
1273
1319
|
*/
|
|
1274
1320
|
noRenderReturnValue?: RuleConfiguration_for_NoRenderReturnValueOptions;
|
|
1321
|
+
/**
|
|
1322
|
+
* Disallow the use of configured elements.
|
|
1323
|
+
*/
|
|
1324
|
+
noRestrictedElements?: RuleConfiguration_for_NoRestrictedElementsOptions;
|
|
1275
1325
|
/**
|
|
1276
1326
|
* Disallow assignments where both sides are exactly the same.
|
|
1277
1327
|
*/
|
|
@@ -1280,6 +1330,10 @@ interface Correctness {
|
|
|
1280
1330
|
* Disallow returning a value from a setter
|
|
1281
1331
|
*/
|
|
1282
1332
|
noSetterReturn?: RuleConfiguration_for_NoSetterReturnOptions;
|
|
1333
|
+
/**
|
|
1334
|
+
* Disallow destructuring props inside JSX components in Solid projects.
|
|
1335
|
+
*/
|
|
1336
|
+
noSolidDestructuredProps?: RuleConfiguration_for_NoSolidDestructuredPropsOptions;
|
|
1283
1337
|
/**
|
|
1284
1338
|
* Disallow comparison of expressions modifying the string case with non-compliant value.
|
|
1285
1339
|
*/
|
|
@@ -1380,6 +1434,10 @@ interface Correctness {
|
|
|
1380
1434
|
* Enforce all dependencies are correctly specified in a React hook.
|
|
1381
1435
|
*/
|
|
1382
1436
|
useExhaustiveDependencies?: RuleFixConfiguration_for_UseExhaustiveDependenciesOptions;
|
|
1437
|
+
/**
|
|
1438
|
+
* Enforce specifying the name of GraphQL operations.
|
|
1439
|
+
*/
|
|
1440
|
+
useGraphqlNamedOperations?: RuleFixConfiguration_for_UseGraphqlNamedOperationsOptions;
|
|
1383
1441
|
/**
|
|
1384
1442
|
* Enforce that all React hooks are being called from the Top Level component functions.
|
|
1385
1443
|
*/
|
|
@@ -1392,10 +1450,26 @@ interface Correctness {
|
|
|
1392
1450
|
* Require calls to isNaN() when checking for NaN.
|
|
1393
1451
|
*/
|
|
1394
1452
|
useIsNan?: RuleFixConfiguration_for_UseIsNanOptions;
|
|
1453
|
+
/**
|
|
1454
|
+
* Enforces the use of with { type: "json" } for JSON module imports.
|
|
1455
|
+
*/
|
|
1456
|
+
useJsonImportAttributes?: RuleFixConfiguration_for_UseJsonImportAttributesOptions;
|
|
1395
1457
|
/**
|
|
1396
1458
|
* Disallow missing key props in iterators/collection literals.
|
|
1397
1459
|
*/
|
|
1398
1460
|
useJsxKeyInIterable?: RuleConfiguration_for_UseJsxKeyInIterableOptions;
|
|
1461
|
+
/**
|
|
1462
|
+
* Enforce the consistent use of the radix argument when using parseInt().
|
|
1463
|
+
*/
|
|
1464
|
+
useParseIntRadix?: RuleFixConfiguration_for_UseParseIntRadixOptions;
|
|
1465
|
+
/**
|
|
1466
|
+
* Enforce JSDoc comment lines to start with a single asterisk, except for the first one.
|
|
1467
|
+
*/
|
|
1468
|
+
useSingleJsDocAsterisk?: RuleFixConfiguration_for_UseSingleJsDocAsteriskOptions;
|
|
1469
|
+
/**
|
|
1470
|
+
* Prevent the usage of static string literal id attribute on elements.
|
|
1471
|
+
*/
|
|
1472
|
+
useUniqueElementIds?: RuleConfiguration_for_UseUniqueElementIdsOptions;
|
|
1399
1473
|
/**
|
|
1400
1474
|
* Enforce "for" loop update clause moving the counter in the right direction.
|
|
1401
1475
|
*/
|
|
@@ -1410,86 +1484,30 @@ interface Correctness {
|
|
|
1410
1484
|
useYield?: RuleConfiguration_for_UseYieldOptions;
|
|
1411
1485
|
}
|
|
1412
1486
|
interface Nursery {
|
|
1413
|
-
/**
|
|
1414
|
-
* Disallow await inside loops.
|
|
1415
|
-
*/
|
|
1416
|
-
noAwaitInLoop?: RuleConfiguration_for_NoAwaitInLoopOptions;
|
|
1417
|
-
/**
|
|
1418
|
-
* Disallow bitwise operators.
|
|
1419
|
-
*/
|
|
1420
|
-
noBitwiseOperators?: RuleConfiguration_for_NoBitwiseOperatorsOptions;
|
|
1421
|
-
/**
|
|
1422
|
-
* Disallow expressions where the operation doesn't affect the value
|
|
1423
|
-
*/
|
|
1424
|
-
noConstantBinaryExpression?: RuleConfiguration_for_NoConstantBinaryExpressionOptions;
|
|
1425
|
-
/**
|
|
1426
|
-
* Disallow destructuring props inside JSX components in Solid projects.
|
|
1427
|
-
*/
|
|
1428
|
-
noDestructuredProps?: RuleConfiguration_for_NoDestructuredPropsOptions;
|
|
1429
|
-
/**
|
|
1430
|
-
* Restrict the number of lines of code in a function.
|
|
1431
|
-
*/
|
|
1432
|
-
noExcessiveLinesPerFunction?: RuleConfiguration_for_NoExcessiveLinesPerFunctionOptions;
|
|
1433
1487
|
/**
|
|
1434
1488
|
* Require Promise-like statements to be handled appropriately.
|
|
1435
1489
|
*/
|
|
1436
1490
|
noFloatingPromises?: RuleFixConfiguration_for_NoFloatingPromisesOptions;
|
|
1437
|
-
/**
|
|
1438
|
-
* Disallow the use of __dirname and __filename in the global scope.
|
|
1439
|
-
*/
|
|
1440
|
-
noGlobalDirnameFilename?: RuleFixConfiguration_for_NoGlobalDirnameFilenameOptions;
|
|
1441
|
-
/**
|
|
1442
|
-
* Disallow shorthand type conversions.
|
|
1443
|
-
*/
|
|
1444
|
-
noImplicitCoercion?: RuleFixConfiguration_for_NoImplicitCoercionOptions;
|
|
1445
1491
|
/**
|
|
1446
1492
|
* Prevent import cycles.
|
|
1447
1493
|
*/
|
|
1448
1494
|
noImportCycles?: RuleConfiguration_for_NoImportCyclesOptions;
|
|
1449
|
-
/**
|
|
1450
|
-
* Disallow the use of the !important style.
|
|
1451
|
-
*/
|
|
1452
|
-
noImportantStyles?: RuleFixConfiguration_for_NoImportantStylesOptions;
|
|
1453
|
-
/**
|
|
1454
|
-
* Reports usage of "magic numbers" — numbers used directly instead of being assigned to named constants.
|
|
1455
|
-
*/
|
|
1456
|
-
noMagicNumbers?: RuleConfiguration_for_NoMagicNumbersOptions;
|
|
1457
1495
|
/**
|
|
1458
1496
|
* Disallow Promises to be used in places where they are almost certainly a mistake.
|
|
1459
1497
|
*/
|
|
1460
1498
|
noMisusedPromises?: RuleFixConfiguration_for_NoMisusedPromisesOptions;
|
|
1461
1499
|
/**
|
|
1462
|
-
*
|
|
1500
|
+
* Prevent client components from being async functions.
|
|
1463
1501
|
*/
|
|
1464
|
-
|
|
1502
|
+
noNextAsyncClientComponent?: RuleConfiguration_for_NoNextAsyncClientComponentOptions;
|
|
1465
1503
|
/**
|
|
1466
1504
|
* Disallow non-null assertions after optional chaining expressions.
|
|
1467
1505
|
*/
|
|
1468
1506
|
noNonNullAssertedOptionalChain?: RuleConfiguration_for_NoNonNullAssertedOptionalChainOptions;
|
|
1469
|
-
/**
|
|
1470
|
-
* Disallow use event handlers on non-interactive elements.
|
|
1471
|
-
*/
|
|
1472
|
-
noNoninteractiveElementInteractions?: RuleConfiguration_for_NoNoninteractiveElementInteractionsOptions;
|
|
1473
|
-
/**
|
|
1474
|
-
* Disallow the use of process global.
|
|
1475
|
-
*/
|
|
1476
|
-
noProcessGlobal?: RuleFixConfiguration_for_NoProcessGlobalOptions;
|
|
1477
|
-
/**
|
|
1478
|
-
* Disallow the use if quickfix.biome inside editor settings file.
|
|
1479
|
-
*/
|
|
1480
|
-
noQuickfixBiome?: RuleFixConfiguration_for_NoQuickfixBiomeOptions;
|
|
1481
1507
|
/**
|
|
1482
1508
|
* Disallow useVisibleTask$() functions in Qwik components.
|
|
1483
1509
|
*/
|
|
1484
1510
|
noQwikUseVisibleTask?: RuleConfiguration_for_NoQwikUseVisibleTaskOptions;
|
|
1485
|
-
/**
|
|
1486
|
-
* Disallow assigning to React component props.
|
|
1487
|
-
*/
|
|
1488
|
-
noReactPropAssign?: RuleConfiguration_for_NoReactPropAssignOptions;
|
|
1489
|
-
/**
|
|
1490
|
-
* Disallow the use of configured elements.
|
|
1491
|
-
*/
|
|
1492
|
-
noRestrictedElements?: RuleConfiguration_for_NoRestrictedElementsOptions;
|
|
1493
1511
|
/**
|
|
1494
1512
|
* Disallow usage of sensitive data such as API keys and tokens.
|
|
1495
1513
|
*/
|
|
@@ -1498,18 +1516,6 @@ interface Nursery {
|
|
|
1498
1516
|
* Disallow variable declarations from shadowing variables declared in the outer scope.
|
|
1499
1517
|
*/
|
|
1500
1518
|
noShadow?: RuleConfiguration_for_NoShadowOptions;
|
|
1501
|
-
/**
|
|
1502
|
-
* Prevents the use of the TypeScript directive @ts-ignore.
|
|
1503
|
-
*/
|
|
1504
|
-
noTsIgnore?: RuleFixConfiguration_for_NoTsIgnoreOptions;
|
|
1505
|
-
/**
|
|
1506
|
-
* Disallow let or var variables that are read but never assigned.
|
|
1507
|
-
*/
|
|
1508
|
-
noUnassignedVariables?: RuleConfiguration_for_NoUnassignedVariablesOptions;
|
|
1509
|
-
/**
|
|
1510
|
-
* Disallow unknown at-rules.
|
|
1511
|
-
*/
|
|
1512
|
-
noUnknownAtRule?: RuleConfiguration_for_NoUnknownAtRuleOptions;
|
|
1513
1519
|
/**
|
|
1514
1520
|
* Disallow unnecessary type-based conditions that can be statically determined as redundant.
|
|
1515
1521
|
*/
|
|
@@ -1518,18 +1524,6 @@ interface Nursery {
|
|
|
1518
1524
|
* Warn when importing non-existing exports.
|
|
1519
1525
|
*/
|
|
1520
1526
|
noUnresolvedImports?: RuleConfiguration_for_NoUnresolvedImportsOptions;
|
|
1521
|
-
/**
|
|
1522
|
-
* Prevent duplicate polyfills from Polyfill.io.
|
|
1523
|
-
*/
|
|
1524
|
-
noUnwantedPolyfillio?: RuleConfiguration_for_NoUnwantedPolyfillioOptions;
|
|
1525
|
-
/**
|
|
1526
|
-
* Disallow useless backreferences in regular expression literals that always match an empty string.
|
|
1527
|
-
*/
|
|
1528
|
-
noUselessBackrefInRegex?: RuleConfiguration_for_NoUselessBackrefInRegexOptions;
|
|
1529
|
-
/**
|
|
1530
|
-
* Disallow unnecessary escapes in string literals.
|
|
1531
|
-
*/
|
|
1532
|
-
noUselessEscapeInString?: RuleFixConfiguration_for_NoUselessEscapeInStringOptions;
|
|
1533
1527
|
/**
|
|
1534
1528
|
* Disallow the use of useless undefined.
|
|
1535
1529
|
*/
|
|
@@ -1550,22 +1544,10 @@ interface Nursery {
|
|
|
1550
1544
|
* It enables the recommended rules for this group
|
|
1551
1545
|
*/
|
|
1552
1546
|
recommended?: boolean;
|
|
1553
|
-
/**
|
|
1554
|
-
* Enforce that getters and setters for the same property are adjacent in class and object definitions.
|
|
1555
|
-
*/
|
|
1556
|
-
useAdjacentGetterSetter?: RuleConfiguration_for_UseAdjacentGetterSetterOptions;
|
|
1557
1547
|
/**
|
|
1558
1548
|
* Enforces href attribute for \<a> elements.
|
|
1559
1549
|
*/
|
|
1560
1550
|
useAnchorHref?: RuleConfiguration_for_UseAnchorHrefOptions;
|
|
1561
|
-
/**
|
|
1562
|
-
* Require the consistent declaration of object literals. Defaults to explicit definitions.
|
|
1563
|
-
*/
|
|
1564
|
-
useConsistentObjectDefinition?: RuleFixConfiguration_for_UseConsistentObjectDefinitionOptions;
|
|
1565
|
-
/**
|
|
1566
|
-
* Use static Response methods instead of new Response() constructor when possible.
|
|
1567
|
-
*/
|
|
1568
|
-
useConsistentResponse?: RuleFixConfiguration_for_UseConsistentResponseOptions;
|
|
1569
1551
|
/**
|
|
1570
1552
|
* Enforce type definitions to consistently use either interface or type.
|
|
1571
1553
|
*/
|
|
@@ -1578,54 +1560,14 @@ interface Nursery {
|
|
|
1578
1560
|
* Enforce types in functions, methods, variables, and parameters.
|
|
1579
1561
|
*/
|
|
1580
1562
|
useExplicitType?: RuleConfiguration_for_UseExplicitTypeOptions;
|
|
1581
|
-
/**
|
|
1582
|
-
* Require that all exports are declared after all non-export statements.
|
|
1583
|
-
*/
|
|
1584
|
-
useExportsLast?: RuleConfiguration_for_UseExportsLastOptions;
|
|
1585
|
-
/**
|
|
1586
|
-
* Enforce using Solid's \<For /> component for mapping an array to JSX elements.
|
|
1587
|
-
*/
|
|
1588
|
-
useForComponent?: RuleConfiguration_for_UseForComponentOptions;
|
|
1589
|
-
/**
|
|
1590
|
-
* Ensure the preconnect attribute is used when using Google Fonts.
|
|
1591
|
-
*/
|
|
1592
|
-
useGoogleFontPreconnect?: RuleFixConfiguration_for_UseGoogleFontPreconnectOptions;
|
|
1593
1563
|
/**
|
|
1594
1564
|
* Enforces that \<img> elements have both width and height attributes.
|
|
1595
1565
|
*/
|
|
1596
1566
|
useImageSize?: RuleConfiguration_for_UseImageSizeOptions;
|
|
1597
1567
|
/**
|
|
1598
|
-
*
|
|
1599
|
-
*/
|
|
1600
|
-
useIndexOf?: RuleFixConfiguration_for_UseIndexOfOptions;
|
|
1601
|
-
/**
|
|
1602
|
-
* Enforce consistent return values in iterable callbacks.
|
|
1603
|
-
*/
|
|
1604
|
-
useIterableCallbackReturn?: RuleConfiguration_for_UseIterableCallbackReturnOptions;
|
|
1605
|
-
/**
|
|
1606
|
-
* Enforces the use of with { type: "json" } for JSON module imports.
|
|
1607
|
-
*/
|
|
1608
|
-
useJsonImportAttribute?: RuleFixConfiguration_for_UseJsonImportAttributeOptions;
|
|
1609
|
-
/**
|
|
1610
|
-
* Enforce specifying the name of GraphQL operations.
|
|
1611
|
-
*/
|
|
1612
|
-
useNamedOperation?: RuleFixConfiguration_for_UseNamedOperationOptions;
|
|
1613
|
-
/**
|
|
1614
|
-
* Validates that all enum values are capitalized.
|
|
1615
|
-
*/
|
|
1616
|
-
useNamingConvention?: RuleConfiguration_for_UseNamingConventionOptions;
|
|
1617
|
-
/**
|
|
1618
|
-
* Enforce the use of numeric separators in numeric literals.
|
|
1619
|
-
*/
|
|
1620
|
-
useNumericSeparators?: RuleFixConfiguration_for_UseNumericSeparatorsOptions;
|
|
1621
|
-
/**
|
|
1622
|
-
* Prefer object spread over Object.assign() when constructing new objects.
|
|
1623
|
-
*/
|
|
1624
|
-
useObjectSpread?: RuleFixConfiguration_for_UseObjectSpreadOptions;
|
|
1625
|
-
/**
|
|
1626
|
-
* Enforce the consistent use of the radix argument when using parseInt().
|
|
1568
|
+
* Enforce a maximum number of parameters in function definitions.
|
|
1627
1569
|
*/
|
|
1628
|
-
|
|
1570
|
+
useMaxParams?: RuleConfiguration_for_UseMaxParamsOptions;
|
|
1629
1571
|
/**
|
|
1630
1572
|
* Prefer using the class prop as a classlist over the classnames helper.
|
|
1631
1573
|
*/
|
|
@@ -1634,36 +1576,20 @@ interface Nursery {
|
|
|
1634
1576
|
* Enforce that components are defined as functions and never as classes.
|
|
1635
1577
|
*/
|
|
1636
1578
|
useReactFunctionComponents?: RuleConfiguration_for_UseReactFunctionComponentsOptions;
|
|
1637
|
-
/**
|
|
1638
|
-
* Enforce marking members as readonly if they are never modified outside the constructor.
|
|
1639
|
-
*/
|
|
1640
|
-
useReadonlyClassProperties?: RuleFixConfiguration_for_UseReadonlyClassPropertiesOptions;
|
|
1641
|
-
/**
|
|
1642
|
-
* Enforce JSDoc comment lines to start with a single asterisk, except for the first one.
|
|
1643
|
-
*/
|
|
1644
|
-
useSingleJsDocAsterisk?: RuleFixConfiguration_for_UseSingleJsDocAsteriskOptions;
|
|
1645
1579
|
/**
|
|
1646
1580
|
* Enforce the sorting of CSS utility classes.
|
|
1647
1581
|
*/
|
|
1648
1582
|
useSortedClasses?: RuleFixConfiguration_for_UseSortedClassesOptions;
|
|
1649
|
-
/**
|
|
1650
|
-
* Require a description parameter for the Symbol().
|
|
1651
|
-
*/
|
|
1652
|
-
useSymbolDescription?: RuleConfiguration_for_UseSymbolDescriptionOptions;
|
|
1653
|
-
/**
|
|
1654
|
-
* Disallow overload signatures that can be unified into a single signature.
|
|
1655
|
-
*/
|
|
1656
|
-
useUnifiedTypeSignature?: RuleFixConfiguration_for_UseUnifiedTypeSignatureOptions;
|
|
1657
|
-
/**
|
|
1658
|
-
* Prevent the usage of static string literal id attribute on elements.
|
|
1659
|
-
*/
|
|
1660
|
-
useUniqueElementIds?: RuleConfiguration_for_UseUniqueElementIdsOptions;
|
|
1661
1583
|
}
|
|
1662
1584
|
interface Performance {
|
|
1663
1585
|
/**
|
|
1664
1586
|
* Disallow the use of spread (...) syntax on accumulators.
|
|
1665
1587
|
*/
|
|
1666
1588
|
noAccumulatingSpread?: RuleConfiguration_for_NoAccumulatingSpreadOptions;
|
|
1589
|
+
/**
|
|
1590
|
+
* Disallow await inside loops.
|
|
1591
|
+
*/
|
|
1592
|
+
noAwaitInLoops?: RuleConfiguration_for_NoAwaitInLoopsOptions;
|
|
1667
1593
|
/**
|
|
1668
1594
|
* Disallow the use of barrel file.
|
|
1669
1595
|
*/
|
|
@@ -1688,10 +1614,22 @@ interface Performance {
|
|
|
1688
1614
|
* Avoid re-export all.
|
|
1689
1615
|
*/
|
|
1690
1616
|
noReExportAll?: RuleConfiguration_for_NoReExportAllOptions;
|
|
1617
|
+
/**
|
|
1618
|
+
* Prevent duplicate polyfills from Polyfill.io.
|
|
1619
|
+
*/
|
|
1620
|
+
noUnwantedPolyfillio?: RuleConfiguration_for_NoUnwantedPolyfillioOptions;
|
|
1691
1621
|
/**
|
|
1692
1622
|
* It enables the recommended rules for this group
|
|
1693
1623
|
*/
|
|
1694
1624
|
recommended?: boolean;
|
|
1625
|
+
/**
|
|
1626
|
+
* Ensure the preconnect attribute is used when using Google Fonts.
|
|
1627
|
+
*/
|
|
1628
|
+
useGoogleFontPreconnect?: RuleFixConfiguration_for_UseGoogleFontPreconnectOptions;
|
|
1629
|
+
/**
|
|
1630
|
+
* Enforce using Solid's \<For /> component for mapping an array to JSX elements.
|
|
1631
|
+
*/
|
|
1632
|
+
useSolidForComponent?: RuleConfiguration_for_UseSolidForComponentOptions;
|
|
1695
1633
|
/**
|
|
1696
1634
|
* Require regex literals to be declared at the top level.
|
|
1697
1635
|
*/
|
|
@@ -1756,6 +1694,10 @@ interface Style {
|
|
|
1756
1694
|
* Disallow type annotations for variables, parameters, and class properties initialized with a literal expression.
|
|
1757
1695
|
*/
|
|
1758
1696
|
noInferrableTypes?: RuleFixConfiguration_for_NoInferrableTypesOptions;
|
|
1697
|
+
/**
|
|
1698
|
+
* Reports usage of "magic numbers" — numbers used directly instead of being assigned to named constants.
|
|
1699
|
+
*/
|
|
1700
|
+
noMagicNumbers?: RuleConfiguration_for_NoMagicNumbersOptions;
|
|
1759
1701
|
/**
|
|
1760
1702
|
* Disallow the use of TypeScript's namespaces.
|
|
1761
1703
|
*/
|
|
@@ -1868,6 +1810,10 @@ interface Style {
|
|
|
1868
1810
|
* Require consistent accessibility modifiers on class properties and methods.
|
|
1869
1811
|
*/
|
|
1870
1812
|
useConsistentMemberAccessibility?: RuleConfiguration_for_UseConsistentMemberAccessibilityOptions;
|
|
1813
|
+
/**
|
|
1814
|
+
* Require the consistent declaration of object literals. Defaults to explicit definitions.
|
|
1815
|
+
*/
|
|
1816
|
+
useConsistentObjectDefinitions?: RuleFixConfiguration_for_UseConsistentObjectDefinitionsOptions;
|
|
1871
1817
|
/**
|
|
1872
1818
|
* Require const declarations for variables that are only assigned once.
|
|
1873
1819
|
*/
|
|
@@ -1900,18 +1846,30 @@ interface Style {
|
|
|
1900
1846
|
* Promotes the use of export type for types.
|
|
1901
1847
|
*/
|
|
1902
1848
|
useExportType?: RuleFixConfiguration_for_UseExportTypeOptions;
|
|
1849
|
+
/**
|
|
1850
|
+
* Require that all exports are declared after all non-export statements.
|
|
1851
|
+
*/
|
|
1852
|
+
useExportsLast?: RuleConfiguration_for_UseExportsLastOptions;
|
|
1903
1853
|
/**
|
|
1904
1854
|
* Enforce naming conventions for JavaScript and TypeScript filenames.
|
|
1905
1855
|
*/
|
|
1906
1856
|
useFilenamingConvention?: RuleConfiguration_for_UseFilenamingConventionOptions;
|
|
1907
1857
|
/**
|
|
1908
|
-
*
|
|
1858
|
+
* Prefer using for...of loops over standard for loops where possible.
|
|
1909
1859
|
*/
|
|
1910
1860
|
useForOf?: RuleConfiguration_for_UseForOfOptions;
|
|
1911
1861
|
/**
|
|
1912
1862
|
* This rule enforces the use of \<>...\</> over \<Fragment>...\</Fragment>.
|
|
1913
1863
|
*/
|
|
1914
1864
|
useFragmentSyntax?: RuleFixConfiguration_for_UseFragmentSyntaxOptions;
|
|
1865
|
+
/**
|
|
1866
|
+
* Validates that all enum values are capitalized.
|
|
1867
|
+
*/
|
|
1868
|
+
useGraphqlNamingConvention?: RuleConfiguration_for_UseGraphqlNamingConventionOptions;
|
|
1869
|
+
/**
|
|
1870
|
+
* Enforce that getters and setters for the same property are adjacent in class and object definitions.
|
|
1871
|
+
*/
|
|
1872
|
+
useGroupedAccessorPairs?: RuleConfiguration_for_UseGroupedAccessorPairsOptions;
|
|
1915
1873
|
/**
|
|
1916
1874
|
* Promotes the use of import type for types.
|
|
1917
1875
|
*/
|
|
@@ -1936,6 +1894,18 @@ interface Style {
|
|
|
1936
1894
|
* Use the Number properties instead of global ones.
|
|
1937
1895
|
*/
|
|
1938
1896
|
useNumberNamespace?: RuleFixConfiguration_for_UseNumberNamespaceOptions;
|
|
1897
|
+
/**
|
|
1898
|
+
* Enforce the use of numeric separators in numeric literals.
|
|
1899
|
+
*/
|
|
1900
|
+
useNumericSeparators?: RuleFixConfiguration_for_UseNumericSeparatorsOptions;
|
|
1901
|
+
/**
|
|
1902
|
+
* Prefer object spread over Object.assign() when constructing new objects.
|
|
1903
|
+
*/
|
|
1904
|
+
useObjectSpread?: RuleFixConfiguration_for_UseObjectSpreadOptions;
|
|
1905
|
+
/**
|
|
1906
|
+
* Enforce marking members as readonly if they are never modified outside the constructor.
|
|
1907
|
+
*/
|
|
1908
|
+
useReadonlyClassProperties?: RuleFixConfiguration_for_UseReadonlyClassPropertiesOptions;
|
|
1939
1909
|
/**
|
|
1940
1910
|
* Prevent extra closing tags for components without children.
|
|
1941
1911
|
*/
|
|
@@ -1952,6 +1922,10 @@ interface Style {
|
|
|
1952
1922
|
* Disallow multiple variable declarations in the same variable statement
|
|
1953
1923
|
*/
|
|
1954
1924
|
useSingleVarDeclarator?: RuleFixConfiguration_for_UseSingleVarDeclaratorOptions;
|
|
1925
|
+
/**
|
|
1926
|
+
* Require a description parameter for the Symbol().
|
|
1927
|
+
*/
|
|
1928
|
+
useSymbolDescription?: RuleConfiguration_for_UseSymbolDescriptionOptions;
|
|
1955
1929
|
/**
|
|
1956
1930
|
* Prefer template literals over string concatenation.
|
|
1957
1931
|
*/
|
|
@@ -1968,6 +1942,10 @@ interface Style {
|
|
|
1968
1942
|
* Enforce the use of String.trimStart() and String.trimEnd() over String.trimLeft() and String.trimRight().
|
|
1969
1943
|
*/
|
|
1970
1944
|
useTrimStartEnd?: RuleFixConfiguration_for_UseTrimStartEndOptions;
|
|
1945
|
+
/**
|
|
1946
|
+
* Disallow overload signatures that can be unified into a single signature.
|
|
1947
|
+
*/
|
|
1948
|
+
useUnifiedTypeSignatures?: RuleFixConfiguration_for_UseUnifiedTypeSignaturesOptions;
|
|
1971
1949
|
}
|
|
1972
1950
|
interface Suspicious {
|
|
1973
1951
|
/**
|
|
@@ -1991,7 +1969,15 @@ interface Suspicious {
|
|
|
1991
1969
|
*/
|
|
1992
1970
|
noAsyncPromiseExecutor?: RuleConfiguration_for_NoAsyncPromiseExecutorOptions;
|
|
1993
1971
|
/**
|
|
1994
|
-
*
|
|
1972
|
+
* Prevents the use of the ! pattern in the first position of files.includes in the configuration file.
|
|
1973
|
+
*/
|
|
1974
|
+
noBiomeFirstException?: RuleFixConfiguration_for_NoBiomeFirstExceptionOptions;
|
|
1975
|
+
/**
|
|
1976
|
+
* Disallow bitwise operators.
|
|
1977
|
+
*/
|
|
1978
|
+
noBitwiseOperators?: RuleConfiguration_for_NoBitwiseOperatorsOptions;
|
|
1979
|
+
/**
|
|
1980
|
+
* Disallow reassigning exceptions in catch clauses.
|
|
1995
1981
|
*/
|
|
1996
1982
|
noCatchAssign?: RuleConfiguration_for_NoCatchAssignOptions;
|
|
1997
1983
|
/**
|
|
@@ -2022,6 +2008,10 @@ interface Suspicious {
|
|
|
2022
2008
|
* Disallow TypeScript const enum
|
|
2023
2009
|
*/
|
|
2024
2010
|
noConstEnum?: RuleFixConfiguration_for_NoConstEnumOptions;
|
|
2011
|
+
/**
|
|
2012
|
+
* Disallow expressions where the operation doesn't affect the value
|
|
2013
|
+
*/
|
|
2014
|
+
noConstantBinaryExpressions?: RuleConfiguration_for_NoConstantBinaryExpressionsOptions;
|
|
2025
2015
|
/**
|
|
2026
2016
|
* Prevents from having control characters and some escape sequences that match control characters in regular expression literals.
|
|
2027
2017
|
*/
|
|
@@ -2194,6 +2184,10 @@ interface Suspicious {
|
|
|
2194
2184
|
* Disallow direct use of Object.prototype builtins.
|
|
2195
2185
|
*/
|
|
2196
2186
|
noPrototypeBuiltins?: RuleFixConfiguration_for_NoPrototypeBuiltinsOptions;
|
|
2187
|
+
/**
|
|
2188
|
+
* Disallow the use if quickfix.biome inside editor settings file.
|
|
2189
|
+
*/
|
|
2190
|
+
noQuickfixBiome?: RuleFixConfiguration_for_NoQuickfixBiomeOptions;
|
|
2197
2191
|
/**
|
|
2198
2192
|
* Prevents React-specific JSX properties from being used.
|
|
2199
2193
|
*/
|
|
@@ -2238,6 +2232,18 @@ interface Suspicious {
|
|
|
2238
2232
|
* Disallow then property.
|
|
2239
2233
|
*/
|
|
2240
2234
|
noThenProperty?: RuleConfiguration_for_NoThenPropertyOptions;
|
|
2235
|
+
/**
|
|
2236
|
+
* Prevents the use of the TypeScript directive @ts-ignore.
|
|
2237
|
+
*/
|
|
2238
|
+
noTsIgnore?: RuleFixConfiguration_for_NoTsIgnoreOptions;
|
|
2239
|
+
/**
|
|
2240
|
+
* Disallow let or var variables that are read but never assigned.
|
|
2241
|
+
*/
|
|
2242
|
+
noUnassignedVariables?: RuleConfiguration_for_NoUnassignedVariablesOptions;
|
|
2243
|
+
/**
|
|
2244
|
+
* Disallow unknown at-rules.
|
|
2245
|
+
*/
|
|
2246
|
+
noUnknownAtRules?: RuleConfiguration_for_NoUnknownAtRulesOptions;
|
|
2241
2247
|
/**
|
|
2242
2248
|
* Disallow unsafe declaration merging between interfaces and classes.
|
|
2243
2249
|
*/
|
|
@@ -2246,6 +2252,14 @@ interface Suspicious {
|
|
|
2246
2252
|
* Disallow using unsafe negation.
|
|
2247
2253
|
*/
|
|
2248
2254
|
noUnsafeNegation?: RuleFixConfiguration_for_NoUnsafeNegationOptions;
|
|
2255
|
+
/**
|
|
2256
|
+
* Disallow unnecessary escapes in string literals.
|
|
2257
|
+
*/
|
|
2258
|
+
noUselessEscapeInString?: RuleFixConfiguration_for_NoUselessEscapeInStringOptions;
|
|
2259
|
+
/**
|
|
2260
|
+
* Disallow useless backreferences in regular expression literals that always match an empty string.
|
|
2261
|
+
*/
|
|
2262
|
+
noUselessRegexBackrefs?: RuleConfiguration_for_NoUselessRegexBackrefsOptions;
|
|
2249
2263
|
/**
|
|
2250
2264
|
* Disallow the use of var
|
|
2251
2265
|
*/
|
|
@@ -2266,6 +2280,10 @@ interface Suspicious {
|
|
|
2266
2280
|
* Ensure async functions utilize await.
|
|
2267
2281
|
*/
|
|
2268
2282
|
useAwait?: RuleConfiguration_for_UseAwaitOptions;
|
|
2283
|
+
/**
|
|
2284
|
+
* Promotes the correct usage for ignoring folders in the configuration file.
|
|
2285
|
+
*/
|
|
2286
|
+
useBiomeIgnoreFolder?: RuleFixConfiguration_for_UseBiomeIgnoreFolderOptions;
|
|
2269
2287
|
/**
|
|
2270
2288
|
* Enforce default clauses in switch statements to be last
|
|
2271
2289
|
*/
|
|
@@ -2290,6 +2308,10 @@ interface Suspicious {
|
|
|
2290
2308
|
* Use Array.isArray() instead of instanceof Array.
|
|
2291
2309
|
*/
|
|
2292
2310
|
useIsArray?: RuleFixConfiguration_for_UseIsArrayOptions;
|
|
2311
|
+
/**
|
|
2312
|
+
* Enforce consistent return values in iterable callbacks.
|
|
2313
|
+
*/
|
|
2314
|
+
useIterableCallbackReturn?: RuleConfiguration_for_UseIterableCallbackReturnOptions;
|
|
2293
2315
|
/**
|
|
2294
2316
|
* Require using the namespace keyword over the module keyword to declare TypeScript namespaces.
|
|
2295
2317
|
*/
|
|
@@ -2298,6 +2320,10 @@ interface Suspicious {
|
|
|
2298
2320
|
* Enforce using the digits argument with Number#toFixed().
|
|
2299
2321
|
*/
|
|
2300
2322
|
useNumberToFixedDigitsArgument?: RuleFixConfiguration_for_UseNumberToFixedDigitsArgumentOptions;
|
|
2323
|
+
/**
|
|
2324
|
+
* Use static Response methods instead of new Response() constructor when possible.
|
|
2325
|
+
*/
|
|
2326
|
+
useStaticResponseMethods?: RuleFixConfiguration_for_UseStaticResponseMethodsOptions;
|
|
2301
2327
|
/**
|
|
2302
2328
|
* Enforce the use of the directive "use strict" in script files.
|
|
2303
2329
|
*/
|
|
@@ -2368,6 +2394,9 @@ type RuleFixConfiguration_for_NoInteractiveElementToNoninteractiveRoleOptions =
|
|
|
2368
2394
|
type RuleConfiguration_for_NoLabelWithoutControlOptions =
|
|
2369
2395
|
| RulePlainConfiguration
|
|
2370
2396
|
| RuleWithOptions_for_NoLabelWithoutControlOptions;
|
|
2397
|
+
type RuleConfiguration_for_NoNoninteractiveElementInteractionsOptions =
|
|
2398
|
+
| RulePlainConfiguration
|
|
2399
|
+
| RuleWithOptions_for_NoNoninteractiveElementInteractionsOptions;
|
|
2371
2400
|
type RuleFixConfiguration_for_NoNoninteractiveElementToInteractiveRoleOptions =
|
|
2372
2401
|
| RulePlainConfiguration
|
|
2373
2402
|
| RuleWithFixOptions_for_NoNoninteractiveElementToInteractiveRoleOptions;
|
|
@@ -2470,6 +2499,9 @@ type RuleConfiguration_for_NoEmptyTypeParametersOptions =
|
|
|
2470
2499
|
type RuleConfiguration_for_NoExcessiveCognitiveComplexityOptions =
|
|
2471
2500
|
| RulePlainConfiguration
|
|
2472
2501
|
| RuleWithOptions_for_NoExcessiveCognitiveComplexityOptions;
|
|
2502
|
+
type RuleConfiguration_for_NoExcessiveLinesPerFunctionOptions =
|
|
2503
|
+
| RulePlainConfiguration
|
|
2504
|
+
| RuleWithOptions_for_NoExcessiveLinesPerFunctionOptions;
|
|
2473
2505
|
type RuleConfiguration_for_NoExcessiveNestedTestSuitesOptions =
|
|
2474
2506
|
| RulePlainConfiguration
|
|
2475
2507
|
| RuleWithOptions_for_NoExcessiveNestedTestSuitesOptions;
|
|
@@ -2482,6 +2514,12 @@ type RuleFixConfiguration_for_NoFlatMapIdentityOptions =
|
|
|
2482
2514
|
type RuleConfiguration_for_NoForEachOptions =
|
|
2483
2515
|
| RulePlainConfiguration
|
|
2484
2516
|
| RuleWithOptions_for_NoForEachOptions;
|
|
2517
|
+
type RuleFixConfiguration_for_NoImplicitCoercionsOptions =
|
|
2518
|
+
| RulePlainConfiguration
|
|
2519
|
+
| RuleWithFixOptions_for_NoImplicitCoercionsOptions;
|
|
2520
|
+
type RuleFixConfiguration_for_NoImportantStylesOptions =
|
|
2521
|
+
| RulePlainConfiguration
|
|
2522
|
+
| RuleWithFixOptions_for_NoImportantStylesOptions;
|
|
2485
2523
|
type RuleConfiguration_for_NoStaticOnlyClassOptions =
|
|
2486
2524
|
| RulePlainConfiguration
|
|
2487
2525
|
| RuleWithOptions_for_NoStaticOnlyClassOptions;
|
|
@@ -2548,6 +2586,9 @@ type RuleFixConfiguration_for_UseDateNowOptions =
|
|
|
2548
2586
|
type RuleFixConfiguration_for_UseFlatMapOptions =
|
|
2549
2587
|
| RulePlainConfiguration
|
|
2550
2588
|
| RuleWithFixOptions_for_UseFlatMapOptions;
|
|
2589
|
+
type RuleFixConfiguration_for_UseIndexOfOptions =
|
|
2590
|
+
| RulePlainConfiguration
|
|
2591
|
+
| RuleWithFixOptions_for_UseIndexOfOptions;
|
|
2551
2592
|
type RuleFixConfiguration_for_UseLiteralKeysOptions =
|
|
2552
2593
|
| RulePlainConfiguration
|
|
2553
2594
|
| RuleWithFixOptions_for_UseLiteralKeysOptions;
|
|
@@ -2590,6 +2631,9 @@ type RuleConfiguration_for_NoEmptyCharacterClassInRegexOptions =
|
|
|
2590
2631
|
type RuleConfiguration_for_NoEmptyPatternOptions =
|
|
2591
2632
|
| RulePlainConfiguration
|
|
2592
2633
|
| RuleWithOptions_for_NoEmptyPatternOptions;
|
|
2634
|
+
type RuleFixConfiguration_for_NoGlobalDirnameFilenameOptions =
|
|
2635
|
+
| RulePlainConfiguration
|
|
2636
|
+
| RuleWithFixOptions_for_NoGlobalDirnameFilenameOptions;
|
|
2593
2637
|
type RuleConfiguration_for_NoGlobalObjectCallsOptions =
|
|
2594
2638
|
| RulePlainConfiguration
|
|
2595
2639
|
| RuleWithOptions_for_NoGlobalObjectCallsOptions;
|
|
@@ -2617,6 +2661,9 @@ type RuleConfiguration_for_NoInvalidUseBeforeDeclarationOptions =
|
|
|
2617
2661
|
type RuleConfiguration_for_NoMissingVarFunctionOptions =
|
|
2618
2662
|
| RulePlainConfiguration
|
|
2619
2663
|
| RuleWithOptions_for_NoMissingVarFunctionOptions;
|
|
2664
|
+
type RuleConfiguration_for_NoNestedComponentDefinitionsOptions =
|
|
2665
|
+
| RulePlainConfiguration
|
|
2666
|
+
| RuleWithOptions_for_NoNestedComponentDefinitionsOptions;
|
|
2620
2667
|
type RuleConfiguration_for_NoNodejsModulesOptions =
|
|
2621
2668
|
| RulePlainConfiguration
|
|
2622
2669
|
| RuleWithOptions_for_NoNodejsModulesOptions;
|
|
@@ -2629,15 +2676,27 @@ type RuleConfiguration_for_NoPrecisionLossOptions =
|
|
|
2629
2676
|
type RuleConfiguration_for_NoPrivateImportsOptions =
|
|
2630
2677
|
| RulePlainConfiguration
|
|
2631
2678
|
| RuleWithOptions_for_NoPrivateImportsOptions;
|
|
2679
|
+
type RuleFixConfiguration_for_NoProcessGlobalOptions =
|
|
2680
|
+
| RulePlainConfiguration
|
|
2681
|
+
| RuleWithFixOptions_for_NoProcessGlobalOptions;
|
|
2682
|
+
type RuleConfiguration_for_NoReactPropAssignmentsOptions =
|
|
2683
|
+
| RulePlainConfiguration
|
|
2684
|
+
| RuleWithOptions_for_NoReactPropAssignmentsOptions;
|
|
2632
2685
|
type RuleConfiguration_for_NoRenderReturnValueOptions =
|
|
2633
2686
|
| RulePlainConfiguration
|
|
2634
2687
|
| RuleWithOptions_for_NoRenderReturnValueOptions;
|
|
2688
|
+
type RuleConfiguration_for_NoRestrictedElementsOptions =
|
|
2689
|
+
| RulePlainConfiguration
|
|
2690
|
+
| RuleWithOptions_for_NoRestrictedElementsOptions;
|
|
2635
2691
|
type RuleConfiguration_for_NoSelfAssignOptions =
|
|
2636
2692
|
| RulePlainConfiguration
|
|
2637
2693
|
| RuleWithOptions_for_NoSelfAssignOptions;
|
|
2638
2694
|
type RuleConfiguration_for_NoSetterReturnOptions =
|
|
2639
2695
|
| RulePlainConfiguration
|
|
2640
2696
|
| RuleWithOptions_for_NoSetterReturnOptions;
|
|
2697
|
+
type RuleConfiguration_for_NoSolidDestructuredPropsOptions =
|
|
2698
|
+
| RulePlainConfiguration
|
|
2699
|
+
| RuleWithOptions_for_NoSolidDestructuredPropsOptions;
|
|
2641
2700
|
type RuleFixConfiguration_for_NoStringCaseMismatchOptions =
|
|
2642
2701
|
| RulePlainConfiguration
|
|
2643
2702
|
| RuleWithFixOptions_for_NoStringCaseMismatchOptions;
|
|
@@ -2710,6 +2769,9 @@ type RuleConfiguration_for_NoVoidTypeReturnOptions =
|
|
|
2710
2769
|
type RuleFixConfiguration_for_UseExhaustiveDependenciesOptions =
|
|
2711
2770
|
| RulePlainConfiguration
|
|
2712
2771
|
| RuleWithFixOptions_for_UseExhaustiveDependenciesOptions;
|
|
2772
|
+
type RuleFixConfiguration_for_UseGraphqlNamedOperationsOptions =
|
|
2773
|
+
| RulePlainConfiguration
|
|
2774
|
+
| RuleWithFixOptions_for_UseGraphqlNamedOperationsOptions;
|
|
2713
2775
|
type RuleConfiguration_for_UseHookAtTopLevelOptions =
|
|
2714
2776
|
| RulePlainConfiguration
|
|
2715
2777
|
| RuleWithOptions_for_UseHookAtTopLevelOptions;
|
|
@@ -2719,9 +2781,21 @@ type RuleFixConfiguration_for_UseImportExtensionsOptions =
|
|
|
2719
2781
|
type RuleFixConfiguration_for_UseIsNanOptions =
|
|
2720
2782
|
| RulePlainConfiguration
|
|
2721
2783
|
| RuleWithFixOptions_for_UseIsNanOptions;
|
|
2784
|
+
type RuleFixConfiguration_for_UseJsonImportAttributesOptions =
|
|
2785
|
+
| RulePlainConfiguration
|
|
2786
|
+
| RuleWithFixOptions_for_UseJsonImportAttributesOptions;
|
|
2722
2787
|
type RuleConfiguration_for_UseJsxKeyInIterableOptions =
|
|
2723
2788
|
| RulePlainConfiguration
|
|
2724
2789
|
| RuleWithOptions_for_UseJsxKeyInIterableOptions;
|
|
2790
|
+
type RuleFixConfiguration_for_UseParseIntRadixOptions =
|
|
2791
|
+
| RulePlainConfiguration
|
|
2792
|
+
| RuleWithFixOptions_for_UseParseIntRadixOptions;
|
|
2793
|
+
type RuleFixConfiguration_for_UseSingleJsDocAsteriskOptions =
|
|
2794
|
+
| RulePlainConfiguration
|
|
2795
|
+
| RuleWithFixOptions_for_UseSingleJsDocAsteriskOptions;
|
|
2796
|
+
type RuleConfiguration_for_UseUniqueElementIdsOptions =
|
|
2797
|
+
| RulePlainConfiguration
|
|
2798
|
+
| RuleWithOptions_for_UseUniqueElementIdsOptions;
|
|
2725
2799
|
type RuleConfiguration_for_UseValidForDirectionOptions =
|
|
2726
2800
|
| RulePlainConfiguration
|
|
2727
2801
|
| RuleWithOptions_for_UseValidForDirectionOptions;
|
|
@@ -2731,96 +2805,36 @@ type RuleFixConfiguration_for_UseValidTypeofOptions =
|
|
|
2731
2805
|
type RuleConfiguration_for_UseYieldOptions =
|
|
2732
2806
|
| RulePlainConfiguration
|
|
2733
2807
|
| RuleWithOptions_for_UseYieldOptions;
|
|
2734
|
-
type RuleConfiguration_for_NoAwaitInLoopOptions =
|
|
2735
|
-
| RulePlainConfiguration
|
|
2736
|
-
| RuleWithOptions_for_NoAwaitInLoopOptions;
|
|
2737
|
-
type RuleConfiguration_for_NoBitwiseOperatorsOptions =
|
|
2738
|
-
| RulePlainConfiguration
|
|
2739
|
-
| RuleWithOptions_for_NoBitwiseOperatorsOptions;
|
|
2740
|
-
type RuleConfiguration_for_NoConstantBinaryExpressionOptions =
|
|
2741
|
-
| RulePlainConfiguration
|
|
2742
|
-
| RuleWithOptions_for_NoConstantBinaryExpressionOptions;
|
|
2743
|
-
type RuleConfiguration_for_NoDestructuredPropsOptions =
|
|
2744
|
-
| RulePlainConfiguration
|
|
2745
|
-
| RuleWithOptions_for_NoDestructuredPropsOptions;
|
|
2746
|
-
type RuleConfiguration_for_NoExcessiveLinesPerFunctionOptions =
|
|
2747
|
-
| RulePlainConfiguration
|
|
2748
|
-
| RuleWithOptions_for_NoExcessiveLinesPerFunctionOptions;
|
|
2749
2808
|
type RuleFixConfiguration_for_NoFloatingPromisesOptions =
|
|
2750
2809
|
| RulePlainConfiguration
|
|
2751
2810
|
| RuleWithFixOptions_for_NoFloatingPromisesOptions;
|
|
2752
|
-
type RuleFixConfiguration_for_NoGlobalDirnameFilenameOptions =
|
|
2753
|
-
| RulePlainConfiguration
|
|
2754
|
-
| RuleWithFixOptions_for_NoGlobalDirnameFilenameOptions;
|
|
2755
|
-
type RuleFixConfiguration_for_NoImplicitCoercionOptions =
|
|
2756
|
-
| RulePlainConfiguration
|
|
2757
|
-
| RuleWithFixOptions_for_NoImplicitCoercionOptions;
|
|
2758
2811
|
type RuleConfiguration_for_NoImportCyclesOptions =
|
|
2759
2812
|
| RulePlainConfiguration
|
|
2760
2813
|
| RuleWithOptions_for_NoImportCyclesOptions;
|
|
2761
|
-
type RuleFixConfiguration_for_NoImportantStylesOptions =
|
|
2762
|
-
| RulePlainConfiguration
|
|
2763
|
-
| RuleWithFixOptions_for_NoImportantStylesOptions;
|
|
2764
|
-
type RuleConfiguration_for_NoMagicNumbersOptions =
|
|
2765
|
-
| RulePlainConfiguration
|
|
2766
|
-
| RuleWithOptions_for_NoMagicNumbersOptions;
|
|
2767
2814
|
type RuleFixConfiguration_for_NoMisusedPromisesOptions =
|
|
2768
2815
|
| RulePlainConfiguration
|
|
2769
2816
|
| RuleWithFixOptions_for_NoMisusedPromisesOptions;
|
|
2770
|
-
type
|
|
2817
|
+
type RuleConfiguration_for_NoNextAsyncClientComponentOptions =
|
|
2771
2818
|
| RulePlainConfiguration
|
|
2772
|
-
|
|
|
2819
|
+
| RuleWithOptions_for_NoNextAsyncClientComponentOptions;
|
|
2773
2820
|
type RuleConfiguration_for_NoNonNullAssertedOptionalChainOptions =
|
|
2774
2821
|
| RulePlainConfiguration
|
|
2775
2822
|
| RuleWithOptions_for_NoNonNullAssertedOptionalChainOptions;
|
|
2776
|
-
type RuleConfiguration_for_NoNoninteractiveElementInteractionsOptions =
|
|
2777
|
-
| RulePlainConfiguration
|
|
2778
|
-
| RuleWithOptions_for_NoNoninteractiveElementInteractionsOptions;
|
|
2779
|
-
type RuleFixConfiguration_for_NoProcessGlobalOptions =
|
|
2780
|
-
| RulePlainConfiguration
|
|
2781
|
-
| RuleWithFixOptions_for_NoProcessGlobalOptions;
|
|
2782
|
-
type RuleFixConfiguration_for_NoQuickfixBiomeOptions =
|
|
2783
|
-
| RulePlainConfiguration
|
|
2784
|
-
| RuleWithFixOptions_for_NoQuickfixBiomeOptions;
|
|
2785
2823
|
type RuleConfiguration_for_NoQwikUseVisibleTaskOptions =
|
|
2786
2824
|
| RulePlainConfiguration
|
|
2787
2825
|
| RuleWithOptions_for_NoQwikUseVisibleTaskOptions;
|
|
2788
|
-
type RuleConfiguration_for_NoReactPropAssignOptions =
|
|
2789
|
-
| RulePlainConfiguration
|
|
2790
|
-
| RuleWithOptions_for_NoReactPropAssignOptions;
|
|
2791
|
-
type RuleConfiguration_for_NoRestrictedElementsOptions =
|
|
2792
|
-
| RulePlainConfiguration
|
|
2793
|
-
| RuleWithOptions_for_NoRestrictedElementsOptions;
|
|
2794
2826
|
type RuleConfiguration_for_NoSecretsOptions =
|
|
2795
2827
|
| RulePlainConfiguration
|
|
2796
2828
|
| RuleWithOptions_for_NoSecretsOptions;
|
|
2797
2829
|
type RuleConfiguration_for_NoShadowOptions =
|
|
2798
2830
|
| RulePlainConfiguration
|
|
2799
2831
|
| RuleWithOptions_for_NoShadowOptions;
|
|
2800
|
-
type RuleFixConfiguration_for_NoTsIgnoreOptions =
|
|
2801
|
-
| RulePlainConfiguration
|
|
2802
|
-
| RuleWithFixOptions_for_NoTsIgnoreOptions;
|
|
2803
|
-
type RuleConfiguration_for_NoUnassignedVariablesOptions =
|
|
2804
|
-
| RulePlainConfiguration
|
|
2805
|
-
| RuleWithOptions_for_NoUnassignedVariablesOptions;
|
|
2806
|
-
type RuleConfiguration_for_NoUnknownAtRuleOptions =
|
|
2807
|
-
| RulePlainConfiguration
|
|
2808
|
-
| RuleWithOptions_for_NoUnknownAtRuleOptions;
|
|
2809
2832
|
type RuleConfiguration_for_NoUnnecessaryConditionsOptions =
|
|
2810
2833
|
| RulePlainConfiguration
|
|
2811
2834
|
| RuleWithOptions_for_NoUnnecessaryConditionsOptions;
|
|
2812
2835
|
type RuleConfiguration_for_NoUnresolvedImportsOptions =
|
|
2813
2836
|
| RulePlainConfiguration
|
|
2814
2837
|
| RuleWithOptions_for_NoUnresolvedImportsOptions;
|
|
2815
|
-
type RuleConfiguration_for_NoUnwantedPolyfillioOptions =
|
|
2816
|
-
| RulePlainConfiguration
|
|
2817
|
-
| RuleWithOptions_for_NoUnwantedPolyfillioOptions;
|
|
2818
|
-
type RuleConfiguration_for_NoUselessBackrefInRegexOptions =
|
|
2819
|
-
| RulePlainConfiguration
|
|
2820
|
-
| RuleWithOptions_for_NoUselessBackrefInRegexOptions;
|
|
2821
|
-
type RuleFixConfiguration_for_NoUselessEscapeInStringOptions =
|
|
2822
|
-
| RulePlainConfiguration
|
|
2823
|
-
| RuleWithFixOptions_for_NoUselessEscapeInStringOptions;
|
|
2824
2838
|
type RuleFixConfiguration_for_NoUselessUndefinedOptions =
|
|
2825
2839
|
| RulePlainConfiguration
|
|
2826
2840
|
| RuleWithFixOptions_for_NoUselessUndefinedOptions;
|
|
@@ -2833,18 +2847,9 @@ type RuleConfiguration_for_NoVueReservedKeysOptions =
|
|
|
2833
2847
|
type RuleConfiguration_for_NoVueReservedPropsOptions =
|
|
2834
2848
|
| RulePlainConfiguration
|
|
2835
2849
|
| RuleWithOptions_for_NoVueReservedPropsOptions;
|
|
2836
|
-
type RuleConfiguration_for_UseAdjacentGetterSetterOptions =
|
|
2837
|
-
| RulePlainConfiguration
|
|
2838
|
-
| RuleWithOptions_for_UseAdjacentGetterSetterOptions;
|
|
2839
2850
|
type RuleConfiguration_for_UseAnchorHrefOptions =
|
|
2840
2851
|
| RulePlainConfiguration
|
|
2841
2852
|
| RuleWithOptions_for_UseAnchorHrefOptions;
|
|
2842
|
-
type RuleFixConfiguration_for_UseConsistentObjectDefinitionOptions =
|
|
2843
|
-
| RulePlainConfiguration
|
|
2844
|
-
| RuleWithFixOptions_for_UseConsistentObjectDefinitionOptions;
|
|
2845
|
-
type RuleFixConfiguration_for_UseConsistentResponseOptions =
|
|
2846
|
-
| RulePlainConfiguration
|
|
2847
|
-
| RuleWithFixOptions_for_UseConsistentResponseOptions;
|
|
2848
2853
|
type RuleFixConfiguration_for_UseConsistentTypeDefinitionsOptions =
|
|
2849
2854
|
| RulePlainConfiguration
|
|
2850
2855
|
| RuleWithFixOptions_for_UseConsistentTypeDefinitionsOptions;
|
|
@@ -2854,69 +2859,27 @@ type RuleFixConfiguration_for_UseExhaustiveSwitchCasesOptions =
|
|
|
2854
2859
|
type RuleConfiguration_for_UseExplicitTypeOptions =
|
|
2855
2860
|
| RulePlainConfiguration
|
|
2856
2861
|
| RuleWithOptions_for_UseExplicitTypeOptions;
|
|
2857
|
-
type RuleConfiguration_for_UseExportsLastOptions =
|
|
2858
|
-
| RulePlainConfiguration
|
|
2859
|
-
| RuleWithOptions_for_UseExportsLastOptions;
|
|
2860
|
-
type RuleConfiguration_for_UseForComponentOptions =
|
|
2861
|
-
| RulePlainConfiguration
|
|
2862
|
-
| RuleWithOptions_for_UseForComponentOptions;
|
|
2863
|
-
type RuleFixConfiguration_for_UseGoogleFontPreconnectOptions =
|
|
2864
|
-
| RulePlainConfiguration
|
|
2865
|
-
| RuleWithFixOptions_for_UseGoogleFontPreconnectOptions;
|
|
2866
2862
|
type RuleConfiguration_for_UseImageSizeOptions =
|
|
2867
2863
|
| RulePlainConfiguration
|
|
2868
2864
|
| RuleWithOptions_for_UseImageSizeOptions;
|
|
2869
|
-
type
|
|
2870
|
-
| RulePlainConfiguration
|
|
2871
|
-
| RuleWithFixOptions_for_UseIndexOfOptions;
|
|
2872
|
-
type RuleConfiguration_for_UseIterableCallbackReturnOptions =
|
|
2873
|
-
| RulePlainConfiguration
|
|
2874
|
-
| RuleWithOptions_for_UseIterableCallbackReturnOptions;
|
|
2875
|
-
type RuleFixConfiguration_for_UseJsonImportAttributeOptions =
|
|
2876
|
-
| RulePlainConfiguration
|
|
2877
|
-
| RuleWithFixOptions_for_UseJsonImportAttributeOptions;
|
|
2878
|
-
type RuleFixConfiguration_for_UseNamedOperationOptions =
|
|
2865
|
+
type RuleConfiguration_for_UseMaxParamsOptions =
|
|
2879
2866
|
| RulePlainConfiguration
|
|
2880
|
-
|
|
|
2881
|
-
type RuleConfiguration_for_UseNamingConventionOptions =
|
|
2882
|
-
| RulePlainConfiguration
|
|
2883
|
-
| RuleWithOptions_for_UseNamingConventionOptions;
|
|
2884
|
-
type RuleFixConfiguration_for_UseNumericSeparatorsOptions =
|
|
2885
|
-
| RulePlainConfiguration
|
|
2886
|
-
| RuleWithFixOptions_for_UseNumericSeparatorsOptions;
|
|
2887
|
-
type RuleFixConfiguration_for_UseObjectSpreadOptions =
|
|
2888
|
-
| RulePlainConfiguration
|
|
2889
|
-
| RuleWithFixOptions_for_UseObjectSpreadOptions;
|
|
2890
|
-
type RuleFixConfiguration_for_UseParseIntRadixOptions =
|
|
2891
|
-
| RulePlainConfiguration
|
|
2892
|
-
| RuleWithFixOptions_for_UseParseIntRadixOptions;
|
|
2867
|
+
| RuleWithOptions_for_UseMaxParamsOptions;
|
|
2893
2868
|
type RuleConfiguration_for_UseQwikClasslistOptions =
|
|
2894
2869
|
| RulePlainConfiguration
|
|
2895
2870
|
| RuleWithOptions_for_UseQwikClasslistOptions;
|
|
2896
2871
|
type RuleConfiguration_for_UseReactFunctionComponentsOptions =
|
|
2897
2872
|
| RulePlainConfiguration
|
|
2898
2873
|
| RuleWithOptions_for_UseReactFunctionComponentsOptions;
|
|
2899
|
-
type RuleFixConfiguration_for_UseReadonlyClassPropertiesOptions =
|
|
2900
|
-
| RulePlainConfiguration
|
|
2901
|
-
| RuleWithFixOptions_for_UseReadonlyClassPropertiesOptions;
|
|
2902
|
-
type RuleFixConfiguration_for_UseSingleJsDocAsteriskOptions =
|
|
2903
|
-
| RulePlainConfiguration
|
|
2904
|
-
| RuleWithFixOptions_for_UseSingleJsDocAsteriskOptions;
|
|
2905
2874
|
type RuleFixConfiguration_for_UseSortedClassesOptions =
|
|
2906
2875
|
| RulePlainConfiguration
|
|
2907
2876
|
| RuleWithFixOptions_for_UseSortedClassesOptions;
|
|
2908
|
-
type RuleConfiguration_for_UseSymbolDescriptionOptions =
|
|
2909
|
-
| RulePlainConfiguration
|
|
2910
|
-
| RuleWithOptions_for_UseSymbolDescriptionOptions;
|
|
2911
|
-
type RuleFixConfiguration_for_UseUnifiedTypeSignatureOptions =
|
|
2912
|
-
| RulePlainConfiguration
|
|
2913
|
-
| RuleWithFixOptions_for_UseUnifiedTypeSignatureOptions;
|
|
2914
|
-
type RuleConfiguration_for_UseUniqueElementIdsOptions =
|
|
2915
|
-
| RulePlainConfiguration
|
|
2916
|
-
| RuleWithOptions_for_UseUniqueElementIdsOptions;
|
|
2917
2877
|
type RuleConfiguration_for_NoAccumulatingSpreadOptions =
|
|
2918
2878
|
| RulePlainConfiguration
|
|
2919
2879
|
| RuleWithOptions_for_NoAccumulatingSpreadOptions;
|
|
2880
|
+
type RuleConfiguration_for_NoAwaitInLoopsOptions =
|
|
2881
|
+
| RulePlainConfiguration
|
|
2882
|
+
| RuleWithOptions_for_NoAwaitInLoopsOptions;
|
|
2920
2883
|
type RuleConfiguration_for_NoBarrelFileOptions =
|
|
2921
2884
|
| RulePlainConfiguration
|
|
2922
2885
|
| RuleWithOptions_for_NoBarrelFileOptions;
|
|
@@ -2935,6 +2898,15 @@ type RuleConfiguration_for_NoNamespaceImportOptions =
|
|
|
2935
2898
|
type RuleConfiguration_for_NoReExportAllOptions =
|
|
2936
2899
|
| RulePlainConfiguration
|
|
2937
2900
|
| RuleWithOptions_for_NoReExportAllOptions;
|
|
2901
|
+
type RuleConfiguration_for_NoUnwantedPolyfillioOptions =
|
|
2902
|
+
| RulePlainConfiguration
|
|
2903
|
+
| RuleWithOptions_for_NoUnwantedPolyfillioOptions;
|
|
2904
|
+
type RuleFixConfiguration_for_UseGoogleFontPreconnectOptions =
|
|
2905
|
+
| RulePlainConfiguration
|
|
2906
|
+
| RuleWithFixOptions_for_UseGoogleFontPreconnectOptions;
|
|
2907
|
+
type RuleConfiguration_for_UseSolidForComponentOptions =
|
|
2908
|
+
| RulePlainConfiguration
|
|
2909
|
+
| RuleWithOptions_for_UseSolidForComponentOptions;
|
|
2938
2910
|
type RuleConfiguration_for_UseTopLevelRegexOptions =
|
|
2939
2911
|
| RulePlainConfiguration
|
|
2940
2912
|
| RuleWithOptions_for_UseTopLevelRegexOptions;
|
|
@@ -2977,6 +2949,9 @@ type RuleFixConfiguration_for_NoImplicitBooleanOptions =
|
|
|
2977
2949
|
type RuleFixConfiguration_for_NoInferrableTypesOptions =
|
|
2978
2950
|
| RulePlainConfiguration
|
|
2979
2951
|
| RuleWithFixOptions_for_NoInferrableTypesOptions;
|
|
2952
|
+
type RuleConfiguration_for_NoMagicNumbersOptions =
|
|
2953
|
+
| RulePlainConfiguration
|
|
2954
|
+
| RuleWithOptions_for_NoMagicNumbersOptions;
|
|
2980
2955
|
type RuleConfiguration_for_NoNamespaceOptions =
|
|
2981
2956
|
| RulePlainConfiguration
|
|
2982
2957
|
| RuleWithOptions_for_NoNamespaceOptions;
|
|
@@ -3058,6 +3033,9 @@ type RuleFixConfiguration_for_UseConsistentCurlyBracesOptions =
|
|
|
3058
3033
|
type RuleConfiguration_for_UseConsistentMemberAccessibilityOptions =
|
|
3059
3034
|
| RulePlainConfiguration
|
|
3060
3035
|
| RuleWithOptions_for_UseConsistentMemberAccessibilityOptions;
|
|
3036
|
+
type RuleFixConfiguration_for_UseConsistentObjectDefinitionsOptions =
|
|
3037
|
+
| RulePlainConfiguration
|
|
3038
|
+
| RuleWithFixOptions_for_UseConsistentObjectDefinitionsOptions;
|
|
3061
3039
|
type RuleFixConfiguration_for_UseConstOptions =
|
|
3062
3040
|
| RulePlainConfiguration
|
|
3063
3041
|
| RuleWithFixOptions_for_UseConstOptions;
|
|
@@ -3082,6 +3060,9 @@ type RuleFixConfiguration_for_UseExponentiationOperatorOptions =
|
|
|
3082
3060
|
type RuleFixConfiguration_for_UseExportTypeOptions =
|
|
3083
3061
|
| RulePlainConfiguration
|
|
3084
3062
|
| RuleWithFixOptions_for_UseExportTypeOptions;
|
|
3063
|
+
type RuleConfiguration_for_UseExportsLastOptions =
|
|
3064
|
+
| RulePlainConfiguration
|
|
3065
|
+
| RuleWithOptions_for_UseExportsLastOptions;
|
|
3085
3066
|
type RuleConfiguration_for_UseFilenamingConventionOptions =
|
|
3086
3067
|
| RulePlainConfiguration
|
|
3087
3068
|
| RuleWithOptions_for_UseFilenamingConventionOptions;
|
|
@@ -3091,6 +3072,12 @@ type RuleConfiguration_for_UseForOfOptions =
|
|
|
3091
3072
|
type RuleFixConfiguration_for_UseFragmentSyntaxOptions =
|
|
3092
3073
|
| RulePlainConfiguration
|
|
3093
3074
|
| RuleWithFixOptions_for_UseFragmentSyntaxOptions;
|
|
3075
|
+
type RuleConfiguration_for_UseGraphqlNamingConventionOptions =
|
|
3076
|
+
| RulePlainConfiguration
|
|
3077
|
+
| RuleWithOptions_for_UseGraphqlNamingConventionOptions;
|
|
3078
|
+
type RuleConfiguration_for_UseGroupedAccessorPairsOptions =
|
|
3079
|
+
| RulePlainConfiguration
|
|
3080
|
+
| RuleWithOptions_for_UseGroupedAccessorPairsOptions;
|
|
3094
3081
|
type RuleFixConfiguration_for_UseImportTypeOptions =
|
|
3095
3082
|
| RulePlainConfiguration
|
|
3096
3083
|
| RuleWithFixOptions_for_UseImportTypeOptions;
|
|
@@ -3109,6 +3096,15 @@ type RuleFixConfiguration_for_UseNodejsImportProtocolOptions =
|
|
|
3109
3096
|
type RuleFixConfiguration_for_UseNumberNamespaceOptions =
|
|
3110
3097
|
| RulePlainConfiguration
|
|
3111
3098
|
| RuleWithFixOptions_for_UseNumberNamespaceOptions;
|
|
3099
|
+
type RuleFixConfiguration_for_UseNumericSeparatorsOptions =
|
|
3100
|
+
| RulePlainConfiguration
|
|
3101
|
+
| RuleWithFixOptions_for_UseNumericSeparatorsOptions;
|
|
3102
|
+
type RuleFixConfiguration_for_UseObjectSpreadOptions =
|
|
3103
|
+
| RulePlainConfiguration
|
|
3104
|
+
| RuleWithFixOptions_for_UseObjectSpreadOptions;
|
|
3105
|
+
type RuleFixConfiguration_for_UseReadonlyClassPropertiesOptions =
|
|
3106
|
+
| RulePlainConfiguration
|
|
3107
|
+
| RuleWithFixOptions_for_UseReadonlyClassPropertiesOptions;
|
|
3112
3108
|
type RuleFixConfiguration_for_UseSelfClosingElementsOptions =
|
|
3113
3109
|
| RulePlainConfiguration
|
|
3114
3110
|
| RuleWithFixOptions_for_UseSelfClosingElementsOptions;
|
|
@@ -3121,6 +3117,9 @@ type RuleFixConfiguration_for_UseShorthandFunctionTypeOptions =
|
|
|
3121
3117
|
type RuleFixConfiguration_for_UseSingleVarDeclaratorOptions =
|
|
3122
3118
|
| RulePlainConfiguration
|
|
3123
3119
|
| RuleWithFixOptions_for_UseSingleVarDeclaratorOptions;
|
|
3120
|
+
type RuleConfiguration_for_UseSymbolDescriptionOptions =
|
|
3121
|
+
| RulePlainConfiguration
|
|
3122
|
+
| RuleWithOptions_for_UseSymbolDescriptionOptions;
|
|
3124
3123
|
type RuleFixConfiguration_for_UseTemplateOptions =
|
|
3125
3124
|
| RulePlainConfiguration
|
|
3126
3125
|
| RuleWithFixOptions_for_UseTemplateOptions;
|
|
@@ -3133,6 +3132,9 @@ type RuleConfiguration_for_UseThrowOnlyErrorOptions =
|
|
|
3133
3132
|
type RuleFixConfiguration_for_UseTrimStartEndOptions =
|
|
3134
3133
|
| RulePlainConfiguration
|
|
3135
3134
|
| RuleWithFixOptions_for_UseTrimStartEndOptions;
|
|
3135
|
+
type RuleFixConfiguration_for_UseUnifiedTypeSignaturesOptions =
|
|
3136
|
+
| RulePlainConfiguration
|
|
3137
|
+
| RuleWithFixOptions_for_UseUnifiedTypeSignaturesOptions;
|
|
3136
3138
|
type RuleConfiguration_for_NoAlertOptions =
|
|
3137
3139
|
| RulePlainConfiguration
|
|
3138
3140
|
| RuleWithOptions_for_NoAlertOptions;
|
|
@@ -3148,6 +3150,12 @@ type RuleConfiguration_for_NoAssignInExpressionsOptions =
|
|
|
3148
3150
|
type RuleConfiguration_for_NoAsyncPromiseExecutorOptions =
|
|
3149
3151
|
| RulePlainConfiguration
|
|
3150
3152
|
| RuleWithOptions_for_NoAsyncPromiseExecutorOptions;
|
|
3153
|
+
type RuleFixConfiguration_for_NoBiomeFirstExceptionOptions =
|
|
3154
|
+
| RulePlainConfiguration
|
|
3155
|
+
| RuleWithFixOptions_for_NoBiomeFirstExceptionOptions;
|
|
3156
|
+
type RuleConfiguration_for_NoBitwiseOperatorsOptions =
|
|
3157
|
+
| RulePlainConfiguration
|
|
3158
|
+
| RuleWithOptions_for_NoBitwiseOperatorsOptions;
|
|
3151
3159
|
type RuleConfiguration_for_NoCatchAssignOptions =
|
|
3152
3160
|
| RulePlainConfiguration
|
|
3153
3161
|
| RuleWithOptions_for_NoCatchAssignOptions;
|
|
@@ -3172,6 +3180,9 @@ type RuleFixConfiguration_for_NoConsoleOptions =
|
|
|
3172
3180
|
type RuleFixConfiguration_for_NoConstEnumOptions =
|
|
3173
3181
|
| RulePlainConfiguration
|
|
3174
3182
|
| RuleWithFixOptions_for_NoConstEnumOptions;
|
|
3183
|
+
type RuleConfiguration_for_NoConstantBinaryExpressionsOptions =
|
|
3184
|
+
| RulePlainConfiguration
|
|
3185
|
+
| RuleWithOptions_for_NoConstantBinaryExpressionsOptions;
|
|
3175
3186
|
type RuleConfiguration_for_NoControlCharactersInRegexOptions =
|
|
3176
3187
|
| RulePlainConfiguration
|
|
3177
3188
|
| RuleWithOptions_for_NoControlCharactersInRegexOptions;
|
|
@@ -3301,6 +3312,9 @@ type RuleFixConfiguration_for_NoOctalEscapeOptions =
|
|
|
3301
3312
|
type RuleFixConfiguration_for_NoPrototypeBuiltinsOptions =
|
|
3302
3313
|
| RulePlainConfiguration
|
|
3303
3314
|
| RuleWithFixOptions_for_NoPrototypeBuiltinsOptions;
|
|
3315
|
+
type RuleFixConfiguration_for_NoQuickfixBiomeOptions =
|
|
3316
|
+
| RulePlainConfiguration
|
|
3317
|
+
| RuleWithFixOptions_for_NoQuickfixBiomeOptions;
|
|
3304
3318
|
type RuleFixConfiguration_for_NoReactSpecificPropsOptions =
|
|
3305
3319
|
| RulePlainConfiguration
|
|
3306
3320
|
| RuleWithFixOptions_for_NoReactSpecificPropsOptions;
|
|
@@ -3334,12 +3348,27 @@ type RuleConfiguration_for_NoTemplateCurlyInStringOptions =
|
|
|
3334
3348
|
type RuleConfiguration_for_NoThenPropertyOptions =
|
|
3335
3349
|
| RulePlainConfiguration
|
|
3336
3350
|
| RuleWithOptions_for_NoThenPropertyOptions;
|
|
3351
|
+
type RuleFixConfiguration_for_NoTsIgnoreOptions =
|
|
3352
|
+
| RulePlainConfiguration
|
|
3353
|
+
| RuleWithFixOptions_for_NoTsIgnoreOptions;
|
|
3354
|
+
type RuleConfiguration_for_NoUnassignedVariablesOptions =
|
|
3355
|
+
| RulePlainConfiguration
|
|
3356
|
+
| RuleWithOptions_for_NoUnassignedVariablesOptions;
|
|
3357
|
+
type RuleConfiguration_for_NoUnknownAtRulesOptions =
|
|
3358
|
+
| RulePlainConfiguration
|
|
3359
|
+
| RuleWithOptions_for_NoUnknownAtRulesOptions;
|
|
3337
3360
|
type RuleConfiguration_for_NoUnsafeDeclarationMergingOptions =
|
|
3338
3361
|
| RulePlainConfiguration
|
|
3339
3362
|
| RuleWithOptions_for_NoUnsafeDeclarationMergingOptions;
|
|
3340
3363
|
type RuleFixConfiguration_for_NoUnsafeNegationOptions =
|
|
3341
3364
|
| RulePlainConfiguration
|
|
3342
3365
|
| RuleWithFixOptions_for_NoUnsafeNegationOptions;
|
|
3366
|
+
type RuleFixConfiguration_for_NoUselessEscapeInStringOptions =
|
|
3367
|
+
| RulePlainConfiguration
|
|
3368
|
+
| RuleWithFixOptions_for_NoUselessEscapeInStringOptions;
|
|
3369
|
+
type RuleConfiguration_for_NoUselessRegexBackrefsOptions =
|
|
3370
|
+
| RulePlainConfiguration
|
|
3371
|
+
| RuleWithOptions_for_NoUselessRegexBackrefsOptions;
|
|
3343
3372
|
type RuleFixConfiguration_for_NoVarOptions =
|
|
3344
3373
|
| RulePlainConfiguration
|
|
3345
3374
|
| RuleWithFixOptions_for_NoVarOptions;
|
|
@@ -3352,6 +3381,9 @@ type RuleConfiguration_for_UseAdjacentOverloadSignaturesOptions =
|
|
|
3352
3381
|
type RuleConfiguration_for_UseAwaitOptions =
|
|
3353
3382
|
| RulePlainConfiguration
|
|
3354
3383
|
| RuleWithOptions_for_UseAwaitOptions;
|
|
3384
|
+
type RuleFixConfiguration_for_UseBiomeIgnoreFolderOptions =
|
|
3385
|
+
| RulePlainConfiguration
|
|
3386
|
+
| RuleWithFixOptions_for_UseBiomeIgnoreFolderOptions;
|
|
3355
3387
|
type RuleConfiguration_for_UseDefaultSwitchClauseLastOptions =
|
|
3356
3388
|
| RulePlainConfiguration
|
|
3357
3389
|
| RuleWithOptions_for_UseDefaultSwitchClauseLastOptions;
|
|
@@ -3370,20 +3402,31 @@ type RuleConfiguration_for_UseGuardForInOptions =
|
|
|
3370
3402
|
type RuleFixConfiguration_for_UseIsArrayOptions =
|
|
3371
3403
|
| RulePlainConfiguration
|
|
3372
3404
|
| RuleWithFixOptions_for_UseIsArrayOptions;
|
|
3405
|
+
type RuleConfiguration_for_UseIterableCallbackReturnOptions =
|
|
3406
|
+
| RulePlainConfiguration
|
|
3407
|
+
| RuleWithOptions_for_UseIterableCallbackReturnOptions;
|
|
3373
3408
|
type RuleFixConfiguration_for_UseNamespaceKeywordOptions =
|
|
3374
3409
|
| RulePlainConfiguration
|
|
3375
3410
|
| RuleWithFixOptions_for_UseNamespaceKeywordOptions;
|
|
3376
3411
|
type RuleFixConfiguration_for_UseNumberToFixedDigitsArgumentOptions =
|
|
3377
3412
|
| RulePlainConfiguration
|
|
3378
3413
|
| RuleWithFixOptions_for_UseNumberToFixedDigitsArgumentOptions;
|
|
3414
|
+
type RuleFixConfiguration_for_UseStaticResponseMethodsOptions =
|
|
3415
|
+
| RulePlainConfiguration
|
|
3416
|
+
| RuleWithFixOptions_for_UseStaticResponseMethodsOptions;
|
|
3379
3417
|
type RuleFixConfiguration_for_UseStrictModeOptions =
|
|
3380
3418
|
| RulePlainConfiguration
|
|
3381
3419
|
| RuleWithFixOptions_for_UseStrictModeOptions;
|
|
3382
3420
|
interface OrganizeImportsOptions {
|
|
3383
3421
|
groups?: ImportGroups;
|
|
3422
|
+
identifierOrder?: SortOrder;
|
|
3423
|
+
}
|
|
3424
|
+
interface UseSortedAttributesOptions {
|
|
3425
|
+
sortOrder?: SortOrder;
|
|
3426
|
+
}
|
|
3427
|
+
interface UseSortedKeysOptions {
|
|
3428
|
+
sortOrder?: SortOrder;
|
|
3384
3429
|
}
|
|
3385
|
-
interface UseSortedAttributesOptions {}
|
|
3386
|
-
interface UseSortedKeysOptions {}
|
|
3387
3430
|
interface UseSortedPropertiesOptions {}
|
|
3388
3431
|
type RulePlainConfiguration = "off" | "on" | "info" | "warn" | "error";
|
|
3389
3432
|
interface RuleWithFixOptions_for_NoAccessKeyOptions {
|
|
@@ -3494,6 +3537,16 @@ interface RuleWithOptions_for_NoLabelWithoutControlOptions {
|
|
|
3494
3537
|
*/
|
|
3495
3538
|
options: NoLabelWithoutControlOptions;
|
|
3496
3539
|
}
|
|
3540
|
+
interface RuleWithOptions_for_NoNoninteractiveElementInteractionsOptions {
|
|
3541
|
+
/**
|
|
3542
|
+
* The severity of the emitted diagnostics by the rule
|
|
3543
|
+
*/
|
|
3544
|
+
level: RulePlainConfiguration;
|
|
3545
|
+
/**
|
|
3546
|
+
* Rule's options
|
|
3547
|
+
*/
|
|
3548
|
+
options: NoNoninteractiveElementInteractionsOptions;
|
|
3549
|
+
}
|
|
3497
3550
|
interface RuleWithFixOptions_for_NoNoninteractiveElementToInteractiveRoleOptions {
|
|
3498
3551
|
/**
|
|
3499
3552
|
* The kind of the code actions emitted by the rule
|
|
@@ -3874,6 +3927,16 @@ interface RuleWithOptions_for_NoExcessiveCognitiveComplexityOptions {
|
|
|
3874
3927
|
*/
|
|
3875
3928
|
options: NoExcessiveCognitiveComplexityOptions;
|
|
3876
3929
|
}
|
|
3930
|
+
interface RuleWithOptions_for_NoExcessiveLinesPerFunctionOptions {
|
|
3931
|
+
/**
|
|
3932
|
+
* The severity of the emitted diagnostics by the rule
|
|
3933
|
+
*/
|
|
3934
|
+
level: RulePlainConfiguration;
|
|
3935
|
+
/**
|
|
3936
|
+
* Rule's options
|
|
3937
|
+
*/
|
|
3938
|
+
options: NoExcessiveLinesPerFunctionOptions;
|
|
3939
|
+
}
|
|
3877
3940
|
interface RuleWithOptions_for_NoExcessiveNestedTestSuitesOptions {
|
|
3878
3941
|
/**
|
|
3879
3942
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -3922,7 +3985,11 @@ interface RuleWithOptions_for_NoForEachOptions {
|
|
|
3922
3985
|
*/
|
|
3923
3986
|
options: NoForEachOptions;
|
|
3924
3987
|
}
|
|
3925
|
-
interface
|
|
3988
|
+
interface RuleWithFixOptions_for_NoImplicitCoercionsOptions {
|
|
3989
|
+
/**
|
|
3990
|
+
* The kind of the code actions emitted by the rule
|
|
3991
|
+
*/
|
|
3992
|
+
fix?: FixKind;
|
|
3926
3993
|
/**
|
|
3927
3994
|
* The severity of the emitted diagnostics by the rule
|
|
3928
3995
|
*/
|
|
@@ -3930,9 +3997,9 @@ interface RuleWithOptions_for_NoStaticOnlyClassOptions {
|
|
|
3930
3997
|
/**
|
|
3931
3998
|
* Rule's options
|
|
3932
3999
|
*/
|
|
3933
|
-
options:
|
|
4000
|
+
options: NoImplicitCoercionsOptions;
|
|
3934
4001
|
}
|
|
3935
|
-
interface
|
|
4002
|
+
interface RuleWithFixOptions_for_NoImportantStylesOptions {
|
|
3936
4003
|
/**
|
|
3937
4004
|
* The kind of the code actions emitted by the rule
|
|
3938
4005
|
*/
|
|
@@ -3944,11 +4011,35 @@ interface RuleWithFixOptions_for_NoThisInStaticOptions {
|
|
|
3944
4011
|
/**
|
|
3945
4012
|
* Rule's options
|
|
3946
4013
|
*/
|
|
3947
|
-
options:
|
|
4014
|
+
options: NoImportantStylesOptions;
|
|
3948
4015
|
}
|
|
3949
|
-
interface
|
|
4016
|
+
interface RuleWithOptions_for_NoStaticOnlyClassOptions {
|
|
3950
4017
|
/**
|
|
3951
|
-
* The
|
|
4018
|
+
* The severity of the emitted diagnostics by the rule
|
|
4019
|
+
*/
|
|
4020
|
+
level: RulePlainConfiguration;
|
|
4021
|
+
/**
|
|
4022
|
+
* Rule's options
|
|
4023
|
+
*/
|
|
4024
|
+
options: NoStaticOnlyClassOptions;
|
|
4025
|
+
}
|
|
4026
|
+
interface RuleWithFixOptions_for_NoThisInStaticOptions {
|
|
4027
|
+
/**
|
|
4028
|
+
* The kind of the code actions emitted by the rule
|
|
4029
|
+
*/
|
|
4030
|
+
fix?: FixKind;
|
|
4031
|
+
/**
|
|
4032
|
+
* The severity of the emitted diagnostics by the rule
|
|
4033
|
+
*/
|
|
4034
|
+
level: RulePlainConfiguration;
|
|
4035
|
+
/**
|
|
4036
|
+
* Rule's options
|
|
4037
|
+
*/
|
|
4038
|
+
options: NoThisInStaticOptions;
|
|
4039
|
+
}
|
|
4040
|
+
interface RuleWithFixOptions_for_NoUselessCatchOptions {
|
|
4041
|
+
/**
|
|
4042
|
+
* The kind of the code actions emitted by the rule
|
|
3952
4043
|
*/
|
|
3953
4044
|
fix?: FixKind;
|
|
3954
4045
|
/**
|
|
@@ -4218,6 +4309,20 @@ interface RuleWithFixOptions_for_UseFlatMapOptions {
|
|
|
4218
4309
|
*/
|
|
4219
4310
|
options: UseFlatMapOptions;
|
|
4220
4311
|
}
|
|
4312
|
+
interface RuleWithFixOptions_for_UseIndexOfOptions {
|
|
4313
|
+
/**
|
|
4314
|
+
* The kind of the code actions emitted by the rule
|
|
4315
|
+
*/
|
|
4316
|
+
fix?: FixKind;
|
|
4317
|
+
/**
|
|
4318
|
+
* The severity of the emitted diagnostics by the rule
|
|
4319
|
+
*/
|
|
4320
|
+
level: RulePlainConfiguration;
|
|
4321
|
+
/**
|
|
4322
|
+
* Rule's options
|
|
4323
|
+
*/
|
|
4324
|
+
options: UseIndexOfOptions;
|
|
4325
|
+
}
|
|
4221
4326
|
interface RuleWithFixOptions_for_UseLiteralKeysOptions {
|
|
4222
4327
|
/**
|
|
4223
4328
|
* The kind of the code actions emitted by the rule
|
|
@@ -4394,6 +4499,20 @@ interface RuleWithOptions_for_NoEmptyPatternOptions {
|
|
|
4394
4499
|
*/
|
|
4395
4500
|
options: NoEmptyPatternOptions;
|
|
4396
4501
|
}
|
|
4502
|
+
interface RuleWithFixOptions_for_NoGlobalDirnameFilenameOptions {
|
|
4503
|
+
/**
|
|
4504
|
+
* The kind of the code actions emitted by the rule
|
|
4505
|
+
*/
|
|
4506
|
+
fix?: FixKind;
|
|
4507
|
+
/**
|
|
4508
|
+
* The severity of the emitted diagnostics by the rule
|
|
4509
|
+
*/
|
|
4510
|
+
level: RulePlainConfiguration;
|
|
4511
|
+
/**
|
|
4512
|
+
* Rule's options
|
|
4513
|
+
*/
|
|
4514
|
+
options: NoGlobalDirnameFilenameOptions;
|
|
4515
|
+
}
|
|
4397
4516
|
interface RuleWithOptions_for_NoGlobalObjectCallsOptions {
|
|
4398
4517
|
/**
|
|
4399
4518
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -4488,6 +4607,16 @@ interface RuleWithOptions_for_NoMissingVarFunctionOptions {
|
|
|
4488
4607
|
*/
|
|
4489
4608
|
options: NoMissingVarFunctionOptions;
|
|
4490
4609
|
}
|
|
4610
|
+
interface RuleWithOptions_for_NoNestedComponentDefinitionsOptions {
|
|
4611
|
+
/**
|
|
4612
|
+
* The severity of the emitted diagnostics by the rule
|
|
4613
|
+
*/
|
|
4614
|
+
level: RulePlainConfiguration;
|
|
4615
|
+
/**
|
|
4616
|
+
* Rule's options
|
|
4617
|
+
*/
|
|
4618
|
+
options: NoNestedComponentDefinitionsOptions;
|
|
4619
|
+
}
|
|
4491
4620
|
interface RuleWithOptions_for_NoNodejsModulesOptions {
|
|
4492
4621
|
/**
|
|
4493
4622
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -4532,6 +4661,30 @@ interface RuleWithOptions_for_NoPrivateImportsOptions {
|
|
|
4532
4661
|
*/
|
|
4533
4662
|
options: NoPrivateImportsOptions;
|
|
4534
4663
|
}
|
|
4664
|
+
interface RuleWithFixOptions_for_NoProcessGlobalOptions {
|
|
4665
|
+
/**
|
|
4666
|
+
* The kind of the code actions emitted by the rule
|
|
4667
|
+
*/
|
|
4668
|
+
fix?: FixKind;
|
|
4669
|
+
/**
|
|
4670
|
+
* The severity of the emitted diagnostics by the rule
|
|
4671
|
+
*/
|
|
4672
|
+
level: RulePlainConfiguration;
|
|
4673
|
+
/**
|
|
4674
|
+
* Rule's options
|
|
4675
|
+
*/
|
|
4676
|
+
options: NoProcessGlobalOptions;
|
|
4677
|
+
}
|
|
4678
|
+
interface RuleWithOptions_for_NoReactPropAssignmentsOptions {
|
|
4679
|
+
/**
|
|
4680
|
+
* The severity of the emitted diagnostics by the rule
|
|
4681
|
+
*/
|
|
4682
|
+
level: RulePlainConfiguration;
|
|
4683
|
+
/**
|
|
4684
|
+
* Rule's options
|
|
4685
|
+
*/
|
|
4686
|
+
options: NoReactPropAssignmentsOptions;
|
|
4687
|
+
}
|
|
4535
4688
|
interface RuleWithOptions_for_NoRenderReturnValueOptions {
|
|
4536
4689
|
/**
|
|
4537
4690
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -4542,6 +4695,16 @@ interface RuleWithOptions_for_NoRenderReturnValueOptions {
|
|
|
4542
4695
|
*/
|
|
4543
4696
|
options: NoRenderReturnValueOptions;
|
|
4544
4697
|
}
|
|
4698
|
+
interface RuleWithOptions_for_NoRestrictedElementsOptions {
|
|
4699
|
+
/**
|
|
4700
|
+
* The severity of the emitted diagnostics by the rule
|
|
4701
|
+
*/
|
|
4702
|
+
level: RulePlainConfiguration;
|
|
4703
|
+
/**
|
|
4704
|
+
* Rule's options
|
|
4705
|
+
*/
|
|
4706
|
+
options: NoRestrictedElementsOptions;
|
|
4707
|
+
}
|
|
4545
4708
|
interface RuleWithOptions_for_NoSelfAssignOptions {
|
|
4546
4709
|
/**
|
|
4547
4710
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -4562,6 +4725,16 @@ interface RuleWithOptions_for_NoSetterReturnOptions {
|
|
|
4562
4725
|
*/
|
|
4563
4726
|
options: NoSetterReturnOptions;
|
|
4564
4727
|
}
|
|
4728
|
+
interface RuleWithOptions_for_NoSolidDestructuredPropsOptions {
|
|
4729
|
+
/**
|
|
4730
|
+
* The severity of the emitted diagnostics by the rule
|
|
4731
|
+
*/
|
|
4732
|
+
level: RulePlainConfiguration;
|
|
4733
|
+
/**
|
|
4734
|
+
* Rule's options
|
|
4735
|
+
*/
|
|
4736
|
+
options: NoSolidDestructuredPropsOptions;
|
|
4737
|
+
}
|
|
4565
4738
|
interface RuleWithFixOptions_for_NoStringCaseMismatchOptions {
|
|
4566
4739
|
/**
|
|
4567
4740
|
* The kind of the code actions emitted by the rule
|
|
@@ -4838,6 +5011,20 @@ interface RuleWithFixOptions_for_UseExhaustiveDependenciesOptions {
|
|
|
4838
5011
|
*/
|
|
4839
5012
|
options: UseExhaustiveDependenciesOptions;
|
|
4840
5013
|
}
|
|
5014
|
+
interface RuleWithFixOptions_for_UseGraphqlNamedOperationsOptions {
|
|
5015
|
+
/**
|
|
5016
|
+
* The kind of the code actions emitted by the rule
|
|
5017
|
+
*/
|
|
5018
|
+
fix?: FixKind;
|
|
5019
|
+
/**
|
|
5020
|
+
* The severity of the emitted diagnostics by the rule
|
|
5021
|
+
*/
|
|
5022
|
+
level: RulePlainConfiguration;
|
|
5023
|
+
/**
|
|
5024
|
+
* Rule's options
|
|
5025
|
+
*/
|
|
5026
|
+
options: UseGraphqlNamedOperationsOptions;
|
|
5027
|
+
}
|
|
4841
5028
|
interface RuleWithOptions_for_UseHookAtTopLevelOptions {
|
|
4842
5029
|
/**
|
|
4843
5030
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -4876,7 +5063,11 @@ interface RuleWithFixOptions_for_UseIsNanOptions {
|
|
|
4876
5063
|
*/
|
|
4877
5064
|
options: UseIsNanOptions;
|
|
4878
5065
|
}
|
|
4879
|
-
interface
|
|
5066
|
+
interface RuleWithFixOptions_for_UseJsonImportAttributesOptions {
|
|
5067
|
+
/**
|
|
5068
|
+
* The kind of the code actions emitted by the rule
|
|
5069
|
+
*/
|
|
5070
|
+
fix?: FixKind;
|
|
4880
5071
|
/**
|
|
4881
5072
|
* The severity of the emitted diagnostics by the rule
|
|
4882
5073
|
*/
|
|
@@ -4884,9 +5075,9 @@ interface RuleWithOptions_for_UseJsxKeyInIterableOptions {
|
|
|
4884
5075
|
/**
|
|
4885
5076
|
* Rule's options
|
|
4886
5077
|
*/
|
|
4887
|
-
options:
|
|
5078
|
+
options: UseJsonImportAttributesOptions;
|
|
4888
5079
|
}
|
|
4889
|
-
interface
|
|
5080
|
+
interface RuleWithOptions_for_UseJsxKeyInIterableOptions {
|
|
4890
5081
|
/**
|
|
4891
5082
|
* The severity of the emitted diagnostics by the rule
|
|
4892
5083
|
*/
|
|
@@ -4894,9 +5085,9 @@ interface RuleWithOptions_for_UseValidForDirectionOptions {
|
|
|
4894
5085
|
/**
|
|
4895
5086
|
* Rule's options
|
|
4896
5087
|
*/
|
|
4897
|
-
options:
|
|
5088
|
+
options: UseJsxKeyInIterableOptions;
|
|
4898
5089
|
}
|
|
4899
|
-
interface
|
|
5090
|
+
interface RuleWithFixOptions_for_UseParseIntRadixOptions {
|
|
4900
5091
|
/**
|
|
4901
5092
|
* The kind of the code actions emitted by the rule
|
|
4902
5093
|
*/
|
|
@@ -4908,19 +5099,13 @@ interface RuleWithFixOptions_for_UseValidTypeofOptions {
|
|
|
4908
5099
|
/**
|
|
4909
5100
|
* Rule's options
|
|
4910
5101
|
*/
|
|
4911
|
-
options:
|
|
5102
|
+
options: UseParseIntRadixOptions;
|
|
4912
5103
|
}
|
|
4913
|
-
interface
|
|
4914
|
-
/**
|
|
4915
|
-
* The severity of the emitted diagnostics by the rule
|
|
4916
|
-
*/
|
|
4917
|
-
level: RulePlainConfiguration;
|
|
5104
|
+
interface RuleWithFixOptions_for_UseSingleJsDocAsteriskOptions {
|
|
4918
5105
|
/**
|
|
4919
|
-
*
|
|
5106
|
+
* The kind of the code actions emitted by the rule
|
|
4920
5107
|
*/
|
|
4921
|
-
|
|
4922
|
-
}
|
|
4923
|
-
interface RuleWithOptions_for_NoAwaitInLoopOptions {
|
|
5108
|
+
fix?: FixKind;
|
|
4924
5109
|
/**
|
|
4925
5110
|
* The severity of the emitted diagnostics by the rule
|
|
4926
5111
|
*/
|
|
@@ -4928,9 +5113,9 @@ interface RuleWithOptions_for_NoAwaitInLoopOptions {
|
|
|
4928
5113
|
/**
|
|
4929
5114
|
* Rule's options
|
|
4930
5115
|
*/
|
|
4931
|
-
options:
|
|
5116
|
+
options: UseSingleJsDocAsteriskOptions;
|
|
4932
5117
|
}
|
|
4933
|
-
interface
|
|
5118
|
+
interface RuleWithOptions_for_UseUniqueElementIdsOptions {
|
|
4934
5119
|
/**
|
|
4935
5120
|
* The severity of the emitted diagnostics by the rule
|
|
4936
5121
|
*/
|
|
@@ -4938,9 +5123,9 @@ interface RuleWithOptions_for_NoBitwiseOperatorsOptions {
|
|
|
4938
5123
|
/**
|
|
4939
5124
|
* Rule's options
|
|
4940
5125
|
*/
|
|
4941
|
-
options:
|
|
5126
|
+
options: UseUniqueElementIdsOptions;
|
|
4942
5127
|
}
|
|
4943
|
-
interface
|
|
5128
|
+
interface RuleWithOptions_for_UseValidForDirectionOptions {
|
|
4944
5129
|
/**
|
|
4945
5130
|
* The severity of the emitted diagnostics by the rule
|
|
4946
5131
|
*/
|
|
@@ -4948,9 +5133,13 @@ interface RuleWithOptions_for_NoConstantBinaryExpressionOptions {
|
|
|
4948
5133
|
/**
|
|
4949
5134
|
* Rule's options
|
|
4950
5135
|
*/
|
|
4951
|
-
options:
|
|
5136
|
+
options: UseValidForDirectionOptions;
|
|
4952
5137
|
}
|
|
4953
|
-
interface
|
|
5138
|
+
interface RuleWithFixOptions_for_UseValidTypeofOptions {
|
|
5139
|
+
/**
|
|
5140
|
+
* The kind of the code actions emitted by the rule
|
|
5141
|
+
*/
|
|
5142
|
+
fix?: FixKind;
|
|
4954
5143
|
/**
|
|
4955
5144
|
* The severity of the emitted diagnostics by the rule
|
|
4956
5145
|
*/
|
|
@@ -4958,9 +5147,9 @@ interface RuleWithOptions_for_NoDestructuredPropsOptions {
|
|
|
4958
5147
|
/**
|
|
4959
5148
|
* Rule's options
|
|
4960
5149
|
*/
|
|
4961
|
-
options:
|
|
5150
|
+
options: UseValidTypeofOptions;
|
|
4962
5151
|
}
|
|
4963
|
-
interface
|
|
5152
|
+
interface RuleWithOptions_for_UseYieldOptions {
|
|
4964
5153
|
/**
|
|
4965
5154
|
* The severity of the emitted diagnostics by the rule
|
|
4966
5155
|
*/
|
|
@@ -4968,7 +5157,7 @@ interface RuleWithOptions_for_NoExcessiveLinesPerFunctionOptions {
|
|
|
4968
5157
|
/**
|
|
4969
5158
|
* Rule's options
|
|
4970
5159
|
*/
|
|
4971
|
-
options:
|
|
5160
|
+
options: UseYieldOptions;
|
|
4972
5161
|
}
|
|
4973
5162
|
interface RuleWithFixOptions_for_NoFloatingPromisesOptions {
|
|
4974
5163
|
/**
|
|
@@ -4984,11 +5173,7 @@ interface RuleWithFixOptions_for_NoFloatingPromisesOptions {
|
|
|
4984
5173
|
*/
|
|
4985
5174
|
options: NoFloatingPromisesOptions;
|
|
4986
5175
|
}
|
|
4987
|
-
interface
|
|
4988
|
-
/**
|
|
4989
|
-
* The kind of the code actions emitted by the rule
|
|
4990
|
-
*/
|
|
4991
|
-
fix?: FixKind;
|
|
5176
|
+
interface RuleWithOptions_for_NoImportCyclesOptions {
|
|
4992
5177
|
/**
|
|
4993
5178
|
* The severity of the emitted diagnostics by the rule
|
|
4994
5179
|
*/
|
|
@@ -4996,9 +5181,9 @@ interface RuleWithFixOptions_for_NoGlobalDirnameFilenameOptions {
|
|
|
4996
5181
|
/**
|
|
4997
5182
|
* Rule's options
|
|
4998
5183
|
*/
|
|
4999
|
-
options:
|
|
5184
|
+
options: NoImportCyclesOptions;
|
|
5000
5185
|
}
|
|
5001
|
-
interface
|
|
5186
|
+
interface RuleWithFixOptions_for_NoMisusedPromisesOptions {
|
|
5002
5187
|
/**
|
|
5003
5188
|
* The kind of the code actions emitted by the rule
|
|
5004
5189
|
*/
|
|
@@ -5010,9 +5195,9 @@ interface RuleWithFixOptions_for_NoImplicitCoercionOptions {
|
|
|
5010
5195
|
/**
|
|
5011
5196
|
* Rule's options
|
|
5012
5197
|
*/
|
|
5013
|
-
options:
|
|
5198
|
+
options: NoMisusedPromisesOptions;
|
|
5014
5199
|
}
|
|
5015
|
-
interface
|
|
5200
|
+
interface RuleWithOptions_for_NoNextAsyncClientComponentOptions {
|
|
5016
5201
|
/**
|
|
5017
5202
|
* The severity of the emitted diagnostics by the rule
|
|
5018
5203
|
*/
|
|
@@ -5020,13 +5205,9 @@ interface RuleWithOptions_for_NoImportCyclesOptions {
|
|
|
5020
5205
|
/**
|
|
5021
5206
|
* Rule's options
|
|
5022
5207
|
*/
|
|
5023
|
-
options:
|
|
5208
|
+
options: NoNextAsyncClientComponentOptions;
|
|
5024
5209
|
}
|
|
5025
|
-
interface
|
|
5026
|
-
/**
|
|
5027
|
-
* The kind of the code actions emitted by the rule
|
|
5028
|
-
*/
|
|
5029
|
-
fix?: FixKind;
|
|
5210
|
+
interface RuleWithOptions_for_NoNonNullAssertedOptionalChainOptions {
|
|
5030
5211
|
/**
|
|
5031
5212
|
* The severity of the emitted diagnostics by the rule
|
|
5032
5213
|
*/
|
|
@@ -5034,9 +5215,9 @@ interface RuleWithFixOptions_for_NoImportantStylesOptions {
|
|
|
5034
5215
|
/**
|
|
5035
5216
|
* Rule's options
|
|
5036
5217
|
*/
|
|
5037
|
-
options:
|
|
5218
|
+
options: NoNonNullAssertedOptionalChainOptions;
|
|
5038
5219
|
}
|
|
5039
|
-
interface
|
|
5220
|
+
interface RuleWithOptions_for_NoQwikUseVisibleTaskOptions {
|
|
5040
5221
|
/**
|
|
5041
5222
|
* The severity of the emitted diagnostics by the rule
|
|
5042
5223
|
*/
|
|
@@ -5044,13 +5225,9 @@ interface RuleWithOptions_for_NoMagicNumbersOptions {
|
|
|
5044
5225
|
/**
|
|
5045
5226
|
* Rule's options
|
|
5046
5227
|
*/
|
|
5047
|
-
options:
|
|
5228
|
+
options: NoQwikUseVisibleTaskOptions;
|
|
5048
5229
|
}
|
|
5049
|
-
interface
|
|
5050
|
-
/**
|
|
5051
|
-
* The kind of the code actions emitted by the rule
|
|
5052
|
-
*/
|
|
5053
|
-
fix?: FixKind;
|
|
5230
|
+
interface RuleWithOptions_for_NoSecretsOptions {
|
|
5054
5231
|
/**
|
|
5055
5232
|
* The severity of the emitted diagnostics by the rule
|
|
5056
5233
|
*/
|
|
@@ -5058,9 +5235,9 @@ interface RuleWithFixOptions_for_NoMisusedPromisesOptions {
|
|
|
5058
5235
|
/**
|
|
5059
5236
|
* Rule's options
|
|
5060
5237
|
*/
|
|
5061
|
-
options:
|
|
5238
|
+
options: NoSecretsOptions;
|
|
5062
5239
|
}
|
|
5063
|
-
interface
|
|
5240
|
+
interface RuleWithOptions_for_NoShadowOptions {
|
|
5064
5241
|
/**
|
|
5065
5242
|
* The severity of the emitted diagnostics by the rule
|
|
5066
5243
|
*/
|
|
@@ -5068,9 +5245,9 @@ interface RuleWithOptions_for_NoNestedComponentDefinitionsOptions {
|
|
|
5068
5245
|
/**
|
|
5069
5246
|
* Rule's options
|
|
5070
5247
|
*/
|
|
5071
|
-
options:
|
|
5248
|
+
options: NoShadowOptions;
|
|
5072
5249
|
}
|
|
5073
|
-
interface
|
|
5250
|
+
interface RuleWithOptions_for_NoUnnecessaryConditionsOptions {
|
|
5074
5251
|
/**
|
|
5075
5252
|
* The severity of the emitted diagnostics by the rule
|
|
5076
5253
|
*/
|
|
@@ -5078,9 +5255,9 @@ interface RuleWithOptions_for_NoNonNullAssertedOptionalChainOptions {
|
|
|
5078
5255
|
/**
|
|
5079
5256
|
* Rule's options
|
|
5080
5257
|
*/
|
|
5081
|
-
options:
|
|
5258
|
+
options: NoUnnecessaryConditionsOptions;
|
|
5082
5259
|
}
|
|
5083
|
-
interface
|
|
5260
|
+
interface RuleWithOptions_for_NoUnresolvedImportsOptions {
|
|
5084
5261
|
/**
|
|
5085
5262
|
* The severity of the emitted diagnostics by the rule
|
|
5086
5263
|
*/
|
|
@@ -5088,9 +5265,9 @@ interface RuleWithOptions_for_NoNoninteractiveElementInteractionsOptions {
|
|
|
5088
5265
|
/**
|
|
5089
5266
|
* Rule's options
|
|
5090
5267
|
*/
|
|
5091
|
-
options:
|
|
5268
|
+
options: NoUnresolvedImportsOptions;
|
|
5092
5269
|
}
|
|
5093
|
-
interface
|
|
5270
|
+
interface RuleWithFixOptions_for_NoUselessUndefinedOptions {
|
|
5094
5271
|
/**
|
|
5095
5272
|
* The kind of the code actions emitted by the rule
|
|
5096
5273
|
*/
|
|
@@ -5102,9 +5279,9 @@ interface RuleWithFixOptions_for_NoProcessGlobalOptions {
|
|
|
5102
5279
|
/**
|
|
5103
5280
|
* Rule's options
|
|
5104
5281
|
*/
|
|
5105
|
-
options:
|
|
5282
|
+
options: NoUselessUndefinedOptions;
|
|
5106
5283
|
}
|
|
5107
|
-
interface
|
|
5284
|
+
interface RuleWithFixOptions_for_NoVueDataObjectDeclarationOptions {
|
|
5108
5285
|
/**
|
|
5109
5286
|
* The kind of the code actions emitted by the rule
|
|
5110
5287
|
*/
|
|
@@ -5116,9 +5293,9 @@ interface RuleWithFixOptions_for_NoQuickfixBiomeOptions {
|
|
|
5116
5293
|
/**
|
|
5117
5294
|
* Rule's options
|
|
5118
5295
|
*/
|
|
5119
|
-
options:
|
|
5296
|
+
options: NoVueDataObjectDeclarationOptions;
|
|
5120
5297
|
}
|
|
5121
|
-
interface
|
|
5298
|
+
interface RuleWithOptions_for_NoVueReservedKeysOptions {
|
|
5122
5299
|
/**
|
|
5123
5300
|
* The severity of the emitted diagnostics by the rule
|
|
5124
5301
|
*/
|
|
@@ -5126,9 +5303,9 @@ interface RuleWithOptions_for_NoQwikUseVisibleTaskOptions {
|
|
|
5126
5303
|
/**
|
|
5127
5304
|
* Rule's options
|
|
5128
5305
|
*/
|
|
5129
|
-
options:
|
|
5306
|
+
options: NoVueReservedKeysOptions;
|
|
5130
5307
|
}
|
|
5131
|
-
interface
|
|
5308
|
+
interface RuleWithOptions_for_NoVueReservedPropsOptions {
|
|
5132
5309
|
/**
|
|
5133
5310
|
* The severity of the emitted diagnostics by the rule
|
|
5134
5311
|
*/
|
|
@@ -5136,9 +5313,9 @@ interface RuleWithOptions_for_NoReactPropAssignOptions {
|
|
|
5136
5313
|
/**
|
|
5137
5314
|
* Rule's options
|
|
5138
5315
|
*/
|
|
5139
|
-
options:
|
|
5316
|
+
options: NoVueReservedPropsOptions;
|
|
5140
5317
|
}
|
|
5141
|
-
interface
|
|
5318
|
+
interface RuleWithOptions_for_UseAnchorHrefOptions {
|
|
5142
5319
|
/**
|
|
5143
5320
|
* The severity of the emitted diagnostics by the rule
|
|
5144
5321
|
*/
|
|
@@ -5146,19 +5323,13 @@ interface RuleWithOptions_for_NoRestrictedElementsOptions {
|
|
|
5146
5323
|
/**
|
|
5147
5324
|
* Rule's options
|
|
5148
5325
|
*/
|
|
5149
|
-
options:
|
|
5326
|
+
options: UseAnchorHrefOptions;
|
|
5150
5327
|
}
|
|
5151
|
-
interface
|
|
5152
|
-
/**
|
|
5153
|
-
* The severity of the emitted diagnostics by the rule
|
|
5154
|
-
*/
|
|
5155
|
-
level: RulePlainConfiguration;
|
|
5328
|
+
interface RuleWithFixOptions_for_UseConsistentTypeDefinitionsOptions {
|
|
5156
5329
|
/**
|
|
5157
|
-
*
|
|
5330
|
+
* The kind of the code actions emitted by the rule
|
|
5158
5331
|
*/
|
|
5159
|
-
|
|
5160
|
-
}
|
|
5161
|
-
interface RuleWithOptions_for_NoShadowOptions {
|
|
5332
|
+
fix?: FixKind;
|
|
5162
5333
|
/**
|
|
5163
5334
|
* The severity of the emitted diagnostics by the rule
|
|
5164
5335
|
*/
|
|
@@ -5166,9 +5337,9 @@ interface RuleWithOptions_for_NoShadowOptions {
|
|
|
5166
5337
|
/**
|
|
5167
5338
|
* Rule's options
|
|
5168
5339
|
*/
|
|
5169
|
-
options:
|
|
5340
|
+
options: UseConsistentTypeDefinitionsOptions;
|
|
5170
5341
|
}
|
|
5171
|
-
interface
|
|
5342
|
+
interface RuleWithFixOptions_for_UseExhaustiveSwitchCasesOptions {
|
|
5172
5343
|
/**
|
|
5173
5344
|
* The kind of the code actions emitted by the rule
|
|
5174
5345
|
*/
|
|
@@ -5180,9 +5351,9 @@ interface RuleWithFixOptions_for_NoTsIgnoreOptions {
|
|
|
5180
5351
|
/**
|
|
5181
5352
|
* Rule's options
|
|
5182
5353
|
*/
|
|
5183
|
-
options:
|
|
5354
|
+
options: UseExhaustiveSwitchCasesOptions;
|
|
5184
5355
|
}
|
|
5185
|
-
interface
|
|
5356
|
+
interface RuleWithOptions_for_UseExplicitTypeOptions {
|
|
5186
5357
|
/**
|
|
5187
5358
|
* The severity of the emitted diagnostics by the rule
|
|
5188
5359
|
*/
|
|
@@ -5190,9 +5361,9 @@ interface RuleWithOptions_for_NoUnassignedVariablesOptions {
|
|
|
5190
5361
|
/**
|
|
5191
5362
|
* Rule's options
|
|
5192
5363
|
*/
|
|
5193
|
-
options:
|
|
5364
|
+
options: UseExplicitTypeOptions;
|
|
5194
5365
|
}
|
|
5195
|
-
interface
|
|
5366
|
+
interface RuleWithOptions_for_UseImageSizeOptions {
|
|
5196
5367
|
/**
|
|
5197
5368
|
* The severity of the emitted diagnostics by the rule
|
|
5198
5369
|
*/
|
|
@@ -5200,9 +5371,9 @@ interface RuleWithOptions_for_NoUnknownAtRuleOptions {
|
|
|
5200
5371
|
/**
|
|
5201
5372
|
* Rule's options
|
|
5202
5373
|
*/
|
|
5203
|
-
options:
|
|
5374
|
+
options: UseImageSizeOptions;
|
|
5204
5375
|
}
|
|
5205
|
-
interface
|
|
5376
|
+
interface RuleWithOptions_for_UseMaxParamsOptions {
|
|
5206
5377
|
/**
|
|
5207
5378
|
* The severity of the emitted diagnostics by the rule
|
|
5208
5379
|
*/
|
|
@@ -5210,9 +5381,9 @@ interface RuleWithOptions_for_NoUnnecessaryConditionsOptions {
|
|
|
5210
5381
|
/**
|
|
5211
5382
|
* Rule's options
|
|
5212
5383
|
*/
|
|
5213
|
-
options:
|
|
5384
|
+
options: UseMaxParamsOptions;
|
|
5214
5385
|
}
|
|
5215
|
-
interface
|
|
5386
|
+
interface RuleWithOptions_for_UseQwikClasslistOptions {
|
|
5216
5387
|
/**
|
|
5217
5388
|
* The severity of the emitted diagnostics by the rule
|
|
5218
5389
|
*/
|
|
@@ -5220,9 +5391,9 @@ interface RuleWithOptions_for_NoUnresolvedImportsOptions {
|
|
|
5220
5391
|
/**
|
|
5221
5392
|
* Rule's options
|
|
5222
5393
|
*/
|
|
5223
|
-
options:
|
|
5394
|
+
options: UseQwikClasslistOptions;
|
|
5224
5395
|
}
|
|
5225
|
-
interface
|
|
5396
|
+
interface RuleWithOptions_for_UseReactFunctionComponentsOptions {
|
|
5226
5397
|
/**
|
|
5227
5398
|
* The severity of the emitted diagnostics by the rule
|
|
5228
5399
|
*/
|
|
@@ -5230,35 +5401,11 @@ interface RuleWithOptions_for_NoUnwantedPolyfillioOptions {
|
|
|
5230
5401
|
/**
|
|
5231
5402
|
* Rule's options
|
|
5232
5403
|
*/
|
|
5233
|
-
options:
|
|
5404
|
+
options: UseReactFunctionComponentsOptions;
|
|
5234
5405
|
}
|
|
5235
|
-
interface
|
|
5406
|
+
interface RuleWithFixOptions_for_UseSortedClassesOptions {
|
|
5236
5407
|
/**
|
|
5237
|
-
* The
|
|
5238
|
-
*/
|
|
5239
|
-
level: RulePlainConfiguration;
|
|
5240
|
-
/**
|
|
5241
|
-
* Rule's options
|
|
5242
|
-
*/
|
|
5243
|
-
options: NoUselessBackrefInRegexOptions;
|
|
5244
|
-
}
|
|
5245
|
-
interface RuleWithFixOptions_for_NoUselessEscapeInStringOptions {
|
|
5246
|
-
/**
|
|
5247
|
-
* The kind of the code actions emitted by the rule
|
|
5248
|
-
*/
|
|
5249
|
-
fix?: FixKind;
|
|
5250
|
-
/**
|
|
5251
|
-
* The severity of the emitted diagnostics by the rule
|
|
5252
|
-
*/
|
|
5253
|
-
level: RulePlainConfiguration;
|
|
5254
|
-
/**
|
|
5255
|
-
* Rule's options
|
|
5256
|
-
*/
|
|
5257
|
-
options: NoUselessEscapeInStringOptions;
|
|
5258
|
-
}
|
|
5259
|
-
interface RuleWithFixOptions_for_NoUselessUndefinedOptions {
|
|
5260
|
-
/**
|
|
5261
|
-
* The kind of the code actions emitted by the rule
|
|
5408
|
+
* The kind of the code actions emitted by the rule
|
|
5262
5409
|
*/
|
|
5263
5410
|
fix?: FixKind;
|
|
5264
5411
|
/**
|
|
@@ -5268,43 +5415,9 @@ interface RuleWithFixOptions_for_NoUselessUndefinedOptions {
|
|
|
5268
5415
|
/**
|
|
5269
5416
|
* Rule's options
|
|
5270
5417
|
*/
|
|
5271
|
-
options:
|
|
5272
|
-
}
|
|
5273
|
-
interface RuleWithFixOptions_for_NoVueDataObjectDeclarationOptions {
|
|
5274
|
-
/**
|
|
5275
|
-
* The kind of the code actions emitted by the rule
|
|
5276
|
-
*/
|
|
5277
|
-
fix?: FixKind;
|
|
5278
|
-
/**
|
|
5279
|
-
* The severity of the emitted diagnostics by the rule
|
|
5280
|
-
*/
|
|
5281
|
-
level: RulePlainConfiguration;
|
|
5282
|
-
/**
|
|
5283
|
-
* Rule's options
|
|
5284
|
-
*/
|
|
5285
|
-
options: NoVueDataObjectDeclarationOptions;
|
|
5286
|
-
}
|
|
5287
|
-
interface RuleWithOptions_for_NoVueReservedKeysOptions {
|
|
5288
|
-
/**
|
|
5289
|
-
* The severity of the emitted diagnostics by the rule
|
|
5290
|
-
*/
|
|
5291
|
-
level: RulePlainConfiguration;
|
|
5292
|
-
/**
|
|
5293
|
-
* Rule's options
|
|
5294
|
-
*/
|
|
5295
|
-
options: NoVueReservedKeysOptions;
|
|
5296
|
-
}
|
|
5297
|
-
interface RuleWithOptions_for_NoVueReservedPropsOptions {
|
|
5298
|
-
/**
|
|
5299
|
-
* The severity of the emitted diagnostics by the rule
|
|
5300
|
-
*/
|
|
5301
|
-
level: RulePlainConfiguration;
|
|
5302
|
-
/**
|
|
5303
|
-
* Rule's options
|
|
5304
|
-
*/
|
|
5305
|
-
options: NoVueReservedPropsOptions;
|
|
5418
|
+
options: UseSortedClassesOptions;
|
|
5306
5419
|
}
|
|
5307
|
-
interface
|
|
5420
|
+
interface RuleWithOptions_for_NoAccumulatingSpreadOptions {
|
|
5308
5421
|
/**
|
|
5309
5422
|
* The severity of the emitted diagnostics by the rule
|
|
5310
5423
|
*/
|
|
@@ -5312,9 +5425,9 @@ interface RuleWithOptions_for_UseAdjacentGetterSetterOptions {
|
|
|
5312
5425
|
/**
|
|
5313
5426
|
* Rule's options
|
|
5314
5427
|
*/
|
|
5315
|
-
options:
|
|
5428
|
+
options: NoAccumulatingSpreadOptions;
|
|
5316
5429
|
}
|
|
5317
|
-
interface
|
|
5430
|
+
interface RuleWithOptions_for_NoAwaitInLoopsOptions {
|
|
5318
5431
|
/**
|
|
5319
5432
|
* The severity of the emitted diagnostics by the rule
|
|
5320
5433
|
*/
|
|
@@ -5322,13 +5435,9 @@ interface RuleWithOptions_for_UseAnchorHrefOptions {
|
|
|
5322
5435
|
/**
|
|
5323
5436
|
* Rule's options
|
|
5324
5437
|
*/
|
|
5325
|
-
options:
|
|
5438
|
+
options: NoAwaitInLoopsOptions;
|
|
5326
5439
|
}
|
|
5327
|
-
interface
|
|
5328
|
-
/**
|
|
5329
|
-
* The kind of the code actions emitted by the rule
|
|
5330
|
-
*/
|
|
5331
|
-
fix?: FixKind;
|
|
5440
|
+
interface RuleWithOptions_for_NoBarrelFileOptions {
|
|
5332
5441
|
/**
|
|
5333
5442
|
* The severity of the emitted diagnostics by the rule
|
|
5334
5443
|
*/
|
|
@@ -5336,9 +5445,9 @@ interface RuleWithFixOptions_for_UseConsistentObjectDefinitionOptions {
|
|
|
5336
5445
|
/**
|
|
5337
5446
|
* Rule's options
|
|
5338
5447
|
*/
|
|
5339
|
-
options:
|
|
5448
|
+
options: NoBarrelFileOptions;
|
|
5340
5449
|
}
|
|
5341
|
-
interface
|
|
5450
|
+
interface RuleWithFixOptions_for_NoDeleteOptions {
|
|
5342
5451
|
/**
|
|
5343
5452
|
* The kind of the code actions emitted by the rule
|
|
5344
5453
|
*/
|
|
@@ -5350,13 +5459,9 @@ interface RuleWithFixOptions_for_UseConsistentResponseOptions {
|
|
|
5350
5459
|
/**
|
|
5351
5460
|
* Rule's options
|
|
5352
5461
|
*/
|
|
5353
|
-
options:
|
|
5462
|
+
options: NoDeleteOptions;
|
|
5354
5463
|
}
|
|
5355
|
-
interface
|
|
5356
|
-
/**
|
|
5357
|
-
* The kind of the code actions emitted by the rule
|
|
5358
|
-
*/
|
|
5359
|
-
fix?: FixKind;
|
|
5464
|
+
interface RuleWithOptions_for_NoDynamicNamespaceImportAccessOptions {
|
|
5360
5465
|
/**
|
|
5361
5466
|
* The severity of the emitted diagnostics by the rule
|
|
5362
5467
|
*/
|
|
@@ -5364,13 +5469,9 @@ interface RuleWithFixOptions_for_UseConsistentTypeDefinitionsOptions {
|
|
|
5364
5469
|
/**
|
|
5365
5470
|
* Rule's options
|
|
5366
5471
|
*/
|
|
5367
|
-
options:
|
|
5472
|
+
options: NoDynamicNamespaceImportAccessOptions;
|
|
5368
5473
|
}
|
|
5369
|
-
interface
|
|
5370
|
-
/**
|
|
5371
|
-
* The kind of the code actions emitted by the rule
|
|
5372
|
-
*/
|
|
5373
|
-
fix?: FixKind;
|
|
5474
|
+
interface RuleWithOptions_for_NoImgElementOptions {
|
|
5374
5475
|
/**
|
|
5375
5476
|
* The severity of the emitted diagnostics by the rule
|
|
5376
5477
|
*/
|
|
@@ -5378,9 +5479,9 @@ interface RuleWithFixOptions_for_UseExhaustiveSwitchCasesOptions {
|
|
|
5378
5479
|
/**
|
|
5379
5480
|
* Rule's options
|
|
5380
5481
|
*/
|
|
5381
|
-
options:
|
|
5482
|
+
options: NoImgElementOptions;
|
|
5382
5483
|
}
|
|
5383
|
-
interface
|
|
5484
|
+
interface RuleWithOptions_for_NoNamespaceImportOptions {
|
|
5384
5485
|
/**
|
|
5385
5486
|
* The severity of the emitted diagnostics by the rule
|
|
5386
5487
|
*/
|
|
@@ -5388,9 +5489,9 @@ interface RuleWithOptions_for_UseExplicitTypeOptions {
|
|
|
5388
5489
|
/**
|
|
5389
5490
|
* Rule's options
|
|
5390
5491
|
*/
|
|
5391
|
-
options:
|
|
5492
|
+
options: NoNamespaceImportOptions;
|
|
5392
5493
|
}
|
|
5393
|
-
interface
|
|
5494
|
+
interface RuleWithOptions_for_NoReExportAllOptions {
|
|
5394
5495
|
/**
|
|
5395
5496
|
* The severity of the emitted diagnostics by the rule
|
|
5396
5497
|
*/
|
|
@@ -5398,9 +5499,9 @@ interface RuleWithOptions_for_UseExportsLastOptions {
|
|
|
5398
5499
|
/**
|
|
5399
5500
|
* Rule's options
|
|
5400
5501
|
*/
|
|
5401
|
-
options:
|
|
5502
|
+
options: NoReExportAllOptions;
|
|
5402
5503
|
}
|
|
5403
|
-
interface
|
|
5504
|
+
interface RuleWithOptions_for_NoUnwantedPolyfillioOptions {
|
|
5404
5505
|
/**
|
|
5405
5506
|
* The severity of the emitted diagnostics by the rule
|
|
5406
5507
|
*/
|
|
@@ -5408,7 +5509,7 @@ interface RuleWithOptions_for_UseForComponentOptions {
|
|
|
5408
5509
|
/**
|
|
5409
5510
|
* Rule's options
|
|
5410
5511
|
*/
|
|
5411
|
-
options:
|
|
5512
|
+
options: NoUnwantedPolyfillioOptions;
|
|
5412
5513
|
}
|
|
5413
5514
|
interface RuleWithFixOptions_for_UseGoogleFontPreconnectOptions {
|
|
5414
5515
|
/**
|
|
@@ -5424,159 +5525,7 @@ interface RuleWithFixOptions_for_UseGoogleFontPreconnectOptions {
|
|
|
5424
5525
|
*/
|
|
5425
5526
|
options: UseGoogleFontPreconnectOptions;
|
|
5426
5527
|
}
|
|
5427
|
-
interface
|
|
5428
|
-
/**
|
|
5429
|
-
* The severity of the emitted diagnostics by the rule
|
|
5430
|
-
*/
|
|
5431
|
-
level: RulePlainConfiguration;
|
|
5432
|
-
/**
|
|
5433
|
-
* Rule's options
|
|
5434
|
-
*/
|
|
5435
|
-
options: UseImageSizeOptions;
|
|
5436
|
-
}
|
|
5437
|
-
interface RuleWithFixOptions_for_UseIndexOfOptions {
|
|
5438
|
-
/**
|
|
5439
|
-
* The kind of the code actions emitted by the rule
|
|
5440
|
-
*/
|
|
5441
|
-
fix?: FixKind;
|
|
5442
|
-
/**
|
|
5443
|
-
* The severity of the emitted diagnostics by the rule
|
|
5444
|
-
*/
|
|
5445
|
-
level: RulePlainConfiguration;
|
|
5446
|
-
/**
|
|
5447
|
-
* Rule's options
|
|
5448
|
-
*/
|
|
5449
|
-
options: UseIndexOfOptions;
|
|
5450
|
-
}
|
|
5451
|
-
interface RuleWithOptions_for_UseIterableCallbackReturnOptions {
|
|
5452
|
-
/**
|
|
5453
|
-
* The severity of the emitted diagnostics by the rule
|
|
5454
|
-
*/
|
|
5455
|
-
level: RulePlainConfiguration;
|
|
5456
|
-
/**
|
|
5457
|
-
* Rule's options
|
|
5458
|
-
*/
|
|
5459
|
-
options: UseIterableCallbackReturnOptions;
|
|
5460
|
-
}
|
|
5461
|
-
interface RuleWithFixOptions_for_UseJsonImportAttributeOptions {
|
|
5462
|
-
/**
|
|
5463
|
-
* The kind of the code actions emitted by the rule
|
|
5464
|
-
*/
|
|
5465
|
-
fix?: FixKind;
|
|
5466
|
-
/**
|
|
5467
|
-
* The severity of the emitted diagnostics by the rule
|
|
5468
|
-
*/
|
|
5469
|
-
level: RulePlainConfiguration;
|
|
5470
|
-
/**
|
|
5471
|
-
* Rule's options
|
|
5472
|
-
*/
|
|
5473
|
-
options: UseJsonImportAttributeOptions;
|
|
5474
|
-
}
|
|
5475
|
-
interface RuleWithFixOptions_for_UseNamedOperationOptions {
|
|
5476
|
-
/**
|
|
5477
|
-
* The kind of the code actions emitted by the rule
|
|
5478
|
-
*/
|
|
5479
|
-
fix?: FixKind;
|
|
5480
|
-
/**
|
|
5481
|
-
* The severity of the emitted diagnostics by the rule
|
|
5482
|
-
*/
|
|
5483
|
-
level: RulePlainConfiguration;
|
|
5484
|
-
/**
|
|
5485
|
-
* Rule's options
|
|
5486
|
-
*/
|
|
5487
|
-
options: UseNamedOperationOptions;
|
|
5488
|
-
}
|
|
5489
|
-
interface RuleWithOptions_for_UseNamingConventionOptions {
|
|
5490
|
-
/**
|
|
5491
|
-
* The severity of the emitted diagnostics by the rule
|
|
5492
|
-
*/
|
|
5493
|
-
level: RulePlainConfiguration;
|
|
5494
|
-
/**
|
|
5495
|
-
* Rule's options
|
|
5496
|
-
*/
|
|
5497
|
-
options: UseNamingConventionOptions;
|
|
5498
|
-
}
|
|
5499
|
-
interface RuleWithFixOptions_for_UseNumericSeparatorsOptions {
|
|
5500
|
-
/**
|
|
5501
|
-
* The kind of the code actions emitted by the rule
|
|
5502
|
-
*/
|
|
5503
|
-
fix?: FixKind;
|
|
5504
|
-
/**
|
|
5505
|
-
* The severity of the emitted diagnostics by the rule
|
|
5506
|
-
*/
|
|
5507
|
-
level: RulePlainConfiguration;
|
|
5508
|
-
/**
|
|
5509
|
-
* Rule's options
|
|
5510
|
-
*/
|
|
5511
|
-
options: UseNumericSeparatorsOptions;
|
|
5512
|
-
}
|
|
5513
|
-
interface RuleWithFixOptions_for_UseObjectSpreadOptions {
|
|
5514
|
-
/**
|
|
5515
|
-
* The kind of the code actions emitted by the rule
|
|
5516
|
-
*/
|
|
5517
|
-
fix?: FixKind;
|
|
5518
|
-
/**
|
|
5519
|
-
* The severity of the emitted diagnostics by the rule
|
|
5520
|
-
*/
|
|
5521
|
-
level: RulePlainConfiguration;
|
|
5522
|
-
/**
|
|
5523
|
-
* Rule's options
|
|
5524
|
-
*/
|
|
5525
|
-
options: UseObjectSpreadOptions;
|
|
5526
|
-
}
|
|
5527
|
-
interface RuleWithFixOptions_for_UseParseIntRadixOptions {
|
|
5528
|
-
/**
|
|
5529
|
-
* The kind of the code actions emitted by the rule
|
|
5530
|
-
*/
|
|
5531
|
-
fix?: FixKind;
|
|
5532
|
-
/**
|
|
5533
|
-
* The severity of the emitted diagnostics by the rule
|
|
5534
|
-
*/
|
|
5535
|
-
level: RulePlainConfiguration;
|
|
5536
|
-
/**
|
|
5537
|
-
* Rule's options
|
|
5538
|
-
*/
|
|
5539
|
-
options: UseParseIntRadixOptions;
|
|
5540
|
-
}
|
|
5541
|
-
interface RuleWithOptions_for_UseQwikClasslistOptions {
|
|
5542
|
-
/**
|
|
5543
|
-
* The severity of the emitted diagnostics by the rule
|
|
5544
|
-
*/
|
|
5545
|
-
level: RulePlainConfiguration;
|
|
5546
|
-
/**
|
|
5547
|
-
* Rule's options
|
|
5548
|
-
*/
|
|
5549
|
-
options: UseQwikClasslistOptions;
|
|
5550
|
-
}
|
|
5551
|
-
interface RuleWithOptions_for_UseReactFunctionComponentsOptions {
|
|
5552
|
-
/**
|
|
5553
|
-
* The severity of the emitted diagnostics by the rule
|
|
5554
|
-
*/
|
|
5555
|
-
level: RulePlainConfiguration;
|
|
5556
|
-
/**
|
|
5557
|
-
* Rule's options
|
|
5558
|
-
*/
|
|
5559
|
-
options: UseReactFunctionComponentsOptions;
|
|
5560
|
-
}
|
|
5561
|
-
interface RuleWithFixOptions_for_UseReadonlyClassPropertiesOptions {
|
|
5562
|
-
/**
|
|
5563
|
-
* The kind of the code actions emitted by the rule
|
|
5564
|
-
*/
|
|
5565
|
-
fix?: FixKind;
|
|
5566
|
-
/**
|
|
5567
|
-
* The severity of the emitted diagnostics by the rule
|
|
5568
|
-
*/
|
|
5569
|
-
level: RulePlainConfiguration;
|
|
5570
|
-
/**
|
|
5571
|
-
* Rule's options
|
|
5572
|
-
*/
|
|
5573
|
-
options: UseReadonlyClassPropertiesOptions;
|
|
5574
|
-
}
|
|
5575
|
-
interface RuleWithFixOptions_for_UseSingleJsDocAsteriskOptions {
|
|
5576
|
-
/**
|
|
5577
|
-
* The kind of the code actions emitted by the rule
|
|
5578
|
-
*/
|
|
5579
|
-
fix?: FixKind;
|
|
5528
|
+
interface RuleWithOptions_for_UseSolidForComponentOptions {
|
|
5580
5529
|
/**
|
|
5581
5530
|
* The severity of the emitted diagnostics by the rule
|
|
5582
5531
|
*/
|
|
@@ -5584,129 +5533,7 @@ interface RuleWithFixOptions_for_UseSingleJsDocAsteriskOptions {
|
|
|
5584
5533
|
/**
|
|
5585
5534
|
* Rule's options
|
|
5586
5535
|
*/
|
|
5587
|
-
options:
|
|
5588
|
-
}
|
|
5589
|
-
interface RuleWithFixOptions_for_UseSortedClassesOptions {
|
|
5590
|
-
/**
|
|
5591
|
-
* The kind of the code actions emitted by the rule
|
|
5592
|
-
*/
|
|
5593
|
-
fix?: FixKind;
|
|
5594
|
-
/**
|
|
5595
|
-
* The severity of the emitted diagnostics by the rule
|
|
5596
|
-
*/
|
|
5597
|
-
level: RulePlainConfiguration;
|
|
5598
|
-
/**
|
|
5599
|
-
* Rule's options
|
|
5600
|
-
*/
|
|
5601
|
-
options: UseSortedClassesOptions;
|
|
5602
|
-
}
|
|
5603
|
-
interface RuleWithOptions_for_UseSymbolDescriptionOptions {
|
|
5604
|
-
/**
|
|
5605
|
-
* The severity of the emitted diagnostics by the rule
|
|
5606
|
-
*/
|
|
5607
|
-
level: RulePlainConfiguration;
|
|
5608
|
-
/**
|
|
5609
|
-
* Rule's options
|
|
5610
|
-
*/
|
|
5611
|
-
options: UseSymbolDescriptionOptions;
|
|
5612
|
-
}
|
|
5613
|
-
interface RuleWithFixOptions_for_UseUnifiedTypeSignatureOptions {
|
|
5614
|
-
/**
|
|
5615
|
-
* The kind of the code actions emitted by the rule
|
|
5616
|
-
*/
|
|
5617
|
-
fix?: FixKind;
|
|
5618
|
-
/**
|
|
5619
|
-
* The severity of the emitted diagnostics by the rule
|
|
5620
|
-
*/
|
|
5621
|
-
level: RulePlainConfiguration;
|
|
5622
|
-
/**
|
|
5623
|
-
* Rule's options
|
|
5624
|
-
*/
|
|
5625
|
-
options: UseUnifiedTypeSignatureOptions;
|
|
5626
|
-
}
|
|
5627
|
-
interface RuleWithOptions_for_UseUniqueElementIdsOptions {
|
|
5628
|
-
/**
|
|
5629
|
-
* The severity of the emitted diagnostics by the rule
|
|
5630
|
-
*/
|
|
5631
|
-
level: RulePlainConfiguration;
|
|
5632
|
-
/**
|
|
5633
|
-
* Rule's options
|
|
5634
|
-
*/
|
|
5635
|
-
options: UseUniqueElementIdsOptions;
|
|
5636
|
-
}
|
|
5637
|
-
interface RuleWithOptions_for_NoAccumulatingSpreadOptions {
|
|
5638
|
-
/**
|
|
5639
|
-
* The severity of the emitted diagnostics by the rule
|
|
5640
|
-
*/
|
|
5641
|
-
level: RulePlainConfiguration;
|
|
5642
|
-
/**
|
|
5643
|
-
* Rule's options
|
|
5644
|
-
*/
|
|
5645
|
-
options: NoAccumulatingSpreadOptions;
|
|
5646
|
-
}
|
|
5647
|
-
interface RuleWithOptions_for_NoBarrelFileOptions {
|
|
5648
|
-
/**
|
|
5649
|
-
* The severity of the emitted diagnostics by the rule
|
|
5650
|
-
*/
|
|
5651
|
-
level: RulePlainConfiguration;
|
|
5652
|
-
/**
|
|
5653
|
-
* Rule's options
|
|
5654
|
-
*/
|
|
5655
|
-
options: NoBarrelFileOptions;
|
|
5656
|
-
}
|
|
5657
|
-
interface RuleWithFixOptions_for_NoDeleteOptions {
|
|
5658
|
-
/**
|
|
5659
|
-
* The kind of the code actions emitted by the rule
|
|
5660
|
-
*/
|
|
5661
|
-
fix?: FixKind;
|
|
5662
|
-
/**
|
|
5663
|
-
* The severity of the emitted diagnostics by the rule
|
|
5664
|
-
*/
|
|
5665
|
-
level: RulePlainConfiguration;
|
|
5666
|
-
/**
|
|
5667
|
-
* Rule's options
|
|
5668
|
-
*/
|
|
5669
|
-
options: NoDeleteOptions;
|
|
5670
|
-
}
|
|
5671
|
-
interface RuleWithOptions_for_NoDynamicNamespaceImportAccessOptions {
|
|
5672
|
-
/**
|
|
5673
|
-
* The severity of the emitted diagnostics by the rule
|
|
5674
|
-
*/
|
|
5675
|
-
level: RulePlainConfiguration;
|
|
5676
|
-
/**
|
|
5677
|
-
* Rule's options
|
|
5678
|
-
*/
|
|
5679
|
-
options: NoDynamicNamespaceImportAccessOptions;
|
|
5680
|
-
}
|
|
5681
|
-
interface RuleWithOptions_for_NoImgElementOptions {
|
|
5682
|
-
/**
|
|
5683
|
-
* The severity of the emitted diagnostics by the rule
|
|
5684
|
-
*/
|
|
5685
|
-
level: RulePlainConfiguration;
|
|
5686
|
-
/**
|
|
5687
|
-
* Rule's options
|
|
5688
|
-
*/
|
|
5689
|
-
options: NoImgElementOptions;
|
|
5690
|
-
}
|
|
5691
|
-
interface RuleWithOptions_for_NoNamespaceImportOptions {
|
|
5692
|
-
/**
|
|
5693
|
-
* The severity of the emitted diagnostics by the rule
|
|
5694
|
-
*/
|
|
5695
|
-
level: RulePlainConfiguration;
|
|
5696
|
-
/**
|
|
5697
|
-
* Rule's options
|
|
5698
|
-
*/
|
|
5699
|
-
options: NoNamespaceImportOptions;
|
|
5700
|
-
}
|
|
5701
|
-
interface RuleWithOptions_for_NoReExportAllOptions {
|
|
5702
|
-
/**
|
|
5703
|
-
* The severity of the emitted diagnostics by the rule
|
|
5704
|
-
*/
|
|
5705
|
-
level: RulePlainConfiguration;
|
|
5706
|
-
/**
|
|
5707
|
-
* Rule's options
|
|
5708
|
-
*/
|
|
5709
|
-
options: NoReExportAllOptions;
|
|
5536
|
+
options: UseSolidForComponentOptions;
|
|
5710
5537
|
}
|
|
5711
5538
|
interface RuleWithOptions_for_UseTopLevelRegexOptions {
|
|
5712
5539
|
/**
|
|
@@ -5858,7 +5685,17 @@ interface RuleWithFixOptions_for_NoInferrableTypesOptions {
|
|
|
5858
5685
|
/**
|
|
5859
5686
|
* Rule's options
|
|
5860
5687
|
*/
|
|
5861
|
-
options: NoInferrableTypesOptions;
|
|
5688
|
+
options: NoInferrableTypesOptions;
|
|
5689
|
+
}
|
|
5690
|
+
interface RuleWithOptions_for_NoMagicNumbersOptions {
|
|
5691
|
+
/**
|
|
5692
|
+
* The severity of the emitted diagnostics by the rule
|
|
5693
|
+
*/
|
|
5694
|
+
level: RulePlainConfiguration;
|
|
5695
|
+
/**
|
|
5696
|
+
* Rule's options
|
|
5697
|
+
*/
|
|
5698
|
+
options: NoMagicNumbersOptions;
|
|
5862
5699
|
}
|
|
5863
5700
|
interface RuleWithOptions_for_NoNamespaceOptions {
|
|
5864
5701
|
/**
|
|
@@ -6198,6 +6035,20 @@ interface RuleWithOptions_for_UseConsistentMemberAccessibilityOptions {
|
|
|
6198
6035
|
*/
|
|
6199
6036
|
options: UseConsistentMemberAccessibilityOptions;
|
|
6200
6037
|
}
|
|
6038
|
+
interface RuleWithFixOptions_for_UseConsistentObjectDefinitionsOptions {
|
|
6039
|
+
/**
|
|
6040
|
+
* The kind of the code actions emitted by the rule
|
|
6041
|
+
*/
|
|
6042
|
+
fix?: FixKind;
|
|
6043
|
+
/**
|
|
6044
|
+
* The severity of the emitted diagnostics by the rule
|
|
6045
|
+
*/
|
|
6046
|
+
level: RulePlainConfiguration;
|
|
6047
|
+
/**
|
|
6048
|
+
* Rule's options
|
|
6049
|
+
*/
|
|
6050
|
+
options: UseConsistentObjectDefinitionsOptions;
|
|
6051
|
+
}
|
|
6201
6052
|
interface RuleWithFixOptions_for_UseConstOptions {
|
|
6202
6053
|
/**
|
|
6203
6054
|
* The kind of the code actions emitted by the rule
|
|
@@ -6302,6 +6153,16 @@ interface RuleWithFixOptions_for_UseExportTypeOptions {
|
|
|
6302
6153
|
*/
|
|
6303
6154
|
options: UseExportTypeOptions;
|
|
6304
6155
|
}
|
|
6156
|
+
interface RuleWithOptions_for_UseExportsLastOptions {
|
|
6157
|
+
/**
|
|
6158
|
+
* The severity of the emitted diagnostics by the rule
|
|
6159
|
+
*/
|
|
6160
|
+
level: RulePlainConfiguration;
|
|
6161
|
+
/**
|
|
6162
|
+
* Rule's options
|
|
6163
|
+
*/
|
|
6164
|
+
options: UseExportsLastOptions;
|
|
6165
|
+
}
|
|
6305
6166
|
interface RuleWithOptions_for_UseFilenamingConventionOptions {
|
|
6306
6167
|
/**
|
|
6307
6168
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -6336,6 +6197,26 @@ interface RuleWithFixOptions_for_UseFragmentSyntaxOptions {
|
|
|
6336
6197
|
*/
|
|
6337
6198
|
options: UseFragmentSyntaxOptions;
|
|
6338
6199
|
}
|
|
6200
|
+
interface RuleWithOptions_for_UseGraphqlNamingConventionOptions {
|
|
6201
|
+
/**
|
|
6202
|
+
* The severity of the emitted diagnostics by the rule
|
|
6203
|
+
*/
|
|
6204
|
+
level: RulePlainConfiguration;
|
|
6205
|
+
/**
|
|
6206
|
+
* Rule's options
|
|
6207
|
+
*/
|
|
6208
|
+
options: UseGraphqlNamingConventionOptions;
|
|
6209
|
+
}
|
|
6210
|
+
interface RuleWithOptions_for_UseGroupedAccessorPairsOptions {
|
|
6211
|
+
/**
|
|
6212
|
+
* The severity of the emitted diagnostics by the rule
|
|
6213
|
+
*/
|
|
6214
|
+
level: RulePlainConfiguration;
|
|
6215
|
+
/**
|
|
6216
|
+
* Rule's options
|
|
6217
|
+
*/
|
|
6218
|
+
options: UseGroupedAccessorPairsOptions;
|
|
6219
|
+
}
|
|
6339
6220
|
interface RuleWithFixOptions_for_UseImportTypeOptions {
|
|
6340
6221
|
/**
|
|
6341
6222
|
* The kind of the code actions emitted by the rule
|
|
@@ -6416,6 +6297,48 @@ interface RuleWithFixOptions_for_UseNumberNamespaceOptions {
|
|
|
6416
6297
|
*/
|
|
6417
6298
|
options: UseNumberNamespaceOptions;
|
|
6418
6299
|
}
|
|
6300
|
+
interface RuleWithFixOptions_for_UseNumericSeparatorsOptions {
|
|
6301
|
+
/**
|
|
6302
|
+
* The kind of the code actions emitted by the rule
|
|
6303
|
+
*/
|
|
6304
|
+
fix?: FixKind;
|
|
6305
|
+
/**
|
|
6306
|
+
* The severity of the emitted diagnostics by the rule
|
|
6307
|
+
*/
|
|
6308
|
+
level: RulePlainConfiguration;
|
|
6309
|
+
/**
|
|
6310
|
+
* Rule's options
|
|
6311
|
+
*/
|
|
6312
|
+
options: UseNumericSeparatorsOptions;
|
|
6313
|
+
}
|
|
6314
|
+
interface RuleWithFixOptions_for_UseObjectSpreadOptions {
|
|
6315
|
+
/**
|
|
6316
|
+
* The kind of the code actions emitted by the rule
|
|
6317
|
+
*/
|
|
6318
|
+
fix?: FixKind;
|
|
6319
|
+
/**
|
|
6320
|
+
* The severity of the emitted diagnostics by the rule
|
|
6321
|
+
*/
|
|
6322
|
+
level: RulePlainConfiguration;
|
|
6323
|
+
/**
|
|
6324
|
+
* Rule's options
|
|
6325
|
+
*/
|
|
6326
|
+
options: UseObjectSpreadOptions;
|
|
6327
|
+
}
|
|
6328
|
+
interface RuleWithFixOptions_for_UseReadonlyClassPropertiesOptions {
|
|
6329
|
+
/**
|
|
6330
|
+
* The kind of the code actions emitted by the rule
|
|
6331
|
+
*/
|
|
6332
|
+
fix?: FixKind;
|
|
6333
|
+
/**
|
|
6334
|
+
* The severity of the emitted diagnostics by the rule
|
|
6335
|
+
*/
|
|
6336
|
+
level: RulePlainConfiguration;
|
|
6337
|
+
/**
|
|
6338
|
+
* Rule's options
|
|
6339
|
+
*/
|
|
6340
|
+
options: UseReadonlyClassPropertiesOptions;
|
|
6341
|
+
}
|
|
6419
6342
|
interface RuleWithFixOptions_for_UseSelfClosingElementsOptions {
|
|
6420
6343
|
/**
|
|
6421
6344
|
* The kind of the code actions emitted by the rule
|
|
@@ -6472,6 +6395,16 @@ interface RuleWithFixOptions_for_UseSingleVarDeclaratorOptions {
|
|
|
6472
6395
|
*/
|
|
6473
6396
|
options: UseSingleVarDeclaratorOptions;
|
|
6474
6397
|
}
|
|
6398
|
+
interface RuleWithOptions_for_UseSymbolDescriptionOptions {
|
|
6399
|
+
/**
|
|
6400
|
+
* The severity of the emitted diagnostics by the rule
|
|
6401
|
+
*/
|
|
6402
|
+
level: RulePlainConfiguration;
|
|
6403
|
+
/**
|
|
6404
|
+
* Rule's options
|
|
6405
|
+
*/
|
|
6406
|
+
options: UseSymbolDescriptionOptions;
|
|
6407
|
+
}
|
|
6475
6408
|
interface RuleWithFixOptions_for_UseTemplateOptions {
|
|
6476
6409
|
/**
|
|
6477
6410
|
* The kind of the code actions emitted by the rule
|
|
@@ -6524,6 +6457,20 @@ interface RuleWithFixOptions_for_UseTrimStartEndOptions {
|
|
|
6524
6457
|
*/
|
|
6525
6458
|
options: UseTrimStartEndOptions;
|
|
6526
6459
|
}
|
|
6460
|
+
interface RuleWithFixOptions_for_UseUnifiedTypeSignaturesOptions {
|
|
6461
|
+
/**
|
|
6462
|
+
* The kind of the code actions emitted by the rule
|
|
6463
|
+
*/
|
|
6464
|
+
fix?: FixKind;
|
|
6465
|
+
/**
|
|
6466
|
+
* The severity of the emitted diagnostics by the rule
|
|
6467
|
+
*/
|
|
6468
|
+
level: RulePlainConfiguration;
|
|
6469
|
+
/**
|
|
6470
|
+
* Rule's options
|
|
6471
|
+
*/
|
|
6472
|
+
options: UseUnifiedTypeSignaturesOptions;
|
|
6473
|
+
}
|
|
6527
6474
|
interface RuleWithOptions_for_NoAlertOptions {
|
|
6528
6475
|
/**
|
|
6529
6476
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -6578,6 +6525,30 @@ interface RuleWithOptions_for_NoAsyncPromiseExecutorOptions {
|
|
|
6578
6525
|
*/
|
|
6579
6526
|
options: NoAsyncPromiseExecutorOptions;
|
|
6580
6527
|
}
|
|
6528
|
+
interface RuleWithFixOptions_for_NoBiomeFirstExceptionOptions {
|
|
6529
|
+
/**
|
|
6530
|
+
* The kind of the code actions emitted by the rule
|
|
6531
|
+
*/
|
|
6532
|
+
fix?: FixKind;
|
|
6533
|
+
/**
|
|
6534
|
+
* The severity of the emitted diagnostics by the rule
|
|
6535
|
+
*/
|
|
6536
|
+
level: RulePlainConfiguration;
|
|
6537
|
+
/**
|
|
6538
|
+
* Rule's options
|
|
6539
|
+
*/
|
|
6540
|
+
options: NoBiomeFirstExceptionOptions;
|
|
6541
|
+
}
|
|
6542
|
+
interface RuleWithOptions_for_NoBitwiseOperatorsOptions {
|
|
6543
|
+
/**
|
|
6544
|
+
* The severity of the emitted diagnostics by the rule
|
|
6545
|
+
*/
|
|
6546
|
+
level: RulePlainConfiguration;
|
|
6547
|
+
/**
|
|
6548
|
+
* Rule's options
|
|
6549
|
+
*/
|
|
6550
|
+
options: NoBitwiseOperatorsOptions;
|
|
6551
|
+
}
|
|
6581
6552
|
interface RuleWithOptions_for_NoCatchAssignOptions {
|
|
6582
6553
|
/**
|
|
6583
6554
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -6678,6 +6649,16 @@ interface RuleWithFixOptions_for_NoConstEnumOptions {
|
|
|
6678
6649
|
*/
|
|
6679
6650
|
options: NoConstEnumOptions;
|
|
6680
6651
|
}
|
|
6652
|
+
interface RuleWithOptions_for_NoConstantBinaryExpressionsOptions {
|
|
6653
|
+
/**
|
|
6654
|
+
* The severity of the emitted diagnostics by the rule
|
|
6655
|
+
*/
|
|
6656
|
+
level: RulePlainConfiguration;
|
|
6657
|
+
/**
|
|
6658
|
+
* Rule's options
|
|
6659
|
+
*/
|
|
6660
|
+
options: NoConstantBinaryExpressionsOptions;
|
|
6661
|
+
}
|
|
6681
6662
|
interface RuleWithOptions_for_NoControlCharactersInRegexOptions {
|
|
6682
6663
|
/**
|
|
6683
6664
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -7152,6 +7133,20 @@ interface RuleWithFixOptions_for_NoPrototypeBuiltinsOptions {
|
|
|
7152
7133
|
*/
|
|
7153
7134
|
options: NoPrototypeBuiltinsOptions;
|
|
7154
7135
|
}
|
|
7136
|
+
interface RuleWithFixOptions_for_NoQuickfixBiomeOptions {
|
|
7137
|
+
/**
|
|
7138
|
+
* The kind of the code actions emitted by the rule
|
|
7139
|
+
*/
|
|
7140
|
+
fix?: FixKind;
|
|
7141
|
+
/**
|
|
7142
|
+
* The severity of the emitted diagnostics by the rule
|
|
7143
|
+
*/
|
|
7144
|
+
level: RulePlainConfiguration;
|
|
7145
|
+
/**
|
|
7146
|
+
* Rule's options
|
|
7147
|
+
*/
|
|
7148
|
+
options: NoQuickfixBiomeOptions;
|
|
7149
|
+
}
|
|
7155
7150
|
interface RuleWithFixOptions_for_NoReactSpecificPropsOptions {
|
|
7156
7151
|
/**
|
|
7157
7152
|
* The kind of the code actions emitted by the rule
|
|
@@ -7278,6 +7273,40 @@ interface RuleWithOptions_for_NoThenPropertyOptions {
|
|
|
7278
7273
|
*/
|
|
7279
7274
|
options: NoThenPropertyOptions;
|
|
7280
7275
|
}
|
|
7276
|
+
interface RuleWithFixOptions_for_NoTsIgnoreOptions {
|
|
7277
|
+
/**
|
|
7278
|
+
* The kind of the code actions emitted by the rule
|
|
7279
|
+
*/
|
|
7280
|
+
fix?: FixKind;
|
|
7281
|
+
/**
|
|
7282
|
+
* The severity of the emitted diagnostics by the rule
|
|
7283
|
+
*/
|
|
7284
|
+
level: RulePlainConfiguration;
|
|
7285
|
+
/**
|
|
7286
|
+
* Rule's options
|
|
7287
|
+
*/
|
|
7288
|
+
options: NoTsIgnoreOptions;
|
|
7289
|
+
}
|
|
7290
|
+
interface RuleWithOptions_for_NoUnassignedVariablesOptions {
|
|
7291
|
+
/**
|
|
7292
|
+
* The severity of the emitted diagnostics by the rule
|
|
7293
|
+
*/
|
|
7294
|
+
level: RulePlainConfiguration;
|
|
7295
|
+
/**
|
|
7296
|
+
* Rule's options
|
|
7297
|
+
*/
|
|
7298
|
+
options: NoUnassignedVariablesOptions;
|
|
7299
|
+
}
|
|
7300
|
+
interface RuleWithOptions_for_NoUnknownAtRulesOptions {
|
|
7301
|
+
/**
|
|
7302
|
+
* The severity of the emitted diagnostics by the rule
|
|
7303
|
+
*/
|
|
7304
|
+
level: RulePlainConfiguration;
|
|
7305
|
+
/**
|
|
7306
|
+
* Rule's options
|
|
7307
|
+
*/
|
|
7308
|
+
options: NoUnknownAtRulesOptions;
|
|
7309
|
+
}
|
|
7281
7310
|
interface RuleWithOptions_for_NoUnsafeDeclarationMergingOptions {
|
|
7282
7311
|
/**
|
|
7283
7312
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -7302,6 +7331,30 @@ interface RuleWithFixOptions_for_NoUnsafeNegationOptions {
|
|
|
7302
7331
|
*/
|
|
7303
7332
|
options: NoUnsafeNegationOptions;
|
|
7304
7333
|
}
|
|
7334
|
+
interface RuleWithFixOptions_for_NoUselessEscapeInStringOptions {
|
|
7335
|
+
/**
|
|
7336
|
+
* The kind of the code actions emitted by the rule
|
|
7337
|
+
*/
|
|
7338
|
+
fix?: FixKind;
|
|
7339
|
+
/**
|
|
7340
|
+
* The severity of the emitted diagnostics by the rule
|
|
7341
|
+
*/
|
|
7342
|
+
level: RulePlainConfiguration;
|
|
7343
|
+
/**
|
|
7344
|
+
* Rule's options
|
|
7345
|
+
*/
|
|
7346
|
+
options: NoUselessEscapeInStringOptions;
|
|
7347
|
+
}
|
|
7348
|
+
interface RuleWithOptions_for_NoUselessRegexBackrefsOptions {
|
|
7349
|
+
/**
|
|
7350
|
+
* The severity of the emitted diagnostics by the rule
|
|
7351
|
+
*/
|
|
7352
|
+
level: RulePlainConfiguration;
|
|
7353
|
+
/**
|
|
7354
|
+
* Rule's options
|
|
7355
|
+
*/
|
|
7356
|
+
options: NoUselessRegexBackrefsOptions;
|
|
7357
|
+
}
|
|
7305
7358
|
interface RuleWithFixOptions_for_NoVarOptions {
|
|
7306
7359
|
/**
|
|
7307
7360
|
* The kind of the code actions emitted by the rule
|
|
@@ -7346,6 +7399,20 @@ interface RuleWithOptions_for_UseAwaitOptions {
|
|
|
7346
7399
|
*/
|
|
7347
7400
|
options: UseAwaitOptions;
|
|
7348
7401
|
}
|
|
7402
|
+
interface RuleWithFixOptions_for_UseBiomeIgnoreFolderOptions {
|
|
7403
|
+
/**
|
|
7404
|
+
* The kind of the code actions emitted by the rule
|
|
7405
|
+
*/
|
|
7406
|
+
fix?: FixKind;
|
|
7407
|
+
/**
|
|
7408
|
+
* The severity of the emitted diagnostics by the rule
|
|
7409
|
+
*/
|
|
7410
|
+
level: RulePlainConfiguration;
|
|
7411
|
+
/**
|
|
7412
|
+
* Rule's options
|
|
7413
|
+
*/
|
|
7414
|
+
options: UseBiomeIgnoreFolderOptions;
|
|
7415
|
+
}
|
|
7349
7416
|
interface RuleWithOptions_for_UseDefaultSwitchClauseLastOptions {
|
|
7350
7417
|
/**
|
|
7351
7418
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -7410,6 +7477,16 @@ interface RuleWithFixOptions_for_UseIsArrayOptions {
|
|
|
7410
7477
|
*/
|
|
7411
7478
|
options: UseIsArrayOptions;
|
|
7412
7479
|
}
|
|
7480
|
+
interface RuleWithOptions_for_UseIterableCallbackReturnOptions {
|
|
7481
|
+
/**
|
|
7482
|
+
* The severity of the emitted diagnostics by the rule
|
|
7483
|
+
*/
|
|
7484
|
+
level: RulePlainConfiguration;
|
|
7485
|
+
/**
|
|
7486
|
+
* Rule's options
|
|
7487
|
+
*/
|
|
7488
|
+
options: UseIterableCallbackReturnOptions;
|
|
7489
|
+
}
|
|
7413
7490
|
interface RuleWithFixOptions_for_UseNamespaceKeywordOptions {
|
|
7414
7491
|
/**
|
|
7415
7492
|
* The kind of the code actions emitted by the rule
|
|
@@ -7438,6 +7515,20 @@ interface RuleWithFixOptions_for_UseNumberToFixedDigitsArgumentOptions {
|
|
|
7438
7515
|
*/
|
|
7439
7516
|
options: UseNumberToFixedDigitsArgumentOptions;
|
|
7440
7517
|
}
|
|
7518
|
+
interface RuleWithFixOptions_for_UseStaticResponseMethodsOptions {
|
|
7519
|
+
/**
|
|
7520
|
+
* The kind of the code actions emitted by the rule
|
|
7521
|
+
*/
|
|
7522
|
+
fix?: FixKind;
|
|
7523
|
+
/**
|
|
7524
|
+
* The severity of the emitted diagnostics by the rule
|
|
7525
|
+
*/
|
|
7526
|
+
level: RulePlainConfiguration;
|
|
7527
|
+
/**
|
|
7528
|
+
* Rule's options
|
|
7529
|
+
*/
|
|
7530
|
+
options: UseStaticResponseMethodsOptions;
|
|
7531
|
+
}
|
|
7441
7532
|
interface RuleWithFixOptions_for_UseStrictModeOptions {
|
|
7442
7533
|
/**
|
|
7443
7534
|
* The kind of the code actions emitted by the rule
|
|
@@ -7453,6 +7544,7 @@ interface RuleWithFixOptions_for_UseStrictModeOptions {
|
|
|
7453
7544
|
options: UseStrictModeOptions;
|
|
7454
7545
|
}
|
|
7455
7546
|
type ImportGroups = ImportGroup[];
|
|
7547
|
+
type SortOrder = "natural" | "lexicographic";
|
|
7456
7548
|
type FixKind = "none" | "safe" | "unsafe";
|
|
7457
7549
|
interface NoAccessKeyOptions {}
|
|
7458
7550
|
interface NoAriaHiddenOnFocusableOptions {}
|
|
@@ -7475,6 +7567,7 @@ interface NoLabelWithoutControlOptions {
|
|
|
7475
7567
|
*/
|
|
7476
7568
|
labelComponents?: string[];
|
|
7477
7569
|
}
|
|
7570
|
+
interface NoNoninteractiveElementInteractionsOptions {}
|
|
7478
7571
|
interface NoNoninteractiveElementToInteractiveRoleOptions {}
|
|
7479
7572
|
interface NoNoninteractiveTabindexOptions {}
|
|
7480
7573
|
interface NoPositiveTabindexOptions {}
|
|
@@ -7528,6 +7621,20 @@ interface NoExcessiveCognitiveComplexityOptions {
|
|
|
7528
7621
|
*/
|
|
7529
7622
|
maxAllowedComplexity?: number;
|
|
7530
7623
|
}
|
|
7624
|
+
interface NoExcessiveLinesPerFunctionOptions {
|
|
7625
|
+
/**
|
|
7626
|
+
* The maximum number of lines allowed in a function body.
|
|
7627
|
+
*/
|
|
7628
|
+
maxLines?: number;
|
|
7629
|
+
/**
|
|
7630
|
+
* When this options is set to `true`, blank lines in the function body are not counted towards the maximum line limit.
|
|
7631
|
+
*/
|
|
7632
|
+
skipBlankLines?: boolean;
|
|
7633
|
+
/**
|
|
7634
|
+
* When this option is set to `true`, Immediately Invoked Function Expressions (IIFEs) are not checked for the maximum line limit.
|
|
7635
|
+
*/
|
|
7636
|
+
skipIifes?: boolean;
|
|
7637
|
+
}
|
|
7531
7638
|
interface NoExcessiveNestedTestSuitesOptions {}
|
|
7532
7639
|
interface NoExtraBooleanCastOptions {}
|
|
7533
7640
|
interface NoFlatMapIdentityOptions {}
|
|
@@ -7537,6 +7644,8 @@ interface NoForEachOptions {
|
|
|
7537
7644
|
*/
|
|
7538
7645
|
allowedIdentifiers?: string[];
|
|
7539
7646
|
}
|
|
7647
|
+
interface NoImplicitCoercionsOptions {}
|
|
7648
|
+
interface NoImportantStylesOptions {}
|
|
7540
7649
|
interface NoStaticOnlyClassOptions {}
|
|
7541
7650
|
interface NoThisInStaticOptions {}
|
|
7542
7651
|
interface NoUselessCatchOptions {}
|
|
@@ -7559,6 +7668,7 @@ interface NoVoidOptions {}
|
|
|
7559
7668
|
interface UseArrowFunctionOptions {}
|
|
7560
7669
|
interface UseDateNowOptions {}
|
|
7561
7670
|
interface UseFlatMapOptions {}
|
|
7671
|
+
interface UseIndexOfOptions {}
|
|
7562
7672
|
interface UseLiteralKeysOptions {}
|
|
7563
7673
|
interface UseNumericLiteralsOptions {}
|
|
7564
7674
|
interface UseOptionalChainOptions {}
|
|
@@ -7573,6 +7683,7 @@ interface NoConstantMathMinMaxClampOptions {}
|
|
|
7573
7683
|
interface NoConstructorReturnOptions {}
|
|
7574
7684
|
interface NoEmptyCharacterClassInRegexOptions {}
|
|
7575
7685
|
interface NoEmptyPatternOptions {}
|
|
7686
|
+
interface NoGlobalDirnameFilenameOptions {}
|
|
7576
7687
|
interface NoGlobalObjectCallsOptions {}
|
|
7577
7688
|
interface NoInnerDeclarationsOptions {}
|
|
7578
7689
|
interface NoInvalidBuiltinInstantiationOptions {}
|
|
@@ -7582,6 +7693,7 @@ interface NoInvalidGridAreasOptions {}
|
|
|
7582
7693
|
interface NoInvalidPositionAtImportRuleOptions {}
|
|
7583
7694
|
interface NoInvalidUseBeforeDeclarationOptions {}
|
|
7584
7695
|
interface NoMissingVarFunctionOptions {}
|
|
7696
|
+
interface NoNestedComponentDefinitionsOptions {}
|
|
7585
7697
|
interface NoNodejsModulesOptions {}
|
|
7586
7698
|
interface NoNonoctalDecimalEscapeOptions {}
|
|
7587
7699
|
interface NoPrecisionLossOptions {}
|
|
@@ -7593,9 +7705,18 @@ Default: **public**.
|
|
|
7593
7705
|
*/
|
|
7594
7706
|
defaultVisibility?: Visibility;
|
|
7595
7707
|
}
|
|
7708
|
+
interface NoProcessGlobalOptions {}
|
|
7709
|
+
interface NoReactPropAssignmentsOptions {}
|
|
7596
7710
|
interface NoRenderReturnValueOptions {}
|
|
7711
|
+
interface NoRestrictedElementsOptions {
|
|
7712
|
+
/**
|
|
7713
|
+
* Elements to restrict. Each key is the element name, and the value is the message to show when the element is used.
|
|
7714
|
+
*/
|
|
7715
|
+
elements: CustomRestrictedElements;
|
|
7716
|
+
}
|
|
7597
7717
|
interface NoSelfAssignOptions {}
|
|
7598
7718
|
interface NoSetterReturnOptions {}
|
|
7719
|
+
interface NoSolidDestructuredPropsOptions {}
|
|
7599
7720
|
interface NoStringCaseMismatchOptions {}
|
|
7600
7721
|
interface NoSwitchDeclarationsOptions {}
|
|
7601
7722
|
interface NoUndeclaredDependenciesOptions {
|
|
@@ -7661,6 +7782,7 @@ interface UseExhaustiveDependenciesOptions {
|
|
|
7661
7782
|
*/
|
|
7662
7783
|
reportUnnecessaryDependencies?: boolean;
|
|
7663
7784
|
}
|
|
7785
|
+
interface UseGraphqlNamedOperationsOptions {}
|
|
7664
7786
|
interface UseHookAtTopLevelOptions {}
|
|
7665
7787
|
interface UseImportExtensionsOptions {
|
|
7666
7788
|
/**
|
|
@@ -7669,68 +7791,35 @@ interface UseImportExtensionsOptions {
|
|
|
7669
7791
|
forceJsExtensions?: boolean;
|
|
7670
7792
|
}
|
|
7671
7793
|
interface UseIsNanOptions {}
|
|
7794
|
+
interface UseJsonImportAttributesOptions {}
|
|
7672
7795
|
interface UseJsxKeyInIterableOptions {
|
|
7673
7796
|
/**
|
|
7674
7797
|
* Set to `true` to check shorthand fragments (`<></>`)
|
|
7675
7798
|
*/
|
|
7676
7799
|
checkShorthandFragments?: boolean;
|
|
7677
7800
|
}
|
|
7678
|
-
interface
|
|
7679
|
-
interface
|
|
7680
|
-
interface
|
|
7681
|
-
interface NoAwaitInLoopOptions {}
|
|
7682
|
-
interface NoBitwiseOperatorsOptions {
|
|
7683
|
-
/**
|
|
7684
|
-
* Allows a list of bitwise operators to be used as exceptions.
|
|
7685
|
-
*/
|
|
7686
|
-
allow: string[];
|
|
7687
|
-
}
|
|
7688
|
-
interface NoConstantBinaryExpressionOptions {}
|
|
7689
|
-
interface NoDestructuredPropsOptions {}
|
|
7690
|
-
interface NoExcessiveLinesPerFunctionOptions {
|
|
7691
|
-
/**
|
|
7692
|
-
* The maximum number of lines allowed in a function body.
|
|
7693
|
-
*/
|
|
7694
|
-
maxLines?: number;
|
|
7695
|
-
/**
|
|
7696
|
-
* When this options is set to `true`, blank lines in the function body are not counted towards the maximum line limit.
|
|
7697
|
-
*/
|
|
7698
|
-
skipBlankLines?: boolean;
|
|
7801
|
+
interface UseParseIntRadixOptions {}
|
|
7802
|
+
interface UseSingleJsDocAsteriskOptions {}
|
|
7803
|
+
interface UseUniqueElementIdsOptions {
|
|
7699
7804
|
/**
|
|
7700
|
-
*
|
|
7805
|
+
* Component names that accept an `id` prop that does not translate to a DOM element id.
|
|
7701
7806
|
*/
|
|
7702
|
-
|
|
7807
|
+
excludedComponents?: string[];
|
|
7703
7808
|
}
|
|
7809
|
+
interface UseValidForDirectionOptions {}
|
|
7810
|
+
interface UseValidTypeofOptions {}
|
|
7811
|
+
interface UseYieldOptions {}
|
|
7704
7812
|
interface NoFloatingPromisesOptions {}
|
|
7705
|
-
interface NoGlobalDirnameFilenameOptions {}
|
|
7706
|
-
interface NoImplicitCoercionOptions {}
|
|
7707
7813
|
interface NoImportCyclesOptions {
|
|
7708
7814
|
/**
|
|
7709
7815
|
* Ignores type-only imports when finding an import cycle. A type-only import (`import type`) will be removed by the compiler, so it cuts an import cycle at runtime. Note that named type imports (`import { type Foo }`) aren't considered as type-only because it's not removed by the compiler if the `verbatimModuleSyntax` option is enabled. Enabled by default.
|
|
7710
7816
|
*/
|
|
7711
7817
|
ignoreTypes?: boolean;
|
|
7712
7818
|
}
|
|
7713
|
-
interface NoImportantStylesOptions {}
|
|
7714
|
-
interface NoMagicNumbersOptions {}
|
|
7715
7819
|
interface NoMisusedPromisesOptions {}
|
|
7716
|
-
interface
|
|
7820
|
+
interface NoNextAsyncClientComponentOptions {}
|
|
7717
7821
|
interface NoNonNullAssertedOptionalChainOptions {}
|
|
7718
|
-
interface NoNoninteractiveElementInteractionsOptions {}
|
|
7719
|
-
interface NoProcessGlobalOptions {}
|
|
7720
|
-
interface NoQuickfixBiomeOptions {
|
|
7721
|
-
/**
|
|
7722
|
-
* A list of additional JSON files that should be checked.
|
|
7723
|
-
*/
|
|
7724
|
-
additionalPaths?: string[];
|
|
7725
|
-
}
|
|
7726
7822
|
interface NoQwikUseVisibleTaskOptions {}
|
|
7727
|
-
interface NoReactPropAssignOptions {}
|
|
7728
|
-
interface NoRestrictedElementsOptions {
|
|
7729
|
-
/**
|
|
7730
|
-
* Elements to restrict. Each key is the element name, and the value is the message to show when the element is used.
|
|
7731
|
-
*/
|
|
7732
|
-
elements: CustomRestrictedElements;
|
|
7733
|
-
}
|
|
7734
7823
|
interface NoSecretsOptions {
|
|
7735
7824
|
/**
|
|
7736
7825
|
* Set entropy threshold (default is 41).
|
|
@@ -7738,66 +7827,27 @@ interface NoSecretsOptions {
|
|
|
7738
7827
|
entropyThreshold?: number;
|
|
7739
7828
|
}
|
|
7740
7829
|
interface NoShadowOptions {}
|
|
7741
|
-
interface NoTsIgnoreOptions {}
|
|
7742
|
-
interface NoUnassignedVariablesOptions {}
|
|
7743
|
-
interface NoUnknownAtRuleOptions {}
|
|
7744
7830
|
interface NoUnnecessaryConditionsOptions {}
|
|
7745
7831
|
interface NoUnresolvedImportsOptions {}
|
|
7746
|
-
interface NoUnwantedPolyfillioOptions {}
|
|
7747
|
-
interface NoUselessBackrefInRegexOptions {}
|
|
7748
|
-
interface NoUselessEscapeInStringOptions {}
|
|
7749
7832
|
interface NoUselessUndefinedOptions {}
|
|
7750
7833
|
interface NoVueDataObjectDeclarationOptions {}
|
|
7751
7834
|
interface NoVueReservedKeysOptions {}
|
|
7752
7835
|
interface NoVueReservedPropsOptions {}
|
|
7753
|
-
interface UseAdjacentGetterSetterOptions {}
|
|
7754
7836
|
type UseAnchorHrefOptions = null;
|
|
7755
|
-
interface UseConsistentObjectDefinitionOptions {
|
|
7756
|
-
/**
|
|
7757
|
-
* The preferred syntax to enforce.
|
|
7758
|
-
*/
|
|
7759
|
-
syntax?: ObjectPropertySyntax;
|
|
7760
|
-
}
|
|
7761
|
-
interface UseConsistentResponseOptions {}
|
|
7762
7837
|
interface UseConsistentTypeDefinitionsOptions {
|
|
7763
7838
|
style?: ConsistentTypeDefinition;
|
|
7764
7839
|
}
|
|
7765
7840
|
interface UseExhaustiveSwitchCasesOptions {}
|
|
7766
7841
|
interface UseExplicitTypeOptions {}
|
|
7767
|
-
interface UseExportsLastOptions {}
|
|
7768
|
-
interface UseForComponentOptions {}
|
|
7769
|
-
interface UseGoogleFontPreconnectOptions {}
|
|
7770
7842
|
type UseImageSizeOptions = null;
|
|
7771
|
-
interface
|
|
7772
|
-
interface UseIterableCallbackReturnOptions {}
|
|
7773
|
-
interface UseJsonImportAttributeOptions {}
|
|
7774
|
-
interface UseNamedOperationOptions {}
|
|
7775
|
-
interface UseNamingConventionOptions {
|
|
7776
|
-
/**
|
|
7777
|
-
* Custom conventions.
|
|
7778
|
-
*/
|
|
7779
|
-
conventions: Convention[];
|
|
7843
|
+
interface UseMaxParamsOptions {
|
|
7780
7844
|
/**
|
|
7781
|
-
*
|
|
7782
|
-
*/
|
|
7783
|
-
requireAscii: boolean;
|
|
7784
|
-
/**
|
|
7785
|
-
* If `false`, then consecutive uppercase are allowed in _camel_ and _pascal_ cases. This does not affect other [Case].
|
|
7845
|
+
* Maximum number of parameters allowed (default: 4)
|
|
7786
7846
|
*/
|
|
7787
|
-
|
|
7847
|
+
max?: number;
|
|
7788
7848
|
}
|
|
7789
|
-
interface UseNumericSeparatorsOptions {}
|
|
7790
|
-
interface UseObjectSpreadOptions {}
|
|
7791
|
-
interface UseParseIntRadixOptions {}
|
|
7792
7849
|
interface UseQwikClasslistOptions {}
|
|
7793
7850
|
interface UseReactFunctionComponentsOptions {}
|
|
7794
|
-
interface UseReadonlyClassPropertiesOptions {
|
|
7795
|
-
/**
|
|
7796
|
-
* When `true`, the keywords `public`, `protected`, and `private` are analyzed by the rule.
|
|
7797
|
-
*/
|
|
7798
|
-
checkAllProperties: boolean;
|
|
7799
|
-
}
|
|
7800
|
-
interface UseSingleJsDocAsteriskOptions {}
|
|
7801
7851
|
interface UseSortedClassesOptions {
|
|
7802
7852
|
/**
|
|
7803
7853
|
* Additional attributes that will be sorted.
|
|
@@ -7808,21 +7858,17 @@ interface UseSortedClassesOptions {
|
|
|
7808
7858
|
*/
|
|
7809
7859
|
functions?: string[];
|
|
7810
7860
|
}
|
|
7811
|
-
interface UseSymbolDescriptionOptions {}
|
|
7812
|
-
interface UseUnifiedTypeSignatureOptions {}
|
|
7813
|
-
interface UseUniqueElementIdsOptions {
|
|
7814
|
-
/**
|
|
7815
|
-
* Component names that accept an `id` prop that does not translate to a DOM element id.
|
|
7816
|
-
*/
|
|
7817
|
-
excludedComponents?: string[];
|
|
7818
|
-
}
|
|
7819
7861
|
interface NoAccumulatingSpreadOptions {}
|
|
7862
|
+
interface NoAwaitInLoopsOptions {}
|
|
7820
7863
|
interface NoBarrelFileOptions {}
|
|
7821
7864
|
interface NoDeleteOptions {}
|
|
7822
7865
|
interface NoDynamicNamespaceImportAccessOptions {}
|
|
7823
7866
|
interface NoImgElementOptions {}
|
|
7824
7867
|
interface NoNamespaceImportOptions {}
|
|
7825
7868
|
interface NoReExportAllOptions {}
|
|
7869
|
+
interface NoUnwantedPolyfillioOptions {}
|
|
7870
|
+
interface UseGoogleFontPreconnectOptions {}
|
|
7871
|
+
interface UseSolidForComponentOptions {}
|
|
7826
7872
|
interface UseTopLevelRegexOptions {}
|
|
7827
7873
|
interface NoBlankTargetOptions {
|
|
7828
7874
|
/**
|
|
@@ -7846,6 +7892,7 @@ interface NoExportedImportsOptions {}
|
|
|
7846
7892
|
interface NoHeadElementOptions {}
|
|
7847
7893
|
interface NoImplicitBooleanOptions {}
|
|
7848
7894
|
interface NoInferrableTypesOptions {}
|
|
7895
|
+
interface NoMagicNumbersOptions {}
|
|
7849
7896
|
interface NoNamespaceOptions {}
|
|
7850
7897
|
interface NoNegationElseOptions {}
|
|
7851
7898
|
interface NoNestedTernaryOptions {}
|
|
@@ -7868,7 +7915,11 @@ interface NoRestrictedImportsOptions {
|
|
|
7868
7915
|
/**
|
|
7869
7916
|
* A list of import paths that should trigger the rule.
|
|
7870
7917
|
*/
|
|
7871
|
-
paths: Record<string,
|
|
7918
|
+
paths: Record<string, Paths>;
|
|
7919
|
+
/**
|
|
7920
|
+
* gitignore-style patterns that should trigger the rule.
|
|
7921
|
+
*/
|
|
7922
|
+
patterns?: Patterns[];
|
|
7872
7923
|
}
|
|
7873
7924
|
interface NoRestrictedTypesOptions {
|
|
7874
7925
|
types?: Record<string, CustomRestrictedType>;
|
|
@@ -7906,6 +7957,12 @@ interface UseConsistentMemberAccessibilityOptions {
|
|
|
7906
7957
|
*/
|
|
7907
7958
|
accessibility?: Accessibility;
|
|
7908
7959
|
}
|
|
7960
|
+
interface UseConsistentObjectDefinitionsOptions {
|
|
7961
|
+
/**
|
|
7962
|
+
* The preferred syntax to enforce.
|
|
7963
|
+
*/
|
|
7964
|
+
syntax?: ObjectPropertySyntax;
|
|
7965
|
+
}
|
|
7909
7966
|
interface UseConstOptions {}
|
|
7910
7967
|
interface UseDefaultParameterLastOptions {}
|
|
7911
7968
|
interface UseDefaultSwitchClauseOptions {}
|
|
@@ -7914,6 +7971,7 @@ interface UseEnumInitializersOptions {}
|
|
|
7914
7971
|
interface UseExplicitLengthCheckOptions {}
|
|
7915
7972
|
interface UseExponentiationOperatorOptions {}
|
|
7916
7973
|
interface UseExportTypeOptions {}
|
|
7974
|
+
interface UseExportsLastOptions {}
|
|
7917
7975
|
interface UseFilenamingConventionOptions {
|
|
7918
7976
|
/**
|
|
7919
7977
|
* Allowed cases for file names.
|
|
@@ -7934,6 +7992,8 @@ interface UseFilenamingConventionOptions {
|
|
|
7934
7992
|
}
|
|
7935
7993
|
interface UseForOfOptions {}
|
|
7936
7994
|
interface UseFragmentSyntaxOptions {}
|
|
7995
|
+
interface UseGraphqlNamingConventionOptions {}
|
|
7996
|
+
interface UseGroupedAccessorPairsOptions {}
|
|
7937
7997
|
interface UseImportTypeOptions {
|
|
7938
7998
|
/**
|
|
7939
7999
|
* The style to apply when import types. Default to "auto"
|
|
@@ -7941,24 +8001,55 @@ interface UseImportTypeOptions {
|
|
|
7941
8001
|
style?: Style2;
|
|
7942
8002
|
}
|
|
7943
8003
|
interface UseLiteralEnumMembersOptions {}
|
|
8004
|
+
interface UseNamingConventionOptions {
|
|
8005
|
+
/**
|
|
8006
|
+
* Custom conventions.
|
|
8007
|
+
*/
|
|
8008
|
+
conventions: Convention[];
|
|
8009
|
+
/**
|
|
8010
|
+
* If `false`, then non-ASCII characters are allowed.
|
|
8011
|
+
*/
|
|
8012
|
+
requireAscii: boolean;
|
|
8013
|
+
/**
|
|
8014
|
+
* If `false`, then consecutive uppercase are allowed in _camel_ and _pascal_ cases. This does not affect other [Case].
|
|
8015
|
+
*/
|
|
8016
|
+
strictCase: boolean;
|
|
8017
|
+
}
|
|
7944
8018
|
interface UseNodeAssertStrictOptions {}
|
|
7945
8019
|
interface UseNodejsImportProtocolOptions {}
|
|
7946
8020
|
interface UseNumberNamespaceOptions {}
|
|
8021
|
+
interface UseNumericSeparatorsOptions {}
|
|
8022
|
+
interface UseObjectSpreadOptions {}
|
|
8023
|
+
interface UseReadonlyClassPropertiesOptions {
|
|
8024
|
+
/**
|
|
8025
|
+
* When `true`, the keywords `public`, `protected`, and `private` are analyzed by the rule.
|
|
8026
|
+
*/
|
|
8027
|
+
checkAllProperties: boolean;
|
|
8028
|
+
}
|
|
7947
8029
|
interface UseSelfClosingElementsOptions {
|
|
7948
8030
|
ignoreHtmlElements?: boolean;
|
|
7949
8031
|
}
|
|
7950
8032
|
interface UseShorthandAssignOptions {}
|
|
7951
8033
|
interface UseShorthandFunctionTypeOptions {}
|
|
7952
8034
|
interface UseSingleVarDeclaratorOptions {}
|
|
8035
|
+
interface UseSymbolDescriptionOptions {}
|
|
7953
8036
|
interface UseTemplateOptions {}
|
|
7954
8037
|
interface UseThrowNewErrorOptions {}
|
|
7955
8038
|
interface UseThrowOnlyErrorOptions {}
|
|
7956
8039
|
interface UseTrimStartEndOptions {}
|
|
8040
|
+
interface UseUnifiedTypeSignaturesOptions {}
|
|
7957
8041
|
interface NoAlertOptions {}
|
|
7958
8042
|
interface NoApproximativeNumericConstantOptions {}
|
|
7959
8043
|
interface NoArrayIndexKeyOptions {}
|
|
7960
8044
|
interface NoAssignInExpressionsOptions {}
|
|
7961
8045
|
interface NoAsyncPromiseExecutorOptions {}
|
|
8046
|
+
interface NoBiomeFirstExceptionOptions {}
|
|
8047
|
+
interface NoBitwiseOperatorsOptions {
|
|
8048
|
+
/**
|
|
8049
|
+
* Allows a list of bitwise operators to be used as exceptions.
|
|
8050
|
+
*/
|
|
8051
|
+
allow: string[];
|
|
8052
|
+
}
|
|
7962
8053
|
interface NoCatchAssignOptions {}
|
|
7963
8054
|
interface NoClassAssignOptions {}
|
|
7964
8055
|
interface NoCommentTextOptions {}
|
|
@@ -7977,6 +8068,7 @@ interface NoConsoleOptions {
|
|
|
7977
8068
|
allow: string[];
|
|
7978
8069
|
}
|
|
7979
8070
|
interface NoConstEnumOptions {}
|
|
8071
|
+
interface NoConstantBinaryExpressionsOptions {}
|
|
7980
8072
|
interface NoControlCharactersInRegexOptions {}
|
|
7981
8073
|
interface NoDebuggerOptions {}
|
|
7982
8074
|
interface NoDocumentCookieOptions {}
|
|
@@ -8027,6 +8119,12 @@ interface NoMisplacedAssertionOptions {}
|
|
|
8027
8119
|
interface NoMisrefactoredShorthandAssignOptions {}
|
|
8028
8120
|
interface NoOctalEscapeOptions {}
|
|
8029
8121
|
interface NoPrototypeBuiltinsOptions {}
|
|
8122
|
+
interface NoQuickfixBiomeOptions {
|
|
8123
|
+
/**
|
|
8124
|
+
* A list of additional JSON files that should be checked.
|
|
8125
|
+
*/
|
|
8126
|
+
additionalPaths?: string[];
|
|
8127
|
+
}
|
|
8030
8128
|
interface NoReactSpecificPropsOptions {}
|
|
8031
8129
|
interface NoRedeclareOptions {}
|
|
8032
8130
|
interface NoRedundantUseStrictOptions {}
|
|
@@ -8038,23 +8136,32 @@ interface NoSparseArrayOptions {}
|
|
|
8038
8136
|
interface NoSuspiciousSemicolonInJsxOptions {}
|
|
8039
8137
|
interface NoTemplateCurlyInStringOptions {}
|
|
8040
8138
|
interface NoThenPropertyOptions {}
|
|
8139
|
+
interface NoTsIgnoreOptions {}
|
|
8140
|
+
interface NoUnassignedVariablesOptions {}
|
|
8141
|
+
interface NoUnknownAtRulesOptions {}
|
|
8041
8142
|
interface NoUnsafeDeclarationMergingOptions {}
|
|
8042
8143
|
interface NoUnsafeNegationOptions {}
|
|
8144
|
+
interface NoUselessEscapeInStringOptions {}
|
|
8145
|
+
interface NoUselessRegexBackrefsOptions {}
|
|
8043
8146
|
interface NoVarOptions {}
|
|
8044
8147
|
interface NoWithOptions {}
|
|
8045
8148
|
interface UseAdjacentOverloadSignaturesOptions {}
|
|
8046
8149
|
interface UseAwaitOptions {}
|
|
8150
|
+
interface UseBiomeIgnoreFolderOptions {}
|
|
8047
8151
|
interface UseDefaultSwitchClauseLastOptions {}
|
|
8048
8152
|
interface UseErrorMessageOptions {}
|
|
8049
8153
|
interface UseGetterReturnOptions {}
|
|
8050
8154
|
interface UseGoogleFontDisplayOptions {}
|
|
8051
8155
|
interface UseGuardForInOptions {}
|
|
8052
8156
|
interface UseIsArrayOptions {}
|
|
8157
|
+
interface UseIterableCallbackReturnOptions {}
|
|
8053
8158
|
interface UseNamespaceKeywordOptions {}
|
|
8054
8159
|
interface UseNumberToFixedDigitsArgumentOptions {}
|
|
8160
|
+
interface UseStaticResponseMethodsOptions {}
|
|
8055
8161
|
interface UseStrictModeOptions {}
|
|
8056
8162
|
type ImportGroup = null | GroupMatcher | GroupMatcher[];
|
|
8057
8163
|
type Visibility = "public" | "package" | "private";
|
|
8164
|
+
type CustomRestrictedElements = Record<string, string>;
|
|
8058
8165
|
type DependencyAvailability = boolean | string[];
|
|
8059
8166
|
interface Hook {
|
|
8060
8167
|
/**
|
|
@@ -8082,9 +8189,17 @@ For example, for React's `useRef()` hook the value would be `true`, while for `u
|
|
|
8082
8189
|
*/
|
|
8083
8190
|
stableResult?: StableHookResult;
|
|
8084
8191
|
}
|
|
8085
|
-
type CustomRestrictedElements = Record<string, string>;
|
|
8086
|
-
type ObjectPropertySyntax = "explicit" | "shorthand";
|
|
8087
8192
|
type ConsistentTypeDefinition = "interface" | "type";
|
|
8193
|
+
type PropertyAssignmentMode = "allow" | "deny";
|
|
8194
|
+
type Paths = string | PathOptions;
|
|
8195
|
+
type Patterns = PatternOptions;
|
|
8196
|
+
type CustomRestrictedType = string | CustomRestrictedTypeOptions;
|
|
8197
|
+
type ConsistentArrayType = "shorthand" | "generic";
|
|
8198
|
+
type Accessibility = "noPublic" | "explicit" | "none";
|
|
8199
|
+
type ObjectPropertySyntax = "explicit" | "shorthand";
|
|
8200
|
+
type FilenameCases = FilenameCase[];
|
|
8201
|
+
type Regex = string;
|
|
8202
|
+
type Style2 = "auto" | "inlineType" | "separatedType";
|
|
8088
8203
|
interface Convention {
|
|
8089
8204
|
/**
|
|
8090
8205
|
* String cases to enforce
|
|
@@ -8099,44 +8214,39 @@ interface Convention {
|
|
|
8099
8214
|
*/
|
|
8100
8215
|
selector: Selector;
|
|
8101
8216
|
}
|
|
8102
|
-
type PropertyAssignmentMode = "allow" | "deny";
|
|
8103
|
-
type CustomRestrictedImport = string | CustomRestrictedImportOptions;
|
|
8104
|
-
type CustomRestrictedType = string | CustomRestrictedTypeOptions;
|
|
8105
|
-
type ConsistentArrayType = "shorthand" | "generic";
|
|
8106
|
-
type Accessibility = "noPublic" | "explicit" | "none";
|
|
8107
|
-
type FilenameCases = FilenameCase[];
|
|
8108
|
-
type Regex = string;
|
|
8109
|
-
type Style2 = "auto" | "inlineType" | "separatedType";
|
|
8110
8217
|
type GroupMatcher = ImportMatcher | SourceMatcher;
|
|
8111
|
-
type StableHookResult = boolean | number[];
|
|
8112
|
-
|
|
8113
|
-
interface Selector {
|
|
8218
|
+
type StableHookResult = boolean | number[] | string[];
|
|
8219
|
+
interface PathOptions {
|
|
8114
8220
|
/**
|
|
8115
|
-
*
|
|
8221
|
+
* Names of the exported members that allowed to be not be used.
|
|
8116
8222
|
*/
|
|
8117
|
-
|
|
8223
|
+
allowImportNames: string[];
|
|
8118
8224
|
/**
|
|
8119
|
-
*
|
|
8225
|
+
* Names of the exported members that should not be used.
|
|
8120
8226
|
*/
|
|
8121
|
-
|
|
8227
|
+
importNames: string[];
|
|
8122
8228
|
/**
|
|
8123
|
-
*
|
|
8229
|
+
* The message to display when this module is imported.
|
|
8124
8230
|
*/
|
|
8125
|
-
|
|
8231
|
+
message: string;
|
|
8126
8232
|
}
|
|
8127
|
-
interface
|
|
8233
|
+
interface PatternOptions {
|
|
8128
8234
|
/**
|
|
8129
|
-
*
|
|
8235
|
+
* An array of gitignore-style patterns.
|
|
8130
8236
|
*/
|
|
8131
|
-
|
|
8237
|
+
group?: SourcesMatcher;
|
|
8132
8238
|
/**
|
|
8133
|
-
*
|
|
8239
|
+
* A regex pattern for import names to forbid within the matched modules.
|
|
8134
8240
|
*/
|
|
8135
|
-
|
|
8241
|
+
importNamePattern?: Regex;
|
|
8136
8242
|
/**
|
|
8137
|
-
*
|
|
8243
|
+
* If true, the matched patterns in the importNamePattern will be allowed. Defaults to `false`.
|
|
8138
8244
|
*/
|
|
8139
|
-
|
|
8245
|
+
invertImportNamePattern?: boolean;
|
|
8246
|
+
/**
|
|
8247
|
+
* A custom message for diagnostics related to this pattern.
|
|
8248
|
+
*/
|
|
8249
|
+
message?: string;
|
|
8140
8250
|
}
|
|
8141
8251
|
interface CustomRestrictedTypeOptions {
|
|
8142
8252
|
message?: string;
|
|
@@ -8148,11 +8258,27 @@ type FilenameCase =
|
|
|
8148
8258
|
| "kebab-case"
|
|
8149
8259
|
| "PascalCase"
|
|
8150
8260
|
| "snake_case";
|
|
8261
|
+
type Formats = Format[];
|
|
8262
|
+
interface Selector {
|
|
8263
|
+
/**
|
|
8264
|
+
* Declaration kind
|
|
8265
|
+
*/
|
|
8266
|
+
kind: Kind;
|
|
8267
|
+
/**
|
|
8268
|
+
* Modifiers used on the declaration
|
|
8269
|
+
*/
|
|
8270
|
+
modifiers: Modifiers;
|
|
8271
|
+
/**
|
|
8272
|
+
* Scope of the declaration
|
|
8273
|
+
*/
|
|
8274
|
+
scope: Scope;
|
|
8275
|
+
}
|
|
8151
8276
|
interface ImportMatcher {
|
|
8152
8277
|
source?: SourcesMatcher;
|
|
8153
8278
|
type?: boolean;
|
|
8154
8279
|
}
|
|
8155
8280
|
type SourceMatcher = NegatablePredefinedSourceMatcher | ImportSourceGlob;
|
|
8281
|
+
type SourcesMatcher = SourceMatcher | SourceMatcher[];
|
|
8156
8282
|
type Format = "camelCase" | "CONSTANT_CASE" | "PascalCase" | "snake_case";
|
|
8157
8283
|
type Kind =
|
|
8158
8284
|
| "class"
|
|
@@ -8195,7 +8321,6 @@ type Kind =
|
|
|
8195
8321
|
| "typeMethod";
|
|
8196
8322
|
type Modifiers = RestrictedModifier[];
|
|
8197
8323
|
type Scope = "any" | "global";
|
|
8198
|
-
type SourcesMatcher = SourceMatcher | SourceMatcher[];
|
|
8199
8324
|
type NegatablePredefinedSourceMatcher =
|
|
8200
8325
|
| ":ALIAS:"
|
|
8201
8326
|
| ":BUN:"
|
|
@@ -8244,6 +8369,7 @@ type Category =
|
|
|
8244
8369
|
| "lint/a11y/noHeaderScope"
|
|
8245
8370
|
| "lint/a11y/noInteractiveElementToNoninteractiveRole"
|
|
8246
8371
|
| "lint/a11y/noLabelWithoutControl"
|
|
8372
|
+
| "lint/a11y/noNoninteractiveElementInteractions"
|
|
8247
8373
|
| "lint/a11y/noNoninteractiveElementToInteractiveRole"
|
|
8248
8374
|
| "lint/a11y/noNoninteractiveTabindex"
|
|
8249
8375
|
| "lint/a11y/noPositiveTabindex"
|
|
@@ -8278,10 +8404,13 @@ type Category =
|
|
|
8278
8404
|
| "lint/complexity/noCommaOperator"
|
|
8279
8405
|
| "lint/complexity/noEmptyTypeParameters"
|
|
8280
8406
|
| "lint/complexity/noExcessiveCognitiveComplexity"
|
|
8407
|
+
| "lint/complexity/noExcessiveLinesPerFunction"
|
|
8281
8408
|
| "lint/complexity/noExcessiveNestedTestSuites"
|
|
8282
8409
|
| "lint/complexity/noExtraBooleanCast"
|
|
8283
8410
|
| "lint/complexity/noFlatMapIdentity"
|
|
8284
8411
|
| "lint/complexity/noForEach"
|
|
8412
|
+
| "lint/complexity/noImplicitCoercions"
|
|
8413
|
+
| "lint/complexity/noImportantStyles"
|
|
8285
8414
|
| "lint/complexity/noStaticOnlyClass"
|
|
8286
8415
|
| "lint/complexity/noThisInStatic"
|
|
8287
8416
|
| "lint/complexity/noUselessCatch"
|
|
@@ -8304,6 +8433,7 @@ type Category =
|
|
|
8304
8433
|
| "lint/complexity/useArrowFunction"
|
|
8305
8434
|
| "lint/complexity/useDateNow"
|
|
8306
8435
|
| "lint/complexity/useFlatMap"
|
|
8436
|
+
| "lint/complexity/useIndexOf"
|
|
8307
8437
|
| "lint/complexity/useLiteralKeys"
|
|
8308
8438
|
| "lint/complexity/useNumericLiterals"
|
|
8309
8439
|
| "lint/complexity/useOptionalChain"
|
|
@@ -8318,6 +8448,7 @@ type Category =
|
|
|
8318
8448
|
| "lint/correctness/noConstructorReturn"
|
|
8319
8449
|
| "lint/correctness/noEmptyCharacterClassInRegex"
|
|
8320
8450
|
| "lint/correctness/noEmptyPattern"
|
|
8451
|
+
| "lint/correctness/noGlobalDirnameFilename"
|
|
8321
8452
|
| "lint/correctness/noGlobalObjectCalls"
|
|
8322
8453
|
| "lint/correctness/noInnerDeclarations"
|
|
8323
8454
|
| "lint/correctness/noInvalidBuiltinInstantiation"
|
|
@@ -8328,14 +8459,19 @@ type Category =
|
|
|
8328
8459
|
| "lint/correctness/noInvalidPositionAtImportRule"
|
|
8329
8460
|
| "lint/correctness/noInvalidUseBeforeDeclaration"
|
|
8330
8461
|
| "lint/correctness/noMissingVarFunction"
|
|
8462
|
+
| "lint/correctness/noNestedComponentDefinitions"
|
|
8331
8463
|
| "lint/correctness/noNewSymbol"
|
|
8332
8464
|
| "lint/correctness/noNodejsModules"
|
|
8333
8465
|
| "lint/correctness/noNonoctalDecimalEscape"
|
|
8334
8466
|
| "lint/correctness/noPrecisionLoss"
|
|
8335
8467
|
| "lint/correctness/noPrivateImports"
|
|
8468
|
+
| "lint/correctness/noProcessGlobal"
|
|
8469
|
+
| "lint/correctness/noReactPropAssignments"
|
|
8336
8470
|
| "lint/correctness/noRenderReturnValue"
|
|
8471
|
+
| "lint/correctness/noRestrictedElements"
|
|
8337
8472
|
| "lint/correctness/noSelfAssign"
|
|
8338
8473
|
| "lint/correctness/noSetterReturn"
|
|
8474
|
+
| "lint/correctness/noSolidDestructuredProps"
|
|
8339
8475
|
| "lint/correctness/noStringCaseMismatch"
|
|
8340
8476
|
| "lint/correctness/noSwitchDeclarations"
|
|
8341
8477
|
| "lint/correctness/noUndeclaredDependencies"
|
|
@@ -8364,103 +8500,59 @@ type Category =
|
|
|
8364
8500
|
| "lint/correctness/useHookAtTopLevel"
|
|
8365
8501
|
| "lint/correctness/useImportExtensions"
|
|
8366
8502
|
| "lint/correctness/useIsNan"
|
|
8503
|
+
| "lint/correctness/useJsonImportAttributes"
|
|
8367
8504
|
| "lint/correctness/useJsxKeyInIterable"
|
|
8505
|
+
| "lint/correctness/useGraphqlNamedOperations"
|
|
8506
|
+
| "lint/correctness/useParseIntRadix"
|
|
8507
|
+
| "lint/correctness/useSingleJsDocAsterisk"
|
|
8508
|
+
| "lint/correctness/useUniqueElementIds"
|
|
8368
8509
|
| "lint/correctness/useValidForDirection"
|
|
8369
8510
|
| "lint/correctness/useValidTypeof"
|
|
8370
8511
|
| "lint/correctness/useYield"
|
|
8371
|
-
| "lint/nursery/
|
|
8372
|
-
| "lint/nursery/noAwaitInLoop"
|
|
8373
|
-
| "lint/nursery/noBitwiseOperators"
|
|
8512
|
+
| "lint/nursery/noNextAsyncClientComponent"
|
|
8374
8513
|
| "lint/nursery/noColorInvalidHex"
|
|
8375
|
-
| "lint/nursery/noConsole"
|
|
8376
|
-
| "lint/nursery/noConstantBinaryExpression"
|
|
8377
|
-
| "lint/nursery/noDestructuredProps"
|
|
8378
|
-
| "lint/nursery/noDoneCallback"
|
|
8379
|
-
| "lint/nursery/noDuplicateAtImportRules"
|
|
8380
|
-
| "lint/nursery/noExcessiveLinesPerFunction"
|
|
8381
8514
|
| "lint/nursery/noFloatingPromises"
|
|
8382
|
-
| "lint/nursery/noGlobalDirnameFilename"
|
|
8383
8515
|
| "lint/nursery/noImplicitCoercion"
|
|
8384
8516
|
| "lint/nursery/noImportCycles"
|
|
8385
|
-
| "lint/nursery/noImportantInKeyframe"
|
|
8386
|
-
| "lint/nursery/noImportantStyles"
|
|
8387
|
-
| "lint/nursery/noInvalidDirectionInLinearGradient"
|
|
8388
|
-
| "lint/nursery/noInvalidGridAreas"
|
|
8389
|
-
| "lint/nursery/noInvalidPositionAtImportRule"
|
|
8390
|
-
| "lint/nursery/noMagicNumbers"
|
|
8391
8517
|
| "lint/nursery/noMissingGenericFamilyKeyword"
|
|
8392
8518
|
| "lint/nursery/noMisusedPromises"
|
|
8393
|
-
| "lint/nursery/noNestedComponentDefinitions"
|
|
8394
8519
|
| "lint/nursery/noNonNullAssertedOptionalChain"
|
|
8395
|
-
| "lint/nursery/noNoninteractiveElementInteractions"
|
|
8396
|
-
| "lint/nursery/noProcessGlobal"
|
|
8397
|
-
| "lint/nursery/noQuickfixBiome"
|
|
8398
8520
|
| "lint/nursery/noQwikUseVisibleTask"
|
|
8399
|
-
| "lint/nursery/noReactPropAssign"
|
|
8400
|
-
| "lint/nursery/noReactSpecificProps"
|
|
8401
|
-
| "lint/nursery/noRestrictedElements"
|
|
8402
8521
|
| "lint/nursery/noSecrets"
|
|
8403
8522
|
| "lint/nursery/noShadow"
|
|
8404
|
-
| "lint/nursery/noShorthandPropertyOverrides"
|
|
8405
|
-
| "lint/nursery/noTsIgnore"
|
|
8406
|
-
| "lint/nursery/noUnassignedVariables"
|
|
8407
|
-
| "lint/nursery/noUndeclaredDependencies"
|
|
8408
|
-
| "lint/nursery/noUnknownAtRule"
|
|
8409
|
-
| "lint/nursery/noUnknownFunction"
|
|
8410
|
-
| "lint/nursery/noUnknownMediaFeatureName"
|
|
8411
|
-
| "lint/nursery/noUnknownProperty"
|
|
8412
|
-
| "lint/nursery/noUnknownSelectorPseudoElement"
|
|
8413
|
-
| "lint/nursery/noUnknownUnit"
|
|
8414
|
-
| "lint/nursery/noUnmatchableAnbSelector"
|
|
8415
8523
|
| "lint/nursery/noUnnecessaryConditions"
|
|
8416
8524
|
| "lint/nursery/noUnresolvedImports"
|
|
8417
|
-
| "lint/nursery/noUnusedFunctionParameters"
|
|
8418
8525
|
| "lint/nursery/noUnwantedPolyfillio"
|
|
8419
8526
|
| "lint/nursery/noUselessBackrefInRegex"
|
|
8420
|
-
| "lint/nursery/noUselessEscapeInString"
|
|
8421
8527
|
| "lint/nursery/noUselessUndefined"
|
|
8528
|
+
| "lint/nursery/noVueDataObjectDeclaration"
|
|
8422
8529
|
| "lint/nursery/noVueReservedKeys"
|
|
8423
8530
|
| "lint/nursery/noVueReservedProps"
|
|
8424
|
-
| "lint/nursery/noVueDataObjectDeclaration"
|
|
8425
|
-
| "lint/nursery/useAdjacentGetterSetter"
|
|
8426
8531
|
| "lint/nursery/useAnchorHref"
|
|
8427
8532
|
| "lint/nursery/useBiomeSuppressionComment"
|
|
8428
8533
|
| "lint/nursery/useConsistentObjectDefinition"
|
|
8429
|
-
| "lint/nursery/useConsistentResponse"
|
|
8430
8534
|
| "lint/nursery/useConsistentTypeDefinitions"
|
|
8431
8535
|
| "lint/nursery/useExhaustiveSwitchCases"
|
|
8432
8536
|
| "lint/nursery/useExplicitFunctionReturnType"
|
|
8433
8537
|
| "lint/nursery/useExplicitType"
|
|
8434
|
-
| "lint/nursery/useExportsLast"
|
|
8435
|
-
| "lint/nursery/useForComponent"
|
|
8436
|
-
| "lint/nursery/useGoogleFontPreconnect"
|
|
8437
8538
|
| "lint/nursery/useImageSize"
|
|
8438
8539
|
| "lint/nursery/useImportRestrictions"
|
|
8439
|
-
| "lint/nursery/useIndexOf"
|
|
8440
|
-
| "lint/nursery/useIterableCallbackReturn"
|
|
8441
|
-
| "lint/nursery/useJsonImportAttribute"
|
|
8442
8540
|
| "lint/nursery/useJsxCurlyBraceConvention"
|
|
8443
|
-
| "lint/nursery/
|
|
8444
|
-
| "lint/nursery/useNamingConvention"
|
|
8445
|
-
| "lint/nursery/useNumericSeparators"
|
|
8446
|
-
| "lint/nursery/useObjectSpread"
|
|
8447
|
-
| "lint/nursery/useParseIntRadix"
|
|
8541
|
+
| "lint/nursery/useMaxParams"
|
|
8448
8542
|
| "lint/nursery/useQwikClasslist"
|
|
8449
8543
|
| "lint/nursery/useReactFunctionComponents"
|
|
8450
|
-
| "lint/nursery/useReadonlyClassProperties"
|
|
8451
|
-
| "lint/nursery/useSingleJsDocAsterisk"
|
|
8452
8544
|
| "lint/nursery/useSortedClasses"
|
|
8453
|
-
| "lint/nursery/useSortedProperties"
|
|
8454
|
-
| "lint/nursery/useSymbolDescription"
|
|
8455
|
-
| "lint/nursery/useUnifiedTypeSignature"
|
|
8456
|
-
| "lint/nursery/useUniqueElementIds"
|
|
8457
8545
|
| "lint/performance/noAccumulatingSpread"
|
|
8546
|
+
| "lint/performance/noAwaitInLoops"
|
|
8458
8547
|
| "lint/performance/noBarrelFile"
|
|
8459
8548
|
| "lint/performance/noDelete"
|
|
8460
8549
|
| "lint/performance/noDynamicNamespaceImportAccess"
|
|
8461
8550
|
| "lint/performance/noImgElement"
|
|
8462
8551
|
| "lint/performance/noNamespaceImport"
|
|
8463
8552
|
| "lint/performance/noReExportAll"
|
|
8553
|
+
| "lint/performance/noUnwantedPolyfillio"
|
|
8554
|
+
| "lint/performance/useGoogleFontPreconnect"
|
|
8555
|
+
| "lint/performance/useSolidForComponent"
|
|
8464
8556
|
| "lint/performance/useTopLevelRegex"
|
|
8465
8557
|
| "lint/security/noBlankTarget"
|
|
8466
8558
|
| "lint/security/noDangerouslySetInnerHtml"
|
|
@@ -8475,6 +8567,7 @@ type Category =
|
|
|
8475
8567
|
| "lint/style/noHeadElement"
|
|
8476
8568
|
| "lint/style/noImplicitBoolean"
|
|
8477
8569
|
| "lint/style/noInferrableTypes"
|
|
8570
|
+
| "lint/style/noMagicNumbers"
|
|
8478
8571
|
| "lint/style/noNamespace"
|
|
8479
8572
|
| "lint/style/noNegationElse"
|
|
8480
8573
|
| "lint/style/noNestedTernary"
|
|
@@ -8502,6 +8595,7 @@ type Category =
|
|
|
8502
8595
|
| "lint/style/useConsistentBuiltinInstantiation"
|
|
8503
8596
|
| "lint/style/useConsistentCurlyBraces"
|
|
8504
8597
|
| "lint/style/useConsistentMemberAccessibility"
|
|
8598
|
+
| "lint/style/useConsistentObjectDefinitions"
|
|
8505
8599
|
| "lint/style/useConst"
|
|
8506
8600
|
| "lint/style/useDefaultParameterLast"
|
|
8507
8601
|
| "lint/style/useDefaultSwitchClause"
|
|
@@ -8510,30 +8604,40 @@ type Category =
|
|
|
8510
8604
|
| "lint/style/useExplicitLengthCheck"
|
|
8511
8605
|
| "lint/style/useExponentiationOperator"
|
|
8512
8606
|
| "lint/style/useExportType"
|
|
8607
|
+
| "lint/style/useExportsLast"
|
|
8513
8608
|
| "lint/style/useFilenamingConvention"
|
|
8514
8609
|
| "lint/style/useForOf"
|
|
8515
8610
|
| "lint/style/useFragmentSyntax"
|
|
8611
|
+
| "lint/style/useGraphqlNamingConvention"
|
|
8612
|
+
| "lint/style/useGroupedAccessorPairs"
|
|
8516
8613
|
| "lint/style/useImportType"
|
|
8517
8614
|
| "lint/style/useLiteralEnumMembers"
|
|
8518
8615
|
| "lint/style/useNamingConvention"
|
|
8519
8616
|
| "lint/style/useNodeAssertStrict"
|
|
8520
8617
|
| "lint/style/useNodejsImportProtocol"
|
|
8521
8618
|
| "lint/style/useNumberNamespace"
|
|
8619
|
+
| "lint/style/useNumericSeparators"
|
|
8620
|
+
| "lint/style/useObjectSpread"
|
|
8621
|
+
| "lint/style/useReadonlyClassProperties"
|
|
8522
8622
|
| "lint/style/useSelfClosingElements"
|
|
8523
8623
|
| "lint/style/useShorthandArrayType"
|
|
8524
8624
|
| "lint/style/useShorthandAssign"
|
|
8525
8625
|
| "lint/style/useShorthandFunctionType"
|
|
8526
8626
|
| "lint/style/useSingleCaseStatement"
|
|
8527
8627
|
| "lint/style/useSingleVarDeclarator"
|
|
8628
|
+
| "lint/style/useSymbolDescription"
|
|
8528
8629
|
| "lint/style/useTemplate"
|
|
8529
8630
|
| "lint/style/useThrowNewError"
|
|
8530
8631
|
| "lint/style/useThrowOnlyError"
|
|
8531
8632
|
| "lint/style/useTrimStartEnd"
|
|
8633
|
+
| "lint/style/useUnifiedTypeSignatures"
|
|
8532
8634
|
| "lint/suspicious/noAlert"
|
|
8533
8635
|
| "lint/suspicious/noApproximativeNumericConstant"
|
|
8534
8636
|
| "lint/suspicious/noArrayIndexKey"
|
|
8535
8637
|
| "lint/suspicious/noAssignInExpressions"
|
|
8536
8638
|
| "lint/suspicious/noAsyncPromiseExecutor"
|
|
8639
|
+
| "lint/suspicious/noBiomeFirstException"
|
|
8640
|
+
| "lint/suspicious/noBitwiseOperators"
|
|
8537
8641
|
| "lint/suspicious/noCatchAssign"
|
|
8538
8642
|
| "lint/suspicious/noClassAssign"
|
|
8539
8643
|
| "lint/suspicious/noCommentText"
|
|
@@ -8542,6 +8646,7 @@ type Category =
|
|
|
8542
8646
|
| "lint/suspicious/noConfusingVoidType"
|
|
8543
8647
|
| "lint/suspicious/noConsole"
|
|
8544
8648
|
| "lint/suspicious/noConstEnum"
|
|
8649
|
+
| "lint/suspicious/noConstantBinaryExpressions"
|
|
8545
8650
|
| "lint/suspicious/noControlCharactersInRegex"
|
|
8546
8651
|
| "lint/suspicious/noDebugger"
|
|
8547
8652
|
| "lint/suspicious/noDocumentCookie"
|
|
@@ -8585,6 +8690,7 @@ type Category =
|
|
|
8585
8690
|
| "lint/suspicious/noMisrefactoredShorthandAssign"
|
|
8586
8691
|
| "lint/suspicious/noOctalEscape"
|
|
8587
8692
|
| "lint/suspicious/noPrototypeBuiltins"
|
|
8693
|
+
| "lint/suspicious/noQuickfixBiome"
|
|
8588
8694
|
| "lint/suspicious/noReactSpecificProps"
|
|
8589
8695
|
| "lint/suspicious/noRedeclare"
|
|
8590
8696
|
| "lint/suspicious/noRedundantUseStrict"
|
|
@@ -8596,12 +8702,19 @@ type Category =
|
|
|
8596
8702
|
| "lint/suspicious/noSuspiciousSemicolonInJsx"
|
|
8597
8703
|
| "lint/suspicious/noTemplateCurlyInString"
|
|
8598
8704
|
| "lint/suspicious/noThenProperty"
|
|
8705
|
+
| "lint/suspicious/noTsIgnore"
|
|
8706
|
+
| "lint/suspicious/noUnassignedVariables"
|
|
8707
|
+
| "lint/suspicious/noUnknownAtRules"
|
|
8599
8708
|
| "lint/suspicious/noUnsafeDeclarationMerging"
|
|
8600
8709
|
| "lint/suspicious/noUnsafeNegation"
|
|
8710
|
+
| "lint/suspicious/noUselessRegexBackrefs"
|
|
8711
|
+
| "lint/suspicious/noUselessEscapeInString"
|
|
8601
8712
|
| "lint/suspicious/noVar"
|
|
8602
8713
|
| "lint/suspicious/noWith"
|
|
8603
8714
|
| "lint/suspicious/useAdjacentOverloadSignatures"
|
|
8604
8715
|
| "lint/suspicious/useAwait"
|
|
8716
|
+
| "lint/suspicious/useBiomeIgnoreFolder"
|
|
8717
|
+
| "lint/suspicious/useIterableCallbackReturn"
|
|
8605
8718
|
| "lint/suspicious/useDefaultSwitchClauseLast"
|
|
8606
8719
|
| "lint/suspicious/useErrorMessage"
|
|
8607
8720
|
| "lint/suspicious/useGetterReturn"
|
|
@@ -8610,6 +8723,7 @@ type Category =
|
|
|
8610
8723
|
| "lint/suspicious/useIsArray"
|
|
8611
8724
|
| "lint/suspicious/useNamespaceKeyword"
|
|
8612
8725
|
| "lint/suspicious/useNumberToFixedDigitsArgument"
|
|
8726
|
+
| "lint/suspicious/useStaticResponseMethods"
|
|
8613
8727
|
| "lint/suspicious/useStrictMode"
|
|
8614
8728
|
| "assist/source/useSortedKeys"
|
|
8615
8729
|
| "assist/source/useSortedProperties"
|
|
@@ -8736,6 +8850,59 @@ interface OpenProjectResult {
|
|
|
8736
8850
|
*/
|
|
8737
8851
|
projectKey: ProjectKey;
|
|
8738
8852
|
}
|
|
8853
|
+
interface ScanProjectParams {
|
|
8854
|
+
/**
|
|
8855
|
+
* Forces scanning of the folder, even if it is already being watched.
|
|
8856
|
+
*/
|
|
8857
|
+
force: boolean;
|
|
8858
|
+
projectKey: ProjectKey;
|
|
8859
|
+
scanKind: ScanKind;
|
|
8860
|
+
verbose: boolean;
|
|
8861
|
+
/**
|
|
8862
|
+
* Whether the watcher should watch this path.
|
|
8863
|
+
|
|
8864
|
+
Does nothing if the watcher is already watching this path.
|
|
8865
|
+
*/
|
|
8866
|
+
watch: boolean;
|
|
8867
|
+
}
|
|
8868
|
+
type ScanKind =
|
|
8869
|
+
| "noScanner"
|
|
8870
|
+
| "knownFiles"
|
|
8871
|
+
| {
|
|
8872
|
+
targetedKnownFiles: {
|
|
8873
|
+
/**
|
|
8874
|
+
* Determines whether the file scanner should descend into subdirectories of the target paths.
|
|
8875
|
+
*/
|
|
8876
|
+
descendFromTargets: boolean;
|
|
8877
|
+
/**
|
|
8878
|
+
* The paths to target by the scanner.
|
|
8879
|
+
|
|
8880
|
+
If a target path indicates a folder, all files within are scanned as well.
|
|
8881
|
+
|
|
8882
|
+
Target paths must be absolute.
|
|
8883
|
+
*/
|
|
8884
|
+
targetPaths: BiomePath[];
|
|
8885
|
+
};
|
|
8886
|
+
}
|
|
8887
|
+
| "project";
|
|
8888
|
+
interface ScanProjectResult {
|
|
8889
|
+
/**
|
|
8890
|
+
* A list of child configuration files found inside the project
|
|
8891
|
+
*/
|
|
8892
|
+
configurationFiles: BiomePath[];
|
|
8893
|
+
/**
|
|
8894
|
+
* Diagnostics reported while scanning the project.
|
|
8895
|
+
*/
|
|
8896
|
+
diagnostics: Diagnostic[];
|
|
8897
|
+
/**
|
|
8898
|
+
* Duration of the scan.
|
|
8899
|
+
*/
|
|
8900
|
+
duration: Duration;
|
|
8901
|
+
}
|
|
8902
|
+
interface Duration {
|
|
8903
|
+
nanos: number;
|
|
8904
|
+
secs: number;
|
|
8905
|
+
}
|
|
8739
8906
|
interface OpenFileParams {
|
|
8740
8907
|
content: FileContent;
|
|
8741
8908
|
documentFileSource?: DocumentFileSource;
|
|
@@ -8795,8 +8962,13 @@ type LanguageVersion = "eS2022" | "eSNext";
|
|
|
8795
8962
|
type JsonFileVariant = "standard" | "jsonc";
|
|
8796
8963
|
type CssVariant = "standard";
|
|
8797
8964
|
type GraphqlVariant = "standard";
|
|
8798
|
-
type HtmlVariant =
|
|
8965
|
+
type HtmlVariant =
|
|
8966
|
+
| { Standard: HtmlTextExpressions }
|
|
8967
|
+
| "Astro"
|
|
8968
|
+
| "Vue"
|
|
8969
|
+
| "Svelte";
|
|
8799
8970
|
type GritVariant = "Standard";
|
|
8971
|
+
type HtmlTextExpressions = "None" | "Single" | "Double";
|
|
8800
8972
|
interface ChangeFileParams {
|
|
8801
8973
|
content: string;
|
|
8802
8974
|
path: BiomePath;
|
|
@@ -8807,6 +8979,33 @@ interface CloseFileParams {
|
|
|
8807
8979
|
path: BiomePath;
|
|
8808
8980
|
projectKey: ProjectKey;
|
|
8809
8981
|
}
|
|
8982
|
+
interface FileExitsParams {
|
|
8983
|
+
filePath: BiomePath;
|
|
8984
|
+
}
|
|
8985
|
+
interface PathIsIgnoredParams {
|
|
8986
|
+
/**
|
|
8987
|
+
* Whether the path is ignored for specific features e.g. `formatter.includes`. When this field is empty, Biome checks only `files.includes`.
|
|
8988
|
+
*/
|
|
8989
|
+
features: FeatureName;
|
|
8990
|
+
/**
|
|
8991
|
+
* Controls how to ignore check should be done
|
|
8992
|
+
*/
|
|
8993
|
+
ignoreKind?: IgnoreKind;
|
|
8994
|
+
/**
|
|
8995
|
+
* The path to inspect
|
|
8996
|
+
*/
|
|
8997
|
+
path: BiomePath;
|
|
8998
|
+
projectKey: ProjectKey;
|
|
8999
|
+
}
|
|
9000
|
+
type IgnoreKind = "path" | "ancestors";
|
|
9001
|
+
interface UpdateModuleGraphParams {
|
|
9002
|
+
path: BiomePath;
|
|
9003
|
+
/**
|
|
9004
|
+
* The kind of update to apply to the module graph
|
|
9005
|
+
*/
|
|
9006
|
+
updateKind: UpdateKind;
|
|
9007
|
+
}
|
|
9008
|
+
type UpdateKind = "addOrUpdate" | "remove";
|
|
8810
9009
|
interface GetSyntaxTreeParams {
|
|
8811
9010
|
path: BiomePath;
|
|
8812
9011
|
projectKey: ProjectKey;
|
|
@@ -8815,9 +9014,6 @@ interface GetSyntaxTreeResult {
|
|
|
8815
9014
|
ast: string;
|
|
8816
9015
|
cst: string;
|
|
8817
9016
|
}
|
|
8818
|
-
interface FileExitsParams {
|
|
8819
|
-
filePath: BiomePath;
|
|
8820
|
-
}
|
|
8821
9017
|
interface CheckFileSizeParams {
|
|
8822
9018
|
path: BiomePath;
|
|
8823
9019
|
projectKey: ProjectKey;
|
|
@@ -8851,6 +9047,36 @@ interface GetSemanticModelParams {
|
|
|
8851
9047
|
path: BiomePath;
|
|
8852
9048
|
projectKey: ProjectKey;
|
|
8853
9049
|
}
|
|
9050
|
+
interface GetModuleGraphParams {}
|
|
9051
|
+
interface GetModuleGraphResult {
|
|
9052
|
+
data: Record<string, SerializedJsModuleInfo>;
|
|
9053
|
+
}
|
|
9054
|
+
interface SerializedJsModuleInfo {
|
|
9055
|
+
/**
|
|
9056
|
+
* Dynamic imports.
|
|
9057
|
+
*/
|
|
9058
|
+
dynamicImports: string[];
|
|
9059
|
+
/**
|
|
9060
|
+
* Exported symbols.
|
|
9061
|
+
*/
|
|
9062
|
+
exports: string[];
|
|
9063
|
+
/**
|
|
9064
|
+
* Map of all the paths from static imports in the module.
|
|
9065
|
+
|
|
9066
|
+
Maps from the source specifier name to the absolute path it resolves to. Specifiers that could not be resolved to an absolute will map to the specifier itself.
|
|
9067
|
+
|
|
9068
|
+
## Example
|
|
9069
|
+
|
|
9070
|
+
```json { "./foo": "/absolute/path/to/foo.js", "react": "react" } ```
|
|
9071
|
+
*/
|
|
9072
|
+
staticImportPaths: Record<string, string>;
|
|
9073
|
+
/**
|
|
9074
|
+
* Map of all static imports found in the module.
|
|
9075
|
+
|
|
9076
|
+
Maps from the local imported name to the absolute path it resolves to.
|
|
9077
|
+
*/
|
|
9078
|
+
staticImports: Record<string, string>;
|
|
9079
|
+
}
|
|
8854
9080
|
interface PullDiagnosticsParams {
|
|
8855
9081
|
categories: RuleCategories;
|
|
8856
9082
|
/**
|
|
@@ -9052,6 +9278,7 @@ export class Workspace {
|
|
|
9052
9278
|
fileFeatures(params: SupportsFeatureParams): FileFeaturesResult;
|
|
9053
9279
|
updateSettings(params: UpdateSettingsParams): UpdateSettingsResult;
|
|
9054
9280
|
openProject(params: OpenProjectParams): OpenProjectResult;
|
|
9281
|
+
scanProject(params: ScanProjectParams): ScanProjectResult;
|
|
9055
9282
|
openFile(params: OpenFileParams): void;
|
|
9056
9283
|
getFileContent(params: GetFileContentParams): string;
|
|
9057
9284
|
getSyntaxTree(params: GetSyntaxTreeParams): GetSyntaxTreeResult;
|
|
@@ -9062,6 +9289,10 @@ export class Workspace {
|
|
|
9062
9289
|
getSemanticModel(params: GetSemanticModelParams): string;
|
|
9063
9290
|
changeFile(params: ChangeFileParams): void;
|
|
9064
9291
|
closeFile(params: CloseFileParams): void;
|
|
9292
|
+
fileExists(params: FileExitsParams): boolean;
|
|
9293
|
+
isPathIgnored(params: PathIsIgnoredParams): boolean;
|
|
9294
|
+
updateModuleGraph(params: UpdateModuleGraphParams): void;
|
|
9295
|
+
getModuleGraph(params: GetModuleGraphParams): GetModuleGraphResult;
|
|
9065
9296
|
pullDiagnostics(params: PullDiagnosticsParams): PullDiagnosticsResult;
|
|
9066
9297
|
pullActions(params: PullActionsParams): PullActionsResult;
|
|
9067
9298
|
formatFile(params: FormatFileParams): any;
|