prefer let/const over var

This commit is contained in:
Mark Eaton
2026-04-02 13:05:51 +00:00
parent bf5a89f5a2
commit 075c12f6e2
+1
View File
@@ -13,6 +13,7 @@
- use Vue.js as a framework
- use Bootstrap or Quasar for CSS/UI. Load via CDN script tags, not npm.
- no JS testing framework for now. Do not add Jest, Vitest, or similar unless asked.
- do not use var constructions in most circumstances. Prefer let and const.
## HTML/CSS
- use semantic HTML elements (`<nav>`, `<main>`, `<header>`, `<button>`, `<form>`) instead of generic `<div>` and `<span>`.