Skip to content

Commit f8da3bd

Browse files
committed
chore: add biome for code formatting only
- Add @biomejs/biome 1.9.4 as devDependency - Configure biome.json with formatting rules only (linting disabled) - Set up formatting preferences: 2 spaces, single quotes, ES5 trailing commas - Enable import organization - Ignore dist directories and generated type files
1 parent 9ae6e84 commit f8da3bd

File tree

3 files changed

+193
-5
lines changed

3 files changed

+193
-5
lines changed

biome.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3+
"vcs": {
4+
"enabled": false,
5+
"clientKind": "git",
6+
"useIgnoreFile": false
7+
},
8+
"files": {
9+
"ignoreUnknown": false,
10+
"ignore": [
11+
"**/dist",
12+
"packages/mcp-server-supabase/src/management-api/types.ts"
13+
]
14+
},
15+
"formatter": {
16+
"enabled": true,
17+
"indentStyle": "space"
18+
},
19+
"organizeImports": {
20+
"enabled": true
21+
},
22+
"linter": {
23+
"enabled": false
24+
},
25+
"javascript": {
26+
"formatter": {
27+
"quoteStyle": "single",
28+
"trailingCommas": "es5"
29+
}
30+
}
31+
}

package-lock.json

Lines changed: 157 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
2-
"workspaces": [
3-
"packages/*"
4-
],
2+
"workspaces": ["packages/*"],
53
"scripts": {
64
"build": "npm run build --workspace @supabase/mcp-utils --workspace @supabase/mcp-server-supabase",
75
"test": "npm run test --workspace @supabase/mcp-utils --workspace @supabase/mcp-server-supabase",
8-
"test:coverage": "npm run test:coverage --workspace @supabase/mcp-server-supabase"
6+
"test:coverage": "npm run test:coverage --workspace @supabase/mcp-server-supabase",
7+
"format": "biome check --write .",
8+
"format:check": "biome check ."
99
},
1010
"devDependencies": {
11+
"@biomejs/biome": "1.9.4",
1112
"supabase": "^2.1.1"
1213
}
1314
}

0 commit comments

Comments
 (0)