You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Welcome to recode hive! To maintain a high standard of code quality, we follow a strict development and pull request process.
Before submitting your PR, please follow the instructions below and attach a screenshot of the checks passed.
📦 Prerequisites
Node.js 18+
npm
🛠️ Tools and Configuration
🔧 Core Linting and QA Tools
We use the following tools to enforce code quality:
eslint: Linting for TypeScript & React
prettier: Code formatting
typescript (tsc): Type checking
eslint-config-prettier and eslint-plugin-prettier: Integrate Prettier with ESLint
⚙️ Config Files
File
Purpose
.eslintrc.cjs
ESLint rules for TypeScript + React
.prettierrc
Prettier formatting rules
tsconfig.json
TypeScript configuration
package.json
Dev dependencies and npm scripts
🧪 Development Setup
🔄 Install Dev Dependencies
npm install
📋 Example Commands
# Run lint checks
npm run lint
# Automatically fix linting issues
npm run lint:fix
# Type checking
npm run typecheck
# Format code
npm run format
# Build the project
npm run build