@flint.fyi/ts 0.18.1 → 0.19.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.
Files changed (303) hide show
  1. package/lib/plugin.d.ts +1220 -1206
  2. package/lib/plugin.js +3 -0
  3. package/lib/rules/accessorPairGroups.d.ts +4 -4
  4. package/lib/rules/accessorPairTypes.d.ts +4 -4
  5. package/lib/rules/accessorThisRecursion.d.ts +4 -4
  6. package/lib/rules/anyArguments.d.ts +4 -4
  7. package/lib/rules/anyAssignments.d.ts +4 -4
  8. package/lib/rules/anyCalls.d.ts +4 -4
  9. package/lib/rules/anyMemberAccess.d.ts +4 -4
  10. package/lib/rules/anyReturns.d.ts +4 -4
  11. package/lib/rules/arguments.d.ts +4 -4
  12. package/lib/rules/arrayCallbackReturns.d.ts +4 -4
  13. package/lib/rules/arrayConstructors.d.ts +4 -4
  14. package/lib/rules/arrayDeleteUnnecessaryCounts.d.ts +4 -4
  15. package/lib/rules/arrayElementDeletions.d.ts +4 -4
  16. package/lib/rules/arrayEmptyCallbackSlots.d.ts +4 -4
  17. package/lib/rules/arrayExistenceChecksConsistency.d.ts +4 -4
  18. package/lib/rules/arrayFilteredFinds.d.ts +4 -4
  19. package/lib/rules/arrayFinds.d.ts +4 -4
  20. package/lib/rules/arrayFlatMapMethods.d.ts +4 -4
  21. package/lib/rules/arrayFlatMethods.d.ts +4 -4
  22. package/lib/rules/arrayFlatUnnecessaryDepths.d.ts +4 -4
  23. package/lib/rules/arrayIncludes.d.ts +4 -4
  24. package/lib/rules/arrayIncludesMethods.d.ts +4 -4
  25. package/lib/rules/arrayIndexOfMethods.d.ts +4 -4
  26. package/lib/rules/arrayLoops.d.ts +4 -4
  27. package/lib/rules/arrayMapIdentities.d.ts +4 -4
  28. package/lib/rules/arrayMutableReverses.d.ts +4 -4
  29. package/lib/rules/arrayMutableSorts.d.ts +4 -4
  30. package/lib/rules/arrayReduceTypeArguments.d.ts +4 -4
  31. package/lib/rules/arraySliceUnnecessaryEnd.d.ts +4 -4
  32. package/lib/rules/arraySomeMethods.d.ts +4 -4
  33. package/lib/rules/arrayTernarySpreadingConsistency.d.ts +4 -4
  34. package/lib/rules/arrayTypes.d.ts +5 -5
  35. package/lib/rules/arrayUnnecessaryLengthChecks.d.ts +4 -4
  36. package/lib/rules/asConstAssertions.d.ts +4 -4
  37. package/lib/rules/assignmentOperatorShorthands.d.ts +4 -4
  38. package/lib/rules/asyncPromiseExecutors.d.ts +4 -4
  39. package/lib/rules/asyncUnnecessaryPromiseWrappers.d.ts +4 -4
  40. package/lib/rules/atAccesses.d.ts +4 -4
  41. package/lib/rules/builtinCoercions.d.ts +4 -4
  42. package/lib/rules/builtinConstructorNews.d.ts +4 -4
  43. package/lib/rules/caseDeclarations.d.ts +4 -4
  44. package/lib/rules/caseDuplicates.d.ts +4 -4
  45. package/lib/rules/caseFallthroughs.d.ts +4 -4
  46. package/lib/rules/catchCallbackTypes.d.ts +4 -4
  47. package/lib/rules/caughtVariableNames.d.ts +4 -4
  48. package/lib/rules/chainedAssignments.d.ts +4 -4
  49. package/lib/rules/charAtComparisons.d.ts +4 -4
  50. package/lib/rules/classAssignments.d.ts +4 -4
  51. package/lib/rules/classFieldDeclarations.d.ts +4 -4
  52. package/lib/rules/classLiteralProperties.d.ts +4 -4
  53. package/lib/rules/classMemberDuplicates.d.ts +4 -4
  54. package/lib/rules/classMethodsThis.d.ts +6 -6
  55. package/lib/rules/combinedPushes.d.ts +4 -4
  56. package/lib/rules/consecutiveNonNullAssertions.d.ts +4 -4
  57. package/lib/rules/consoleCalls.d.ts +3 -3
  58. package/lib/rules/constantAssignments.d.ts +4 -4
  59. package/lib/rules/constructorGenericCalls.d.ts +4 -4
  60. package/lib/rules/constructorReturns.d.ts +4 -4
  61. package/lib/rules/constructorSupers.d.ts +4 -4
  62. package/lib/rules/dateConstructorClones.d.ts +4 -4
  63. package/lib/rules/dateNowTimestamps.d.ts +4 -4
  64. package/lib/rules/debuggerStatements.d.ts +4 -4
  65. package/lib/rules/defaultCaseLast.d.ts +4 -4
  66. package/lib/rules/defaultParameterLast.d.ts +4 -4
  67. package/lib/rules/deprecated.d.ts +4 -4
  68. package/lib/rules/destructuringConsistency.d.ts +4 -4
  69. package/lib/rules/duplicateArguments.d.ts +4 -4
  70. package/lib/rules/dynamicDeletes.d.ts +4 -4
  71. package/lib/rules/elseIfDuplicates.d.ts +4 -4
  72. package/lib/rules/elseReturns.d.ts +4 -4
  73. package/lib/rules/emptyBlocks.d.ts +4 -4
  74. package/lib/rules/emptyDestructures.d.ts +4 -4
  75. package/lib/rules/emptyEnums.d.ts +4 -4
  76. package/lib/rules/emptyExports.d.ts +4 -4
  77. package/lib/rules/emptyFiles.d.ts +4 -4
  78. package/lib/rules/emptyFunctions.d.ts +4 -4
  79. package/lib/rules/emptyModuleAttributes.d.ts +4 -4
  80. package/lib/rules/emptyObjectTypes.d.ts +4 -4
  81. package/lib/rules/emptyStaticBlocks.d.ts +4 -4
  82. package/lib/rules/emptyTypeParameterLists.d.ts +4 -4
  83. package/lib/rules/enumInitializers.d.ts +4 -4
  84. package/lib/rules/enumMemberLiterals.d.ts +4 -4
  85. package/lib/rules/enumValueConsistency.d.ts +4 -4
  86. package/lib/rules/enumValueDuplicates.d.ts +4 -4
  87. package/lib/rules/equalityOperatorNegations.d.ts +3 -3
  88. package/lib/rules/equalityOperators.d.ts +4 -4
  89. package/lib/rules/errorMessages.d.ts +4 -4
  90. package/lib/rules/errorSubclassProperties.d.ts +4 -4
  91. package/lib/rules/errorUnnecessaryCaptureStackTraces.d.ts +4 -4
  92. package/lib/rules/escapeSequenceCasing.d.ts +4 -4
  93. package/lib/rules/evals.d.ts +4 -4
  94. package/lib/rules/evolvingVariableTypes.d.ts +4 -4
  95. package/lib/rules/exceptionAssignments.d.ts +4 -4
  96. package/lib/rules/explicitAnys.d.ts +4 -4
  97. package/lib/rules/exponentiationOperators.d.ts +4 -4
  98. package/lib/rules/exportFromImports.d.ts +4 -4
  99. package/lib/rules/exportMutables.d.ts +4 -4
  100. package/lib/rules/exportUniqueNames.d.ts +4 -4
  101. package/lib/rules/extraneousClasses.d.ts +4 -4
  102. package/lib/rules/fetchMethodBodies.d.ts +4 -4
  103. package/lib/rules/finallyStatementSafety.d.ts +4 -4
  104. package/lib/rules/forDirections.d.ts +4 -4
  105. package/lib/rules/forInArrays.d.ts +4 -4
  106. package/lib/rules/forInGuards.d.ts +3 -3
  107. package/lib/rules/functionApplySpreads.d.ts +4 -4
  108. package/lib/rules/functionAssignments.d.ts +4 -4
  109. package/lib/rules/functionCurryingRedundancy.d.ts +4 -4
  110. package/lib/rules/functionDeclarationStyles.d.ts +5 -5
  111. package/lib/rules/functionNameMatches.d.ts +4 -4
  112. package/lib/rules/functionNewCalls.d.ts +4 -4
  113. package/lib/rules/generatorFunctionYields.d.ts +4 -4
  114. package/lib/rules/getterReturns.d.ts +4 -4
  115. package/lib/rules/globalAssignments.d.ts +4 -4
  116. package/lib/rules/globalObjectCalls.d.ts +4 -4
  117. package/lib/rules/globalThisAliases.d.ts +4 -4
  118. package/lib/rules/impliedEvals.d.ts +4 -4
  119. package/lib/rules/importEmptyBlocks.d.ts +4 -4
  120. package/lib/rules/importTypeSideEffects.d.ts +4 -4
  121. package/lib/rules/indexedObjectTypes.d.ts +5 -5
  122. package/lib/rules/instanceOfArrays.d.ts +4 -4
  123. package/lib/rules/irregularWhitespaces.d.ts +8 -8
  124. package/lib/rules/isNaNComparisons.d.ts +4 -4
  125. package/lib/rules/literalConstructorWrappers.d.ts +4 -4
  126. package/lib/rules/mathMethods.d.ts +4 -4
  127. package/lib/rules/meaninglessVoidOperators.d.ts +4 -4
  128. package/lib/rules/misleadingVoidExpressions.d.ts +4 -4
  129. package/lib/rules/moduleSpecifierLists.d.ts +4 -4
  130. package/lib/rules/multilineAmbiguities.d.ts +4 -4
  131. package/lib/rules/namedDefaultExports.d.ts +4 -4
  132. package/lib/rules/namespaceDeclarations.d.ts +6 -6
  133. package/lib/rules/namespaceImplicitAmbientImports.d.ts +4 -4
  134. package/lib/rules/namespaceKeywords.d.ts +4 -4
  135. package/lib/rules/nativeObjectExtensions.d.ts +4 -4
  136. package/lib/rules/negativeIndexLengthMethods.d.ts +4 -4
  137. package/lib/rules/negativeZeroComparisons.d.ts +4 -4
  138. package/lib/rules/nestedStandaloneIfs.d.ts +4 -4
  139. package/lib/rules/newDefinitions.d.ts +4 -4
  140. package/lib/rules/newExpressions.d.ts +4 -4
  141. package/lib/rules/newNativeNonConstructors.d.ts +4 -4
  142. package/lib/rules/nonNullAssertedNullishCoalesces.d.ts +4 -4
  143. package/lib/rules/nonNullAssertedOptionalChains.d.ts +4 -4
  144. package/lib/rules/nonNullAssertionPlacement.d.ts +4 -4
  145. package/lib/rules/nonNullableTypeAssertions.d.ts +4 -4
  146. package/lib/rules/nonOctalDecimalEscapes.d.ts +4 -4
  147. package/lib/rules/nullishCheckStyle.d.ts +5 -5
  148. package/lib/rules/nullishCoalescingOperators.d.ts +9 -9
  149. package/lib/rules/numberMethodRanges.d.ts +4 -4
  150. package/lib/rules/numberStaticMethods.d.ts +4 -4
  151. package/lib/rules/numericErasingOperations.d.ts +4 -4
  152. package/lib/rules/numericLiteralParsing.d.ts +4 -4
  153. package/lib/rules/numericPrecision.d.ts +4 -4
  154. package/lib/rules/numericSeparatorGroups.d.ts +4 -4
  155. package/lib/rules/objectAssignSpreads.d.ts +4 -4
  156. package/lib/rules/objectCalls.d.ts +4 -4
  157. package/lib/rules/objectEntriesMethods.d.ts +4 -4
  158. package/lib/rules/objectHasOwns.d.ts +4 -4
  159. package/lib/rules/objectKeyDuplicates.d.ts +4 -4
  160. package/lib/rules/objectProto.d.ts +4 -4
  161. package/lib/rules/objectPrototypeBuiltIns.d.ts +4 -4
  162. package/lib/rules/objectShorthand.d.ts +4 -4
  163. package/lib/rules/objectSpreadUnnecessaryFallbacks.d.ts +4 -4
  164. package/lib/rules/objectTypeDefinitions.d.ts +4 -4
  165. package/lib/rules/octalEscapes.d.ts +4 -4
  166. package/lib/rules/octalNumbers.d.ts +4 -4
  167. package/lib/rules/operatorAssignmentShorthand.d.ts +4 -4
  168. package/lib/rules/overloadSignaturesAdjacent.d.ts +4 -4
  169. package/lib/rules/parameterReassignments.d.ts +4 -4
  170. package/lib/rules/parseIntRadixes.d.ts +4 -4
  171. package/lib/rules/propertyAccessNotation.d.ts +5 -5
  172. package/lib/rules/recursionOnlyArguments.d.ts +4 -4
  173. package/lib/rules/redundantTypeConstituents.d.ts +4 -4
  174. package/lib/rules/regexAllGlobalFlags.d.ts +4 -4
  175. package/lib/rules/regexAmbiguousInvalidity.d.ts +4 -4
  176. package/lib/rules/regexCharacterClassRanges.d.ts +4 -4
  177. package/lib/rules/regexCharacterClassSetOperations.d.ts +4 -4
  178. package/lib/rules/regexCharacterClasses.d.ts +4 -4
  179. package/lib/rules/regexConciseCharacterClassNegations.d.ts +4 -4
  180. package/lib/rules/regexContradictoryAssertions.d.ts +4 -4
  181. package/lib/rules/regexControlCharacterEscapes.d.ts +4 -4
  182. package/lib/rules/regexControlCharacters.d.ts +4 -4
  183. package/lib/rules/regexDigitMatchers.d.ts +4 -4
  184. package/lib/rules/regexDollarEscapes.d.ts +4 -4
  185. package/lib/rules/regexDuplicateCharacterClassCharacters.d.ts +4 -4
  186. package/lib/rules/regexEmptyAlternatives.d.ts +4 -4
  187. package/lib/rules/regexEmptyCapturingGroups.d.ts +4 -4
  188. package/lib/rules/regexEmptyCharacterClasses.d.ts +4 -4
  189. package/lib/rules/regexEmptyGroups.d.ts +4 -4
  190. package/lib/rules/regexEmptyLazyQuantifiers.d.ts +4 -4
  191. package/lib/rules/regexEmptyLookaroundsAssertions.d.ts +4 -4
  192. package/lib/rules/regexEmptyStringLiterals.d.ts +4 -4
  193. package/lib/rules/regexEscapeBackspaces.d.ts +4 -4
  194. package/lib/rules/regexExecutors.d.ts +4 -4
  195. package/lib/rules/regexGraphemeStringLiterals.d.ts +4 -4
  196. package/lib/rules/regexHexadecimalEscapes.d.ts +4 -4
  197. package/lib/rules/regexIgnoreCaseFlags.d.ts +4 -4
  198. package/lib/rules/regexInvisibleCharacters.d.ts +4 -4
  199. package/lib/rules/regexLetterCasing.d.ts +4 -4
  200. package/lib/rules/regexLiterals.d.ts +4 -4
  201. package/lib/rules/regexLookaroundAssertions.d.ts +4 -4
  202. package/lib/rules/regexLookaroundQuantifierOptimizations.d.ts +4 -4
  203. package/lib/rules/regexMatchNotation.d.ts +4 -4
  204. package/lib/rules/regexMisleadingCapturingGroups.d.ts +4 -4
  205. package/lib/rules/regexMisleadingQuantifiers.d.ts +4 -4
  206. package/lib/rules/regexMisleadingUnicodeCharacters.d.ts +4 -4
  207. package/lib/rules/regexNamedBackreferences.d.ts +4 -4
  208. package/lib/rules/regexNamedCaptureGroups.d.ts +3 -3
  209. package/lib/rules/regexNamedReplacements.d.ts +4 -4
  210. package/lib/rules/regexNonStandardFlags.d.ts +4 -4
  211. package/lib/rules/regexObscureRanges.d.ts +4 -4
  212. package/lib/rules/regexOctalEscapes.d.ts +4 -4
  213. package/lib/rules/regexPlusQuantifiers.d.ts +4 -4
  214. package/lib/rules/regexPredefinedAssertions.d.ts +4 -4
  215. package/lib/rules/regexQuestionQuantifiers.d.ts +4 -4
  216. package/lib/rules/regexRepeatQuantifiers.d.ts +4 -4
  217. package/lib/rules/regexResultArrayGroups.d.ts +4 -4
  218. package/lib/rules/regexSetOperationOptimizations.d.ts +4 -4
  219. package/lib/rules/regexStandaloneBackslashes.d.ts +4 -4
  220. package/lib/rules/regexStarQuantifiers.d.ts +4 -4
  221. package/lib/rules/regexSuperLinearBacktracking.d.ts +4 -4
  222. package/lib/rules/regexSuperLinearMoves.d.ts +4 -4
  223. package/lib/rules/regexTestMethods.d.ts +4 -4
  224. package/lib/rules/regexUnicodeCodepointEscapes.d.ts +4 -4
  225. package/lib/rules/regexUnicodeEscapes.d.ts +3 -3
  226. package/lib/rules/regexUnicodeFlag.d.ts +3 -3
  227. package/lib/rules/regexUnicodeProperties.d.ts +4 -4
  228. package/lib/rules/regexUnnecessaryAssertions.d.ts +4 -4
  229. package/lib/rules/regexUnnecessaryBackreferences.d.ts +4 -4
  230. package/lib/rules/regexUnnecessaryCharacterClasses.d.ts +4 -4
  231. package/lib/rules/regexUnnecessaryCharacterRanges.d.ts +4 -4
  232. package/lib/rules/regexUnnecessaryDisjunctions.d.ts +4 -4
  233. package/lib/rules/regexUnnecessaryDollarReplacements.d.ts +4 -4
  234. package/lib/rules/regexUnnecessaryEscapes.d.ts +4 -4
  235. package/lib/rules/regexUnnecessaryLookaroundAssertions.d.ts +4 -4
  236. package/lib/rules/regexUnnecessaryNestedAssertions.d.ts +4 -4
  237. package/lib/rules/regexUnnecessaryNestedQuantifiers.d.ts +4 -4
  238. package/lib/rules/regexUnnecessaryNonCapturingGroups.d.ts +4 -4
  239. package/lib/rules/regexUnnecessaryNumericQuantifiers.d.ts +4 -4
  240. package/lib/rules/regexUnnecessaryOptionalAssertions.d.ts +4 -4
  241. package/lib/rules/regexUnnecessaryReferentialBackreferences.d.ts +4 -4
  242. package/lib/rules/regexUnnecessarySetOperands.d.ts +4 -4
  243. package/lib/rules/regexUnusedCapturingGroups.d.ts +4 -4
  244. package/lib/rules/regexUnusedFlags.d.ts +4 -4
  245. package/lib/rules/regexUnusedLazyQuantifiers.d.ts +4 -4
  246. package/lib/rules/regexUnusedQuantifiers.d.ts +4 -4
  247. package/lib/rules/regexValidity.d.ts +4 -4
  248. package/lib/rules/regexWordMatchers.d.ts +4 -4
  249. package/lib/rules/regexZeroQuantifiers.d.ts +4 -4
  250. package/lib/rules/requireImports.d.ts +10 -0
  251. package/lib/rules/requireImports.js +48 -0
  252. package/lib/rules/responseJsonMethods.d.ts +4 -4
  253. package/lib/rules/restrictedIdentifiers.d.ts +5 -5
  254. package/lib/rules/returnAssignments.d.ts +4 -4
  255. package/lib/rules/returnThisTypes.d.ts +4 -4
  256. package/lib/rules/ruleCreator.d.ts +1 -1
  257. package/lib/rules/selfAssignments.d.ts +4 -4
  258. package/lib/rules/sequences.d.ts +4 -4
  259. package/lib/rules/setSizeLengthChecks.d.ts +4 -4
  260. package/lib/rules/setterReturns.d.ts +4 -4
  261. package/lib/rules/shadowedRestrictedNames.d.ts +4 -4
  262. package/lib/rules/singleVariableDeclarations.d.ts +4 -4
  263. package/lib/rules/sizeComparisonOperators.d.ts +5 -5
  264. package/lib/rules/sparseArrays.d.ts +4 -4
  265. package/lib/rules/staticMemberOnlyClasses.d.ts +4 -4
  266. package/lib/rules/stringCaseMismatches.d.ts +4 -4
  267. package/lib/rules/stringCodePoints.d.ts +4 -4
  268. package/lib/rules/stringSliceMethods.d.ts +4 -4
  269. package/lib/rules/stringStartsEndsWith.d.ts +4 -4
  270. package/lib/rules/structuredCloneMethods.d.ts +4 -4
  271. package/lib/rules/symbolDescriptions.d.ts +4 -4
  272. package/lib/rules/thisAliases.d.ts +4 -4
  273. package/lib/rules/thisBeforeSuper.d.ts +4 -4
  274. package/lib/rules/throwErrors.d.ts +4 -4
  275. package/lib/rules/topLevelAwaits.d.ts +4 -4
  276. package/lib/rules/tripleSlashReferenceValidity.d.ts +4 -4
  277. package/lib/rules/tripleSlashReferences.d.ts +4 -4
  278. package/lib/rules/tsComments.d.ts +4 -4
  279. package/lib/rules/tslintComments.d.ts +4 -4
  280. package/lib/rules/typeAssertionStyles.d.ts +4 -4
  281. package/lib/rules/typeofComparisons.d.ts +4 -4
  282. package/lib/rules/unassignedVariables.d.ts +4 -4
  283. package/lib/rules/undefinedTypeofChecks.d.ts +4 -4
  284. package/lib/rules/undefinedVariables.d.ts +4 -4
  285. package/lib/rules/unicodeBOMs.d.ts +4 -4
  286. package/lib/rules/unnecessaryBinds.d.ts +4 -4
  287. package/lib/rules/unnecessaryBlocks.d.ts +4 -4
  288. package/lib/rules/unnecessaryBooleanCasts.d.ts +4 -4
  289. package/lib/rules/unnecessaryCatches.d.ts +4 -4
  290. package/lib/rules/unnecessaryComparisons.d.ts +4 -4
  291. package/lib/rules/unnecessaryConcatenation.d.ts +4 -4
  292. package/lib/rules/unnecessaryEscapes.d.ts +4 -4
  293. package/lib/rules/unnecessaryMathClamps.d.ts +4 -4
  294. package/lib/rules/unnecessaryNumericFractions.d.ts +4 -4
  295. package/lib/rules/unnecessaryRenames.d.ts +4 -4
  296. package/lib/rules/unnecessaryTernaries.d.ts +4 -4
  297. package/lib/rules/unnecessaryUseStricts.d.ts +4 -4
  298. package/lib/rules/unsafeNegations.d.ts +4 -4
  299. package/lib/rules/variableDeletions.d.ts +4 -4
  300. package/lib/rules/voidOperator.d.ts +4 -4
  301. package/lib/rules/withStatements.d.ts +4 -4
  302. package/lib/rules/wrapperObjects.d.ts +4 -4
  303. package/package.json +5 -5
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports empty alternatives in regular expressions that may indicate a mistake.";
3
3
  readonly id: "regexEmptyAlternatives";
4
- readonly presets: ["logical", "logicalStrict"];
4
+ readonly presets: readonly ["logical", "logicalStrict"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "emptyAlternative", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "emptyAlternative", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexEmptyAlternatives.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports capturing groups that only capture empty strings.";
3
3
  readonly id: "regexEmptyCapturingGroups";
4
- readonly presets: ["logical", "logicalStrict"];
4
+ readonly presets: readonly ["logical", "logicalStrict"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "emptyCapture", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "emptyCapture", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexEmptyCapturingGroups.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports character classes that match no characters.";
3
3
  readonly id: "regexEmptyCharacterClasses";
4
- readonly presets: ["logical", "logicalStrict"];
4
+ readonly presets: readonly ["logical", "logicalStrict"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "empty", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "empty", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexEmptyCharacterClasses.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports empty groups in regular expressions.";
3
3
  readonly id: "regexEmptyGroups";
4
- readonly presets: ["logical", "logicalStrict"];
4
+ readonly presets: readonly ["logical", "logicalStrict"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "emptyGroup", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "emptyGroup", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexEmptyGroups.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports lazy quantifiers at the end of regular expressions.";
3
3
  readonly id: "regexEmptyLazyQuantifiers";
4
- readonly presets: ["logical"];
4
+ readonly presets: readonly ["logical"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "uselessElement" | "uselessQuantifier" | "uselessRange", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "uselessElement" | "uselessQuantifier" | "uselessRange", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexEmptyLazyQuantifiers.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports empty lookahead and lookbehind assertions in regular expressions.";
3
3
  readonly id: "regexEmptyLookaroundsAssertions";
4
- readonly presets: ["logical", "logicalStrict"];
4
+ readonly presets: readonly ["logical", "logicalStrict"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "emptyLookaround", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "emptyLookaround", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexEmptyLookaroundsAssertions.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports empty string literals in character classes.";
3
3
  readonly id: "regexEmptyStringLiterals";
4
- readonly presets: ["logical", "logicalStrict"];
4
+ readonly presets: readonly ["logical", "logicalStrict"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "emptyStringLiteral", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "emptyStringLiteral", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexEmptyStringLiterals.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports escape backspace (`[\\b]`) in character classes.";
3
3
  readonly id: "regexEscapeBackspaces";
4
- readonly presets: ["stylistic", "stylisticStrict"];
4
+ readonly presets: readonly ["stylistic", "stylisticStrict"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "escapeBackspace", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "escapeBackspace", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexEscapeBackspaces.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports String.prototype.match calls that can be replaced with RegExp.prototype.exec.";
3
3
  readonly id: "regexExecutors";
4
- readonly presets: ["stylisticStrict"];
4
+ readonly presets: readonly ["stylisticStrict"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "preferExec", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "preferExec", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexExecutors.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports string literals inside character classes with the `v` flag that contain multiple graphemes.";
3
3
  readonly id: "regexGraphemeStringLiterals";
4
- readonly presets: ["stylisticStrict"];
4
+ readonly presets: readonly ["stylisticStrict"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "multipleGraphemes", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "multipleGraphemes", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexGraphemeStringLiterals.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports regex character escapes that can be expressed more consistently using hexadecimal escapes.";
3
3
  readonly id: "regexHexadecimalEscapes";
4
- readonly presets: ["stylisticStrict"];
4
+ readonly presets: readonly ["stylisticStrict"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "preferHexEscape", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "preferHexEscape", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexHexadecimalEscapes.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports regex patterns that can be simplified by using the i (ignore case) flag.";
3
3
  readonly id: "regexIgnoreCaseFlags";
4
- readonly presets: ["logical", "logicalStrict"];
4
+ readonly presets: readonly ["logical", "logicalStrict"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "useIgnoreCase", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "useIgnoreCase", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexIgnoreCaseFlags.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports invisible characters in regex patterns that should use escape sequences instead.";
3
3
  readonly id: "regexInvisibleCharacters";
4
- readonly presets: ["logical", "logicalStrict"];
4
+ readonly presets: readonly ["logical", "logicalStrict"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "unexpectedInvisible", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "unexpectedInvisible", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexInvisibleCharacters.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports inconsistent letter casing in regex sequences.";
3
3
  readonly id: "regexLetterCasing";
4
- readonly presets: ["stylisticStrict"];
4
+ readonly presets: readonly ["stylisticStrict"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "unexpectedCase", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "unexpectedCase", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexLetterCasing.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Use a regular expression literal when the pattern is static.";
3
3
  readonly id: "regexLiterals";
4
- readonly presets: ["logical", "logicalStrict"];
4
+ readonly presets: readonly ["logical", "logicalStrict"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "preferLiteral", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "preferLiteral", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexLiterals.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports capturing groups at pattern boundaries that can be replaced with lookaround assertions.";
3
3
  readonly id: "regexLookaroundAssertions";
4
- readonly presets: ["stylisticStrict"];
4
+ readonly presets: readonly ["stylisticStrict"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "preferLookaround", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "preferLookaround", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexLookaroundAssertions.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports non-constant quantifiers in lookaround assertions that could be simplified.";
3
3
  readonly id: "regexLookaroundQuantifierOptimizations";
4
- readonly presets: ["logical"];
4
+ readonly presets: readonly ["logical"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "replace" | "remove", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "replace" | "remove", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexLookaroundQuantifierOptimizations.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports inconsistent notations for matching any character in regular expressions.";
3
3
  readonly id: "regexMatchNotation";
4
- readonly presets: ["stylisticStrict"];
4
+ readonly presets: readonly ["stylisticStrict"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "unexpected", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "unexpected", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexMatchNotation.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports capturing groups that capture less text than their pattern suggests.";
3
3
  readonly id: "regexMisleadingCapturingGroups";
4
- readonly presets: ["logical", "logicalStrict"];
4
+ readonly presets: readonly ["logical", "logicalStrict"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "misleadingEnd" | "misleadingStart", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "misleadingEnd" | "misleadingStart", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexMisleadingCapturingGroups.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports quantifiers whose minimum implies they must match but whose element can match empty.";
3
3
  readonly id: "regexMisleadingQuantifiers";
4
- readonly presets: ["logical"];
4
+ readonly presets: readonly ["logical"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "confusing", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "confusing", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexMisleadingQuantifiers.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports characters in regex character classes that appear as single visual characters but are made of multiple code points.";
3
3
  readonly id: "regexMisleadingUnicodeCharacters";
4
- readonly presets: ["logical", "logicalStrict"];
4
+ readonly presets: readonly ["logical", "logicalStrict"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "combiningClass" | "emojiModifier" | "regionalIndicatorSymbol" | "surrogatePair" | "surrogatePairWithoutUFlag" | "zwj", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "combiningClass" | "emojiModifier" | "regionalIndicatorSymbol" | "surrogatePair" | "surrogatePairWithoutUFlag" | "zwj", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexMisleadingUnicodeCharacters.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports backreferences that do not use the name of their referenced capturing group.";
3
3
  readonly id: "regexNamedBackreferences";
4
- readonly presets: ["stylisticStrict"];
4
+ readonly presets: readonly ["stylisticStrict"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "preferNamed", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "preferNamed", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexNamedBackreferences.d.ts.map
@@ -2,8 +2,8 @@ declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports capturing groups in regular expressions that do not have a name.";
3
3
  readonly id: "regexNamedCaptureGroups";
4
4
  } & {
5
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
6
- url: string;
7
- }, object, object, "preferNamed", import("@flint.fyi/core").AnyOptionalSchema>;
5
+ readonly pluginId: string;
6
+ readonly url: string;
7
+ }, "preferNamed", undefined>;
8
8
  export default _default;
9
9
  //# sourceMappingURL=regexNamedCaptureGroups.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports indexed references in replacement strings that should use named references.";
3
3
  readonly id: "regexNamedReplacements";
4
- readonly presets: ["stylisticStrict"];
4
+ readonly presets: readonly ["stylisticStrict"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "preferNamed", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "preferNamed", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexNamedReplacements.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports non-standard regular expression flags.";
3
3
  readonly id: "regexNonStandardFlags";
4
- readonly presets: ["logical", "logicalStrict"];
4
+ readonly presets: readonly ["logical", "logicalStrict"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "unexpected", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "unexpected", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexNonStandardFlags.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports obscure character ranges in regular expressions.";
3
3
  readonly id: "regexObscureRanges";
4
- readonly presets: ["logical", "logicalStrict"];
4
+ readonly presets: readonly ["logical", "logicalStrict"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "obscure", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "obscure", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexObscureRanges.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports octal escape sequences in regular expressions.";
3
3
  readonly id: "regexOctalEscapes";
4
- readonly presets: ["logical", "logicalStrict"];
4
+ readonly presets: readonly ["logical", "logicalStrict"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "unexpected", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "unexpected", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexOctalEscapes.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports quantifiers `{1,}` in regular expressions that should use `+` instead.";
3
3
  readonly id: "regexPlusQuantifiers";
4
- readonly presets: ["stylisticStrict"];
4
+ readonly presets: readonly ["stylisticStrict"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "preferPlus", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "preferPlus", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexPlusQuantifiers.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports regex lookarounds that can be replaced with predefined assertions.";
3
3
  readonly id: "regexPredefinedAssertions";
4
- readonly presets: ["stylistic"];
4
+ readonly presets: readonly ["stylistic"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "preferPredefinedAssertion", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "preferPredefinedAssertion", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexPredefinedAssertions.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports quantifiers `{0,1}` in regular expressions that should use `?` instead.";
3
3
  readonly id: "regexQuestionQuantifiers";
4
- readonly presets: ["stylisticStrict"];
4
+ readonly presets: readonly ["stylisticStrict"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "preferOptionalGroup" | "preferQuestion", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "preferOptionalGroup" | "preferQuestion", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexQuestionQuantifiers.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports consecutive identical elements in regular expressions that should use quantifiers.";
3
3
  readonly id: "regexRepeatQuantifiers";
4
- readonly presets: ["stylistic", "stylisticStrict"];
4
+ readonly presets: readonly ["stylistic", "stylisticStrict"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "preferQuantifier", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "preferQuantifier", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexRepeatQuantifiers.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports indexed access on regex result arrays when named capturing groups should be used.";
3
3
  readonly id: "regexResultArrayGroups";
4
- readonly presets: ["stylisticStrict"];
4
+ readonly presets: readonly ["stylisticStrict"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "preferGroups", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "preferGroups", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexResultArrayGroups.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports set operations in regular expressions that can be simplified.";
3
3
  readonly id: "regexSetOperationOptimizations";
4
- readonly presets: ["logical", "logicalStrict"];
4
+ readonly presets: readonly ["logical", "logicalStrict"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "toIntersection" | "toNegationOfConjunction" | "toNegationOfDisjunction" | "toSubtraction", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "toIntersection" | "toNegationOfConjunction" | "toNegationOfDisjunction" | "toSubtraction", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexSetOperationOptimizations.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports standalone backslashes in regex patterns that look like incomplete escape sequences.";
3
3
  readonly id: "regexStandaloneBackslashes";
4
- readonly presets: ["logical", "logicalStrict"];
4
+ readonly presets: readonly ["logical", "logicalStrict"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "standaloneBackslash", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "standaloneBackslash", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexStandaloneBackslashes.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports quantifiers `{0,}` in regular expressions that should use `*` instead.";
3
3
  readonly id: "regexStarQuantifiers";
4
- readonly presets: ["stylisticStrict"];
4
+ readonly presets: readonly ["stylisticStrict"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "preferStar", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "preferStar", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexStarQuantifiers.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports regular expressions with exponential or polynomial backtracking.";
3
3
  readonly id: "regexSuperLinearBacktracking";
4
- readonly presets: ["logical", "logicalStrict"];
4
+ readonly presets: readonly ["logical", "logicalStrict"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "self" | "trade", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "self" | "trade", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexSuperLinearBacktracking.d.ts.map
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("@flint.fyi/core").Rule<{
2
2
  readonly description: "Reports quantifiers that can cause quadratic regex matching time.";
3
3
  readonly id: "regexSuperLinearMoves";
4
- readonly presets: ["logical"];
4
+ readonly presets: readonly ["logical"];
5
5
  } & {
6
- presets?: ("javascript" | "logical" | "logicalStrict" | "stylistic" | "stylisticStrict")[];
7
- url: string;
8
- }, object, object, "superLinear", import("@flint.fyi/core").AnyOptionalSchema>;
6
+ readonly pluginId: string;
7
+ readonly url: string;
8
+ }, "superLinear", undefined>;
9
9
  export default _default;
10
10
  //# sourceMappingURL=regexSuperLinearMoves.d.ts.map