Skip to content

Commit

Permalink
temp: Try Bad Lint and Types
Browse files Browse the repository at this point in the history
  • Loading branch information
ITenthusiasm committed Jan 3, 2024
1 parent 729e62b commit af9a454
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/core/FormObserver.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import { assertElementIsForm } from "./utils/assertions.js";

/** @type {string} */
let onion;

onion = 5;

Check failure on line 6 in packages/core/FormObserver.js

View workflow job for this annotation

GitHub Actions / lint

Type 'number' is not assignable to type 'string'.

Check failure on line 6 in packages/core/FormObserver.js

View workflow job for this annotation

GitHub Actions / lint

'onion' is assigned a value but never used

Check failure on line 6 in packages/core/FormObserver.js

View workflow job for this annotation

GitHub Actions / lint

'onion' is never reassigned. Use 'const' instead

class FormObserver {
/* ---------- Constructor-related Fields. (Must be compatible with `Node.addEventListener`.) ---------- */
/** @readonly @type {ReadonlyArray<import("./types.d.ts").EventType>} */
Expand Down

0 comments on commit af9a454

Please sign in to comment.