policies: add standard docs policy files

- Add .editorconfig, .prettierrc, .prettierignore, .gitignore
- Add Makefile with fmt, fmt-check, secret-scan targets
- Add package.json with prettier
- Add tools/secret-scan.sh
- Auto-format with prettier
- make check passes clean
This commit is contained in:
sol
2026-03-01 07:31:42 +00:00
parent b5719ca519
commit a766419277
9 changed files with 159 additions and 13 deletions

17
Makefile Normal file
View File

@@ -0,0 +1,17 @@
export NODE_ENV := development
.PHONY: check install fmt fmt-check secret-scan
check: install fmt-check secret-scan
install:
npm install
fmt:
npx prettier --write .
fmt-check:
npx prettier --check .
secret-scan:
bash tools/secret-scan.sh .