552 B
552 B
The !NC
comments in code are tags used by a git pre-commit hook to prevent committing the lines containing it, and are generally used to mark TO-DOs that are required to be done before committing the changes.
Import suite, it, expect
from vitest for writing tests, whith each method having one suite()
and a list of tests using the it()
for its definition.
Prefer implicit over explicit function return types.
Except for React components, prefer arrow functions.
Prefer using for..of instead of forEach.
Prefer single quotes over doble quotes.