We are hiring. Please check out our about page and submit inquiry from there.
Table of Contents
Getting Started
- Clone this repository or hit "Use this template" button
git clone git@github.com:bytebase/bytebase.com.git- Install dependencies
pnpm installUsage
pnpm run devOpen http://localhost:3000 with your browser to see the result.
Code Style
ESLint
ESLint helps find and fix code style issues and force developers to follow same rules. Current configuration is based on eslint:recommended, next/core-web-vitals and @typescript-eslint/recommended rules sets.
Additional commands:
pnpm run lintRun it to check the current status of eslint issues across project.
pnpm run lint:fixRun it to fix all possible issues.
Prettier
Prettier helps to format code based on defined rules. Difference between Prettier and ESLint.
Additional commands:
pnpm run formatRun it to format all files across the project.
VS Code
Following extensions required to simplify the process of keeping the same code style across the project:
After installation, VS Code will be use settings from the .vscode/settings.json file and will be fixing and formatting your code automatically on paste and save actions.