The project shipped no linting or formatting; add both ahead of the first npm publish. ESLint (flat config, typescript-eslint) + Prettier enforce a consistent style, and a cognitive-complexity gate (ccts, threshold 25) keeps any function from regressing into the unreadable. Both run in CI and in a pre-commit hook (.githooks, enabled via core.hooksPath + the `prepare` script). Cyclomatic complexity stays advisory-only — its ??-chain false positives make it a poor gate. Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
17 lines
154 B
Plaintext
17 lines
154 B
Plaintext
# Local specs & plans — not committed
|
|
.specs/
|
|
|
|
# Node
|
|
node_modules/
|
|
dist/
|
|
coverage/
|
|
*.log
|
|
|
|
# Env
|
|
.env
|
|
.env.*
|
|
|
|
# Astro (docs site)
|
|
.astro/
|
|
website/dist/
|