Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx --no-install commitlint --edit "$1"
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run validate
10 changes: 9 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,15 @@ validation step skips directory checks for those entries.

- **Do not use em dashes** in public-facing text: commit messages, code comments, PR and issue
descriptions, changesets, and docs. Use a comma, parentheses, or a separate sentence instead.
- **Commits**: Conventional Commits (`feat:`, `fix:`, `chore:`, `ci:`, `docs:`).
- **Commits**: Conventional Commits (`feat:`, `fix:`, `chore:`, `ci:`, `docs:`). This is enforced
locally: `npm install` sets up a Husky `commit-msg` hook that runs commitlint
(`@commitlint/config-conventional`), and a `pre-commit` hook that runs `npm run validate`. A commit
that fails either check is rejected before it lands, matching the rest of the Seamless Auth
ecosystem.
- **Branches**: name branches with a type prefix that matches the change, `feat/`, `fix/`, `bug/`,
`chore/`, `ci/`, or `docs/`, followed by a short kebab-case description (for example
`feat/react-oauth` or `chore/commit-hygiene`). Do not use a `claude/` or other tool-generated
prefix.
- **Do not add a `Co-Authored-By: Claude ...` trailer (or any AI co-author trailer) to commits.**
All commits must be authored under the maintainer's own account (verify with `gh auth status`
and `git config user.email`).
Expand Down
3 changes: 3 additions & 0 deletions commitlint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default {
extends: ['@commitlint/config-conventional'],
};
Loading
Loading