Skip to content

Latest commit

 

History

History
78 lines (50 loc) · 2.04 KB

README.md

File metadata and controls

78 lines (50 loc) · 2.04 KB

Bytebase

We are hiring. Check out our jobs page.

Table of Contents

Getting Started

  1. Clone this repository or hit "Use this template" button
git clone [email protected]:bytebase/bytebase.com.git
  1. Install dependencies
pnpm install

Usage

pnpm run dev

Open 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 lint

Run it to check the current status of eslint issues across project.

pnpm run lint:fix

Run 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 format

Run 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.