Language: EN | RU
Environment Setup
The application requires the Node.js and pnpm versions specified in
package.json. Other versions are not supported.
Copy .env.example to .env before starting the development server.
Git hooks require
gitleaks. A commit is rejected if Gitleaks is not installed.
Project commands: README.
VSCode is the recommended editor for development.
Install the following extensions for proper ESLint, Prettier, Stylelint, and EditorConfig integration:
dbaeumer.vscode-eslintrvest.vs-code-prettier-eslintesbenp.prettier-vscodestylelint.vscode-stylelintEditorConfig.EditorConfig
Git Hooks
Enable Git hooks:
chmod +x .githooks/*
git config core.hooksPath .githookspre-commit runs the steps below in order and stops at the first failure:
Secret scan— Gitleaks scans staged changes.Type check— TypeScript checks the application.Unused code— Knip detects unused exports, files, and dependencies.ESLint— ESLint checks the application source.Stylelint— Stylelint checks CSS files.
TypeScript, Knip, ESLint, and Stylelint check the working tree. Gitleaks scans staged changes.
feat, fix, docs, refactor, perf, test, build, ci, chore, revert.
<type>(<scope>)?[!]: <subject>
<type>— one of the allowed prefixes above.<scope>— optional scope in parentheses, alphanumeric/-.!— optional breaking change marker.:— colon + space are required.<subject>— short description.
The commit subject line is limited to 70 characters.
Examples:
feat: scaffold client web appfix(auth): handle invalid sessiondocs: describe local developmentchore: update lint configuration
<type>/<slug>
<type>/<scope-or-id>/<slug>
<type>— one of the prefixes listed above./<scope-or-id>— optional part, alphanumeric/-./<slug>— short description, alphanumeric/_/-.
Examples:
feat/add-login-pagefix/session-expirationdocs/update-development-guide
Exceptions:
dev,main,master.