@biomejs/wasm-nodejs 2.1.3 → 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 +1165 -790
- package/biome_wasm.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,11 +775,20 @@ 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";
|
|
772
782
|
type TrailingCommas2 = "none" | "all";
|
|
773
|
-
type RuleDomain =
|
|
783
|
+
type RuleDomain =
|
|
784
|
+
| "react"
|
|
785
|
+
| "test"
|
|
786
|
+
| "solid"
|
|
787
|
+
| "next"
|
|
788
|
+
| "qwik"
|
|
789
|
+
| "vue"
|
|
790
|
+
| "project"
|
|
791
|
+
| "tailwind";
|
|
774
792
|
type RuleDomainValue = "all" | "none" | "recommended";
|
|
775
793
|
type SeverityOrGroup_for_A11y = GroupPlainConfiguration | A11y;
|
|
776
794
|
type SeverityOrGroup_for_Complexity = GroupPlainConfiguration | Complexity;
|
|
@@ -900,6 +918,10 @@ interface A11y {
|
|
|
900
918
|
* Enforce that a label element or component has a text label and an associated input.
|
|
901
919
|
*/
|
|
902
920
|
noLabelWithoutControl?: RuleConfiguration_for_NoLabelWithoutControlOptions;
|
|
921
|
+
/**
|
|
922
|
+
* Disallow use event handlers on non-interactive elements.
|
|
923
|
+
*/
|
|
924
|
+
noNoninteractiveElementInteractions?: RuleConfiguration_for_NoNoninteractiveElementInteractionsOptions;
|
|
903
925
|
/**
|
|
904
926
|
* Enforce that interactive ARIA roles are not assigned to non-interactive HTML elements.
|
|
905
927
|
*/
|
|
@@ -1042,6 +1064,10 @@ interface Complexity {
|
|
|
1042
1064
|
* Disallow functions that exceed a given Cognitive Complexity score.
|
|
1043
1065
|
*/
|
|
1044
1066
|
noExcessiveCognitiveComplexity?: RuleConfiguration_for_NoExcessiveCognitiveComplexityOptions;
|
|
1067
|
+
/**
|
|
1068
|
+
* Restrict the number of lines of code in a function.
|
|
1069
|
+
*/
|
|
1070
|
+
noExcessiveLinesPerFunction?: RuleConfiguration_for_NoExcessiveLinesPerFunctionOptions;
|
|
1045
1071
|
/**
|
|
1046
1072
|
* This rule enforces a maximum depth to nested describe() in test files.
|
|
1047
1073
|
*/
|
|
@@ -1058,6 +1084,14 @@ interface Complexity {
|
|
|
1058
1084
|
* Prefer for...of statement instead of Array.forEach.
|
|
1059
1085
|
*/
|
|
1060
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;
|
|
1061
1095
|
/**
|
|
1062
1096
|
* This rule reports when a class has no non-static members, such as for a class used exclusively as a static namespace.
|
|
1063
1097
|
*/
|
|
@@ -1150,6 +1184,10 @@ interface Complexity {
|
|
|
1150
1184
|
* Promotes the use of .flatMap() when map().flat() are used together.
|
|
1151
1185
|
*/
|
|
1152
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;
|
|
1153
1191
|
/**
|
|
1154
1192
|
* Enforce the usage of a literal access to properties over computed property access.
|
|
1155
1193
|
*/
|
|
@@ -1208,6 +1246,10 @@ interface Correctness {
|
|
|
1208
1246
|
* Disallows empty destructuring patterns.
|
|
1209
1247
|
*/
|
|
1210
1248
|
noEmptyPattern?: RuleConfiguration_for_NoEmptyPatternOptions;
|
|
1249
|
+
/**
|
|
1250
|
+
* Disallow the use of __dirname and __filename in the global scope.
|
|
1251
|
+
*/
|
|
1252
|
+
noGlobalDirnameFilename?: RuleFixConfiguration_for_NoGlobalDirnameFilenameOptions;
|
|
1211
1253
|
/**
|
|
1212
1254
|
* Disallow calling global object properties as functions
|
|
1213
1255
|
*/
|
|
@@ -1244,6 +1286,10 @@ interface Correctness {
|
|
|
1244
1286
|
* Disallow missing var function for css variables.
|
|
1245
1287
|
*/
|
|
1246
1288
|
noMissingVarFunction?: RuleConfiguration_for_NoMissingVarFunctionOptions;
|
|
1289
|
+
/**
|
|
1290
|
+
* Disallows defining React components inside other components.
|
|
1291
|
+
*/
|
|
1292
|
+
noNestedComponentDefinitions?: RuleConfiguration_for_NoNestedComponentDefinitionsOptions;
|
|
1247
1293
|
/**
|
|
1248
1294
|
* Forbid the use of Node.js builtin modules.
|
|
1249
1295
|
*/
|
|
@@ -1260,10 +1306,22 @@ interface Correctness {
|
|
|
1260
1306
|
* Restrict imports of private exports.
|
|
1261
1307
|
*/
|
|
1262
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;
|
|
1263
1317
|
/**
|
|
1264
1318
|
* Prevent the usage of the return value of React.render.
|
|
1265
1319
|
*/
|
|
1266
1320
|
noRenderReturnValue?: RuleConfiguration_for_NoRenderReturnValueOptions;
|
|
1321
|
+
/**
|
|
1322
|
+
* Disallow the use of configured elements.
|
|
1323
|
+
*/
|
|
1324
|
+
noRestrictedElements?: RuleConfiguration_for_NoRestrictedElementsOptions;
|
|
1267
1325
|
/**
|
|
1268
1326
|
* Disallow assignments where both sides are exactly the same.
|
|
1269
1327
|
*/
|
|
@@ -1272,6 +1330,10 @@ interface Correctness {
|
|
|
1272
1330
|
* Disallow returning a value from a setter
|
|
1273
1331
|
*/
|
|
1274
1332
|
noSetterReturn?: RuleConfiguration_for_NoSetterReturnOptions;
|
|
1333
|
+
/**
|
|
1334
|
+
* Disallow destructuring props inside JSX components in Solid projects.
|
|
1335
|
+
*/
|
|
1336
|
+
noSolidDestructuredProps?: RuleConfiguration_for_NoSolidDestructuredPropsOptions;
|
|
1275
1337
|
/**
|
|
1276
1338
|
* Disallow comparison of expressions modifying the string case with non-compliant value.
|
|
1277
1339
|
*/
|
|
@@ -1372,6 +1434,10 @@ interface Correctness {
|
|
|
1372
1434
|
* Enforce all dependencies are correctly specified in a React hook.
|
|
1373
1435
|
*/
|
|
1374
1436
|
useExhaustiveDependencies?: RuleFixConfiguration_for_UseExhaustiveDependenciesOptions;
|
|
1437
|
+
/**
|
|
1438
|
+
* Enforce specifying the name of GraphQL operations.
|
|
1439
|
+
*/
|
|
1440
|
+
useGraphqlNamedOperations?: RuleFixConfiguration_for_UseGraphqlNamedOperationsOptions;
|
|
1375
1441
|
/**
|
|
1376
1442
|
* Enforce that all React hooks are being called from the Top Level component functions.
|
|
1377
1443
|
*/
|
|
@@ -1384,10 +1450,26 @@ interface Correctness {
|
|
|
1384
1450
|
* Require calls to isNaN() when checking for NaN.
|
|
1385
1451
|
*/
|
|
1386
1452
|
useIsNan?: RuleFixConfiguration_for_UseIsNanOptions;
|
|
1453
|
+
/**
|
|
1454
|
+
* Enforces the use of with { type: "json" } for JSON module imports.
|
|
1455
|
+
*/
|
|
1456
|
+
useJsonImportAttributes?: RuleFixConfiguration_for_UseJsonImportAttributesOptions;
|
|
1387
1457
|
/**
|
|
1388
1458
|
* Disallow missing key props in iterators/collection literals.
|
|
1389
1459
|
*/
|
|
1390
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;
|
|
1391
1473
|
/**
|
|
1392
1474
|
* Enforce "for" loop update clause moving the counter in the right direction.
|
|
1393
1475
|
*/
|
|
@@ -1402,78 +1484,30 @@ interface Correctness {
|
|
|
1402
1484
|
useYield?: RuleConfiguration_for_UseYieldOptions;
|
|
1403
1485
|
}
|
|
1404
1486
|
interface Nursery {
|
|
1405
|
-
/**
|
|
1406
|
-
* Disallow await inside loops.
|
|
1407
|
-
*/
|
|
1408
|
-
noAwaitInLoop?: RuleConfiguration_for_NoAwaitInLoopOptions;
|
|
1409
|
-
/**
|
|
1410
|
-
* Disallow bitwise operators.
|
|
1411
|
-
*/
|
|
1412
|
-
noBitwiseOperators?: RuleConfiguration_for_NoBitwiseOperatorsOptions;
|
|
1413
|
-
/**
|
|
1414
|
-
* Disallow expressions where the operation doesn't affect the value
|
|
1415
|
-
*/
|
|
1416
|
-
noConstantBinaryExpression?: RuleConfiguration_for_NoConstantBinaryExpressionOptions;
|
|
1417
|
-
/**
|
|
1418
|
-
* Disallow destructuring props inside JSX components in Solid projects.
|
|
1419
|
-
*/
|
|
1420
|
-
noDestructuredProps?: RuleConfiguration_for_NoDestructuredPropsOptions;
|
|
1421
|
-
/**
|
|
1422
|
-
* Restrict the number of lines of code in a function.
|
|
1423
|
-
*/
|
|
1424
|
-
noExcessiveLinesPerFunction?: RuleConfiguration_for_NoExcessiveLinesPerFunctionOptions;
|
|
1425
1487
|
/**
|
|
1426
1488
|
* Require Promise-like statements to be handled appropriately.
|
|
1427
1489
|
*/
|
|
1428
1490
|
noFloatingPromises?: RuleFixConfiguration_for_NoFloatingPromisesOptions;
|
|
1429
|
-
/**
|
|
1430
|
-
* Disallow the use of __dirname and __filename in the global scope.
|
|
1431
|
-
*/
|
|
1432
|
-
noGlobalDirnameFilename?: RuleFixConfiguration_for_NoGlobalDirnameFilenameOptions;
|
|
1433
|
-
/**
|
|
1434
|
-
* Disallow shorthand type conversions.
|
|
1435
|
-
*/
|
|
1436
|
-
noImplicitCoercion?: RuleFixConfiguration_for_NoImplicitCoercionOptions;
|
|
1437
1491
|
/**
|
|
1438
1492
|
* Prevent import cycles.
|
|
1439
1493
|
*/
|
|
1440
1494
|
noImportCycles?: RuleConfiguration_for_NoImportCyclesOptions;
|
|
1441
|
-
/**
|
|
1442
|
-
* Disallow the use of the !important style.
|
|
1443
|
-
*/
|
|
1444
|
-
noImportantStyles?: RuleFixConfiguration_for_NoImportantStylesOptions;
|
|
1445
|
-
/**
|
|
1446
|
-
* Reports usage of "magic numbers" — numbers used directly instead of being assigned to named constants.
|
|
1447
|
-
*/
|
|
1448
|
-
noMagicNumbers?: RuleConfiguration_for_NoMagicNumbersOptions;
|
|
1449
1495
|
/**
|
|
1450
1496
|
* Disallow Promises to be used in places where they are almost certainly a mistake.
|
|
1451
1497
|
*/
|
|
1452
1498
|
noMisusedPromises?: RuleFixConfiguration_for_NoMisusedPromisesOptions;
|
|
1453
1499
|
/**
|
|
1454
|
-
*
|
|
1455
|
-
*/
|
|
1456
|
-
noNestedComponentDefinitions?: RuleConfiguration_for_NoNestedComponentDefinitionsOptions;
|
|
1457
|
-
/**
|
|
1458
|
-
* Disallow use event handlers on non-interactive elements.
|
|
1459
|
-
*/
|
|
1460
|
-
noNoninteractiveElementInteractions?: RuleConfiguration_for_NoNoninteractiveElementInteractionsOptions;
|
|
1461
|
-
/**
|
|
1462
|
-
* Disallow the use of process global.
|
|
1463
|
-
*/
|
|
1464
|
-
noProcessGlobal?: RuleFixConfiguration_for_NoProcessGlobalOptions;
|
|
1465
|
-
/**
|
|
1466
|
-
* Disallow the use if quickfix.biome inside editor settings file.
|
|
1500
|
+
* Prevent client components from being async functions.
|
|
1467
1501
|
*/
|
|
1468
|
-
|
|
1502
|
+
noNextAsyncClientComponent?: RuleConfiguration_for_NoNextAsyncClientComponentOptions;
|
|
1469
1503
|
/**
|
|
1470
|
-
* Disallow
|
|
1504
|
+
* Disallow non-null assertions after optional chaining expressions.
|
|
1471
1505
|
*/
|
|
1472
|
-
|
|
1506
|
+
noNonNullAssertedOptionalChain?: RuleConfiguration_for_NoNonNullAssertedOptionalChainOptions;
|
|
1473
1507
|
/**
|
|
1474
|
-
* Disallow
|
|
1508
|
+
* Disallow useVisibleTask$() functions in Qwik components.
|
|
1475
1509
|
*/
|
|
1476
|
-
|
|
1510
|
+
noQwikUseVisibleTask?: RuleConfiguration_for_NoQwikUseVisibleTaskOptions;
|
|
1477
1511
|
/**
|
|
1478
1512
|
* Disallow usage of sensitive data such as API keys and tokens.
|
|
1479
1513
|
*/
|
|
@@ -1483,37 +1517,21 @@ interface Nursery {
|
|
|
1483
1517
|
*/
|
|
1484
1518
|
noShadow?: RuleConfiguration_for_NoShadowOptions;
|
|
1485
1519
|
/**
|
|
1486
|
-
*
|
|
1487
|
-
*/
|
|
1488
|
-
noTsIgnore?: RuleFixConfiguration_for_NoTsIgnoreOptions;
|
|
1489
|
-
/**
|
|
1490
|
-
* Disallow let or var variables that are read but never assigned.
|
|
1491
|
-
*/
|
|
1492
|
-
noUnassignedVariables?: RuleConfiguration_for_NoUnassignedVariablesOptions;
|
|
1493
|
-
/**
|
|
1494
|
-
* Disallow unknown at-rules.
|
|
1520
|
+
* Disallow unnecessary type-based conditions that can be statically determined as redundant.
|
|
1495
1521
|
*/
|
|
1496
|
-
|
|
1522
|
+
noUnnecessaryConditions?: RuleConfiguration_for_NoUnnecessaryConditionsOptions;
|
|
1497
1523
|
/**
|
|
1498
1524
|
* Warn when importing non-existing exports.
|
|
1499
1525
|
*/
|
|
1500
1526
|
noUnresolvedImports?: RuleConfiguration_for_NoUnresolvedImportsOptions;
|
|
1501
|
-
/**
|
|
1502
|
-
* Prevent duplicate polyfills from Polyfill.io.
|
|
1503
|
-
*/
|
|
1504
|
-
noUnwantedPolyfillio?: RuleConfiguration_for_NoUnwantedPolyfillioOptions;
|
|
1505
|
-
/**
|
|
1506
|
-
* Disallow useless backreferences in regular expression literals that always match an empty string.
|
|
1507
|
-
*/
|
|
1508
|
-
noUselessBackrefInRegex?: RuleConfiguration_for_NoUselessBackrefInRegexOptions;
|
|
1509
|
-
/**
|
|
1510
|
-
* Disallow unnecessary escapes in string literals.
|
|
1511
|
-
*/
|
|
1512
|
-
noUselessEscapeInString?: RuleFixConfiguration_for_NoUselessEscapeInStringOptions;
|
|
1513
1527
|
/**
|
|
1514
1528
|
* Disallow the use of useless undefined.
|
|
1515
1529
|
*/
|
|
1516
1530
|
noUselessUndefined?: RuleFixConfiguration_for_NoUselessUndefinedOptions;
|
|
1531
|
+
/**
|
|
1532
|
+
* Enforce that Vue component data options are declared as functions.
|
|
1533
|
+
*/
|
|
1534
|
+
noVueDataObjectDeclaration?: RuleFixConfiguration_for_NoVueDataObjectDeclarationOptions;
|
|
1517
1535
|
/**
|
|
1518
1536
|
* Disallow reserved keys in Vue component data and computed properties.
|
|
1519
1537
|
*/
|
|
@@ -1527,17 +1545,13 @@ interface Nursery {
|
|
|
1527
1545
|
*/
|
|
1528
1546
|
recommended?: boolean;
|
|
1529
1547
|
/**
|
|
1530
|
-
*
|
|
1531
|
-
*/
|
|
1532
|
-
useAdjacentGetterSetter?: RuleConfiguration_for_UseAdjacentGetterSetterOptions;
|
|
1533
|
-
/**
|
|
1534
|
-
* Require the consistent declaration of object literals. Defaults to explicit definitions.
|
|
1548
|
+
* Enforces href attribute for \<a> elements.
|
|
1535
1549
|
*/
|
|
1536
|
-
|
|
1550
|
+
useAnchorHref?: RuleConfiguration_for_UseAnchorHrefOptions;
|
|
1537
1551
|
/**
|
|
1538
|
-
*
|
|
1552
|
+
* Enforce type definitions to consistently use either interface or type.
|
|
1539
1553
|
*/
|
|
1540
|
-
|
|
1554
|
+
useConsistentTypeDefinitions?: RuleFixConfiguration_for_UseConsistentTypeDefinitionsOptions;
|
|
1541
1555
|
/**
|
|
1542
1556
|
* Require switch-case statements to be exhaustive.
|
|
1543
1557
|
*/
|
|
@@ -1547,83 +1561,35 @@ interface Nursery {
|
|
|
1547
1561
|
*/
|
|
1548
1562
|
useExplicitType?: RuleConfiguration_for_UseExplicitTypeOptions;
|
|
1549
1563
|
/**
|
|
1550
|
-
*
|
|
1551
|
-
*/
|
|
1552
|
-
useExportsLast?: RuleConfiguration_for_UseExportsLastOptions;
|
|
1553
|
-
/**
|
|
1554
|
-
* Enforce using Solid's \<For /> component for mapping an array to JSX elements.
|
|
1555
|
-
*/
|
|
1556
|
-
useForComponent?: RuleConfiguration_for_UseForComponentOptions;
|
|
1557
|
-
/**
|
|
1558
|
-
* Ensure the preconnect attribute is used when using Google Fonts.
|
|
1559
|
-
*/
|
|
1560
|
-
useGoogleFontPreconnect?: RuleFixConfiguration_for_UseGoogleFontPreconnectOptions;
|
|
1561
|
-
/**
|
|
1562
|
-
* Prefer Array#{indexOf,lastIndexOf}() over Array#{findIndex,findLastIndex}() when looking for the index of an item.
|
|
1563
|
-
*/
|
|
1564
|
-
useIndexOf?: RuleFixConfiguration_for_UseIndexOfOptions;
|
|
1565
|
-
/**
|
|
1566
|
-
* Enforce consistent return values in iterable callbacks.
|
|
1567
|
-
*/
|
|
1568
|
-
useIterableCallbackReturn?: RuleConfiguration_for_UseIterableCallbackReturnOptions;
|
|
1569
|
-
/**
|
|
1570
|
-
* Enforces the use of with { type: "json" } for JSON module imports.
|
|
1571
|
-
*/
|
|
1572
|
-
useJsonImportAttribute?: RuleFixConfiguration_for_UseJsonImportAttributeOptions;
|
|
1573
|
-
/**
|
|
1574
|
-
* Enforce specifying the name of GraphQL operations.
|
|
1575
|
-
*/
|
|
1576
|
-
useNamedOperation?: RuleFixConfiguration_for_UseNamedOperationOptions;
|
|
1577
|
-
/**
|
|
1578
|
-
* Validates that all enum values are capitalized.
|
|
1579
|
-
*/
|
|
1580
|
-
useNamingConvention?: RuleConfiguration_for_UseNamingConventionOptions;
|
|
1581
|
-
/**
|
|
1582
|
-
* Enforce the use of numeric separators in numeric literals.
|
|
1564
|
+
* Enforces that \<img> elements have both width and height attributes.
|
|
1583
1565
|
*/
|
|
1584
|
-
|
|
1566
|
+
useImageSize?: RuleConfiguration_for_UseImageSizeOptions;
|
|
1585
1567
|
/**
|
|
1586
|
-
*
|
|
1568
|
+
* Enforce a maximum number of parameters in function definitions.
|
|
1587
1569
|
*/
|
|
1588
|
-
|
|
1570
|
+
useMaxParams?: RuleConfiguration_for_UseMaxParamsOptions;
|
|
1589
1571
|
/**
|
|
1590
|
-
*
|
|
1572
|
+
* Prefer using the class prop as a classlist over the classnames helper.
|
|
1591
1573
|
*/
|
|
1592
|
-
|
|
1574
|
+
useQwikClasslist?: RuleConfiguration_for_UseQwikClasslistOptions;
|
|
1593
1575
|
/**
|
|
1594
1576
|
* Enforce that components are defined as functions and never as classes.
|
|
1595
1577
|
*/
|
|
1596
1578
|
useReactFunctionComponents?: RuleConfiguration_for_UseReactFunctionComponentsOptions;
|
|
1597
|
-
/**
|
|
1598
|
-
* Enforce marking members as readonly if they are never modified outside the constructor.
|
|
1599
|
-
*/
|
|
1600
|
-
useReadonlyClassProperties?: RuleFixConfiguration_for_UseReadonlyClassPropertiesOptions;
|
|
1601
|
-
/**
|
|
1602
|
-
* Enforce JSDoc comment lines to start with a single asterisk, except for the first one.
|
|
1603
|
-
*/
|
|
1604
|
-
useSingleJsDocAsterisk?: RuleFixConfiguration_for_UseSingleJsDocAsteriskOptions;
|
|
1605
1579
|
/**
|
|
1606
1580
|
* Enforce the sorting of CSS utility classes.
|
|
1607
1581
|
*/
|
|
1608
1582
|
useSortedClasses?: RuleFixConfiguration_for_UseSortedClassesOptions;
|
|
1609
|
-
/**
|
|
1610
|
-
* Require a description parameter for the Symbol().
|
|
1611
|
-
*/
|
|
1612
|
-
useSymbolDescription?: RuleConfiguration_for_UseSymbolDescriptionOptions;
|
|
1613
|
-
/**
|
|
1614
|
-
* Disallow overload signatures that can be unified into a single signature.
|
|
1615
|
-
*/
|
|
1616
|
-
useUnifiedTypeSignature?: RuleFixConfiguration_for_UseUnifiedTypeSignatureOptions;
|
|
1617
|
-
/**
|
|
1618
|
-
* Prevent the usage of static string literal id attribute on elements.
|
|
1619
|
-
*/
|
|
1620
|
-
useUniqueElementIds?: RuleConfiguration_for_UseUniqueElementIdsOptions;
|
|
1621
1583
|
}
|
|
1622
1584
|
interface Performance {
|
|
1623
1585
|
/**
|
|
1624
1586
|
* Disallow the use of spread (...) syntax on accumulators.
|
|
1625
1587
|
*/
|
|
1626
1588
|
noAccumulatingSpread?: RuleConfiguration_for_NoAccumulatingSpreadOptions;
|
|
1589
|
+
/**
|
|
1590
|
+
* Disallow await inside loops.
|
|
1591
|
+
*/
|
|
1592
|
+
noAwaitInLoops?: RuleConfiguration_for_NoAwaitInLoopsOptions;
|
|
1627
1593
|
/**
|
|
1628
1594
|
* Disallow the use of barrel file.
|
|
1629
1595
|
*/
|
|
@@ -1648,10 +1614,22 @@ interface Performance {
|
|
|
1648
1614
|
* Avoid re-export all.
|
|
1649
1615
|
*/
|
|
1650
1616
|
noReExportAll?: RuleConfiguration_for_NoReExportAllOptions;
|
|
1617
|
+
/**
|
|
1618
|
+
* Prevent duplicate polyfills from Polyfill.io.
|
|
1619
|
+
*/
|
|
1620
|
+
noUnwantedPolyfillio?: RuleConfiguration_for_NoUnwantedPolyfillioOptions;
|
|
1651
1621
|
/**
|
|
1652
1622
|
* It enables the recommended rules for this group
|
|
1653
1623
|
*/
|
|
1654
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;
|
|
1655
1633
|
/**
|
|
1656
1634
|
* Require regex literals to be declared at the top level.
|
|
1657
1635
|
*/
|
|
@@ -1716,6 +1694,10 @@ interface Style {
|
|
|
1716
1694
|
* Disallow type annotations for variables, parameters, and class properties initialized with a literal expression.
|
|
1717
1695
|
*/
|
|
1718
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;
|
|
1719
1701
|
/**
|
|
1720
1702
|
* Disallow the use of TypeScript's namespaces.
|
|
1721
1703
|
*/
|
|
@@ -1828,6 +1810,10 @@ interface Style {
|
|
|
1828
1810
|
* Require consistent accessibility modifiers on class properties and methods.
|
|
1829
1811
|
*/
|
|
1830
1812
|
useConsistentMemberAccessibility?: RuleConfiguration_for_UseConsistentMemberAccessibilityOptions;
|
|
1813
|
+
/**
|
|
1814
|
+
* Require the consistent declaration of object literals. Defaults to explicit definitions.
|
|
1815
|
+
*/
|
|
1816
|
+
useConsistentObjectDefinitions?: RuleFixConfiguration_for_UseConsistentObjectDefinitionsOptions;
|
|
1831
1817
|
/**
|
|
1832
1818
|
* Require const declarations for variables that are only assigned once.
|
|
1833
1819
|
*/
|
|
@@ -1860,18 +1846,30 @@ interface Style {
|
|
|
1860
1846
|
* Promotes the use of export type for types.
|
|
1861
1847
|
*/
|
|
1862
1848
|
useExportType?: RuleFixConfiguration_for_UseExportTypeOptions;
|
|
1849
|
+
/**
|
|
1850
|
+
* Require that all exports are declared after all non-export statements.
|
|
1851
|
+
*/
|
|
1852
|
+
useExportsLast?: RuleConfiguration_for_UseExportsLastOptions;
|
|
1863
1853
|
/**
|
|
1864
1854
|
* Enforce naming conventions for JavaScript and TypeScript filenames.
|
|
1865
1855
|
*/
|
|
1866
1856
|
useFilenamingConvention?: RuleConfiguration_for_UseFilenamingConventionOptions;
|
|
1867
1857
|
/**
|
|
1868
|
-
*
|
|
1858
|
+
* Prefer using for...of loops over standard for loops where possible.
|
|
1869
1859
|
*/
|
|
1870
1860
|
useForOf?: RuleConfiguration_for_UseForOfOptions;
|
|
1871
1861
|
/**
|
|
1872
1862
|
* This rule enforces the use of \<>...\</> over \<Fragment>...\</Fragment>.
|
|
1873
1863
|
*/
|
|
1874
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;
|
|
1875
1873
|
/**
|
|
1876
1874
|
* Promotes the use of import type for types.
|
|
1877
1875
|
*/
|
|
@@ -1896,6 +1894,18 @@ interface Style {
|
|
|
1896
1894
|
* Use the Number properties instead of global ones.
|
|
1897
1895
|
*/
|
|
1898
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;
|
|
1899
1909
|
/**
|
|
1900
1910
|
* Prevent extra closing tags for components without children.
|
|
1901
1911
|
*/
|
|
@@ -1912,6 +1922,10 @@ interface Style {
|
|
|
1912
1922
|
* Disallow multiple variable declarations in the same variable statement
|
|
1913
1923
|
*/
|
|
1914
1924
|
useSingleVarDeclarator?: RuleFixConfiguration_for_UseSingleVarDeclaratorOptions;
|
|
1925
|
+
/**
|
|
1926
|
+
* Require a description parameter for the Symbol().
|
|
1927
|
+
*/
|
|
1928
|
+
useSymbolDescription?: RuleConfiguration_for_UseSymbolDescriptionOptions;
|
|
1915
1929
|
/**
|
|
1916
1930
|
* Prefer template literals over string concatenation.
|
|
1917
1931
|
*/
|
|
@@ -1928,6 +1942,10 @@ interface Style {
|
|
|
1928
1942
|
* Enforce the use of String.trimStart() and String.trimEnd() over String.trimLeft() and String.trimRight().
|
|
1929
1943
|
*/
|
|
1930
1944
|
useTrimStartEnd?: RuleFixConfiguration_for_UseTrimStartEndOptions;
|
|
1945
|
+
/**
|
|
1946
|
+
* Disallow overload signatures that can be unified into a single signature.
|
|
1947
|
+
*/
|
|
1948
|
+
useUnifiedTypeSignatures?: RuleFixConfiguration_for_UseUnifiedTypeSignaturesOptions;
|
|
1931
1949
|
}
|
|
1932
1950
|
interface Suspicious {
|
|
1933
1951
|
/**
|
|
@@ -1950,6 +1968,14 @@ interface Suspicious {
|
|
|
1950
1968
|
* Disallows using an async function as a Promise executor.
|
|
1951
1969
|
*/
|
|
1952
1970
|
noAsyncPromiseExecutor?: RuleConfiguration_for_NoAsyncPromiseExecutorOptions;
|
|
1971
|
+
/**
|
|
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;
|
|
1953
1979
|
/**
|
|
1954
1980
|
* Disallow reassigning exceptions in catch clauses.
|
|
1955
1981
|
*/
|
|
@@ -1982,6 +2008,10 @@ interface Suspicious {
|
|
|
1982
2008
|
* Disallow TypeScript const enum
|
|
1983
2009
|
*/
|
|
1984
2010
|
noConstEnum?: RuleFixConfiguration_for_NoConstEnumOptions;
|
|
2011
|
+
/**
|
|
2012
|
+
* Disallow expressions where the operation doesn't affect the value
|
|
2013
|
+
*/
|
|
2014
|
+
noConstantBinaryExpressions?: RuleConfiguration_for_NoConstantBinaryExpressionsOptions;
|
|
1985
2015
|
/**
|
|
1986
2016
|
* Prevents from having control characters and some escape sequences that match control characters in regular expression literals.
|
|
1987
2017
|
*/
|
|
@@ -2155,9 +2185,13 @@ interface Suspicious {
|
|
|
2155
2185
|
*/
|
|
2156
2186
|
noPrototypeBuiltins?: RuleFixConfiguration_for_NoPrototypeBuiltinsOptions;
|
|
2157
2187
|
/**
|
|
2158
|
-
*
|
|
2188
|
+
* Disallow the use if quickfix.biome inside editor settings file.
|
|
2159
2189
|
*/
|
|
2160
|
-
|
|
2190
|
+
noQuickfixBiome?: RuleFixConfiguration_for_NoQuickfixBiomeOptions;
|
|
2191
|
+
/**
|
|
2192
|
+
* Prevents React-specific JSX properties from being used.
|
|
2193
|
+
*/
|
|
2194
|
+
noReactSpecificProps?: RuleFixConfiguration_for_NoReactSpecificPropsOptions;
|
|
2161
2195
|
/**
|
|
2162
2196
|
* Disallow variable, function, class, and type redeclarations in the same scope.
|
|
2163
2197
|
*/
|
|
@@ -2198,6 +2232,18 @@ interface Suspicious {
|
|
|
2198
2232
|
* Disallow then property.
|
|
2199
2233
|
*/
|
|
2200
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;
|
|
2201
2247
|
/**
|
|
2202
2248
|
* Disallow unsafe declaration merging between interfaces and classes.
|
|
2203
2249
|
*/
|
|
@@ -2206,6 +2252,14 @@ interface Suspicious {
|
|
|
2206
2252
|
* Disallow using unsafe negation.
|
|
2207
2253
|
*/
|
|
2208
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;
|
|
2209
2263
|
/**
|
|
2210
2264
|
* Disallow the use of var
|
|
2211
2265
|
*/
|
|
@@ -2226,6 +2280,10 @@ interface Suspicious {
|
|
|
2226
2280
|
* Ensure async functions utilize await.
|
|
2227
2281
|
*/
|
|
2228
2282
|
useAwait?: RuleConfiguration_for_UseAwaitOptions;
|
|
2283
|
+
/**
|
|
2284
|
+
* Promotes the correct usage for ignoring folders in the configuration file.
|
|
2285
|
+
*/
|
|
2286
|
+
useBiomeIgnoreFolder?: RuleFixConfiguration_for_UseBiomeIgnoreFolderOptions;
|
|
2229
2287
|
/**
|
|
2230
2288
|
* Enforce default clauses in switch statements to be last
|
|
2231
2289
|
*/
|
|
@@ -2250,6 +2308,10 @@ interface Suspicious {
|
|
|
2250
2308
|
* Use Array.isArray() instead of instanceof Array.
|
|
2251
2309
|
*/
|
|
2252
2310
|
useIsArray?: RuleFixConfiguration_for_UseIsArrayOptions;
|
|
2311
|
+
/**
|
|
2312
|
+
* Enforce consistent return values in iterable callbacks.
|
|
2313
|
+
*/
|
|
2314
|
+
useIterableCallbackReturn?: RuleConfiguration_for_UseIterableCallbackReturnOptions;
|
|
2253
2315
|
/**
|
|
2254
2316
|
* Require using the namespace keyword over the module keyword to declare TypeScript namespaces.
|
|
2255
2317
|
*/
|
|
@@ -2258,6 +2320,10 @@ interface Suspicious {
|
|
|
2258
2320
|
* Enforce using the digits argument with Number#toFixed().
|
|
2259
2321
|
*/
|
|
2260
2322
|
useNumberToFixedDigitsArgument?: RuleFixConfiguration_for_UseNumberToFixedDigitsArgumentOptions;
|
|
2323
|
+
/**
|
|
2324
|
+
* Use static Response methods instead of new Response() constructor when possible.
|
|
2325
|
+
*/
|
|
2326
|
+
useStaticResponseMethods?: RuleFixConfiguration_for_UseStaticResponseMethodsOptions;
|
|
2261
2327
|
/**
|
|
2262
2328
|
* Enforce the use of the directive "use strict" in script files.
|
|
2263
2329
|
*/
|
|
@@ -2328,6 +2394,9 @@ type RuleFixConfiguration_for_NoInteractiveElementToNoninteractiveRoleOptions =
|
|
|
2328
2394
|
type RuleConfiguration_for_NoLabelWithoutControlOptions =
|
|
2329
2395
|
| RulePlainConfiguration
|
|
2330
2396
|
| RuleWithOptions_for_NoLabelWithoutControlOptions;
|
|
2397
|
+
type RuleConfiguration_for_NoNoninteractiveElementInteractionsOptions =
|
|
2398
|
+
| RulePlainConfiguration
|
|
2399
|
+
| RuleWithOptions_for_NoNoninteractiveElementInteractionsOptions;
|
|
2331
2400
|
type RuleFixConfiguration_for_NoNoninteractiveElementToInteractiveRoleOptions =
|
|
2332
2401
|
| RulePlainConfiguration
|
|
2333
2402
|
| RuleWithFixOptions_for_NoNoninteractiveElementToInteractiveRoleOptions;
|
|
@@ -2430,6 +2499,9 @@ type RuleConfiguration_for_NoEmptyTypeParametersOptions =
|
|
|
2430
2499
|
type RuleConfiguration_for_NoExcessiveCognitiveComplexityOptions =
|
|
2431
2500
|
| RulePlainConfiguration
|
|
2432
2501
|
| RuleWithOptions_for_NoExcessiveCognitiveComplexityOptions;
|
|
2502
|
+
type RuleConfiguration_for_NoExcessiveLinesPerFunctionOptions =
|
|
2503
|
+
| RulePlainConfiguration
|
|
2504
|
+
| RuleWithOptions_for_NoExcessiveLinesPerFunctionOptions;
|
|
2433
2505
|
type RuleConfiguration_for_NoExcessiveNestedTestSuitesOptions =
|
|
2434
2506
|
| RulePlainConfiguration
|
|
2435
2507
|
| RuleWithOptions_for_NoExcessiveNestedTestSuitesOptions;
|
|
@@ -2442,6 +2514,12 @@ type RuleFixConfiguration_for_NoFlatMapIdentityOptions =
|
|
|
2442
2514
|
type RuleConfiguration_for_NoForEachOptions =
|
|
2443
2515
|
| RulePlainConfiguration
|
|
2444
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;
|
|
2445
2523
|
type RuleConfiguration_for_NoStaticOnlyClassOptions =
|
|
2446
2524
|
| RulePlainConfiguration
|
|
2447
2525
|
| RuleWithOptions_for_NoStaticOnlyClassOptions;
|
|
@@ -2508,6 +2586,9 @@ type RuleFixConfiguration_for_UseDateNowOptions =
|
|
|
2508
2586
|
type RuleFixConfiguration_for_UseFlatMapOptions =
|
|
2509
2587
|
| RulePlainConfiguration
|
|
2510
2588
|
| RuleWithFixOptions_for_UseFlatMapOptions;
|
|
2589
|
+
type RuleFixConfiguration_for_UseIndexOfOptions =
|
|
2590
|
+
| RulePlainConfiguration
|
|
2591
|
+
| RuleWithFixOptions_for_UseIndexOfOptions;
|
|
2511
2592
|
type RuleFixConfiguration_for_UseLiteralKeysOptions =
|
|
2512
2593
|
| RulePlainConfiguration
|
|
2513
2594
|
| RuleWithFixOptions_for_UseLiteralKeysOptions;
|
|
@@ -2550,6 +2631,9 @@ type RuleConfiguration_for_NoEmptyCharacterClassInRegexOptions =
|
|
|
2550
2631
|
type RuleConfiguration_for_NoEmptyPatternOptions =
|
|
2551
2632
|
| RulePlainConfiguration
|
|
2552
2633
|
| RuleWithOptions_for_NoEmptyPatternOptions;
|
|
2634
|
+
type RuleFixConfiguration_for_NoGlobalDirnameFilenameOptions =
|
|
2635
|
+
| RulePlainConfiguration
|
|
2636
|
+
| RuleWithFixOptions_for_NoGlobalDirnameFilenameOptions;
|
|
2553
2637
|
type RuleConfiguration_for_NoGlobalObjectCallsOptions =
|
|
2554
2638
|
| RulePlainConfiguration
|
|
2555
2639
|
| RuleWithOptions_for_NoGlobalObjectCallsOptions;
|
|
@@ -2577,6 +2661,9 @@ type RuleConfiguration_for_NoInvalidUseBeforeDeclarationOptions =
|
|
|
2577
2661
|
type RuleConfiguration_for_NoMissingVarFunctionOptions =
|
|
2578
2662
|
| RulePlainConfiguration
|
|
2579
2663
|
| RuleWithOptions_for_NoMissingVarFunctionOptions;
|
|
2664
|
+
type RuleConfiguration_for_NoNestedComponentDefinitionsOptions =
|
|
2665
|
+
| RulePlainConfiguration
|
|
2666
|
+
| RuleWithOptions_for_NoNestedComponentDefinitionsOptions;
|
|
2580
2667
|
type RuleConfiguration_for_NoNodejsModulesOptions =
|
|
2581
2668
|
| RulePlainConfiguration
|
|
2582
2669
|
| RuleWithOptions_for_NoNodejsModulesOptions;
|
|
@@ -2589,15 +2676,27 @@ type RuleConfiguration_for_NoPrecisionLossOptions =
|
|
|
2589
2676
|
type RuleConfiguration_for_NoPrivateImportsOptions =
|
|
2590
2677
|
| RulePlainConfiguration
|
|
2591
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;
|
|
2592
2685
|
type RuleConfiguration_for_NoRenderReturnValueOptions =
|
|
2593
2686
|
| RulePlainConfiguration
|
|
2594
2687
|
| RuleWithOptions_for_NoRenderReturnValueOptions;
|
|
2688
|
+
type RuleConfiguration_for_NoRestrictedElementsOptions =
|
|
2689
|
+
| RulePlainConfiguration
|
|
2690
|
+
| RuleWithOptions_for_NoRestrictedElementsOptions;
|
|
2595
2691
|
type RuleConfiguration_for_NoSelfAssignOptions =
|
|
2596
2692
|
| RulePlainConfiguration
|
|
2597
2693
|
| RuleWithOptions_for_NoSelfAssignOptions;
|
|
2598
2694
|
type RuleConfiguration_for_NoSetterReturnOptions =
|
|
2599
2695
|
| RulePlainConfiguration
|
|
2600
2696
|
| RuleWithOptions_for_NoSetterReturnOptions;
|
|
2697
|
+
type RuleConfiguration_for_NoSolidDestructuredPropsOptions =
|
|
2698
|
+
| RulePlainConfiguration
|
|
2699
|
+
| RuleWithOptions_for_NoSolidDestructuredPropsOptions;
|
|
2601
2700
|
type RuleFixConfiguration_for_NoStringCaseMismatchOptions =
|
|
2602
2701
|
| RulePlainConfiguration
|
|
2603
2702
|
| RuleWithFixOptions_for_NoStringCaseMismatchOptions;
|
|
@@ -2670,6 +2769,9 @@ type RuleConfiguration_for_NoVoidTypeReturnOptions =
|
|
|
2670
2769
|
type RuleFixConfiguration_for_UseExhaustiveDependenciesOptions =
|
|
2671
2770
|
| RulePlainConfiguration
|
|
2672
2771
|
| RuleWithFixOptions_for_UseExhaustiveDependenciesOptions;
|
|
2772
|
+
type RuleFixConfiguration_for_UseGraphqlNamedOperationsOptions =
|
|
2773
|
+
| RulePlainConfiguration
|
|
2774
|
+
| RuleWithFixOptions_for_UseGraphqlNamedOperationsOptions;
|
|
2673
2775
|
type RuleConfiguration_for_UseHookAtTopLevelOptions =
|
|
2674
2776
|
| RulePlainConfiguration
|
|
2675
2777
|
| RuleWithOptions_for_UseHookAtTopLevelOptions;
|
|
@@ -2679,9 +2781,21 @@ type RuleFixConfiguration_for_UseImportExtensionsOptions =
|
|
|
2679
2781
|
type RuleFixConfiguration_for_UseIsNanOptions =
|
|
2680
2782
|
| RulePlainConfiguration
|
|
2681
2783
|
| RuleWithFixOptions_for_UseIsNanOptions;
|
|
2784
|
+
type RuleFixConfiguration_for_UseJsonImportAttributesOptions =
|
|
2785
|
+
| RulePlainConfiguration
|
|
2786
|
+
| RuleWithFixOptions_for_UseJsonImportAttributesOptions;
|
|
2682
2787
|
type RuleConfiguration_for_UseJsxKeyInIterableOptions =
|
|
2683
2788
|
| RulePlainConfiguration
|
|
2684
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;
|
|
2685
2799
|
type RuleConfiguration_for_UseValidForDirectionOptions =
|
|
2686
2800
|
| RulePlainConfiguration
|
|
2687
2801
|
| RuleWithOptions_for_UseValidForDirectionOptions;
|
|
@@ -2691,168 +2805,81 @@ type RuleFixConfiguration_for_UseValidTypeofOptions =
|
|
|
2691
2805
|
type RuleConfiguration_for_UseYieldOptions =
|
|
2692
2806
|
| RulePlainConfiguration
|
|
2693
2807
|
| RuleWithOptions_for_UseYieldOptions;
|
|
2694
|
-
type RuleConfiguration_for_NoAwaitInLoopOptions =
|
|
2695
|
-
| RulePlainConfiguration
|
|
2696
|
-
| RuleWithOptions_for_NoAwaitInLoopOptions;
|
|
2697
|
-
type RuleConfiguration_for_NoBitwiseOperatorsOptions =
|
|
2698
|
-
| RulePlainConfiguration
|
|
2699
|
-
| RuleWithOptions_for_NoBitwiseOperatorsOptions;
|
|
2700
|
-
type RuleConfiguration_for_NoConstantBinaryExpressionOptions =
|
|
2701
|
-
| RulePlainConfiguration
|
|
2702
|
-
| RuleWithOptions_for_NoConstantBinaryExpressionOptions;
|
|
2703
|
-
type RuleConfiguration_for_NoDestructuredPropsOptions =
|
|
2704
|
-
| RulePlainConfiguration
|
|
2705
|
-
| RuleWithOptions_for_NoDestructuredPropsOptions;
|
|
2706
|
-
type RuleConfiguration_for_NoExcessiveLinesPerFunctionOptions =
|
|
2707
|
-
| RulePlainConfiguration
|
|
2708
|
-
| RuleWithOptions_for_NoExcessiveLinesPerFunctionOptions;
|
|
2709
2808
|
type RuleFixConfiguration_for_NoFloatingPromisesOptions =
|
|
2710
2809
|
| RulePlainConfiguration
|
|
2711
2810
|
| RuleWithFixOptions_for_NoFloatingPromisesOptions;
|
|
2712
|
-
type RuleFixConfiguration_for_NoGlobalDirnameFilenameOptions =
|
|
2713
|
-
| RulePlainConfiguration
|
|
2714
|
-
| RuleWithFixOptions_for_NoGlobalDirnameFilenameOptions;
|
|
2715
|
-
type RuleFixConfiguration_for_NoImplicitCoercionOptions =
|
|
2716
|
-
| RulePlainConfiguration
|
|
2717
|
-
| RuleWithFixOptions_for_NoImplicitCoercionOptions;
|
|
2718
2811
|
type RuleConfiguration_for_NoImportCyclesOptions =
|
|
2719
2812
|
| RulePlainConfiguration
|
|
2720
2813
|
| RuleWithOptions_for_NoImportCyclesOptions;
|
|
2721
|
-
type RuleFixConfiguration_for_NoImportantStylesOptions =
|
|
2722
|
-
| RulePlainConfiguration
|
|
2723
|
-
| RuleWithFixOptions_for_NoImportantStylesOptions;
|
|
2724
|
-
type RuleConfiguration_for_NoMagicNumbersOptions =
|
|
2725
|
-
| RulePlainConfiguration
|
|
2726
|
-
| RuleWithOptions_for_NoMagicNumbersOptions;
|
|
2727
2814
|
type RuleFixConfiguration_for_NoMisusedPromisesOptions =
|
|
2728
2815
|
| RulePlainConfiguration
|
|
2729
2816
|
| RuleWithFixOptions_for_NoMisusedPromisesOptions;
|
|
2730
|
-
type
|
|
2731
|
-
| RulePlainConfiguration
|
|
2732
|
-
| RuleWithOptions_for_NoNestedComponentDefinitionsOptions;
|
|
2733
|
-
type RuleConfiguration_for_NoNoninteractiveElementInteractionsOptions =
|
|
2734
|
-
| RulePlainConfiguration
|
|
2735
|
-
| RuleWithOptions_for_NoNoninteractiveElementInteractionsOptions;
|
|
2736
|
-
type RuleFixConfiguration_for_NoProcessGlobalOptions =
|
|
2817
|
+
type RuleConfiguration_for_NoNextAsyncClientComponentOptions =
|
|
2737
2818
|
| RulePlainConfiguration
|
|
2738
|
-
|
|
|
2739
|
-
type
|
|
2740
|
-
| RulePlainConfiguration
|
|
2741
|
-
| RuleWithFixOptions_for_NoQuickfixBiomeOptions;
|
|
2742
|
-
type RuleConfiguration_for_NoReactPropAssignOptions =
|
|
2819
|
+
| RuleWithOptions_for_NoNextAsyncClientComponentOptions;
|
|
2820
|
+
type RuleConfiguration_for_NoNonNullAssertedOptionalChainOptions =
|
|
2743
2821
|
| RulePlainConfiguration
|
|
2744
|
-
|
|
|
2745
|
-
type
|
|
2822
|
+
| RuleWithOptions_for_NoNonNullAssertedOptionalChainOptions;
|
|
2823
|
+
type RuleConfiguration_for_NoQwikUseVisibleTaskOptions =
|
|
2746
2824
|
| RulePlainConfiguration
|
|
2747
|
-
|
|
|
2825
|
+
| RuleWithOptions_for_NoQwikUseVisibleTaskOptions;
|
|
2748
2826
|
type RuleConfiguration_for_NoSecretsOptions =
|
|
2749
2827
|
| RulePlainConfiguration
|
|
2750
2828
|
| RuleWithOptions_for_NoSecretsOptions;
|
|
2751
2829
|
type RuleConfiguration_for_NoShadowOptions =
|
|
2752
2830
|
| RulePlainConfiguration
|
|
2753
2831
|
| RuleWithOptions_for_NoShadowOptions;
|
|
2754
|
-
type
|
|
2755
|
-
| RulePlainConfiguration
|
|
2756
|
-
| RuleWithFixOptions_for_NoTsIgnoreOptions;
|
|
2757
|
-
type RuleConfiguration_for_NoUnassignedVariablesOptions =
|
|
2758
|
-
| RulePlainConfiguration
|
|
2759
|
-
| RuleWithOptions_for_NoUnassignedVariablesOptions;
|
|
2760
|
-
type RuleConfiguration_for_NoUnknownAtRuleOptions =
|
|
2832
|
+
type RuleConfiguration_for_NoUnnecessaryConditionsOptions =
|
|
2761
2833
|
| RulePlainConfiguration
|
|
2762
|
-
|
|
|
2834
|
+
| RuleWithOptions_for_NoUnnecessaryConditionsOptions;
|
|
2763
2835
|
type RuleConfiguration_for_NoUnresolvedImportsOptions =
|
|
2764
2836
|
| RulePlainConfiguration
|
|
2765
2837
|
| RuleWithOptions_for_NoUnresolvedImportsOptions;
|
|
2766
|
-
type RuleConfiguration_for_NoUnwantedPolyfillioOptions =
|
|
2767
|
-
| RulePlainConfiguration
|
|
2768
|
-
| RuleWithOptions_for_NoUnwantedPolyfillioOptions;
|
|
2769
|
-
type RuleConfiguration_for_NoUselessBackrefInRegexOptions =
|
|
2770
|
-
| RulePlainConfiguration
|
|
2771
|
-
| RuleWithOptions_for_NoUselessBackrefInRegexOptions;
|
|
2772
|
-
type RuleFixConfiguration_for_NoUselessEscapeInStringOptions =
|
|
2773
|
-
| RulePlainConfiguration
|
|
2774
|
-
| RuleWithFixOptions_for_NoUselessEscapeInStringOptions;
|
|
2775
2838
|
type RuleFixConfiguration_for_NoUselessUndefinedOptions =
|
|
2776
2839
|
| RulePlainConfiguration
|
|
2777
2840
|
| RuleWithFixOptions_for_NoUselessUndefinedOptions;
|
|
2841
|
+
type RuleFixConfiguration_for_NoVueDataObjectDeclarationOptions =
|
|
2842
|
+
| RulePlainConfiguration
|
|
2843
|
+
| RuleWithFixOptions_for_NoVueDataObjectDeclarationOptions;
|
|
2778
2844
|
type RuleConfiguration_for_NoVueReservedKeysOptions =
|
|
2779
2845
|
| RulePlainConfiguration
|
|
2780
2846
|
| RuleWithOptions_for_NoVueReservedKeysOptions;
|
|
2781
2847
|
type RuleConfiguration_for_NoVueReservedPropsOptions =
|
|
2782
2848
|
| RulePlainConfiguration
|
|
2783
2849
|
| RuleWithOptions_for_NoVueReservedPropsOptions;
|
|
2784
|
-
type
|
|
2850
|
+
type RuleConfiguration_for_UseAnchorHrefOptions =
|
|
2785
2851
|
| RulePlainConfiguration
|
|
2786
|
-
|
|
|
2787
|
-
type
|
|
2852
|
+
| RuleWithOptions_for_UseAnchorHrefOptions;
|
|
2853
|
+
type RuleFixConfiguration_for_UseConsistentTypeDefinitionsOptions =
|
|
2788
2854
|
| RulePlainConfiguration
|
|
2789
|
-
|
|
|
2790
|
-
type RuleFixConfiguration_for_UseConsistentResponseOptions =
|
|
2791
|
-
| RulePlainConfiguration
|
|
2792
|
-
| RuleWithFixOptions_for_UseConsistentResponseOptions;
|
|
2855
|
+
| RuleWithFixOptions_for_UseConsistentTypeDefinitionsOptions;
|
|
2793
2856
|
type RuleFixConfiguration_for_UseExhaustiveSwitchCasesOptions =
|
|
2794
2857
|
| RulePlainConfiguration
|
|
2795
2858
|
| RuleWithFixOptions_for_UseExhaustiveSwitchCasesOptions;
|
|
2796
2859
|
type RuleConfiguration_for_UseExplicitTypeOptions =
|
|
2797
2860
|
| RulePlainConfiguration
|
|
2798
2861
|
| RuleWithOptions_for_UseExplicitTypeOptions;
|
|
2799
|
-
type
|
|
2800
|
-
| RulePlainConfiguration
|
|
2801
|
-
| RuleWithOptions_for_UseExportsLastOptions;
|
|
2802
|
-
type RuleConfiguration_for_UseForComponentOptions =
|
|
2803
|
-
| RulePlainConfiguration
|
|
2804
|
-
| RuleWithOptions_for_UseForComponentOptions;
|
|
2805
|
-
type RuleFixConfiguration_for_UseGoogleFontPreconnectOptions =
|
|
2806
|
-
| RulePlainConfiguration
|
|
2807
|
-
| RuleWithFixOptions_for_UseGoogleFontPreconnectOptions;
|
|
2808
|
-
type RuleFixConfiguration_for_UseIndexOfOptions =
|
|
2809
|
-
| RulePlainConfiguration
|
|
2810
|
-
| RuleWithFixOptions_for_UseIndexOfOptions;
|
|
2811
|
-
type RuleConfiguration_for_UseIterableCallbackReturnOptions =
|
|
2862
|
+
type RuleConfiguration_for_UseImageSizeOptions =
|
|
2812
2863
|
| RulePlainConfiguration
|
|
2813
|
-
|
|
|
2814
|
-
type
|
|
2815
|
-
| RulePlainConfiguration
|
|
2816
|
-
| RuleWithFixOptions_for_UseJsonImportAttributeOptions;
|
|
2817
|
-
type RuleFixConfiguration_for_UseNamedOperationOptions =
|
|
2818
|
-
| RulePlainConfiguration
|
|
2819
|
-
| RuleWithFixOptions_for_UseNamedOperationOptions;
|
|
2820
|
-
type RuleConfiguration_for_UseNamingConventionOptions =
|
|
2821
|
-
| RulePlainConfiguration
|
|
2822
|
-
| RuleWithOptions_for_UseNamingConventionOptions;
|
|
2823
|
-
type RuleFixConfiguration_for_UseNumericSeparatorsOptions =
|
|
2824
|
-
| RulePlainConfiguration
|
|
2825
|
-
| RuleWithFixOptions_for_UseNumericSeparatorsOptions;
|
|
2826
|
-
type RuleFixConfiguration_for_UseObjectSpreadOptions =
|
|
2864
|
+
| RuleWithOptions_for_UseImageSizeOptions;
|
|
2865
|
+
type RuleConfiguration_for_UseMaxParamsOptions =
|
|
2827
2866
|
| RulePlainConfiguration
|
|
2828
|
-
|
|
|
2829
|
-
type
|
|
2867
|
+
| RuleWithOptions_for_UseMaxParamsOptions;
|
|
2868
|
+
type RuleConfiguration_for_UseQwikClasslistOptions =
|
|
2830
2869
|
| RulePlainConfiguration
|
|
2831
|
-
|
|
|
2870
|
+
| RuleWithOptions_for_UseQwikClasslistOptions;
|
|
2832
2871
|
type RuleConfiguration_for_UseReactFunctionComponentsOptions =
|
|
2833
2872
|
| RulePlainConfiguration
|
|
2834
2873
|
| RuleWithOptions_for_UseReactFunctionComponentsOptions;
|
|
2835
|
-
type RuleFixConfiguration_for_UseReadonlyClassPropertiesOptions =
|
|
2836
|
-
| RulePlainConfiguration
|
|
2837
|
-
| RuleWithFixOptions_for_UseReadonlyClassPropertiesOptions;
|
|
2838
|
-
type RuleFixConfiguration_for_UseSingleJsDocAsteriskOptions =
|
|
2839
|
-
| RulePlainConfiguration
|
|
2840
|
-
| RuleWithFixOptions_for_UseSingleJsDocAsteriskOptions;
|
|
2841
2874
|
type RuleFixConfiguration_for_UseSortedClassesOptions =
|
|
2842
2875
|
| RulePlainConfiguration
|
|
2843
2876
|
| RuleWithFixOptions_for_UseSortedClassesOptions;
|
|
2844
|
-
type RuleConfiguration_for_UseSymbolDescriptionOptions =
|
|
2845
|
-
| RulePlainConfiguration
|
|
2846
|
-
| RuleWithOptions_for_UseSymbolDescriptionOptions;
|
|
2847
|
-
type RuleFixConfiguration_for_UseUnifiedTypeSignatureOptions =
|
|
2848
|
-
| RulePlainConfiguration
|
|
2849
|
-
| RuleWithFixOptions_for_UseUnifiedTypeSignatureOptions;
|
|
2850
|
-
type RuleConfiguration_for_UseUniqueElementIdsOptions =
|
|
2851
|
-
| RulePlainConfiguration
|
|
2852
|
-
| RuleWithOptions_for_UseUniqueElementIdsOptions;
|
|
2853
2877
|
type RuleConfiguration_for_NoAccumulatingSpreadOptions =
|
|
2854
2878
|
| RulePlainConfiguration
|
|
2855
2879
|
| RuleWithOptions_for_NoAccumulatingSpreadOptions;
|
|
2880
|
+
type RuleConfiguration_for_NoAwaitInLoopsOptions =
|
|
2881
|
+
| RulePlainConfiguration
|
|
2882
|
+
| RuleWithOptions_for_NoAwaitInLoopsOptions;
|
|
2856
2883
|
type RuleConfiguration_for_NoBarrelFileOptions =
|
|
2857
2884
|
| RulePlainConfiguration
|
|
2858
2885
|
| RuleWithOptions_for_NoBarrelFileOptions;
|
|
@@ -2871,6 +2898,15 @@ type RuleConfiguration_for_NoNamespaceImportOptions =
|
|
|
2871
2898
|
type RuleConfiguration_for_NoReExportAllOptions =
|
|
2872
2899
|
| RulePlainConfiguration
|
|
2873
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;
|
|
2874
2910
|
type RuleConfiguration_for_UseTopLevelRegexOptions =
|
|
2875
2911
|
| RulePlainConfiguration
|
|
2876
2912
|
| RuleWithOptions_for_UseTopLevelRegexOptions;
|
|
@@ -2913,6 +2949,9 @@ type RuleFixConfiguration_for_NoImplicitBooleanOptions =
|
|
|
2913
2949
|
type RuleFixConfiguration_for_NoInferrableTypesOptions =
|
|
2914
2950
|
| RulePlainConfiguration
|
|
2915
2951
|
| RuleWithFixOptions_for_NoInferrableTypesOptions;
|
|
2952
|
+
type RuleConfiguration_for_NoMagicNumbersOptions =
|
|
2953
|
+
| RulePlainConfiguration
|
|
2954
|
+
| RuleWithOptions_for_NoMagicNumbersOptions;
|
|
2916
2955
|
type RuleConfiguration_for_NoNamespaceOptions =
|
|
2917
2956
|
| RulePlainConfiguration
|
|
2918
2957
|
| RuleWithOptions_for_NoNamespaceOptions;
|
|
@@ -2994,6 +3033,9 @@ type RuleFixConfiguration_for_UseConsistentCurlyBracesOptions =
|
|
|
2994
3033
|
type RuleConfiguration_for_UseConsistentMemberAccessibilityOptions =
|
|
2995
3034
|
| RulePlainConfiguration
|
|
2996
3035
|
| RuleWithOptions_for_UseConsistentMemberAccessibilityOptions;
|
|
3036
|
+
type RuleFixConfiguration_for_UseConsistentObjectDefinitionsOptions =
|
|
3037
|
+
| RulePlainConfiguration
|
|
3038
|
+
| RuleWithFixOptions_for_UseConsistentObjectDefinitionsOptions;
|
|
2997
3039
|
type RuleFixConfiguration_for_UseConstOptions =
|
|
2998
3040
|
| RulePlainConfiguration
|
|
2999
3041
|
| RuleWithFixOptions_for_UseConstOptions;
|
|
@@ -3018,6 +3060,9 @@ type RuleFixConfiguration_for_UseExponentiationOperatorOptions =
|
|
|
3018
3060
|
type RuleFixConfiguration_for_UseExportTypeOptions =
|
|
3019
3061
|
| RulePlainConfiguration
|
|
3020
3062
|
| RuleWithFixOptions_for_UseExportTypeOptions;
|
|
3063
|
+
type RuleConfiguration_for_UseExportsLastOptions =
|
|
3064
|
+
| RulePlainConfiguration
|
|
3065
|
+
| RuleWithOptions_for_UseExportsLastOptions;
|
|
3021
3066
|
type RuleConfiguration_for_UseFilenamingConventionOptions =
|
|
3022
3067
|
| RulePlainConfiguration
|
|
3023
3068
|
| RuleWithOptions_for_UseFilenamingConventionOptions;
|
|
@@ -3027,6 +3072,12 @@ type RuleConfiguration_for_UseForOfOptions =
|
|
|
3027
3072
|
type RuleFixConfiguration_for_UseFragmentSyntaxOptions =
|
|
3028
3073
|
| RulePlainConfiguration
|
|
3029
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;
|
|
3030
3081
|
type RuleFixConfiguration_for_UseImportTypeOptions =
|
|
3031
3082
|
| RulePlainConfiguration
|
|
3032
3083
|
| RuleWithFixOptions_for_UseImportTypeOptions;
|
|
@@ -3045,6 +3096,15 @@ type RuleFixConfiguration_for_UseNodejsImportProtocolOptions =
|
|
|
3045
3096
|
type RuleFixConfiguration_for_UseNumberNamespaceOptions =
|
|
3046
3097
|
| RulePlainConfiguration
|
|
3047
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;
|
|
3048
3108
|
type RuleFixConfiguration_for_UseSelfClosingElementsOptions =
|
|
3049
3109
|
| RulePlainConfiguration
|
|
3050
3110
|
| RuleWithFixOptions_for_UseSelfClosingElementsOptions;
|
|
@@ -3057,6 +3117,9 @@ type RuleFixConfiguration_for_UseShorthandFunctionTypeOptions =
|
|
|
3057
3117
|
type RuleFixConfiguration_for_UseSingleVarDeclaratorOptions =
|
|
3058
3118
|
| RulePlainConfiguration
|
|
3059
3119
|
| RuleWithFixOptions_for_UseSingleVarDeclaratorOptions;
|
|
3120
|
+
type RuleConfiguration_for_UseSymbolDescriptionOptions =
|
|
3121
|
+
| RulePlainConfiguration
|
|
3122
|
+
| RuleWithOptions_for_UseSymbolDescriptionOptions;
|
|
3060
3123
|
type RuleFixConfiguration_for_UseTemplateOptions =
|
|
3061
3124
|
| RulePlainConfiguration
|
|
3062
3125
|
| RuleWithFixOptions_for_UseTemplateOptions;
|
|
@@ -3069,6 +3132,9 @@ type RuleConfiguration_for_UseThrowOnlyErrorOptions =
|
|
|
3069
3132
|
type RuleFixConfiguration_for_UseTrimStartEndOptions =
|
|
3070
3133
|
| RulePlainConfiguration
|
|
3071
3134
|
| RuleWithFixOptions_for_UseTrimStartEndOptions;
|
|
3135
|
+
type RuleFixConfiguration_for_UseUnifiedTypeSignaturesOptions =
|
|
3136
|
+
| RulePlainConfiguration
|
|
3137
|
+
| RuleWithFixOptions_for_UseUnifiedTypeSignaturesOptions;
|
|
3072
3138
|
type RuleConfiguration_for_NoAlertOptions =
|
|
3073
3139
|
| RulePlainConfiguration
|
|
3074
3140
|
| RuleWithOptions_for_NoAlertOptions;
|
|
@@ -3084,6 +3150,12 @@ type RuleConfiguration_for_NoAssignInExpressionsOptions =
|
|
|
3084
3150
|
type RuleConfiguration_for_NoAsyncPromiseExecutorOptions =
|
|
3085
3151
|
| RulePlainConfiguration
|
|
3086
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;
|
|
3087
3159
|
type RuleConfiguration_for_NoCatchAssignOptions =
|
|
3088
3160
|
| RulePlainConfiguration
|
|
3089
3161
|
| RuleWithOptions_for_NoCatchAssignOptions;
|
|
@@ -3108,6 +3180,9 @@ type RuleFixConfiguration_for_NoConsoleOptions =
|
|
|
3108
3180
|
type RuleFixConfiguration_for_NoConstEnumOptions =
|
|
3109
3181
|
| RulePlainConfiguration
|
|
3110
3182
|
| RuleWithFixOptions_for_NoConstEnumOptions;
|
|
3183
|
+
type RuleConfiguration_for_NoConstantBinaryExpressionsOptions =
|
|
3184
|
+
| RulePlainConfiguration
|
|
3185
|
+
| RuleWithOptions_for_NoConstantBinaryExpressionsOptions;
|
|
3111
3186
|
type RuleConfiguration_for_NoControlCharactersInRegexOptions =
|
|
3112
3187
|
| RulePlainConfiguration
|
|
3113
3188
|
| RuleWithOptions_for_NoControlCharactersInRegexOptions;
|
|
@@ -3237,6 +3312,9 @@ type RuleFixConfiguration_for_NoOctalEscapeOptions =
|
|
|
3237
3312
|
type RuleFixConfiguration_for_NoPrototypeBuiltinsOptions =
|
|
3238
3313
|
| RulePlainConfiguration
|
|
3239
3314
|
| RuleWithFixOptions_for_NoPrototypeBuiltinsOptions;
|
|
3315
|
+
type RuleFixConfiguration_for_NoQuickfixBiomeOptions =
|
|
3316
|
+
| RulePlainConfiguration
|
|
3317
|
+
| RuleWithFixOptions_for_NoQuickfixBiomeOptions;
|
|
3240
3318
|
type RuleFixConfiguration_for_NoReactSpecificPropsOptions =
|
|
3241
3319
|
| RulePlainConfiguration
|
|
3242
3320
|
| RuleWithFixOptions_for_NoReactSpecificPropsOptions;
|
|
@@ -3270,12 +3348,27 @@ type RuleConfiguration_for_NoTemplateCurlyInStringOptions =
|
|
|
3270
3348
|
type RuleConfiguration_for_NoThenPropertyOptions =
|
|
3271
3349
|
| RulePlainConfiguration
|
|
3272
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;
|
|
3273
3360
|
type RuleConfiguration_for_NoUnsafeDeclarationMergingOptions =
|
|
3274
3361
|
| RulePlainConfiguration
|
|
3275
3362
|
| RuleWithOptions_for_NoUnsafeDeclarationMergingOptions;
|
|
3276
3363
|
type RuleFixConfiguration_for_NoUnsafeNegationOptions =
|
|
3277
3364
|
| RulePlainConfiguration
|
|
3278
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;
|
|
3279
3372
|
type RuleFixConfiguration_for_NoVarOptions =
|
|
3280
3373
|
| RulePlainConfiguration
|
|
3281
3374
|
| RuleWithFixOptions_for_NoVarOptions;
|
|
@@ -3288,6 +3381,9 @@ type RuleConfiguration_for_UseAdjacentOverloadSignaturesOptions =
|
|
|
3288
3381
|
type RuleConfiguration_for_UseAwaitOptions =
|
|
3289
3382
|
| RulePlainConfiguration
|
|
3290
3383
|
| RuleWithOptions_for_UseAwaitOptions;
|
|
3384
|
+
type RuleFixConfiguration_for_UseBiomeIgnoreFolderOptions =
|
|
3385
|
+
| RulePlainConfiguration
|
|
3386
|
+
| RuleWithFixOptions_for_UseBiomeIgnoreFolderOptions;
|
|
3291
3387
|
type RuleConfiguration_for_UseDefaultSwitchClauseLastOptions =
|
|
3292
3388
|
| RulePlainConfiguration
|
|
3293
3389
|
| RuleWithOptions_for_UseDefaultSwitchClauseLastOptions;
|
|
@@ -3306,20 +3402,31 @@ type RuleConfiguration_for_UseGuardForInOptions =
|
|
|
3306
3402
|
type RuleFixConfiguration_for_UseIsArrayOptions =
|
|
3307
3403
|
| RulePlainConfiguration
|
|
3308
3404
|
| RuleWithFixOptions_for_UseIsArrayOptions;
|
|
3405
|
+
type RuleConfiguration_for_UseIterableCallbackReturnOptions =
|
|
3406
|
+
| RulePlainConfiguration
|
|
3407
|
+
| RuleWithOptions_for_UseIterableCallbackReturnOptions;
|
|
3309
3408
|
type RuleFixConfiguration_for_UseNamespaceKeywordOptions =
|
|
3310
3409
|
| RulePlainConfiguration
|
|
3311
3410
|
| RuleWithFixOptions_for_UseNamespaceKeywordOptions;
|
|
3312
3411
|
type RuleFixConfiguration_for_UseNumberToFixedDigitsArgumentOptions =
|
|
3313
3412
|
| RulePlainConfiguration
|
|
3314
3413
|
| RuleWithFixOptions_for_UseNumberToFixedDigitsArgumentOptions;
|
|
3414
|
+
type RuleFixConfiguration_for_UseStaticResponseMethodsOptions =
|
|
3415
|
+
| RulePlainConfiguration
|
|
3416
|
+
| RuleWithFixOptions_for_UseStaticResponseMethodsOptions;
|
|
3315
3417
|
type RuleFixConfiguration_for_UseStrictModeOptions =
|
|
3316
3418
|
| RulePlainConfiguration
|
|
3317
3419
|
| RuleWithFixOptions_for_UseStrictModeOptions;
|
|
3318
3420
|
interface OrganizeImportsOptions {
|
|
3319
3421
|
groups?: ImportGroups;
|
|
3422
|
+
identifierOrder?: SortOrder;
|
|
3423
|
+
}
|
|
3424
|
+
interface UseSortedAttributesOptions {
|
|
3425
|
+
sortOrder?: SortOrder;
|
|
3426
|
+
}
|
|
3427
|
+
interface UseSortedKeysOptions {
|
|
3428
|
+
sortOrder?: SortOrder;
|
|
3320
3429
|
}
|
|
3321
|
-
interface UseSortedAttributesOptions {}
|
|
3322
|
-
interface UseSortedKeysOptions {}
|
|
3323
3430
|
interface UseSortedPropertiesOptions {}
|
|
3324
3431
|
type RulePlainConfiguration = "off" | "on" | "info" | "warn" | "error";
|
|
3325
3432
|
interface RuleWithFixOptions_for_NoAccessKeyOptions {
|
|
@@ -3430,6 +3537,16 @@ interface RuleWithOptions_for_NoLabelWithoutControlOptions {
|
|
|
3430
3537
|
*/
|
|
3431
3538
|
options: NoLabelWithoutControlOptions;
|
|
3432
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
|
+
}
|
|
3433
3550
|
interface RuleWithFixOptions_for_NoNoninteractiveElementToInteractiveRoleOptions {
|
|
3434
3551
|
/**
|
|
3435
3552
|
* The kind of the code actions emitted by the rule
|
|
@@ -3810,6 +3927,16 @@ interface RuleWithOptions_for_NoExcessiveCognitiveComplexityOptions {
|
|
|
3810
3927
|
*/
|
|
3811
3928
|
options: NoExcessiveCognitiveComplexityOptions;
|
|
3812
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
|
+
}
|
|
3813
3940
|
interface RuleWithOptions_for_NoExcessiveNestedTestSuitesOptions {
|
|
3814
3941
|
/**
|
|
3815
3942
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -3858,6 +3985,34 @@ interface RuleWithOptions_for_NoForEachOptions {
|
|
|
3858
3985
|
*/
|
|
3859
3986
|
options: NoForEachOptions;
|
|
3860
3987
|
}
|
|
3988
|
+
interface RuleWithFixOptions_for_NoImplicitCoercionsOptions {
|
|
3989
|
+
/**
|
|
3990
|
+
* The kind of the code actions emitted by the rule
|
|
3991
|
+
*/
|
|
3992
|
+
fix?: FixKind;
|
|
3993
|
+
/**
|
|
3994
|
+
* The severity of the emitted diagnostics by the rule
|
|
3995
|
+
*/
|
|
3996
|
+
level: RulePlainConfiguration;
|
|
3997
|
+
/**
|
|
3998
|
+
* Rule's options
|
|
3999
|
+
*/
|
|
4000
|
+
options: NoImplicitCoercionsOptions;
|
|
4001
|
+
}
|
|
4002
|
+
interface RuleWithFixOptions_for_NoImportantStylesOptions {
|
|
4003
|
+
/**
|
|
4004
|
+
* The kind of the code actions emitted by the rule
|
|
4005
|
+
*/
|
|
4006
|
+
fix?: FixKind;
|
|
4007
|
+
/**
|
|
4008
|
+
* The severity of the emitted diagnostics by the rule
|
|
4009
|
+
*/
|
|
4010
|
+
level: RulePlainConfiguration;
|
|
4011
|
+
/**
|
|
4012
|
+
* Rule's options
|
|
4013
|
+
*/
|
|
4014
|
+
options: NoImportantStylesOptions;
|
|
4015
|
+
}
|
|
3861
4016
|
interface RuleWithOptions_for_NoStaticOnlyClassOptions {
|
|
3862
4017
|
/**
|
|
3863
4018
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -4154,7 +4309,21 @@ interface RuleWithFixOptions_for_UseFlatMapOptions {
|
|
|
4154
4309
|
*/
|
|
4155
4310
|
options: UseFlatMapOptions;
|
|
4156
4311
|
}
|
|
4157
|
-
interface
|
|
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
|
+
}
|
|
4326
|
+
interface RuleWithFixOptions_for_UseLiteralKeysOptions {
|
|
4158
4327
|
/**
|
|
4159
4328
|
* The kind of the code actions emitted by the rule
|
|
4160
4329
|
*/
|
|
@@ -4330,6 +4499,20 @@ interface RuleWithOptions_for_NoEmptyPatternOptions {
|
|
|
4330
4499
|
*/
|
|
4331
4500
|
options: NoEmptyPatternOptions;
|
|
4332
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
|
+
}
|
|
4333
4516
|
interface RuleWithOptions_for_NoGlobalObjectCallsOptions {
|
|
4334
4517
|
/**
|
|
4335
4518
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -4424,6 +4607,16 @@ interface RuleWithOptions_for_NoMissingVarFunctionOptions {
|
|
|
4424
4607
|
*/
|
|
4425
4608
|
options: NoMissingVarFunctionOptions;
|
|
4426
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
|
+
}
|
|
4427
4620
|
interface RuleWithOptions_for_NoNodejsModulesOptions {
|
|
4428
4621
|
/**
|
|
4429
4622
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -4468,6 +4661,30 @@ interface RuleWithOptions_for_NoPrivateImportsOptions {
|
|
|
4468
4661
|
*/
|
|
4469
4662
|
options: NoPrivateImportsOptions;
|
|
4470
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
|
+
}
|
|
4471
4688
|
interface RuleWithOptions_for_NoRenderReturnValueOptions {
|
|
4472
4689
|
/**
|
|
4473
4690
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -4478,6 +4695,16 @@ interface RuleWithOptions_for_NoRenderReturnValueOptions {
|
|
|
4478
4695
|
*/
|
|
4479
4696
|
options: NoRenderReturnValueOptions;
|
|
4480
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
|
+
}
|
|
4481
4708
|
interface RuleWithOptions_for_NoSelfAssignOptions {
|
|
4482
4709
|
/**
|
|
4483
4710
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -4498,6 +4725,16 @@ interface RuleWithOptions_for_NoSetterReturnOptions {
|
|
|
4498
4725
|
*/
|
|
4499
4726
|
options: NoSetterReturnOptions;
|
|
4500
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
|
+
}
|
|
4501
4738
|
interface RuleWithFixOptions_for_NoStringCaseMismatchOptions {
|
|
4502
4739
|
/**
|
|
4503
4740
|
* The kind of the code actions emitted by the rule
|
|
@@ -4774,31 +5011,7 @@ interface RuleWithFixOptions_for_UseExhaustiveDependenciesOptions {
|
|
|
4774
5011
|
*/
|
|
4775
5012
|
options: UseExhaustiveDependenciesOptions;
|
|
4776
5013
|
}
|
|
4777
|
-
interface
|
|
4778
|
-
/**
|
|
4779
|
-
* The severity of the emitted diagnostics by the rule
|
|
4780
|
-
*/
|
|
4781
|
-
level: RulePlainConfiguration;
|
|
4782
|
-
/**
|
|
4783
|
-
* Rule's options
|
|
4784
|
-
*/
|
|
4785
|
-
options: UseHookAtTopLevelOptions;
|
|
4786
|
-
}
|
|
4787
|
-
interface RuleWithFixOptions_for_UseImportExtensionsOptions {
|
|
4788
|
-
/**
|
|
4789
|
-
* The kind of the code actions emitted by the rule
|
|
4790
|
-
*/
|
|
4791
|
-
fix?: FixKind;
|
|
4792
|
-
/**
|
|
4793
|
-
* The severity of the emitted diagnostics by the rule
|
|
4794
|
-
*/
|
|
4795
|
-
level: RulePlainConfiguration;
|
|
4796
|
-
/**
|
|
4797
|
-
* Rule's options
|
|
4798
|
-
*/
|
|
4799
|
-
options: UseImportExtensionsOptions;
|
|
4800
|
-
}
|
|
4801
|
-
interface RuleWithFixOptions_for_UseIsNanOptions {
|
|
5014
|
+
interface RuleWithFixOptions_for_UseGraphqlNamedOperationsOptions {
|
|
4802
5015
|
/**
|
|
4803
5016
|
* The kind of the code actions emitted by the rule
|
|
4804
5017
|
*/
|
|
@@ -4810,19 +5023,9 @@ interface RuleWithFixOptions_for_UseIsNanOptions {
|
|
|
4810
5023
|
/**
|
|
4811
5024
|
* Rule's options
|
|
4812
5025
|
*/
|
|
4813
|
-
options:
|
|
5026
|
+
options: UseGraphqlNamedOperationsOptions;
|
|
4814
5027
|
}
|
|
4815
|
-
interface
|
|
4816
|
-
/**
|
|
4817
|
-
* The severity of the emitted diagnostics by the rule
|
|
4818
|
-
*/
|
|
4819
|
-
level: RulePlainConfiguration;
|
|
4820
|
-
/**
|
|
4821
|
-
* Rule's options
|
|
4822
|
-
*/
|
|
4823
|
-
options: UseJsxKeyInIterableOptions;
|
|
4824
|
-
}
|
|
4825
|
-
interface RuleWithOptions_for_UseValidForDirectionOptions {
|
|
5028
|
+
interface RuleWithOptions_for_UseHookAtTopLevelOptions {
|
|
4826
5029
|
/**
|
|
4827
5030
|
* The severity of the emitted diagnostics by the rule
|
|
4828
5031
|
*/
|
|
@@ -4830,9 +5033,9 @@ interface RuleWithOptions_for_UseValidForDirectionOptions {
|
|
|
4830
5033
|
/**
|
|
4831
5034
|
* Rule's options
|
|
4832
5035
|
*/
|
|
4833
|
-
options:
|
|
5036
|
+
options: UseHookAtTopLevelOptions;
|
|
4834
5037
|
}
|
|
4835
|
-
interface
|
|
5038
|
+
interface RuleWithFixOptions_for_UseImportExtensionsOptions {
|
|
4836
5039
|
/**
|
|
4837
5040
|
* The kind of the code actions emitted by the rule
|
|
4838
5041
|
*/
|
|
@@ -4844,29 +5047,13 @@ interface RuleWithFixOptions_for_UseValidTypeofOptions {
|
|
|
4844
5047
|
/**
|
|
4845
5048
|
* Rule's options
|
|
4846
5049
|
*/
|
|
4847
|
-
options:
|
|
4848
|
-
}
|
|
4849
|
-
interface RuleWithOptions_for_UseYieldOptions {
|
|
4850
|
-
/**
|
|
4851
|
-
* The severity of the emitted diagnostics by the rule
|
|
4852
|
-
*/
|
|
4853
|
-
level: RulePlainConfiguration;
|
|
4854
|
-
/**
|
|
4855
|
-
* Rule's options
|
|
4856
|
-
*/
|
|
4857
|
-
options: UseYieldOptions;
|
|
5050
|
+
options: UseImportExtensionsOptions;
|
|
4858
5051
|
}
|
|
4859
|
-
interface
|
|
4860
|
-
/**
|
|
4861
|
-
* The severity of the emitted diagnostics by the rule
|
|
4862
|
-
*/
|
|
4863
|
-
level: RulePlainConfiguration;
|
|
5052
|
+
interface RuleWithFixOptions_for_UseIsNanOptions {
|
|
4864
5053
|
/**
|
|
4865
|
-
*
|
|
5054
|
+
* The kind of the code actions emitted by the rule
|
|
4866
5055
|
*/
|
|
4867
|
-
|
|
4868
|
-
}
|
|
4869
|
-
interface RuleWithOptions_for_NoBitwiseOperatorsOptions {
|
|
5056
|
+
fix?: FixKind;
|
|
4870
5057
|
/**
|
|
4871
5058
|
* The severity of the emitted diagnostics by the rule
|
|
4872
5059
|
*/
|
|
@@ -4874,19 +5061,13 @@ interface RuleWithOptions_for_NoBitwiseOperatorsOptions {
|
|
|
4874
5061
|
/**
|
|
4875
5062
|
* Rule's options
|
|
4876
5063
|
*/
|
|
4877
|
-
options:
|
|
5064
|
+
options: UseIsNanOptions;
|
|
4878
5065
|
}
|
|
4879
|
-
interface
|
|
4880
|
-
/**
|
|
4881
|
-
* The severity of the emitted diagnostics by the rule
|
|
4882
|
-
*/
|
|
4883
|
-
level: RulePlainConfiguration;
|
|
5066
|
+
interface RuleWithFixOptions_for_UseJsonImportAttributesOptions {
|
|
4884
5067
|
/**
|
|
4885
|
-
*
|
|
5068
|
+
* The kind of the code actions emitted by the rule
|
|
4886
5069
|
*/
|
|
4887
|
-
|
|
4888
|
-
}
|
|
4889
|
-
interface RuleWithOptions_for_NoDestructuredPropsOptions {
|
|
5070
|
+
fix?: FixKind;
|
|
4890
5071
|
/**
|
|
4891
5072
|
* The severity of the emitted diagnostics by the rule
|
|
4892
5073
|
*/
|
|
@@ -4894,9 +5075,9 @@ interface RuleWithOptions_for_NoDestructuredPropsOptions {
|
|
|
4894
5075
|
/**
|
|
4895
5076
|
* Rule's options
|
|
4896
5077
|
*/
|
|
4897
|
-
options:
|
|
5078
|
+
options: UseJsonImportAttributesOptions;
|
|
4898
5079
|
}
|
|
4899
|
-
interface
|
|
5080
|
+
interface RuleWithOptions_for_UseJsxKeyInIterableOptions {
|
|
4900
5081
|
/**
|
|
4901
5082
|
* The severity of the emitted diagnostics by the rule
|
|
4902
5083
|
*/
|
|
@@ -4904,9 +5085,9 @@ interface RuleWithOptions_for_NoExcessiveLinesPerFunctionOptions {
|
|
|
4904
5085
|
/**
|
|
4905
5086
|
* Rule's options
|
|
4906
5087
|
*/
|
|
4907
|
-
options:
|
|
5088
|
+
options: UseJsxKeyInIterableOptions;
|
|
4908
5089
|
}
|
|
4909
|
-
interface
|
|
5090
|
+
interface RuleWithFixOptions_for_UseParseIntRadixOptions {
|
|
4910
5091
|
/**
|
|
4911
5092
|
* The kind of the code actions emitted by the rule
|
|
4912
5093
|
*/
|
|
@@ -4918,9 +5099,9 @@ interface RuleWithFixOptions_for_NoFloatingPromisesOptions {
|
|
|
4918
5099
|
/**
|
|
4919
5100
|
* Rule's options
|
|
4920
5101
|
*/
|
|
4921
|
-
options:
|
|
5102
|
+
options: UseParseIntRadixOptions;
|
|
4922
5103
|
}
|
|
4923
|
-
interface
|
|
5104
|
+
interface RuleWithFixOptions_for_UseSingleJsDocAsteriskOptions {
|
|
4924
5105
|
/**
|
|
4925
5106
|
* The kind of the code actions emitted by the rule
|
|
4926
5107
|
*/
|
|
@@ -4932,13 +5113,9 @@ interface RuleWithFixOptions_for_NoGlobalDirnameFilenameOptions {
|
|
|
4932
5113
|
/**
|
|
4933
5114
|
* Rule's options
|
|
4934
5115
|
*/
|
|
4935
|
-
options:
|
|
5116
|
+
options: UseSingleJsDocAsteriskOptions;
|
|
4936
5117
|
}
|
|
4937
|
-
interface
|
|
4938
|
-
/**
|
|
4939
|
-
* The kind of the code actions emitted by the rule
|
|
4940
|
-
*/
|
|
4941
|
-
fix?: FixKind;
|
|
5118
|
+
interface RuleWithOptions_for_UseUniqueElementIdsOptions {
|
|
4942
5119
|
/**
|
|
4943
5120
|
* The severity of the emitted diagnostics by the rule
|
|
4944
5121
|
*/
|
|
@@ -4946,9 +5123,9 @@ interface RuleWithFixOptions_for_NoImplicitCoercionOptions {
|
|
|
4946
5123
|
/**
|
|
4947
5124
|
* Rule's options
|
|
4948
5125
|
*/
|
|
4949
|
-
options:
|
|
5126
|
+
options: UseUniqueElementIdsOptions;
|
|
4950
5127
|
}
|
|
4951
|
-
interface
|
|
5128
|
+
interface RuleWithOptions_for_UseValidForDirectionOptions {
|
|
4952
5129
|
/**
|
|
4953
5130
|
* The severity of the emitted diagnostics by the rule
|
|
4954
5131
|
*/
|
|
@@ -4956,9 +5133,9 @@ interface RuleWithOptions_for_NoImportCyclesOptions {
|
|
|
4956
5133
|
/**
|
|
4957
5134
|
* Rule's options
|
|
4958
5135
|
*/
|
|
4959
|
-
options:
|
|
5136
|
+
options: UseValidForDirectionOptions;
|
|
4960
5137
|
}
|
|
4961
|
-
interface
|
|
5138
|
+
interface RuleWithFixOptions_for_UseValidTypeofOptions {
|
|
4962
5139
|
/**
|
|
4963
5140
|
* The kind of the code actions emitted by the rule
|
|
4964
5141
|
*/
|
|
@@ -4970,9 +5147,9 @@ interface RuleWithFixOptions_for_NoImportantStylesOptions {
|
|
|
4970
5147
|
/**
|
|
4971
5148
|
* Rule's options
|
|
4972
5149
|
*/
|
|
4973
|
-
options:
|
|
5150
|
+
options: UseValidTypeofOptions;
|
|
4974
5151
|
}
|
|
4975
|
-
interface
|
|
5152
|
+
interface RuleWithOptions_for_UseYieldOptions {
|
|
4976
5153
|
/**
|
|
4977
5154
|
* The severity of the emitted diagnostics by the rule
|
|
4978
5155
|
*/
|
|
@@ -4980,9 +5157,9 @@ interface RuleWithOptions_for_NoMagicNumbersOptions {
|
|
|
4980
5157
|
/**
|
|
4981
5158
|
* Rule's options
|
|
4982
5159
|
*/
|
|
4983
|
-
options:
|
|
5160
|
+
options: UseYieldOptions;
|
|
4984
5161
|
}
|
|
4985
|
-
interface
|
|
5162
|
+
interface RuleWithFixOptions_for_NoFloatingPromisesOptions {
|
|
4986
5163
|
/**
|
|
4987
5164
|
* The kind of the code actions emitted by the rule
|
|
4988
5165
|
*/
|
|
@@ -4994,19 +5171,9 @@ interface RuleWithFixOptions_for_NoMisusedPromisesOptions {
|
|
|
4994
5171
|
/**
|
|
4995
5172
|
* Rule's options
|
|
4996
5173
|
*/
|
|
4997
|
-
options:
|
|
4998
|
-
}
|
|
4999
|
-
interface RuleWithOptions_for_NoNestedComponentDefinitionsOptions {
|
|
5000
|
-
/**
|
|
5001
|
-
* The severity of the emitted diagnostics by the rule
|
|
5002
|
-
*/
|
|
5003
|
-
level: RulePlainConfiguration;
|
|
5004
|
-
/**
|
|
5005
|
-
* Rule's options
|
|
5006
|
-
*/
|
|
5007
|
-
options: NoNestedComponentDefinitionsOptions;
|
|
5174
|
+
options: NoFloatingPromisesOptions;
|
|
5008
5175
|
}
|
|
5009
|
-
interface
|
|
5176
|
+
interface RuleWithOptions_for_NoImportCyclesOptions {
|
|
5010
5177
|
/**
|
|
5011
5178
|
* The severity of the emitted diagnostics by the rule
|
|
5012
5179
|
*/
|
|
@@ -5014,9 +5181,9 @@ interface RuleWithOptions_for_NoNoninteractiveElementInteractionsOptions {
|
|
|
5014
5181
|
/**
|
|
5015
5182
|
* Rule's options
|
|
5016
5183
|
*/
|
|
5017
|
-
options:
|
|
5184
|
+
options: NoImportCyclesOptions;
|
|
5018
5185
|
}
|
|
5019
|
-
interface
|
|
5186
|
+
interface RuleWithFixOptions_for_NoMisusedPromisesOptions {
|
|
5020
5187
|
/**
|
|
5021
5188
|
* The kind of the code actions emitted by the rule
|
|
5022
5189
|
*/
|
|
@@ -5028,13 +5195,9 @@ interface RuleWithFixOptions_for_NoProcessGlobalOptions {
|
|
|
5028
5195
|
/**
|
|
5029
5196
|
* Rule's options
|
|
5030
5197
|
*/
|
|
5031
|
-
options:
|
|
5198
|
+
options: NoMisusedPromisesOptions;
|
|
5032
5199
|
}
|
|
5033
|
-
interface
|
|
5034
|
-
/**
|
|
5035
|
-
* The kind of the code actions emitted by the rule
|
|
5036
|
-
*/
|
|
5037
|
-
fix?: FixKind;
|
|
5200
|
+
interface RuleWithOptions_for_NoNextAsyncClientComponentOptions {
|
|
5038
5201
|
/**
|
|
5039
5202
|
* The severity of the emitted diagnostics by the rule
|
|
5040
5203
|
*/
|
|
@@ -5042,9 +5205,9 @@ interface RuleWithFixOptions_for_NoQuickfixBiomeOptions {
|
|
|
5042
5205
|
/**
|
|
5043
5206
|
* Rule's options
|
|
5044
5207
|
*/
|
|
5045
|
-
options:
|
|
5208
|
+
options: NoNextAsyncClientComponentOptions;
|
|
5046
5209
|
}
|
|
5047
|
-
interface
|
|
5210
|
+
interface RuleWithOptions_for_NoNonNullAssertedOptionalChainOptions {
|
|
5048
5211
|
/**
|
|
5049
5212
|
* The severity of the emitted diagnostics by the rule
|
|
5050
5213
|
*/
|
|
@@ -5052,9 +5215,9 @@ interface RuleWithOptions_for_NoReactPropAssignOptions {
|
|
|
5052
5215
|
/**
|
|
5053
5216
|
* Rule's options
|
|
5054
5217
|
*/
|
|
5055
|
-
options:
|
|
5218
|
+
options: NoNonNullAssertedOptionalChainOptions;
|
|
5056
5219
|
}
|
|
5057
|
-
interface
|
|
5220
|
+
interface RuleWithOptions_for_NoQwikUseVisibleTaskOptions {
|
|
5058
5221
|
/**
|
|
5059
5222
|
* The severity of the emitted diagnostics by the rule
|
|
5060
5223
|
*/
|
|
@@ -5062,7 +5225,7 @@ interface RuleWithOptions_for_NoRestrictedElementsOptions {
|
|
|
5062
5225
|
/**
|
|
5063
5226
|
* Rule's options
|
|
5064
5227
|
*/
|
|
5065
|
-
options:
|
|
5228
|
+
options: NoQwikUseVisibleTaskOptions;
|
|
5066
5229
|
}
|
|
5067
5230
|
interface RuleWithOptions_for_NoSecretsOptions {
|
|
5068
5231
|
/**
|
|
@@ -5084,21 +5247,7 @@ interface RuleWithOptions_for_NoShadowOptions {
|
|
|
5084
5247
|
*/
|
|
5085
5248
|
options: NoShadowOptions;
|
|
5086
5249
|
}
|
|
5087
|
-
interface
|
|
5088
|
-
/**
|
|
5089
|
-
* The kind of the code actions emitted by the rule
|
|
5090
|
-
*/
|
|
5091
|
-
fix?: FixKind;
|
|
5092
|
-
/**
|
|
5093
|
-
* The severity of the emitted diagnostics by the rule
|
|
5094
|
-
*/
|
|
5095
|
-
level: RulePlainConfiguration;
|
|
5096
|
-
/**
|
|
5097
|
-
* Rule's options
|
|
5098
|
-
*/
|
|
5099
|
-
options: NoTsIgnoreOptions;
|
|
5100
|
-
}
|
|
5101
|
-
interface RuleWithOptions_for_NoUnassignedVariablesOptions {
|
|
5250
|
+
interface RuleWithOptions_for_NoUnnecessaryConditionsOptions {
|
|
5102
5251
|
/**
|
|
5103
5252
|
* The severity of the emitted diagnostics by the rule
|
|
5104
5253
|
*/
|
|
@@ -5106,17 +5255,7 @@ interface RuleWithOptions_for_NoUnassignedVariablesOptions {
|
|
|
5106
5255
|
/**
|
|
5107
5256
|
* Rule's options
|
|
5108
5257
|
*/
|
|
5109
|
-
options:
|
|
5110
|
-
}
|
|
5111
|
-
interface RuleWithOptions_for_NoUnknownAtRuleOptions {
|
|
5112
|
-
/**
|
|
5113
|
-
* The severity of the emitted diagnostics by the rule
|
|
5114
|
-
*/
|
|
5115
|
-
level: RulePlainConfiguration;
|
|
5116
|
-
/**
|
|
5117
|
-
* Rule's options
|
|
5118
|
-
*/
|
|
5119
|
-
options: NoUnknownAtRuleOptions;
|
|
5258
|
+
options: NoUnnecessaryConditionsOptions;
|
|
5120
5259
|
}
|
|
5121
5260
|
interface RuleWithOptions_for_NoUnresolvedImportsOptions {
|
|
5122
5261
|
/**
|
|
@@ -5128,27 +5267,7 @@ interface RuleWithOptions_for_NoUnresolvedImportsOptions {
|
|
|
5128
5267
|
*/
|
|
5129
5268
|
options: NoUnresolvedImportsOptions;
|
|
5130
5269
|
}
|
|
5131
|
-
interface
|
|
5132
|
-
/**
|
|
5133
|
-
* The severity of the emitted diagnostics by the rule
|
|
5134
|
-
*/
|
|
5135
|
-
level: RulePlainConfiguration;
|
|
5136
|
-
/**
|
|
5137
|
-
* Rule's options
|
|
5138
|
-
*/
|
|
5139
|
-
options: NoUnwantedPolyfillioOptions;
|
|
5140
|
-
}
|
|
5141
|
-
interface RuleWithOptions_for_NoUselessBackrefInRegexOptions {
|
|
5142
|
-
/**
|
|
5143
|
-
* The severity of the emitted diagnostics by the rule
|
|
5144
|
-
*/
|
|
5145
|
-
level: RulePlainConfiguration;
|
|
5146
|
-
/**
|
|
5147
|
-
* Rule's options
|
|
5148
|
-
*/
|
|
5149
|
-
options: NoUselessBackrefInRegexOptions;
|
|
5150
|
-
}
|
|
5151
|
-
interface RuleWithFixOptions_for_NoUselessEscapeInStringOptions {
|
|
5270
|
+
interface RuleWithFixOptions_for_NoUselessUndefinedOptions {
|
|
5152
5271
|
/**
|
|
5153
5272
|
* The kind of the code actions emitted by the rule
|
|
5154
5273
|
*/
|
|
@@ -5160,9 +5279,9 @@ interface RuleWithFixOptions_for_NoUselessEscapeInStringOptions {
|
|
|
5160
5279
|
/**
|
|
5161
5280
|
* Rule's options
|
|
5162
5281
|
*/
|
|
5163
|
-
options:
|
|
5282
|
+
options: NoUselessUndefinedOptions;
|
|
5164
5283
|
}
|
|
5165
|
-
interface
|
|
5284
|
+
interface RuleWithFixOptions_for_NoVueDataObjectDeclarationOptions {
|
|
5166
5285
|
/**
|
|
5167
5286
|
* The kind of the code actions emitted by the rule
|
|
5168
5287
|
*/
|
|
@@ -5174,7 +5293,7 @@ interface RuleWithFixOptions_for_NoUselessUndefinedOptions {
|
|
|
5174
5293
|
/**
|
|
5175
5294
|
* Rule's options
|
|
5176
5295
|
*/
|
|
5177
|
-
options:
|
|
5296
|
+
options: NoVueDataObjectDeclarationOptions;
|
|
5178
5297
|
}
|
|
5179
5298
|
interface RuleWithOptions_for_NoVueReservedKeysOptions {
|
|
5180
5299
|
/**
|
|
@@ -5196,21 +5315,7 @@ interface RuleWithOptions_for_NoVueReservedPropsOptions {
|
|
|
5196
5315
|
*/
|
|
5197
5316
|
options: NoVueReservedPropsOptions;
|
|
5198
5317
|
}
|
|
5199
|
-
interface
|
|
5200
|
-
/**
|
|
5201
|
-
* The severity of the emitted diagnostics by the rule
|
|
5202
|
-
*/
|
|
5203
|
-
level: RulePlainConfiguration;
|
|
5204
|
-
/**
|
|
5205
|
-
* Rule's options
|
|
5206
|
-
*/
|
|
5207
|
-
options: UseAdjacentGetterSetterOptions;
|
|
5208
|
-
}
|
|
5209
|
-
interface RuleWithFixOptions_for_UseConsistentObjectDefinitionOptions {
|
|
5210
|
-
/**
|
|
5211
|
-
* The kind of the code actions emitted by the rule
|
|
5212
|
-
*/
|
|
5213
|
-
fix?: FixKind;
|
|
5318
|
+
interface RuleWithOptions_for_UseAnchorHrefOptions {
|
|
5214
5319
|
/**
|
|
5215
5320
|
* The severity of the emitted diagnostics by the rule
|
|
5216
5321
|
*/
|
|
@@ -5218,9 +5323,9 @@ interface RuleWithFixOptions_for_UseConsistentObjectDefinitionOptions {
|
|
|
5218
5323
|
/**
|
|
5219
5324
|
* Rule's options
|
|
5220
5325
|
*/
|
|
5221
|
-
options:
|
|
5326
|
+
options: UseAnchorHrefOptions;
|
|
5222
5327
|
}
|
|
5223
|
-
interface
|
|
5328
|
+
interface RuleWithFixOptions_for_UseConsistentTypeDefinitionsOptions {
|
|
5224
5329
|
/**
|
|
5225
5330
|
* The kind of the code actions emitted by the rule
|
|
5226
5331
|
*/
|
|
@@ -5232,7 +5337,7 @@ interface RuleWithFixOptions_for_UseConsistentResponseOptions {
|
|
|
5232
5337
|
/**
|
|
5233
5338
|
* Rule's options
|
|
5234
5339
|
*/
|
|
5235
|
-
options:
|
|
5340
|
+
options: UseConsistentTypeDefinitionsOptions;
|
|
5236
5341
|
}
|
|
5237
5342
|
interface RuleWithFixOptions_for_UseExhaustiveSwitchCasesOptions {
|
|
5238
5343
|
/**
|
|
@@ -5258,7 +5363,7 @@ interface RuleWithOptions_for_UseExplicitTypeOptions {
|
|
|
5258
5363
|
*/
|
|
5259
5364
|
options: UseExplicitTypeOptions;
|
|
5260
5365
|
}
|
|
5261
|
-
interface
|
|
5366
|
+
interface RuleWithOptions_for_UseImageSizeOptions {
|
|
5262
5367
|
/**
|
|
5263
5368
|
* The severity of the emitted diagnostics by the rule
|
|
5264
5369
|
*/
|
|
@@ -5266,9 +5371,9 @@ interface RuleWithOptions_for_UseExportsLastOptions {
|
|
|
5266
5371
|
/**
|
|
5267
5372
|
* Rule's options
|
|
5268
5373
|
*/
|
|
5269
|
-
options:
|
|
5374
|
+
options: UseImageSizeOptions;
|
|
5270
5375
|
}
|
|
5271
|
-
interface
|
|
5376
|
+
interface RuleWithOptions_for_UseMaxParamsOptions {
|
|
5272
5377
|
/**
|
|
5273
5378
|
* The severity of the emitted diagnostics by the rule
|
|
5274
5379
|
*/
|
|
@@ -5276,13 +5381,9 @@ interface RuleWithOptions_for_UseForComponentOptions {
|
|
|
5276
5381
|
/**
|
|
5277
5382
|
* Rule's options
|
|
5278
5383
|
*/
|
|
5279
|
-
options:
|
|
5384
|
+
options: UseMaxParamsOptions;
|
|
5280
5385
|
}
|
|
5281
|
-
interface
|
|
5282
|
-
/**
|
|
5283
|
-
* The kind of the code actions emitted by the rule
|
|
5284
|
-
*/
|
|
5285
|
-
fix?: FixKind;
|
|
5386
|
+
interface RuleWithOptions_for_UseQwikClasslistOptions {
|
|
5286
5387
|
/**
|
|
5287
5388
|
* The severity of the emitted diagnostics by the rule
|
|
5288
5389
|
*/
|
|
@@ -5290,111 +5391,7 @@ interface RuleWithFixOptions_for_UseGoogleFontPreconnectOptions {
|
|
|
5290
5391
|
/**
|
|
5291
5392
|
* Rule's options
|
|
5292
5393
|
*/
|
|
5293
|
-
options:
|
|
5294
|
-
}
|
|
5295
|
-
interface RuleWithFixOptions_for_UseIndexOfOptions {
|
|
5296
|
-
/**
|
|
5297
|
-
* The kind of the code actions emitted by the rule
|
|
5298
|
-
*/
|
|
5299
|
-
fix?: FixKind;
|
|
5300
|
-
/**
|
|
5301
|
-
* The severity of the emitted diagnostics by the rule
|
|
5302
|
-
*/
|
|
5303
|
-
level: RulePlainConfiguration;
|
|
5304
|
-
/**
|
|
5305
|
-
* Rule's options
|
|
5306
|
-
*/
|
|
5307
|
-
options: UseIndexOfOptions;
|
|
5308
|
-
}
|
|
5309
|
-
interface RuleWithOptions_for_UseIterableCallbackReturnOptions {
|
|
5310
|
-
/**
|
|
5311
|
-
* The severity of the emitted diagnostics by the rule
|
|
5312
|
-
*/
|
|
5313
|
-
level: RulePlainConfiguration;
|
|
5314
|
-
/**
|
|
5315
|
-
* Rule's options
|
|
5316
|
-
*/
|
|
5317
|
-
options: UseIterableCallbackReturnOptions;
|
|
5318
|
-
}
|
|
5319
|
-
interface RuleWithFixOptions_for_UseJsonImportAttributeOptions {
|
|
5320
|
-
/**
|
|
5321
|
-
* The kind of the code actions emitted by the rule
|
|
5322
|
-
*/
|
|
5323
|
-
fix?: FixKind;
|
|
5324
|
-
/**
|
|
5325
|
-
* The severity of the emitted diagnostics by the rule
|
|
5326
|
-
*/
|
|
5327
|
-
level: RulePlainConfiguration;
|
|
5328
|
-
/**
|
|
5329
|
-
* Rule's options
|
|
5330
|
-
*/
|
|
5331
|
-
options: UseJsonImportAttributeOptions;
|
|
5332
|
-
}
|
|
5333
|
-
interface RuleWithFixOptions_for_UseNamedOperationOptions {
|
|
5334
|
-
/**
|
|
5335
|
-
* The kind of the code actions emitted by the rule
|
|
5336
|
-
*/
|
|
5337
|
-
fix?: FixKind;
|
|
5338
|
-
/**
|
|
5339
|
-
* The severity of the emitted diagnostics by the rule
|
|
5340
|
-
*/
|
|
5341
|
-
level: RulePlainConfiguration;
|
|
5342
|
-
/**
|
|
5343
|
-
* Rule's options
|
|
5344
|
-
*/
|
|
5345
|
-
options: UseNamedOperationOptions;
|
|
5346
|
-
}
|
|
5347
|
-
interface RuleWithOptions_for_UseNamingConventionOptions {
|
|
5348
|
-
/**
|
|
5349
|
-
* The severity of the emitted diagnostics by the rule
|
|
5350
|
-
*/
|
|
5351
|
-
level: RulePlainConfiguration;
|
|
5352
|
-
/**
|
|
5353
|
-
* Rule's options
|
|
5354
|
-
*/
|
|
5355
|
-
options: UseNamingConventionOptions;
|
|
5356
|
-
}
|
|
5357
|
-
interface RuleWithFixOptions_for_UseNumericSeparatorsOptions {
|
|
5358
|
-
/**
|
|
5359
|
-
* The kind of the code actions emitted by the rule
|
|
5360
|
-
*/
|
|
5361
|
-
fix?: FixKind;
|
|
5362
|
-
/**
|
|
5363
|
-
* The severity of the emitted diagnostics by the rule
|
|
5364
|
-
*/
|
|
5365
|
-
level: RulePlainConfiguration;
|
|
5366
|
-
/**
|
|
5367
|
-
* Rule's options
|
|
5368
|
-
*/
|
|
5369
|
-
options: UseNumericSeparatorsOptions;
|
|
5370
|
-
}
|
|
5371
|
-
interface RuleWithFixOptions_for_UseObjectSpreadOptions {
|
|
5372
|
-
/**
|
|
5373
|
-
* The kind of the code actions emitted by the rule
|
|
5374
|
-
*/
|
|
5375
|
-
fix?: FixKind;
|
|
5376
|
-
/**
|
|
5377
|
-
* The severity of the emitted diagnostics by the rule
|
|
5378
|
-
*/
|
|
5379
|
-
level: RulePlainConfiguration;
|
|
5380
|
-
/**
|
|
5381
|
-
* Rule's options
|
|
5382
|
-
*/
|
|
5383
|
-
options: UseObjectSpreadOptions;
|
|
5384
|
-
}
|
|
5385
|
-
interface RuleWithFixOptions_for_UseParseIntRadixOptions {
|
|
5386
|
-
/**
|
|
5387
|
-
* The kind of the code actions emitted by the rule
|
|
5388
|
-
*/
|
|
5389
|
-
fix?: FixKind;
|
|
5390
|
-
/**
|
|
5391
|
-
* The severity of the emitted diagnostics by the rule
|
|
5392
|
-
*/
|
|
5393
|
-
level: RulePlainConfiguration;
|
|
5394
|
-
/**
|
|
5395
|
-
* Rule's options
|
|
5396
|
-
*/
|
|
5397
|
-
options: UseParseIntRadixOptions;
|
|
5394
|
+
options: UseQwikClasslistOptions;
|
|
5398
5395
|
}
|
|
5399
5396
|
interface RuleWithOptions_for_UseReactFunctionComponentsOptions {
|
|
5400
5397
|
/**
|
|
@@ -5406,7 +5403,7 @@ interface RuleWithOptions_for_UseReactFunctionComponentsOptions {
|
|
|
5406
5403
|
*/
|
|
5407
5404
|
options: UseReactFunctionComponentsOptions;
|
|
5408
5405
|
}
|
|
5409
|
-
interface
|
|
5406
|
+
interface RuleWithFixOptions_for_UseSortedClassesOptions {
|
|
5410
5407
|
/**
|
|
5411
5408
|
* The kind of the code actions emitted by the rule
|
|
5412
5409
|
*/
|
|
@@ -5418,13 +5415,9 @@ interface RuleWithFixOptions_for_UseReadonlyClassPropertiesOptions {
|
|
|
5418
5415
|
/**
|
|
5419
5416
|
* Rule's options
|
|
5420
5417
|
*/
|
|
5421
|
-
options:
|
|
5418
|
+
options: UseSortedClassesOptions;
|
|
5422
5419
|
}
|
|
5423
|
-
interface
|
|
5424
|
-
/**
|
|
5425
|
-
* The kind of the code actions emitted by the rule
|
|
5426
|
-
*/
|
|
5427
|
-
fix?: FixKind;
|
|
5420
|
+
interface RuleWithOptions_for_NoAccumulatingSpreadOptions {
|
|
5428
5421
|
/**
|
|
5429
5422
|
* The severity of the emitted diagnostics by the rule
|
|
5430
5423
|
*/
|
|
@@ -5432,13 +5425,9 @@ interface RuleWithFixOptions_for_UseSingleJsDocAsteriskOptions {
|
|
|
5432
5425
|
/**
|
|
5433
5426
|
* Rule's options
|
|
5434
5427
|
*/
|
|
5435
|
-
options:
|
|
5428
|
+
options: NoAccumulatingSpreadOptions;
|
|
5436
5429
|
}
|
|
5437
|
-
interface
|
|
5438
|
-
/**
|
|
5439
|
-
* The kind of the code actions emitted by the rule
|
|
5440
|
-
*/
|
|
5441
|
-
fix?: FixKind;
|
|
5430
|
+
interface RuleWithOptions_for_NoAwaitInLoopsOptions {
|
|
5442
5431
|
/**
|
|
5443
5432
|
* The severity of the emitted diagnostics by the rule
|
|
5444
5433
|
*/
|
|
@@ -5446,9 +5435,9 @@ interface RuleWithFixOptions_for_UseSortedClassesOptions {
|
|
|
5446
5435
|
/**
|
|
5447
5436
|
* Rule's options
|
|
5448
5437
|
*/
|
|
5449
|
-
options:
|
|
5438
|
+
options: NoAwaitInLoopsOptions;
|
|
5450
5439
|
}
|
|
5451
|
-
interface
|
|
5440
|
+
interface RuleWithOptions_for_NoBarrelFileOptions {
|
|
5452
5441
|
/**
|
|
5453
5442
|
* The severity of the emitted diagnostics by the rule
|
|
5454
5443
|
*/
|
|
@@ -5456,9 +5445,9 @@ interface RuleWithOptions_for_UseSymbolDescriptionOptions {
|
|
|
5456
5445
|
/**
|
|
5457
5446
|
* Rule's options
|
|
5458
5447
|
*/
|
|
5459
|
-
options:
|
|
5448
|
+
options: NoBarrelFileOptions;
|
|
5460
5449
|
}
|
|
5461
|
-
interface
|
|
5450
|
+
interface RuleWithFixOptions_for_NoDeleteOptions {
|
|
5462
5451
|
/**
|
|
5463
5452
|
* The kind of the code actions emitted by the rule
|
|
5464
5453
|
*/
|
|
@@ -5470,9 +5459,9 @@ interface RuleWithFixOptions_for_UseUnifiedTypeSignatureOptions {
|
|
|
5470
5459
|
/**
|
|
5471
5460
|
* Rule's options
|
|
5472
5461
|
*/
|
|
5473
|
-
options:
|
|
5462
|
+
options: NoDeleteOptions;
|
|
5474
5463
|
}
|
|
5475
|
-
interface
|
|
5464
|
+
interface RuleWithOptions_for_NoDynamicNamespaceImportAccessOptions {
|
|
5476
5465
|
/**
|
|
5477
5466
|
* The severity of the emitted diagnostics by the rule
|
|
5478
5467
|
*/
|
|
@@ -5480,9 +5469,9 @@ interface RuleWithOptions_for_UseUniqueElementIdsOptions {
|
|
|
5480
5469
|
/**
|
|
5481
5470
|
* Rule's options
|
|
5482
5471
|
*/
|
|
5483
|
-
options:
|
|
5472
|
+
options: NoDynamicNamespaceImportAccessOptions;
|
|
5484
5473
|
}
|
|
5485
|
-
interface
|
|
5474
|
+
interface RuleWithOptions_for_NoImgElementOptions {
|
|
5486
5475
|
/**
|
|
5487
5476
|
* The severity of the emitted diagnostics by the rule
|
|
5488
5477
|
*/
|
|
@@ -5490,9 +5479,9 @@ interface RuleWithOptions_for_NoAccumulatingSpreadOptions {
|
|
|
5490
5479
|
/**
|
|
5491
5480
|
* Rule's options
|
|
5492
5481
|
*/
|
|
5493
|
-
options:
|
|
5482
|
+
options: NoImgElementOptions;
|
|
5494
5483
|
}
|
|
5495
|
-
interface
|
|
5484
|
+
interface RuleWithOptions_for_NoNamespaceImportOptions {
|
|
5496
5485
|
/**
|
|
5497
5486
|
* The severity of the emitted diagnostics by the rule
|
|
5498
5487
|
*/
|
|
@@ -5500,13 +5489,9 @@ interface RuleWithOptions_for_NoBarrelFileOptions {
|
|
|
5500
5489
|
/**
|
|
5501
5490
|
* Rule's options
|
|
5502
5491
|
*/
|
|
5503
|
-
options:
|
|
5492
|
+
options: NoNamespaceImportOptions;
|
|
5504
5493
|
}
|
|
5505
|
-
interface
|
|
5506
|
-
/**
|
|
5507
|
-
* The kind of the code actions emitted by the rule
|
|
5508
|
-
*/
|
|
5509
|
-
fix?: FixKind;
|
|
5494
|
+
interface RuleWithOptions_for_NoReExportAllOptions {
|
|
5510
5495
|
/**
|
|
5511
5496
|
* The severity of the emitted diagnostics by the rule
|
|
5512
5497
|
*/
|
|
@@ -5514,9 +5499,9 @@ interface RuleWithFixOptions_for_NoDeleteOptions {
|
|
|
5514
5499
|
/**
|
|
5515
5500
|
* Rule's options
|
|
5516
5501
|
*/
|
|
5517
|
-
options:
|
|
5502
|
+
options: NoReExportAllOptions;
|
|
5518
5503
|
}
|
|
5519
|
-
interface
|
|
5504
|
+
interface RuleWithOptions_for_NoUnwantedPolyfillioOptions {
|
|
5520
5505
|
/**
|
|
5521
5506
|
* The severity of the emitted diagnostics by the rule
|
|
5522
5507
|
*/
|
|
@@ -5524,19 +5509,13 @@ interface RuleWithOptions_for_NoDynamicNamespaceImportAccessOptions {
|
|
|
5524
5509
|
/**
|
|
5525
5510
|
* Rule's options
|
|
5526
5511
|
*/
|
|
5527
|
-
options:
|
|
5512
|
+
options: NoUnwantedPolyfillioOptions;
|
|
5528
5513
|
}
|
|
5529
|
-
interface
|
|
5530
|
-
/**
|
|
5531
|
-
* The severity of the emitted diagnostics by the rule
|
|
5532
|
-
*/
|
|
5533
|
-
level: RulePlainConfiguration;
|
|
5514
|
+
interface RuleWithFixOptions_for_UseGoogleFontPreconnectOptions {
|
|
5534
5515
|
/**
|
|
5535
|
-
*
|
|
5516
|
+
* The kind of the code actions emitted by the rule
|
|
5536
5517
|
*/
|
|
5537
|
-
|
|
5538
|
-
}
|
|
5539
|
-
interface RuleWithOptions_for_NoNamespaceImportOptions {
|
|
5518
|
+
fix?: FixKind;
|
|
5540
5519
|
/**
|
|
5541
5520
|
* The severity of the emitted diagnostics by the rule
|
|
5542
5521
|
*/
|
|
@@ -5544,9 +5523,9 @@ interface RuleWithOptions_for_NoNamespaceImportOptions {
|
|
|
5544
5523
|
/**
|
|
5545
5524
|
* Rule's options
|
|
5546
5525
|
*/
|
|
5547
|
-
options:
|
|
5526
|
+
options: UseGoogleFontPreconnectOptions;
|
|
5548
5527
|
}
|
|
5549
|
-
interface
|
|
5528
|
+
interface RuleWithOptions_for_UseSolidForComponentOptions {
|
|
5550
5529
|
/**
|
|
5551
5530
|
* The severity of the emitted diagnostics by the rule
|
|
5552
5531
|
*/
|
|
@@ -5554,7 +5533,7 @@ interface RuleWithOptions_for_NoReExportAllOptions {
|
|
|
5554
5533
|
/**
|
|
5555
5534
|
* Rule's options
|
|
5556
5535
|
*/
|
|
5557
|
-
options:
|
|
5536
|
+
options: UseSolidForComponentOptions;
|
|
5558
5537
|
}
|
|
5559
5538
|
interface RuleWithOptions_for_UseTopLevelRegexOptions {
|
|
5560
5539
|
/**
|
|
@@ -5706,7 +5685,17 @@ interface RuleWithFixOptions_for_NoInferrableTypesOptions {
|
|
|
5706
5685
|
/**
|
|
5707
5686
|
* Rule's options
|
|
5708
5687
|
*/
|
|
5709
|
-
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;
|
|
5710
5699
|
}
|
|
5711
5700
|
interface RuleWithOptions_for_NoNamespaceOptions {
|
|
5712
5701
|
/**
|
|
@@ -6046,6 +6035,20 @@ interface RuleWithOptions_for_UseConsistentMemberAccessibilityOptions {
|
|
|
6046
6035
|
*/
|
|
6047
6036
|
options: UseConsistentMemberAccessibilityOptions;
|
|
6048
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
|
+
}
|
|
6049
6052
|
interface RuleWithFixOptions_for_UseConstOptions {
|
|
6050
6053
|
/**
|
|
6051
6054
|
* The kind of the code actions emitted by the rule
|
|
@@ -6150,6 +6153,16 @@ interface RuleWithFixOptions_for_UseExportTypeOptions {
|
|
|
6150
6153
|
*/
|
|
6151
6154
|
options: UseExportTypeOptions;
|
|
6152
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
|
+
}
|
|
6153
6166
|
interface RuleWithOptions_for_UseFilenamingConventionOptions {
|
|
6154
6167
|
/**
|
|
6155
6168
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -6184,6 +6197,26 @@ interface RuleWithFixOptions_for_UseFragmentSyntaxOptions {
|
|
|
6184
6197
|
*/
|
|
6185
6198
|
options: UseFragmentSyntaxOptions;
|
|
6186
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
|
+
}
|
|
6187
6220
|
interface RuleWithFixOptions_for_UseImportTypeOptions {
|
|
6188
6221
|
/**
|
|
6189
6222
|
* The kind of the code actions emitted by the rule
|
|
@@ -6264,6 +6297,48 @@ interface RuleWithFixOptions_for_UseNumberNamespaceOptions {
|
|
|
6264
6297
|
*/
|
|
6265
6298
|
options: UseNumberNamespaceOptions;
|
|
6266
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
|
+
}
|
|
6267
6342
|
interface RuleWithFixOptions_for_UseSelfClosingElementsOptions {
|
|
6268
6343
|
/**
|
|
6269
6344
|
* The kind of the code actions emitted by the rule
|
|
@@ -6320,6 +6395,16 @@ interface RuleWithFixOptions_for_UseSingleVarDeclaratorOptions {
|
|
|
6320
6395
|
*/
|
|
6321
6396
|
options: UseSingleVarDeclaratorOptions;
|
|
6322
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
|
+
}
|
|
6323
6408
|
interface RuleWithFixOptions_for_UseTemplateOptions {
|
|
6324
6409
|
/**
|
|
6325
6410
|
* The kind of the code actions emitted by the rule
|
|
@@ -6372,6 +6457,20 @@ interface RuleWithFixOptions_for_UseTrimStartEndOptions {
|
|
|
6372
6457
|
*/
|
|
6373
6458
|
options: UseTrimStartEndOptions;
|
|
6374
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
|
+
}
|
|
6375
6474
|
interface RuleWithOptions_for_NoAlertOptions {
|
|
6376
6475
|
/**
|
|
6377
6476
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -6426,6 +6525,30 @@ interface RuleWithOptions_for_NoAsyncPromiseExecutorOptions {
|
|
|
6426
6525
|
*/
|
|
6427
6526
|
options: NoAsyncPromiseExecutorOptions;
|
|
6428
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
|
+
}
|
|
6429
6552
|
interface RuleWithOptions_for_NoCatchAssignOptions {
|
|
6430
6553
|
/**
|
|
6431
6554
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -6526,6 +6649,16 @@ interface RuleWithFixOptions_for_NoConstEnumOptions {
|
|
|
6526
6649
|
*/
|
|
6527
6650
|
options: NoConstEnumOptions;
|
|
6528
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
|
+
}
|
|
6529
6662
|
interface RuleWithOptions_for_NoControlCharactersInRegexOptions {
|
|
6530
6663
|
/**
|
|
6531
6664
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -7000,6 +7133,20 @@ interface RuleWithFixOptions_for_NoPrototypeBuiltinsOptions {
|
|
|
7000
7133
|
*/
|
|
7001
7134
|
options: NoPrototypeBuiltinsOptions;
|
|
7002
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
|
+
}
|
|
7003
7150
|
interface RuleWithFixOptions_for_NoReactSpecificPropsOptions {
|
|
7004
7151
|
/**
|
|
7005
7152
|
* The kind of the code actions emitted by the rule
|
|
@@ -7126,6 +7273,40 @@ interface RuleWithOptions_for_NoThenPropertyOptions {
|
|
|
7126
7273
|
*/
|
|
7127
7274
|
options: NoThenPropertyOptions;
|
|
7128
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
|
+
}
|
|
7129
7310
|
interface RuleWithOptions_for_NoUnsafeDeclarationMergingOptions {
|
|
7130
7311
|
/**
|
|
7131
7312
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -7150,6 +7331,30 @@ interface RuleWithFixOptions_for_NoUnsafeNegationOptions {
|
|
|
7150
7331
|
*/
|
|
7151
7332
|
options: NoUnsafeNegationOptions;
|
|
7152
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
|
+
}
|
|
7153
7358
|
interface RuleWithFixOptions_for_NoVarOptions {
|
|
7154
7359
|
/**
|
|
7155
7360
|
* The kind of the code actions emitted by the rule
|
|
@@ -7194,6 +7399,20 @@ interface RuleWithOptions_for_UseAwaitOptions {
|
|
|
7194
7399
|
*/
|
|
7195
7400
|
options: UseAwaitOptions;
|
|
7196
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
|
+
}
|
|
7197
7416
|
interface RuleWithOptions_for_UseDefaultSwitchClauseLastOptions {
|
|
7198
7417
|
/**
|
|
7199
7418
|
* The severity of the emitted diagnostics by the rule
|
|
@@ -7258,6 +7477,16 @@ interface RuleWithFixOptions_for_UseIsArrayOptions {
|
|
|
7258
7477
|
*/
|
|
7259
7478
|
options: UseIsArrayOptions;
|
|
7260
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
|
+
}
|
|
7261
7490
|
interface RuleWithFixOptions_for_UseNamespaceKeywordOptions {
|
|
7262
7491
|
/**
|
|
7263
7492
|
* The kind of the code actions emitted by the rule
|
|
@@ -7286,6 +7515,20 @@ interface RuleWithFixOptions_for_UseNumberToFixedDigitsArgumentOptions {
|
|
|
7286
7515
|
*/
|
|
7287
7516
|
options: UseNumberToFixedDigitsArgumentOptions;
|
|
7288
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
|
+
}
|
|
7289
7532
|
interface RuleWithFixOptions_for_UseStrictModeOptions {
|
|
7290
7533
|
/**
|
|
7291
7534
|
* The kind of the code actions emitted by the rule
|
|
@@ -7301,6 +7544,7 @@ interface RuleWithFixOptions_for_UseStrictModeOptions {
|
|
|
7301
7544
|
options: UseStrictModeOptions;
|
|
7302
7545
|
}
|
|
7303
7546
|
type ImportGroups = ImportGroup[];
|
|
7547
|
+
type SortOrder = "natural" | "lexicographic";
|
|
7304
7548
|
type FixKind = "none" | "safe" | "unsafe";
|
|
7305
7549
|
interface NoAccessKeyOptions {}
|
|
7306
7550
|
interface NoAriaHiddenOnFocusableOptions {}
|
|
@@ -7323,6 +7567,7 @@ interface NoLabelWithoutControlOptions {
|
|
|
7323
7567
|
*/
|
|
7324
7568
|
labelComponents?: string[];
|
|
7325
7569
|
}
|
|
7570
|
+
interface NoNoninteractiveElementInteractionsOptions {}
|
|
7326
7571
|
interface NoNoninteractiveElementToInteractiveRoleOptions {}
|
|
7327
7572
|
interface NoNoninteractiveTabindexOptions {}
|
|
7328
7573
|
interface NoPositiveTabindexOptions {}
|
|
@@ -7376,6 +7621,20 @@ interface NoExcessiveCognitiveComplexityOptions {
|
|
|
7376
7621
|
*/
|
|
7377
7622
|
maxAllowedComplexity?: number;
|
|
7378
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
|
+
}
|
|
7379
7638
|
interface NoExcessiveNestedTestSuitesOptions {}
|
|
7380
7639
|
interface NoExtraBooleanCastOptions {}
|
|
7381
7640
|
interface NoFlatMapIdentityOptions {}
|
|
@@ -7385,6 +7644,8 @@ interface NoForEachOptions {
|
|
|
7385
7644
|
*/
|
|
7386
7645
|
allowedIdentifiers?: string[];
|
|
7387
7646
|
}
|
|
7647
|
+
interface NoImplicitCoercionsOptions {}
|
|
7648
|
+
interface NoImportantStylesOptions {}
|
|
7388
7649
|
interface NoStaticOnlyClassOptions {}
|
|
7389
7650
|
interface NoThisInStaticOptions {}
|
|
7390
7651
|
interface NoUselessCatchOptions {}
|
|
@@ -7407,6 +7668,7 @@ interface NoVoidOptions {}
|
|
|
7407
7668
|
interface UseArrowFunctionOptions {}
|
|
7408
7669
|
interface UseDateNowOptions {}
|
|
7409
7670
|
interface UseFlatMapOptions {}
|
|
7671
|
+
interface UseIndexOfOptions {}
|
|
7410
7672
|
interface UseLiteralKeysOptions {}
|
|
7411
7673
|
interface UseNumericLiteralsOptions {}
|
|
7412
7674
|
interface UseOptionalChainOptions {}
|
|
@@ -7421,6 +7683,7 @@ interface NoConstantMathMinMaxClampOptions {}
|
|
|
7421
7683
|
interface NoConstructorReturnOptions {}
|
|
7422
7684
|
interface NoEmptyCharacterClassInRegexOptions {}
|
|
7423
7685
|
interface NoEmptyPatternOptions {}
|
|
7686
|
+
interface NoGlobalDirnameFilenameOptions {}
|
|
7424
7687
|
interface NoGlobalObjectCallsOptions {}
|
|
7425
7688
|
interface NoInnerDeclarationsOptions {}
|
|
7426
7689
|
interface NoInvalidBuiltinInstantiationOptions {}
|
|
@@ -7430,6 +7693,7 @@ interface NoInvalidGridAreasOptions {}
|
|
|
7430
7693
|
interface NoInvalidPositionAtImportRuleOptions {}
|
|
7431
7694
|
interface NoInvalidUseBeforeDeclarationOptions {}
|
|
7432
7695
|
interface NoMissingVarFunctionOptions {}
|
|
7696
|
+
interface NoNestedComponentDefinitionsOptions {}
|
|
7433
7697
|
interface NoNodejsModulesOptions {}
|
|
7434
7698
|
interface NoNonoctalDecimalEscapeOptions {}
|
|
7435
7699
|
interface NoPrecisionLossOptions {}
|
|
@@ -7441,9 +7705,18 @@ Default: **public**.
|
|
|
7441
7705
|
*/
|
|
7442
7706
|
defaultVisibility?: Visibility;
|
|
7443
7707
|
}
|
|
7708
|
+
interface NoProcessGlobalOptions {}
|
|
7709
|
+
interface NoReactPropAssignmentsOptions {}
|
|
7444
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
|
+
}
|
|
7445
7717
|
interface NoSelfAssignOptions {}
|
|
7446
7718
|
interface NoSetterReturnOptions {}
|
|
7719
|
+
interface NoSolidDestructuredPropsOptions {}
|
|
7447
7720
|
interface NoStringCaseMismatchOptions {}
|
|
7448
7721
|
interface NoSwitchDeclarationsOptions {}
|
|
7449
7722
|
interface NoUndeclaredDependenciesOptions {
|
|
@@ -7509,6 +7782,7 @@ interface UseExhaustiveDependenciesOptions {
|
|
|
7509
7782
|
*/
|
|
7510
7783
|
reportUnnecessaryDependencies?: boolean;
|
|
7511
7784
|
}
|
|
7785
|
+
interface UseGraphqlNamedOperationsOptions {}
|
|
7512
7786
|
interface UseHookAtTopLevelOptions {}
|
|
7513
7787
|
interface UseImportExtensionsOptions {
|
|
7514
7788
|
/**
|
|
@@ -7517,61 +7791,35 @@ interface UseImportExtensionsOptions {
|
|
|
7517
7791
|
forceJsExtensions?: boolean;
|
|
7518
7792
|
}
|
|
7519
7793
|
interface UseIsNanOptions {}
|
|
7794
|
+
interface UseJsonImportAttributesOptions {}
|
|
7520
7795
|
interface UseJsxKeyInIterableOptions {
|
|
7521
7796
|
/**
|
|
7522
7797
|
* Set to `true` to check shorthand fragments (`<></>`)
|
|
7523
7798
|
*/
|
|
7524
7799
|
checkShorthandFragments?: boolean;
|
|
7525
7800
|
}
|
|
7526
|
-
interface
|
|
7527
|
-
interface
|
|
7528
|
-
interface
|
|
7529
|
-
interface NoAwaitInLoopOptions {}
|
|
7530
|
-
interface NoBitwiseOperatorsOptions {
|
|
7531
|
-
/**
|
|
7532
|
-
* Allows a list of bitwise operators to be used as exceptions.
|
|
7533
|
-
*/
|
|
7534
|
-
allow: string[];
|
|
7535
|
-
}
|
|
7536
|
-
interface NoConstantBinaryExpressionOptions {}
|
|
7537
|
-
interface NoDestructuredPropsOptions {}
|
|
7538
|
-
interface NoExcessiveLinesPerFunctionOptions {
|
|
7539
|
-
/**
|
|
7540
|
-
* The maximum number of lines allowed in a function body.
|
|
7541
|
-
*/
|
|
7542
|
-
maxLines?: number;
|
|
7543
|
-
/**
|
|
7544
|
-
* When this options is set to `true`, blank lines in the function body are not counted towards the maximum line limit.
|
|
7545
|
-
*/
|
|
7546
|
-
skipBlankLines?: boolean;
|
|
7801
|
+
interface UseParseIntRadixOptions {}
|
|
7802
|
+
interface UseSingleJsDocAsteriskOptions {}
|
|
7803
|
+
interface UseUniqueElementIdsOptions {
|
|
7547
7804
|
/**
|
|
7548
|
-
*
|
|
7805
|
+
* Component names that accept an `id` prop that does not translate to a DOM element id.
|
|
7549
7806
|
*/
|
|
7550
|
-
|
|
7807
|
+
excludedComponents?: string[];
|
|
7551
7808
|
}
|
|
7809
|
+
interface UseValidForDirectionOptions {}
|
|
7810
|
+
interface UseValidTypeofOptions {}
|
|
7811
|
+
interface UseYieldOptions {}
|
|
7552
7812
|
interface NoFloatingPromisesOptions {}
|
|
7553
|
-
interface
|
|
7554
|
-
interface NoImplicitCoercionOptions {}
|
|
7555
|
-
interface NoImportCyclesOptions {}
|
|
7556
|
-
interface NoImportantStylesOptions {}
|
|
7557
|
-
interface NoMagicNumbersOptions {}
|
|
7558
|
-
interface NoMisusedPromisesOptions {}
|
|
7559
|
-
interface NoNestedComponentDefinitionsOptions {}
|
|
7560
|
-
interface NoNoninteractiveElementInteractionsOptions {}
|
|
7561
|
-
interface NoProcessGlobalOptions {}
|
|
7562
|
-
interface NoQuickfixBiomeOptions {
|
|
7563
|
-
/**
|
|
7564
|
-
* A list of additional JSON files that should be checked.
|
|
7565
|
-
*/
|
|
7566
|
-
additionalPaths?: string[];
|
|
7567
|
-
}
|
|
7568
|
-
interface NoReactPropAssignOptions {}
|
|
7569
|
-
interface NoRestrictedElementsOptions {
|
|
7813
|
+
interface NoImportCyclesOptions {
|
|
7570
7814
|
/**
|
|
7571
|
-
*
|
|
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.
|
|
7572
7816
|
*/
|
|
7573
|
-
|
|
7817
|
+
ignoreTypes?: boolean;
|
|
7574
7818
|
}
|
|
7819
|
+
interface NoMisusedPromisesOptions {}
|
|
7820
|
+
interface NoNextAsyncClientComponentOptions {}
|
|
7821
|
+
interface NoNonNullAssertedOptionalChainOptions {}
|
|
7822
|
+
interface NoQwikUseVisibleTaskOptions {}
|
|
7575
7823
|
interface NoSecretsOptions {
|
|
7576
7824
|
/**
|
|
7577
7825
|
* Set entropy threshold (default is 41).
|
|
@@ -7579,58 +7827,27 @@ interface NoSecretsOptions {
|
|
|
7579
7827
|
entropyThreshold?: number;
|
|
7580
7828
|
}
|
|
7581
7829
|
interface NoShadowOptions {}
|
|
7582
|
-
interface
|
|
7583
|
-
interface NoUnassignedVariablesOptions {}
|
|
7584
|
-
interface NoUnknownAtRuleOptions {}
|
|
7830
|
+
interface NoUnnecessaryConditionsOptions {}
|
|
7585
7831
|
interface NoUnresolvedImportsOptions {}
|
|
7586
|
-
interface NoUnwantedPolyfillioOptions {}
|
|
7587
|
-
interface NoUselessBackrefInRegexOptions {}
|
|
7588
|
-
interface NoUselessEscapeInStringOptions {}
|
|
7589
7832
|
interface NoUselessUndefinedOptions {}
|
|
7833
|
+
interface NoVueDataObjectDeclarationOptions {}
|
|
7590
7834
|
interface NoVueReservedKeysOptions {}
|
|
7591
7835
|
interface NoVueReservedPropsOptions {}
|
|
7592
|
-
|
|
7593
|
-
interface
|
|
7594
|
-
|
|
7595
|
-
* The preferred syntax to enforce.
|
|
7596
|
-
*/
|
|
7597
|
-
syntax?: ObjectPropertySyntax;
|
|
7836
|
+
type UseAnchorHrefOptions = null;
|
|
7837
|
+
interface UseConsistentTypeDefinitionsOptions {
|
|
7838
|
+
style?: ConsistentTypeDefinition;
|
|
7598
7839
|
}
|
|
7599
|
-
interface UseConsistentResponseOptions {}
|
|
7600
7840
|
interface UseExhaustiveSwitchCasesOptions {}
|
|
7601
7841
|
interface UseExplicitTypeOptions {}
|
|
7602
|
-
|
|
7603
|
-
interface
|
|
7604
|
-
interface UseGoogleFontPreconnectOptions {}
|
|
7605
|
-
interface UseIndexOfOptions {}
|
|
7606
|
-
interface UseIterableCallbackReturnOptions {}
|
|
7607
|
-
interface UseJsonImportAttributeOptions {}
|
|
7608
|
-
interface UseNamedOperationOptions {}
|
|
7609
|
-
interface UseNamingConventionOptions {
|
|
7610
|
-
/**
|
|
7611
|
-
* Custom conventions.
|
|
7612
|
-
*/
|
|
7613
|
-
conventions: Convention[];
|
|
7614
|
-
/**
|
|
7615
|
-
* If `false`, then non-ASCII characters are allowed.
|
|
7616
|
-
*/
|
|
7617
|
-
requireAscii: boolean;
|
|
7842
|
+
type UseImageSizeOptions = null;
|
|
7843
|
+
interface UseMaxParamsOptions {
|
|
7618
7844
|
/**
|
|
7619
|
-
*
|
|
7845
|
+
* Maximum number of parameters allowed (default: 4)
|
|
7620
7846
|
*/
|
|
7621
|
-
|
|
7847
|
+
max?: number;
|
|
7622
7848
|
}
|
|
7623
|
-
interface
|
|
7624
|
-
interface UseObjectSpreadOptions {}
|
|
7625
|
-
interface UseParseIntRadixOptions {}
|
|
7849
|
+
interface UseQwikClasslistOptions {}
|
|
7626
7850
|
interface UseReactFunctionComponentsOptions {}
|
|
7627
|
-
interface UseReadonlyClassPropertiesOptions {
|
|
7628
|
-
/**
|
|
7629
|
-
* When `true`, the keywords `public`, `protected`, and `private` are analyzed by the rule.
|
|
7630
|
-
*/
|
|
7631
|
-
checkAllProperties: boolean;
|
|
7632
|
-
}
|
|
7633
|
-
interface UseSingleJsDocAsteriskOptions {}
|
|
7634
7851
|
interface UseSortedClassesOptions {
|
|
7635
7852
|
/**
|
|
7636
7853
|
* Additional attributes that will be sorted.
|
|
@@ -7641,21 +7858,17 @@ interface UseSortedClassesOptions {
|
|
|
7641
7858
|
*/
|
|
7642
7859
|
functions?: string[];
|
|
7643
7860
|
}
|
|
7644
|
-
interface UseSymbolDescriptionOptions {}
|
|
7645
|
-
interface UseUnifiedTypeSignatureOptions {}
|
|
7646
|
-
interface UseUniqueElementIdsOptions {
|
|
7647
|
-
/**
|
|
7648
|
-
* Component names that accept an `id` prop that does not translate to a DOM element id.
|
|
7649
|
-
*/
|
|
7650
|
-
excludedComponents?: string[];
|
|
7651
|
-
}
|
|
7652
7861
|
interface NoAccumulatingSpreadOptions {}
|
|
7862
|
+
interface NoAwaitInLoopsOptions {}
|
|
7653
7863
|
interface NoBarrelFileOptions {}
|
|
7654
7864
|
interface NoDeleteOptions {}
|
|
7655
7865
|
interface NoDynamicNamespaceImportAccessOptions {}
|
|
7656
7866
|
interface NoImgElementOptions {}
|
|
7657
7867
|
interface NoNamespaceImportOptions {}
|
|
7658
7868
|
interface NoReExportAllOptions {}
|
|
7869
|
+
interface NoUnwantedPolyfillioOptions {}
|
|
7870
|
+
interface UseGoogleFontPreconnectOptions {}
|
|
7871
|
+
interface UseSolidForComponentOptions {}
|
|
7659
7872
|
interface UseTopLevelRegexOptions {}
|
|
7660
7873
|
interface NoBlankTargetOptions {
|
|
7661
7874
|
/**
|
|
@@ -7679,6 +7892,7 @@ interface NoExportedImportsOptions {}
|
|
|
7679
7892
|
interface NoHeadElementOptions {}
|
|
7680
7893
|
interface NoImplicitBooleanOptions {}
|
|
7681
7894
|
interface NoInferrableTypesOptions {}
|
|
7895
|
+
interface NoMagicNumbersOptions {}
|
|
7682
7896
|
interface NoNamespaceOptions {}
|
|
7683
7897
|
interface NoNegationElseOptions {}
|
|
7684
7898
|
interface NoNestedTernaryOptions {}
|
|
@@ -7701,7 +7915,11 @@ interface NoRestrictedImportsOptions {
|
|
|
7701
7915
|
/**
|
|
7702
7916
|
* A list of import paths that should trigger the rule.
|
|
7703
7917
|
*/
|
|
7704
|
-
paths: Record<string,
|
|
7918
|
+
paths: Record<string, Paths>;
|
|
7919
|
+
/**
|
|
7920
|
+
* gitignore-style patterns that should trigger the rule.
|
|
7921
|
+
*/
|
|
7922
|
+
patterns?: Patterns[];
|
|
7705
7923
|
}
|
|
7706
7924
|
interface NoRestrictedTypesOptions {
|
|
7707
7925
|
types?: Record<string, CustomRestrictedType>;
|
|
@@ -7739,6 +7957,12 @@ interface UseConsistentMemberAccessibilityOptions {
|
|
|
7739
7957
|
*/
|
|
7740
7958
|
accessibility?: Accessibility;
|
|
7741
7959
|
}
|
|
7960
|
+
interface UseConsistentObjectDefinitionsOptions {
|
|
7961
|
+
/**
|
|
7962
|
+
* The preferred syntax to enforce.
|
|
7963
|
+
*/
|
|
7964
|
+
syntax?: ObjectPropertySyntax;
|
|
7965
|
+
}
|
|
7742
7966
|
interface UseConstOptions {}
|
|
7743
7967
|
interface UseDefaultParameterLastOptions {}
|
|
7744
7968
|
interface UseDefaultSwitchClauseOptions {}
|
|
@@ -7747,6 +7971,7 @@ interface UseEnumInitializersOptions {}
|
|
|
7747
7971
|
interface UseExplicitLengthCheckOptions {}
|
|
7748
7972
|
interface UseExponentiationOperatorOptions {}
|
|
7749
7973
|
interface UseExportTypeOptions {}
|
|
7974
|
+
interface UseExportsLastOptions {}
|
|
7750
7975
|
interface UseFilenamingConventionOptions {
|
|
7751
7976
|
/**
|
|
7752
7977
|
* Allowed cases for file names.
|
|
@@ -7767,6 +7992,8 @@ interface UseFilenamingConventionOptions {
|
|
|
7767
7992
|
}
|
|
7768
7993
|
interface UseForOfOptions {}
|
|
7769
7994
|
interface UseFragmentSyntaxOptions {}
|
|
7995
|
+
interface UseGraphqlNamingConventionOptions {}
|
|
7996
|
+
interface UseGroupedAccessorPairsOptions {}
|
|
7770
7997
|
interface UseImportTypeOptions {
|
|
7771
7998
|
/**
|
|
7772
7999
|
* The style to apply when import types. Default to "auto"
|
|
@@ -7774,24 +8001,55 @@ interface UseImportTypeOptions {
|
|
|
7774
8001
|
style?: Style2;
|
|
7775
8002
|
}
|
|
7776
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
|
+
}
|
|
7777
8018
|
interface UseNodeAssertStrictOptions {}
|
|
7778
8019
|
interface UseNodejsImportProtocolOptions {}
|
|
7779
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
|
+
}
|
|
7780
8029
|
interface UseSelfClosingElementsOptions {
|
|
7781
8030
|
ignoreHtmlElements?: boolean;
|
|
7782
8031
|
}
|
|
7783
8032
|
interface UseShorthandAssignOptions {}
|
|
7784
8033
|
interface UseShorthandFunctionTypeOptions {}
|
|
7785
8034
|
interface UseSingleVarDeclaratorOptions {}
|
|
8035
|
+
interface UseSymbolDescriptionOptions {}
|
|
7786
8036
|
interface UseTemplateOptions {}
|
|
7787
8037
|
interface UseThrowNewErrorOptions {}
|
|
7788
8038
|
interface UseThrowOnlyErrorOptions {}
|
|
7789
8039
|
interface UseTrimStartEndOptions {}
|
|
8040
|
+
interface UseUnifiedTypeSignaturesOptions {}
|
|
7790
8041
|
interface NoAlertOptions {}
|
|
7791
8042
|
interface NoApproximativeNumericConstantOptions {}
|
|
7792
8043
|
interface NoArrayIndexKeyOptions {}
|
|
7793
8044
|
interface NoAssignInExpressionsOptions {}
|
|
7794
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
|
+
}
|
|
7795
8053
|
interface NoCatchAssignOptions {}
|
|
7796
8054
|
interface NoClassAssignOptions {}
|
|
7797
8055
|
interface NoCommentTextOptions {}
|
|
@@ -7810,6 +8068,7 @@ interface NoConsoleOptions {
|
|
|
7810
8068
|
allow: string[];
|
|
7811
8069
|
}
|
|
7812
8070
|
interface NoConstEnumOptions {}
|
|
8071
|
+
interface NoConstantBinaryExpressionsOptions {}
|
|
7813
8072
|
interface NoControlCharactersInRegexOptions {}
|
|
7814
8073
|
interface NoDebuggerOptions {}
|
|
7815
8074
|
interface NoDocumentCookieOptions {}
|
|
@@ -7860,6 +8119,12 @@ interface NoMisplacedAssertionOptions {}
|
|
|
7860
8119
|
interface NoMisrefactoredShorthandAssignOptions {}
|
|
7861
8120
|
interface NoOctalEscapeOptions {}
|
|
7862
8121
|
interface NoPrototypeBuiltinsOptions {}
|
|
8122
|
+
interface NoQuickfixBiomeOptions {
|
|
8123
|
+
/**
|
|
8124
|
+
* A list of additional JSON files that should be checked.
|
|
8125
|
+
*/
|
|
8126
|
+
additionalPaths?: string[];
|
|
8127
|
+
}
|
|
7863
8128
|
interface NoReactSpecificPropsOptions {}
|
|
7864
8129
|
interface NoRedeclareOptions {}
|
|
7865
8130
|
interface NoRedundantUseStrictOptions {}
|
|
@@ -7871,23 +8136,32 @@ interface NoSparseArrayOptions {}
|
|
|
7871
8136
|
interface NoSuspiciousSemicolonInJsxOptions {}
|
|
7872
8137
|
interface NoTemplateCurlyInStringOptions {}
|
|
7873
8138
|
interface NoThenPropertyOptions {}
|
|
8139
|
+
interface NoTsIgnoreOptions {}
|
|
8140
|
+
interface NoUnassignedVariablesOptions {}
|
|
8141
|
+
interface NoUnknownAtRulesOptions {}
|
|
7874
8142
|
interface NoUnsafeDeclarationMergingOptions {}
|
|
7875
8143
|
interface NoUnsafeNegationOptions {}
|
|
8144
|
+
interface NoUselessEscapeInStringOptions {}
|
|
8145
|
+
interface NoUselessRegexBackrefsOptions {}
|
|
7876
8146
|
interface NoVarOptions {}
|
|
7877
8147
|
interface NoWithOptions {}
|
|
7878
8148
|
interface UseAdjacentOverloadSignaturesOptions {}
|
|
7879
8149
|
interface UseAwaitOptions {}
|
|
8150
|
+
interface UseBiomeIgnoreFolderOptions {}
|
|
7880
8151
|
interface UseDefaultSwitchClauseLastOptions {}
|
|
7881
8152
|
interface UseErrorMessageOptions {}
|
|
7882
8153
|
interface UseGetterReturnOptions {}
|
|
7883
8154
|
interface UseGoogleFontDisplayOptions {}
|
|
7884
8155
|
interface UseGuardForInOptions {}
|
|
7885
8156
|
interface UseIsArrayOptions {}
|
|
8157
|
+
interface UseIterableCallbackReturnOptions {}
|
|
7886
8158
|
interface UseNamespaceKeywordOptions {}
|
|
7887
8159
|
interface UseNumberToFixedDigitsArgumentOptions {}
|
|
8160
|
+
interface UseStaticResponseMethodsOptions {}
|
|
7888
8161
|
interface UseStrictModeOptions {}
|
|
7889
8162
|
type ImportGroup = null | GroupMatcher | GroupMatcher[];
|
|
7890
8163
|
type Visibility = "public" | "package" | "private";
|
|
8164
|
+
type CustomRestrictedElements = Record<string, string>;
|
|
7891
8165
|
type DependencyAvailability = boolean | string[];
|
|
7892
8166
|
interface Hook {
|
|
7893
8167
|
/**
|
|
@@ -7915,8 +8189,17 @@ For example, for React's `useRef()` hook the value would be `true`, while for `u
|
|
|
7915
8189
|
*/
|
|
7916
8190
|
stableResult?: StableHookResult;
|
|
7917
8191
|
}
|
|
7918
|
-
type
|
|
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";
|
|
7919
8199
|
type ObjectPropertySyntax = "explicit" | "shorthand";
|
|
8200
|
+
type FilenameCases = FilenameCase[];
|
|
8201
|
+
type Regex = string;
|
|
8202
|
+
type Style2 = "auto" | "inlineType" | "separatedType";
|
|
7920
8203
|
interface Convention {
|
|
7921
8204
|
/**
|
|
7922
8205
|
* String cases to enforce
|
|
@@ -7931,44 +8214,39 @@ interface Convention {
|
|
|
7931
8214
|
*/
|
|
7932
8215
|
selector: Selector;
|
|
7933
8216
|
}
|
|
7934
|
-
type PropertyAssignmentMode = "allow" | "deny";
|
|
7935
|
-
type CustomRestrictedImport = string | CustomRestrictedImportOptions;
|
|
7936
|
-
type CustomRestrictedType = string | CustomRestrictedTypeOptions;
|
|
7937
|
-
type ConsistentArrayType = "shorthand" | "generic";
|
|
7938
|
-
type Accessibility = "noPublic" | "explicit" | "none";
|
|
7939
|
-
type FilenameCases = FilenameCase[];
|
|
7940
|
-
type Regex = string;
|
|
7941
|
-
type Style2 = "auto" | "inlineType" | "separatedType";
|
|
7942
8217
|
type GroupMatcher = ImportMatcher | SourceMatcher;
|
|
7943
|
-
type StableHookResult = boolean | number[];
|
|
7944
|
-
|
|
7945
|
-
interface Selector {
|
|
8218
|
+
type StableHookResult = boolean | number[] | string[];
|
|
8219
|
+
interface PathOptions {
|
|
7946
8220
|
/**
|
|
7947
|
-
*
|
|
8221
|
+
* Names of the exported members that allowed to be not be used.
|
|
7948
8222
|
*/
|
|
7949
|
-
|
|
8223
|
+
allowImportNames: string[];
|
|
7950
8224
|
/**
|
|
7951
|
-
*
|
|
8225
|
+
* Names of the exported members that should not be used.
|
|
7952
8226
|
*/
|
|
7953
|
-
|
|
8227
|
+
importNames: string[];
|
|
7954
8228
|
/**
|
|
7955
|
-
*
|
|
8229
|
+
* The message to display when this module is imported.
|
|
7956
8230
|
*/
|
|
7957
|
-
|
|
8231
|
+
message: string;
|
|
7958
8232
|
}
|
|
7959
|
-
interface
|
|
8233
|
+
interface PatternOptions {
|
|
7960
8234
|
/**
|
|
7961
|
-
*
|
|
8235
|
+
* An array of gitignore-style patterns.
|
|
7962
8236
|
*/
|
|
7963
|
-
|
|
8237
|
+
group?: SourcesMatcher;
|
|
7964
8238
|
/**
|
|
7965
|
-
*
|
|
8239
|
+
* A regex pattern for import names to forbid within the matched modules.
|
|
7966
8240
|
*/
|
|
7967
|
-
|
|
8241
|
+
importNamePattern?: Regex;
|
|
7968
8242
|
/**
|
|
7969
|
-
*
|
|
8243
|
+
* If true, the matched patterns in the importNamePattern will be allowed. Defaults to `false`.
|
|
7970
8244
|
*/
|
|
7971
|
-
|
|
8245
|
+
invertImportNamePattern?: boolean;
|
|
8246
|
+
/**
|
|
8247
|
+
* A custom message for diagnostics related to this pattern.
|
|
8248
|
+
*/
|
|
8249
|
+
message?: string;
|
|
7972
8250
|
}
|
|
7973
8251
|
interface CustomRestrictedTypeOptions {
|
|
7974
8252
|
message?: string;
|
|
@@ -7980,11 +8258,27 @@ type FilenameCase =
|
|
|
7980
8258
|
| "kebab-case"
|
|
7981
8259
|
| "PascalCase"
|
|
7982
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
|
+
}
|
|
7983
8276
|
interface ImportMatcher {
|
|
7984
8277
|
source?: SourcesMatcher;
|
|
7985
8278
|
type?: boolean;
|
|
7986
8279
|
}
|
|
7987
8280
|
type SourceMatcher = NegatablePredefinedSourceMatcher | ImportSourceGlob;
|
|
8281
|
+
type SourcesMatcher = SourceMatcher | SourceMatcher[];
|
|
7988
8282
|
type Format = "camelCase" | "CONSTANT_CASE" | "PascalCase" | "snake_case";
|
|
7989
8283
|
type Kind =
|
|
7990
8284
|
| "class"
|
|
@@ -8027,7 +8321,6 @@ type Kind =
|
|
|
8027
8321
|
| "typeMethod";
|
|
8028
8322
|
type Modifiers = RestrictedModifier[];
|
|
8029
8323
|
type Scope = "any" | "global";
|
|
8030
|
-
type SourcesMatcher = SourceMatcher | SourceMatcher[];
|
|
8031
8324
|
type NegatablePredefinedSourceMatcher =
|
|
8032
8325
|
| ":ALIAS:"
|
|
8033
8326
|
| ":BUN:"
|
|
@@ -8076,6 +8369,7 @@ type Category =
|
|
|
8076
8369
|
| "lint/a11y/noHeaderScope"
|
|
8077
8370
|
| "lint/a11y/noInteractiveElementToNoninteractiveRole"
|
|
8078
8371
|
| "lint/a11y/noLabelWithoutControl"
|
|
8372
|
+
| "lint/a11y/noNoninteractiveElementInteractions"
|
|
8079
8373
|
| "lint/a11y/noNoninteractiveElementToInteractiveRole"
|
|
8080
8374
|
| "lint/a11y/noNoninteractiveTabindex"
|
|
8081
8375
|
| "lint/a11y/noPositiveTabindex"
|
|
@@ -8110,10 +8404,13 @@ type Category =
|
|
|
8110
8404
|
| "lint/complexity/noCommaOperator"
|
|
8111
8405
|
| "lint/complexity/noEmptyTypeParameters"
|
|
8112
8406
|
| "lint/complexity/noExcessiveCognitiveComplexity"
|
|
8407
|
+
| "lint/complexity/noExcessiveLinesPerFunction"
|
|
8113
8408
|
| "lint/complexity/noExcessiveNestedTestSuites"
|
|
8114
8409
|
| "lint/complexity/noExtraBooleanCast"
|
|
8115
8410
|
| "lint/complexity/noFlatMapIdentity"
|
|
8116
8411
|
| "lint/complexity/noForEach"
|
|
8412
|
+
| "lint/complexity/noImplicitCoercions"
|
|
8413
|
+
| "lint/complexity/noImportantStyles"
|
|
8117
8414
|
| "lint/complexity/noStaticOnlyClass"
|
|
8118
8415
|
| "lint/complexity/noThisInStatic"
|
|
8119
8416
|
| "lint/complexity/noUselessCatch"
|
|
@@ -8136,6 +8433,7 @@ type Category =
|
|
|
8136
8433
|
| "lint/complexity/useArrowFunction"
|
|
8137
8434
|
| "lint/complexity/useDateNow"
|
|
8138
8435
|
| "lint/complexity/useFlatMap"
|
|
8436
|
+
| "lint/complexity/useIndexOf"
|
|
8139
8437
|
| "lint/complexity/useLiteralKeys"
|
|
8140
8438
|
| "lint/complexity/useNumericLiterals"
|
|
8141
8439
|
| "lint/complexity/useOptionalChain"
|
|
@@ -8150,6 +8448,7 @@ type Category =
|
|
|
8150
8448
|
| "lint/correctness/noConstructorReturn"
|
|
8151
8449
|
| "lint/correctness/noEmptyCharacterClassInRegex"
|
|
8152
8450
|
| "lint/correctness/noEmptyPattern"
|
|
8451
|
+
| "lint/correctness/noGlobalDirnameFilename"
|
|
8153
8452
|
| "lint/correctness/noGlobalObjectCalls"
|
|
8154
8453
|
| "lint/correctness/noInnerDeclarations"
|
|
8155
8454
|
| "lint/correctness/noInvalidBuiltinInstantiation"
|
|
@@ -8160,14 +8459,19 @@ type Category =
|
|
|
8160
8459
|
| "lint/correctness/noInvalidPositionAtImportRule"
|
|
8161
8460
|
| "lint/correctness/noInvalidUseBeforeDeclaration"
|
|
8162
8461
|
| "lint/correctness/noMissingVarFunction"
|
|
8462
|
+
| "lint/correctness/noNestedComponentDefinitions"
|
|
8163
8463
|
| "lint/correctness/noNewSymbol"
|
|
8164
8464
|
| "lint/correctness/noNodejsModules"
|
|
8165
8465
|
| "lint/correctness/noNonoctalDecimalEscape"
|
|
8166
8466
|
| "lint/correctness/noPrecisionLoss"
|
|
8167
8467
|
| "lint/correctness/noPrivateImports"
|
|
8468
|
+
| "lint/correctness/noProcessGlobal"
|
|
8469
|
+
| "lint/correctness/noReactPropAssignments"
|
|
8168
8470
|
| "lint/correctness/noRenderReturnValue"
|
|
8471
|
+
| "lint/correctness/noRestrictedElements"
|
|
8169
8472
|
| "lint/correctness/noSelfAssign"
|
|
8170
8473
|
| "lint/correctness/noSetterReturn"
|
|
8474
|
+
| "lint/correctness/noSolidDestructuredProps"
|
|
8171
8475
|
| "lint/correctness/noStringCaseMismatch"
|
|
8172
8476
|
| "lint/correctness/noSwitchDeclarations"
|
|
8173
8477
|
| "lint/correctness/noUndeclaredDependencies"
|
|
@@ -8196,95 +8500,59 @@ type Category =
|
|
|
8196
8500
|
| "lint/correctness/useHookAtTopLevel"
|
|
8197
8501
|
| "lint/correctness/useImportExtensions"
|
|
8198
8502
|
| "lint/correctness/useIsNan"
|
|
8503
|
+
| "lint/correctness/useJsonImportAttributes"
|
|
8199
8504
|
| "lint/correctness/useJsxKeyInIterable"
|
|
8505
|
+
| "lint/correctness/useGraphqlNamedOperations"
|
|
8506
|
+
| "lint/correctness/useParseIntRadix"
|
|
8507
|
+
| "lint/correctness/useSingleJsDocAsterisk"
|
|
8508
|
+
| "lint/correctness/useUniqueElementIds"
|
|
8200
8509
|
| "lint/correctness/useValidForDirection"
|
|
8201
8510
|
| "lint/correctness/useValidTypeof"
|
|
8202
8511
|
| "lint/correctness/useYield"
|
|
8203
|
-
| "lint/nursery/
|
|
8204
|
-
| "lint/nursery/noAwaitInLoop"
|
|
8205
|
-
| "lint/nursery/noBitwiseOperators"
|
|
8512
|
+
| "lint/nursery/noNextAsyncClientComponent"
|
|
8206
8513
|
| "lint/nursery/noColorInvalidHex"
|
|
8207
|
-
| "lint/nursery/noConsole"
|
|
8208
|
-
| "lint/nursery/noConstantBinaryExpression"
|
|
8209
|
-
| "lint/nursery/noDestructuredProps"
|
|
8210
|
-
| "lint/nursery/noDoneCallback"
|
|
8211
|
-
| "lint/nursery/noDuplicateAtImportRules"
|
|
8212
|
-
| "lint/nursery/noExcessiveLinesPerFunction"
|
|
8213
8514
|
| "lint/nursery/noFloatingPromises"
|
|
8214
|
-
| "lint/nursery/noGlobalDirnameFilename"
|
|
8215
8515
|
| "lint/nursery/noImplicitCoercion"
|
|
8216
8516
|
| "lint/nursery/noImportCycles"
|
|
8217
|
-
| "lint/nursery/noImportantInKeyframe"
|
|
8218
|
-
| "lint/nursery/noImportantStyles"
|
|
8219
|
-
| "lint/nursery/noInvalidDirectionInLinearGradient"
|
|
8220
|
-
| "lint/nursery/noInvalidGridAreas"
|
|
8221
|
-
| "lint/nursery/noInvalidPositionAtImportRule"
|
|
8222
|
-
| "lint/nursery/noMagicNumbers"
|
|
8223
8517
|
| "lint/nursery/noMissingGenericFamilyKeyword"
|
|
8224
8518
|
| "lint/nursery/noMisusedPromises"
|
|
8225
|
-
| "lint/nursery/
|
|
8226
|
-
| "lint/nursery/
|
|
8227
|
-
| "lint/nursery/noProcessGlobal"
|
|
8228
|
-
| "lint/nursery/noQuickfixBiome"
|
|
8229
|
-
| "lint/nursery/noReactPropAssign"
|
|
8230
|
-
| "lint/nursery/noReactSpecificProps"
|
|
8231
|
-
| "lint/nursery/noRestrictedElements"
|
|
8519
|
+
| "lint/nursery/noNonNullAssertedOptionalChain"
|
|
8520
|
+
| "lint/nursery/noQwikUseVisibleTask"
|
|
8232
8521
|
| "lint/nursery/noSecrets"
|
|
8233
8522
|
| "lint/nursery/noShadow"
|
|
8234
|
-
| "lint/nursery/
|
|
8235
|
-
| "lint/nursery/noTsIgnore"
|
|
8236
|
-
| "lint/nursery/noUnassignedVariables"
|
|
8237
|
-
| "lint/nursery/noUndeclaredDependencies"
|
|
8238
|
-
| "lint/nursery/noUnknownAtRule"
|
|
8239
|
-
| "lint/nursery/noUnknownFunction"
|
|
8240
|
-
| "lint/nursery/noUnknownMediaFeatureName"
|
|
8241
|
-
| "lint/nursery/noUnknownProperty"
|
|
8242
|
-
| "lint/nursery/noUnknownSelectorPseudoElement"
|
|
8243
|
-
| "lint/nursery/noUnknownUnit"
|
|
8244
|
-
| "lint/nursery/noUnmatchableAnbSelector"
|
|
8523
|
+
| "lint/nursery/noUnnecessaryConditions"
|
|
8245
8524
|
| "lint/nursery/noUnresolvedImports"
|
|
8246
|
-
| "lint/nursery/noUnusedFunctionParameters"
|
|
8247
8525
|
| "lint/nursery/noUnwantedPolyfillio"
|
|
8248
8526
|
| "lint/nursery/noUselessBackrefInRegex"
|
|
8249
|
-
| "lint/nursery/noUselessEscapeInString"
|
|
8250
8527
|
| "lint/nursery/noUselessUndefined"
|
|
8528
|
+
| "lint/nursery/noVueDataObjectDeclaration"
|
|
8251
8529
|
| "lint/nursery/noVueReservedKeys"
|
|
8252
8530
|
| "lint/nursery/noVueReservedProps"
|
|
8253
|
-
| "lint/nursery/
|
|
8531
|
+
| "lint/nursery/useAnchorHref"
|
|
8254
8532
|
| "lint/nursery/useBiomeSuppressionComment"
|
|
8255
8533
|
| "lint/nursery/useConsistentObjectDefinition"
|
|
8256
|
-
| "lint/nursery/
|
|
8534
|
+
| "lint/nursery/useConsistentTypeDefinitions"
|
|
8257
8535
|
| "lint/nursery/useExhaustiveSwitchCases"
|
|
8258
8536
|
| "lint/nursery/useExplicitFunctionReturnType"
|
|
8259
8537
|
| "lint/nursery/useExplicitType"
|
|
8260
|
-
| "lint/nursery/
|
|
8261
|
-
| "lint/nursery/useForComponent"
|
|
8262
|
-
| "lint/nursery/useReactFunctionComponents"
|
|
8263
|
-
| "lint/nursery/useGoogleFontPreconnect"
|
|
8538
|
+
| "lint/nursery/useImageSize"
|
|
8264
8539
|
| "lint/nursery/useImportRestrictions"
|
|
8265
|
-
| "lint/nursery/useIndexOf"
|
|
8266
|
-
| "lint/nursery/useIterableCallbackReturn"
|
|
8267
|
-
| "lint/nursery/useJsonImportAttribute"
|
|
8268
8540
|
| "lint/nursery/useJsxCurlyBraceConvention"
|
|
8269
|
-
| "lint/nursery/
|
|
8270
|
-
| "lint/nursery/
|
|
8271
|
-
| "lint/nursery/
|
|
8272
|
-
| "lint/nursery/useObjectSpread"
|
|
8273
|
-
| "lint/nursery/useParseIntRadix"
|
|
8274
|
-
| "lint/nursery/useReadonlyClassProperties"
|
|
8275
|
-
| "lint/nursery/useSingleJsDocAsterisk"
|
|
8541
|
+
| "lint/nursery/useMaxParams"
|
|
8542
|
+
| "lint/nursery/useQwikClasslist"
|
|
8543
|
+
| "lint/nursery/useReactFunctionComponents"
|
|
8276
8544
|
| "lint/nursery/useSortedClasses"
|
|
8277
|
-
| "lint/nursery/useSortedProperties"
|
|
8278
|
-
| "lint/nursery/useSymbolDescription"
|
|
8279
|
-
| "lint/nursery/useUnifiedTypeSignature"
|
|
8280
|
-
| "lint/nursery/useUniqueElementIds"
|
|
8281
8545
|
| "lint/performance/noAccumulatingSpread"
|
|
8546
|
+
| "lint/performance/noAwaitInLoops"
|
|
8282
8547
|
| "lint/performance/noBarrelFile"
|
|
8283
8548
|
| "lint/performance/noDelete"
|
|
8284
8549
|
| "lint/performance/noDynamicNamespaceImportAccess"
|
|
8285
8550
|
| "lint/performance/noImgElement"
|
|
8286
8551
|
| "lint/performance/noNamespaceImport"
|
|
8287
8552
|
| "lint/performance/noReExportAll"
|
|
8553
|
+
| "lint/performance/noUnwantedPolyfillio"
|
|
8554
|
+
| "lint/performance/useGoogleFontPreconnect"
|
|
8555
|
+
| "lint/performance/useSolidForComponent"
|
|
8288
8556
|
| "lint/performance/useTopLevelRegex"
|
|
8289
8557
|
| "lint/security/noBlankTarget"
|
|
8290
8558
|
| "lint/security/noDangerouslySetInnerHtml"
|
|
@@ -8299,6 +8567,7 @@ type Category =
|
|
|
8299
8567
|
| "lint/style/noHeadElement"
|
|
8300
8568
|
| "lint/style/noImplicitBoolean"
|
|
8301
8569
|
| "lint/style/noInferrableTypes"
|
|
8570
|
+
| "lint/style/noMagicNumbers"
|
|
8302
8571
|
| "lint/style/noNamespace"
|
|
8303
8572
|
| "lint/style/noNegationElse"
|
|
8304
8573
|
| "lint/style/noNestedTernary"
|
|
@@ -8326,6 +8595,7 @@ type Category =
|
|
|
8326
8595
|
| "lint/style/useConsistentBuiltinInstantiation"
|
|
8327
8596
|
| "lint/style/useConsistentCurlyBraces"
|
|
8328
8597
|
| "lint/style/useConsistentMemberAccessibility"
|
|
8598
|
+
| "lint/style/useConsistentObjectDefinitions"
|
|
8329
8599
|
| "lint/style/useConst"
|
|
8330
8600
|
| "lint/style/useDefaultParameterLast"
|
|
8331
8601
|
| "lint/style/useDefaultSwitchClause"
|
|
@@ -8334,30 +8604,40 @@ type Category =
|
|
|
8334
8604
|
| "lint/style/useExplicitLengthCheck"
|
|
8335
8605
|
| "lint/style/useExponentiationOperator"
|
|
8336
8606
|
| "lint/style/useExportType"
|
|
8607
|
+
| "lint/style/useExportsLast"
|
|
8337
8608
|
| "lint/style/useFilenamingConvention"
|
|
8338
8609
|
| "lint/style/useForOf"
|
|
8339
8610
|
| "lint/style/useFragmentSyntax"
|
|
8611
|
+
| "lint/style/useGraphqlNamingConvention"
|
|
8612
|
+
| "lint/style/useGroupedAccessorPairs"
|
|
8340
8613
|
| "lint/style/useImportType"
|
|
8341
8614
|
| "lint/style/useLiteralEnumMembers"
|
|
8342
8615
|
| "lint/style/useNamingConvention"
|
|
8343
8616
|
| "lint/style/useNodeAssertStrict"
|
|
8344
8617
|
| "lint/style/useNodejsImportProtocol"
|
|
8345
8618
|
| "lint/style/useNumberNamespace"
|
|
8619
|
+
| "lint/style/useNumericSeparators"
|
|
8620
|
+
| "lint/style/useObjectSpread"
|
|
8621
|
+
| "lint/style/useReadonlyClassProperties"
|
|
8346
8622
|
| "lint/style/useSelfClosingElements"
|
|
8347
8623
|
| "lint/style/useShorthandArrayType"
|
|
8348
8624
|
| "lint/style/useShorthandAssign"
|
|
8349
8625
|
| "lint/style/useShorthandFunctionType"
|
|
8350
8626
|
| "lint/style/useSingleCaseStatement"
|
|
8351
8627
|
| "lint/style/useSingleVarDeclarator"
|
|
8628
|
+
| "lint/style/useSymbolDescription"
|
|
8352
8629
|
| "lint/style/useTemplate"
|
|
8353
8630
|
| "lint/style/useThrowNewError"
|
|
8354
8631
|
| "lint/style/useThrowOnlyError"
|
|
8355
8632
|
| "lint/style/useTrimStartEnd"
|
|
8633
|
+
| "lint/style/useUnifiedTypeSignatures"
|
|
8356
8634
|
| "lint/suspicious/noAlert"
|
|
8357
8635
|
| "lint/suspicious/noApproximativeNumericConstant"
|
|
8358
8636
|
| "lint/suspicious/noArrayIndexKey"
|
|
8359
8637
|
| "lint/suspicious/noAssignInExpressions"
|
|
8360
8638
|
| "lint/suspicious/noAsyncPromiseExecutor"
|
|
8639
|
+
| "lint/suspicious/noBiomeFirstException"
|
|
8640
|
+
| "lint/suspicious/noBitwiseOperators"
|
|
8361
8641
|
| "lint/suspicious/noCatchAssign"
|
|
8362
8642
|
| "lint/suspicious/noClassAssign"
|
|
8363
8643
|
| "lint/suspicious/noCommentText"
|
|
@@ -8366,6 +8646,7 @@ type Category =
|
|
|
8366
8646
|
| "lint/suspicious/noConfusingVoidType"
|
|
8367
8647
|
| "lint/suspicious/noConsole"
|
|
8368
8648
|
| "lint/suspicious/noConstEnum"
|
|
8649
|
+
| "lint/suspicious/noConstantBinaryExpressions"
|
|
8369
8650
|
| "lint/suspicious/noControlCharactersInRegex"
|
|
8370
8651
|
| "lint/suspicious/noDebugger"
|
|
8371
8652
|
| "lint/suspicious/noDocumentCookie"
|
|
@@ -8409,6 +8690,7 @@ type Category =
|
|
|
8409
8690
|
| "lint/suspicious/noMisrefactoredShorthandAssign"
|
|
8410
8691
|
| "lint/suspicious/noOctalEscape"
|
|
8411
8692
|
| "lint/suspicious/noPrototypeBuiltins"
|
|
8693
|
+
| "lint/suspicious/noQuickfixBiome"
|
|
8412
8694
|
| "lint/suspicious/noReactSpecificProps"
|
|
8413
8695
|
| "lint/suspicious/noRedeclare"
|
|
8414
8696
|
| "lint/suspicious/noRedundantUseStrict"
|
|
@@ -8420,12 +8702,19 @@ type Category =
|
|
|
8420
8702
|
| "lint/suspicious/noSuspiciousSemicolonInJsx"
|
|
8421
8703
|
| "lint/suspicious/noTemplateCurlyInString"
|
|
8422
8704
|
| "lint/suspicious/noThenProperty"
|
|
8705
|
+
| "lint/suspicious/noTsIgnore"
|
|
8706
|
+
| "lint/suspicious/noUnassignedVariables"
|
|
8707
|
+
| "lint/suspicious/noUnknownAtRules"
|
|
8423
8708
|
| "lint/suspicious/noUnsafeDeclarationMerging"
|
|
8424
8709
|
| "lint/suspicious/noUnsafeNegation"
|
|
8710
|
+
| "lint/suspicious/noUselessRegexBackrefs"
|
|
8711
|
+
| "lint/suspicious/noUselessEscapeInString"
|
|
8425
8712
|
| "lint/suspicious/noVar"
|
|
8426
8713
|
| "lint/suspicious/noWith"
|
|
8427
8714
|
| "lint/suspicious/useAdjacentOverloadSignatures"
|
|
8428
8715
|
| "lint/suspicious/useAwait"
|
|
8716
|
+
| "lint/suspicious/useBiomeIgnoreFolder"
|
|
8717
|
+
| "lint/suspicious/useIterableCallbackReturn"
|
|
8429
8718
|
| "lint/suspicious/useDefaultSwitchClauseLast"
|
|
8430
8719
|
| "lint/suspicious/useErrorMessage"
|
|
8431
8720
|
| "lint/suspicious/useGetterReturn"
|
|
@@ -8434,6 +8723,7 @@ type Category =
|
|
|
8434
8723
|
| "lint/suspicious/useIsArray"
|
|
8435
8724
|
| "lint/suspicious/useNamespaceKeyword"
|
|
8436
8725
|
| "lint/suspicious/useNumberToFixedDigitsArgument"
|
|
8726
|
+
| "lint/suspicious/useStaticResponseMethods"
|
|
8437
8727
|
| "lint/suspicious/useStrictMode"
|
|
8438
8728
|
| "assist/source/useSortedKeys"
|
|
8439
8729
|
| "assist/source/useSortedProperties"
|
|
@@ -8545,10 +8835,6 @@ interface BacktraceSymbol {
|
|
|
8545
8835
|
name?: string;
|
|
8546
8836
|
}
|
|
8547
8837
|
interface OpenProjectParams {
|
|
8548
|
-
/**
|
|
8549
|
-
* Whether the client wants to run only certain rules. This is needed to compute the kind of [ScanKind].
|
|
8550
|
-
*/
|
|
8551
|
-
onlyRules?: RuleCode[];
|
|
8552
8838
|
/**
|
|
8553
8839
|
* Whether the folder should be opened as a project, even if no `biome.json` can be found.
|
|
8554
8840
|
*/
|
|
@@ -8557,21 +8843,27 @@ interface OpenProjectParams {
|
|
|
8557
8843
|
* The path to open
|
|
8558
8844
|
*/
|
|
8559
8845
|
path: BiomePath;
|
|
8560
|
-
/**
|
|
8561
|
-
* Whether the client wants to skip some lint rule. This is needed to compute the kind of [ScanKind].
|
|
8562
|
-
*/
|
|
8563
|
-
skipRules?: RuleCode[];
|
|
8564
8846
|
}
|
|
8565
|
-
type RuleCode = string;
|
|
8566
8847
|
interface OpenProjectResult {
|
|
8567
8848
|
/**
|
|
8568
8849
|
* A unique identifier for this project
|
|
8569
8850
|
*/
|
|
8570
8851
|
projectKey: ProjectKey;
|
|
8852
|
+
}
|
|
8853
|
+
interface ScanProjectParams {
|
|
8571
8854
|
/**
|
|
8572
|
-
*
|
|
8855
|
+
* Forces scanning of the folder, even if it is already being watched.
|
|
8573
8856
|
*/
|
|
8857
|
+
force: boolean;
|
|
8858
|
+
projectKey: ProjectKey;
|
|
8574
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;
|
|
8575
8867
|
}
|
|
8576
8868
|
type ScanKind =
|
|
8577
8869
|
| "noScanner"
|
|
@@ -8593,6 +8885,24 @@ Target paths must be absolute.
|
|
|
8593
8885
|
};
|
|
8594
8886
|
}
|
|
8595
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
|
+
}
|
|
8596
8906
|
interface OpenFileParams {
|
|
8597
8907
|
content: FileContent;
|
|
8598
8908
|
documentFileSource?: DocumentFileSource;
|
|
@@ -8652,8 +8962,13 @@ type LanguageVersion = "eS2022" | "eSNext";
|
|
|
8652
8962
|
type JsonFileVariant = "standard" | "jsonc";
|
|
8653
8963
|
type CssVariant = "standard";
|
|
8654
8964
|
type GraphqlVariant = "standard";
|
|
8655
|
-
type HtmlVariant =
|
|
8965
|
+
type HtmlVariant =
|
|
8966
|
+
| { Standard: HtmlTextExpressions }
|
|
8967
|
+
| "Astro"
|
|
8968
|
+
| "Vue"
|
|
8969
|
+
| "Svelte";
|
|
8656
8970
|
type GritVariant = "Standard";
|
|
8971
|
+
type HtmlTextExpressions = "None" | "Single" | "Double";
|
|
8657
8972
|
interface ChangeFileParams {
|
|
8658
8973
|
content: string;
|
|
8659
8974
|
path: BiomePath;
|
|
@@ -8664,6 +8979,33 @@ interface CloseFileParams {
|
|
|
8664
8979
|
path: BiomePath;
|
|
8665
8980
|
projectKey: ProjectKey;
|
|
8666
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";
|
|
8667
9009
|
interface GetSyntaxTreeParams {
|
|
8668
9010
|
path: BiomePath;
|
|
8669
9011
|
projectKey: ProjectKey;
|
|
@@ -8672,9 +9014,6 @@ interface GetSyntaxTreeResult {
|
|
|
8672
9014
|
ast: string;
|
|
8673
9015
|
cst: string;
|
|
8674
9016
|
}
|
|
8675
|
-
interface FileExitsParams {
|
|
8676
|
-
filePath: BiomePath;
|
|
8677
|
-
}
|
|
8678
9017
|
interface CheckFileSizeParams {
|
|
8679
9018
|
path: BiomePath;
|
|
8680
9019
|
projectKey: ProjectKey;
|
|
@@ -8708,6 +9047,36 @@ interface GetSemanticModelParams {
|
|
|
8708
9047
|
path: BiomePath;
|
|
8709
9048
|
projectKey: ProjectKey;
|
|
8710
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
|
+
}
|
|
8711
9080
|
interface PullDiagnosticsParams {
|
|
8712
9081
|
categories: RuleCategories;
|
|
8713
9082
|
/**
|
|
@@ -8724,6 +9093,7 @@ interface PullDiagnosticsParams {
|
|
|
8724
9093
|
skip?: RuleCode[];
|
|
8725
9094
|
}
|
|
8726
9095
|
type RuleCategories = RuleCategory[];
|
|
9096
|
+
type RuleCode = string;
|
|
8727
9097
|
type RuleCategory = "syntax" | "lint" | "action" | "transformation";
|
|
8728
9098
|
interface PullDiagnosticsResult {
|
|
8729
9099
|
diagnostics: Diagnostic[];
|
|
@@ -8908,6 +9278,7 @@ export class Workspace {
|
|
|
8908
9278
|
fileFeatures(params: SupportsFeatureParams): FileFeaturesResult;
|
|
8909
9279
|
updateSettings(params: UpdateSettingsParams): UpdateSettingsResult;
|
|
8910
9280
|
openProject(params: OpenProjectParams): OpenProjectResult;
|
|
9281
|
+
scanProject(params: ScanProjectParams): ScanProjectResult;
|
|
8911
9282
|
openFile(params: OpenFileParams): void;
|
|
8912
9283
|
getFileContent(params: GetFileContentParams): string;
|
|
8913
9284
|
getSyntaxTree(params: GetSyntaxTreeParams): GetSyntaxTreeResult;
|
|
@@ -8918,6 +9289,10 @@ export class Workspace {
|
|
|
8918
9289
|
getSemanticModel(params: GetSemanticModelParams): string;
|
|
8919
9290
|
changeFile(params: ChangeFileParams): void;
|
|
8920
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;
|
|
8921
9296
|
pullDiagnostics(params: PullDiagnosticsParams): PullDiagnosticsResult;
|
|
8922
9297
|
pullActions(params: PullActionsParams): PullActionsResult;
|
|
8923
9298
|
formatFile(params: FormatFileParams): any;
|