Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sun33t/0003-linting-formatting-setup-bun

This repo demonstrates a workflow for using git hooks to automate the linting and formatting of files and for the standardization of commit messages within a bun project.
https://github.com/sun33t/0003-linting-formatting-setup-bun

bun code-quality git git-hooks husky javascript lint-staged typescript

Last synced: about 3 hours ago
JSON representation

This repo demonstrates a workflow for using git hooks to automate the linting and formatting of files and for the standardization of commit messages within a bun project.

Awesome Lists containing this project

README

        



image with bun and git logo

Bun Projects: Linting + Formatting + Conventional Commits


This repo demonstrates a workflow for using git hooks to automate the linting
and formatting of files and for the standardization of commit messages within a
bun project.

# Documentation

The workflow is documented in
[this article](https://suneet.codes/articles/linting-formatting-setup-bun).

## Usage

To experience the automation, clone the project

```bash
git clone https://github.com/sun33t/0003-linting-formatting-setup-bun
```

Go to the project directory

```bash
cd linting-formatting-setup-bun
```

Install dependencies

```bash
bun install
```

Make a change in any file and commit the change. The toolchain will
automatically execute and you can see its output in the terminal.

## Authors

- [@sun33t](https://github.com/sun33t)