mirror of
https://github.com/kremalicious/astro-redirect-from.git
synced 2024-10-22 03:12:43 +02: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
|
npm test
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If linting errors are encountered, try to fix it automatically with:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npm run format
|
||||||
|
```
|
||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
See [CHANGELOG.md](CHANGELOG.md).
|
See [CHANGELOG.md](CHANGELOG.md).
|
||||||
|
@ -13,7 +13,8 @@
|
|||||||
"start": "rm -rf ./dist && tsc --watch",
|
"start": "rm -rf ./dist && tsc --watch",
|
||||||
"test": "npm run validate && npm run test:unit",
|
"test": "npm run validate && npm run test:unit",
|
||||||
"test:unit": "vitest run --coverage --config ./test/vitest.config.ts",
|
"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",
|
"typecheck": "tsc --noEmit --pretty",
|
||||||
"changelog": "auto-changelog -p",
|
"changelog": "auto-changelog -p",
|
||||||
"release": "release-it --non-interactive",
|
"release": "release-it --non-interactive",
|
||||||
|
Loading…
Reference in New Issue
Block a user