@sablier/devkit 1.14.0 → 1.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.prettierrc.js +2 -2
- package/biome/base.jsonc +10 -5
- package/package.json +2 -2
package/.prettierrc.js
CHANGED
package/biome/base.jsonc
CHANGED
|
@@ -16,13 +16,18 @@
|
|
|
16
16
|
// granular rule customization. See ~/sablier/frontend/ui/biome.jsonc for a
|
|
17
17
|
// complete example.
|
|
18
18
|
{
|
|
19
|
-
"$schema": "https://biomejs.dev/schemas/
|
|
19
|
+
"$schema": "https://biomejs.dev/schemas/2.4.0/schema.json",
|
|
20
20
|
"assist": {
|
|
21
21
|
"enabled": true,
|
|
22
22
|
"actions": {
|
|
23
23
|
"source": {
|
|
24
24
|
"organizeImports": "on",
|
|
25
|
-
"useSortedKeys":
|
|
25
|
+
"useSortedKeys": {
|
|
26
|
+
"level": "on",
|
|
27
|
+
"options": {
|
|
28
|
+
"groupByNesting": true
|
|
29
|
+
}
|
|
30
|
+
}
|
|
26
31
|
}
|
|
27
32
|
}
|
|
28
33
|
},
|
|
@@ -48,15 +53,15 @@
|
|
|
48
53
|
"complexity": {
|
|
49
54
|
"noImplicitCoercions": "error", // forbid `!!foo`, allow `Boolean(foo)`
|
|
50
55
|
"noVoid": "off", // void is useful in some cases e.g. `useEffect` callbacks
|
|
51
|
-
"useSimplifiedLogicExpression": "off" // the rule is cool but it gets agents stuck
|
|
56
|
+
"useSimplifiedLogicExpression": "off", // the rule is cool but it gets agents stuck
|
|
57
|
+
"noUselessUndefined": "off" // we want explicit undefined return values
|
|
52
58
|
},
|
|
53
59
|
"correctness": {
|
|
54
60
|
"noUnusedImports": "off", // allow unused imports during development
|
|
55
61
|
"noUnusedVariables": "error"
|
|
56
62
|
},
|
|
57
63
|
"nursery": {
|
|
58
|
-
"noFloatingPromises": "error"
|
|
59
|
-
"noUselessUndefined": "off" // we want explicit undefined return values
|
|
64
|
+
"noFloatingPromises": "error" // floating promises can lead to bugs
|
|
60
65
|
},
|
|
61
66
|
"performance": {
|
|
62
67
|
"noBarrelFile": "off", // barrel exports lead to cleaner imports
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Configuration files and reusable scripts for Sablier repositories",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.15.1",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "Sablier Labs Ltd",
|
|
9
9
|
"url": "https://sablier.com"
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"url": "https://github.com/sablier-labs/devkit/issues"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@biomejs/biome": "^2.
|
|
15
|
+
"@biomejs/biome": "^2.4.0",
|
|
16
16
|
"prettier": "^3.7.4",
|
|
17
17
|
"vitest": "^3.2.4"
|
|
18
18
|
},
|