feat: add dependency-free formatting/lint policy suite and root lint script (E00-S05-T01)

The formatting-policy suite (tests/formatting-policy.test.mjs) locks in the
workspace formatting and lint policy: LF line endings, no BOM, no trailing
whitespace, no tab indentation, exactly one final newline, and valid JSON
with 2-space indentation and no duplicate keys. Every rule has a mutation
probe. The root `lint` script runs the suite; the CI formatting-lint stage
executes it.
This commit is contained in:
implementer
2026-08-30 06:12:25 +00:00
parent dce6cac05b
commit e6d28f94f0
2 changed files with 250 additions and 0 deletions
+1
View File
@@ -9,6 +9,7 @@
},
"scripts": {
"build": "pnpm -r run build",
"lint": "node --test tests/formatting-policy.test.mjs",
"test": "node --test \"tests/**/*.test.mjs\"",
"typecheck": "pnpm -r run typecheck"
},