Skip to content

Commit 5d26c07

Browse files
committed
chore: update dependencies and improve code formatting
1 parent bffaf72 commit 5d26c07

File tree

8 files changed

+283
-242
lines changed

8 files changed

+283
-242
lines changed

biome.json

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,38 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.0.4/schema.json",
33
"vcs": {
44
"enabled": false,
55
"clientKind": "git",
66
"useIgnoreFile": false
77
},
88
"files": {
99
"ignoreUnknown": false,
10-
"ignore": ["build/**", "node_modules/**", "example/**"]
10+
"includes": ["**", "!**/build/**", "!**/node_modules/**", "!**/example/**"]
1111
},
1212
"formatter": {
1313
"enabled": true,
1414
"indentStyle": "tab"
1515
},
16-
"organizeImports": {
17-
"enabled": true
18-
},
16+
"assist": { "actions": { "source": { "organizeImports": "on" } } },
1917
"linter": {
20-
"ignore": ["__tests__/**"],
18+
"includes": ["**", "!**/__tests__/**"],
2119
"enabled": true,
2220
"rules": {
2321
"recommended": true,
2422
"suspicious": {
2523
"noExplicitAny": "off"
24+
},
25+
"style": {
26+
"noParameterAssign": "error",
27+
"useAsConstAssertion": "error",
28+
"useDefaultParameterLast": "error",
29+
"useEnumInitializers": "error",
30+
"useSelfClosingElements": "error",
31+
"useSingleVarDeclarator": "error",
32+
"noUnusedTemplateLiteral": "error",
33+
"useNumberNamespace": "error",
34+
"noInferrableTypes": "error",
35+
"noUselessElse": "error"
2636
}
2737
}
2838
},

bun.lock

Lines changed: 18 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/app.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
"resizeMode": "contain",
3636
"backgroundColor": "#ffffff"
3737
}
38-
]
38+
],
39+
"expo-web-browser"
3940
],
4041
"experiments": {
4142
"typedRoutes": true,

0 commit comments

Comments
 (0)