@unotest/web 0.48.0 → 0.49.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.
@@ -54,6 +54,11 @@ interface LintOptions {
54
54
  * lookup is an error. Absent → the rule is off (the caller has no
55
55
  * project to check against, e.g. an ad-hoc source string). */
56
56
  externalVariables?: ExternalVariableLookup;
57
+ /** Lines under a `// lint-ok: <reason>` (`collectLintOk`). The caller
58
+ * drops warning/info on them afterwards; a rule that sums calls over the
59
+ * file must not count them either, or a silenced call would keep a
60
+ * summary alive — and anchor it on a line the caller then drops. */
61
+ lintOkLines?: ReadonlySet<number>;
57
62
  }
58
63
  declare function lintAst(ast: BlockStatement, opts?: LintOptions): LintDiagnostic[];
59
64