mirror of
https://github.com/supabase/agent-skills.git
synced 2026-01-26 19:09:51 +08:00
Add Biome formatter/linter and restore CI workflow (#6)
- Install Biome as the project formatter and linter
- Configure Biome with recommended settings
- Add format, lint, and check scripts to package.json
- Restore CI workflow from git history (commit 0a543e1)
- Extend CI with new Biome job for format and lint checks
- Apply Biome formatting to all TypeScript files
- Fix linting issues (use node: protocol, template literals, forEach pattern)
CI now runs on:
- All pushes to main branch
- All pull requests
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
27
package.json
27
package.json
@@ -1,11 +1,20 @@
|
||||
{
|
||||
"name": "supabase-agent-skills",
|
||||
"version": "1.0.0",
|
||||
"author": "Supabase",
|
||||
"license": "MIT",
|
||||
"description": "Official Supabase agent skills",
|
||||
"scripts": {
|
||||
"build": "npm --prefix packages/postgres-best-practices-build run build",
|
||||
"validate": "npm --prefix packages/postgres-best-practices-build run validate"
|
||||
}
|
||||
"name": "supabase-agent-skills",
|
||||
"version": "1.0.0",
|
||||
"author": "Supabase",
|
||||
"license": "MIT",
|
||||
"description": "Official Supabase agent skills",
|
||||
"scripts": {
|
||||
"build": "npm --prefix packages/postgres-best-practices-build run build",
|
||||
"validate": "npm --prefix packages/postgres-best-practices-build run validate",
|
||||
"format": "biome format --write .",
|
||||
"format:check": "biome format .",
|
||||
"lint": "biome lint --write .",
|
||||
"lint:check": "biome lint .",
|
||||
"check": "biome check --write .",
|
||||
"ci:check": "biome ci ."
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "2.3.11"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user