Skip to content

Latest commit

 

History

History
94 lines (66 loc) · 2.34 KB

README.md

File metadata and controls

94 lines (66 loc) · 2.34 KB

js-standard-style Code Style: prettier Conventional Commits

questdb.io

This website is built using Docusaurus 2. Pages & components are written in TypeScript, the styles in vanilla CSS with variables using CSS Modules.

Installation

yarn

Local development

yarn start

This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.

Build for production

yarn build

This command generates static content into the build directory and can be served using any static contents hosting service. For that purpose, you can also use:

yarn serve

Contributing

Feel free to contribute to the project by forking the repository and submitting pull requests.

Guidelines

Consult the guidelines.

Lexicon

Consult the lexicon for terminology we commonly use

Commits

The commit messages must follow the Conventional Commits spec.

Code Quality

1. Linting

The coding style rules are defined by Prettier and enforced by Eslint

On top of this, we follow the rules set by the Javascript Standard Style.

You do not need to run the linting task manually, Webpack will take care of that for you.

2. Git Hooks

We use Husky to automatically deploy git hooks.

On every git commit we check that images added to static/img/* do not exceed 10MB.