blog/script/frontend-lint.sh
SquidSpirit d1f085b255
All checks were successful
Frontend CI / build (push) Successful in 1m37s
BLOG-145 Add pre-commit hooks (#147)
### Description

- READMEs are also updated!

### Package Changes

_No response_

### Screenshots

_No response_

### Reference

Resolves #145.

### Checklist

- [x] A milestone is set
- [x] The related issuse has been linked to this branch

Reviewed-on: #147
Co-authored-by: SquidSpirit <squid@squidspirit.com>
Co-committed-by: SquidSpirit <squid@squidspirit.com>
2025-10-15 13:11:25 +08:00

7 lines
107 B
Bash
Executable File

#!/bin/sh
SCRIPT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
cd "$SCRIPT_DIR/../frontend"
pnpm lint