diff --git a/README.md b/README.md index 617ce1a..b3315ef 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/package.json b/package.json index d03be37..ab53819 100644 --- a/package.json +++ b/package.json @@ -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",