Development Environment Setup
{
"core" : [" esbenp.prettier-vscode" , " dbaeumer.vscode-eslint" , " ms-vscode.vscode-typescript-next" ]
}
{
"optional" : [
" GitHub.vscode-pull-request-github" ,
" streetsidesoftware.code-spell-checker" ,
" aaron-bond.better-comments" ,
" PKief.material-icon-theme" ,
" ms-vscode.vscode-json"
]
}
Install required extensions
Extensions will automatically use project's ESLint and Prettier configurations
Code will be automatically formatted on save
pnpm lint # Check code quality
pnpm lint:fix # Auto-fix issues
pnpm format # Format code
pnpm type-check # TypeScript validation
# 1. Create feature branch
git checkout -b feature/your-feature-name
# 2. Make changes and commit
git add .
git commit -m " feat: your feature description"
# 3. Pre-commit hooks will automatically run:
# - ESLint checks
# - Prettier formatting
# - Commitlint validation
# 4. Push changes
git push origin feature/your-feature-name
pnpm test:basic
pnpm test:rpc:evm
pnpm test:rpc:cometbft
pnpm test:fault-tolerance
pnpm test:performance
Quotes : Single quotes (')
Semicolons : Required
Line Width : 100 characters
Indentation : 2 spaces
Trailing Commas : ES5 style
type(scope): description
Examples:
feat: add cosmos client support
fix: resolve RPC connection timeout
docs: update development setup guide
refactor: improve error handling
test: add unit tests for EVM client
feature/description # New features
fix/description # Bug fixes
docs/description # Documentation
refactor/description # Code refactoring
ESLint not working : Run pnpm install
Prettier not formatting : Check VS Code prettier extension is enabled
Git hooks failing : Run pnpm prepare to reinstall hooks
TypeScript errors : Run pnpm type-check to see detailed errors