- No semicolons — StandardJS relies on ASI (Automatic Semicolon Insertion); the linter errors on explicit semicolons.
- Use 2-space indentation and single quotes for strings: `const msg = 'hello'`.
- Use `===` for equality; never `==` — StandardJS enforces this.
- Declare variables with `const` by default; use `let` only when reassignment is needed — `var` is forbidden.
- Run `npx standard --fix` to auto-fix style issues before committing.
- **No semicolons**: write `const x = 1` not `const x = 1;` — StandardJS (based on ESLint) will error on explicit semicolons, not just warn.
- **2-space indent**: `if (condition) {\n doSomething()\n}` — tabs or 4-space indent both fail the linter.
- **Single quotes**: `const name = 'Alice'` — double quotes fail except inside strings that contain single quotes.
- **No unused variables**: StandardJS errors on declared-but-unused variables and imports — remove them or prefix with `_` to signal intentional non-use.
- **Space before function parens**: `function name (args)` and `async function name ()` — StandardJS requires a space between `function` and `(`.
- Add `/* eslint-disable-next-line */` comments sparingly; prefer fixing the actual issue; run `standard --fix` to apply auto-fixable rules in bulk.