mirror of
https://github.com/kremalicious/astro-redirect-from.git
synced 2024-11-23 02:10:13 +01:00
split up lint & format task
- so CI can catch linting errors
This commit is contained in:
parent
d8bd20f370
commit
95a8fcbcae
@ -180,6 +180,12 @@ npm run test:unit
|
||||
npm test
|
||||
```
|
||||
|
||||
If linting errors are encountered, try to fix it automatically with:
|
||||
|
||||
```bash
|
||||
npm run format
|
||||
```
|
||||
|
||||
## Changelog
|
||||
|
||||
See [CHANGELOG.md](CHANGELOG.md).
|
||||
|
@ -13,7 +13,8 @@
|
||||
"start": "rm -rf ./dist && tsc --watch",
|
||||
"test": "npm run validate && npm run test:unit",
|
||||
"test:unit": "vitest run --coverage --config ./test/vitest.config.ts",
|
||||
"lint": "biome check --write .",
|
||||
"lint": "biome check .",
|
||||
"format": "biome check --write .",
|
||||
"typecheck": "tsc --noEmit --pretty",
|
||||
"changelog": "auto-changelog -p",
|
||||
"release": "release-it --non-interactive",
|
||||
|
Loading…
Reference in New Issue
Block a user