Update project conventions

This commit is contained in:
Claudio Ortolina
2026-03-14 18:33:34 +00:00
parent 69ff926aba
commit 0a26891575
+2 -1
View File
@@ -74,7 +74,8 @@ Rules extracted from commit history that are specific to this project and not al
- **Commits are small and single-purpose.** One logical change per commit.
- **Unused aliases are removed** when their module is no longer referenced. Aliases stay alphabetically sorted.
- **Markdown sanitization via MDEx (ammonia).** Use `Markdown.to_html/1` for user content. Annotate raw output with `# sobelow_skip ["XSS.Raw"]` and a comment explaining the sanitization.
- **Sobelow runs on CI** in skip mode for security analysis.
- **Sobelow runs on CI and pre-commit** in skip mode for security analysis.
- **All modules require `@moduledoc`.** The Credo `ModuleDoc` check is enforced in strict mode.
## JavaScript