@sablier/devkit 1.10.0 → 1.10.2
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/biome/base.jsonc +20 -10
- package/package.json +1 -1
package/biome/base.jsonc
CHANGED
|
@@ -35,13 +35,20 @@
|
|
|
35
35
|
"indentStyle": "space",
|
|
36
36
|
"lineWidth": 100
|
|
37
37
|
},
|
|
38
|
+
// Needed to override ultracite
|
|
39
|
+
"json": {
|
|
40
|
+
"formatter": {
|
|
41
|
+
"lineWidth": 100
|
|
42
|
+
}
|
|
43
|
+
},
|
|
38
44
|
"linter": {
|
|
39
45
|
"enabled": true,
|
|
40
46
|
"rules": {
|
|
41
47
|
"recommended": true,
|
|
42
48
|
"complexity": {
|
|
43
49
|
"noImplicitCoercions": "error", // forbid `!!foo`, allow `Boolean(foo)`
|
|
44
|
-
"noVoid": "off" // void is useful in some cases e.g. `useEffect` callbacks
|
|
50
|
+
"noVoid": "off", // void is useful in some cases e.g. `useEffect` callbacks
|
|
51
|
+
"useSimplifiedLogicExpression": "off" // the rule is cool but it gets agents stuck
|
|
45
52
|
},
|
|
46
53
|
"correctness": {
|
|
47
54
|
"noUnusedImports": "off", // allow unused imports during development
|
|
@@ -59,13 +66,14 @@
|
|
|
59
66
|
"style": {
|
|
60
67
|
"noEnum": "off", // enums are useful in some cases e.g. UI states
|
|
61
68
|
"noNamespace": "off", // namespaces are cool
|
|
69
|
+
"useDefaultSwitchClause": "off", // already handled by TypeScript
|
|
70
|
+
"useTemplate": "off", // allow string concatenation using `+`
|
|
62
71
|
"useConsistentTypeDefinitions": {
|
|
63
72
|
"level": "warn",
|
|
64
73
|
"options": {
|
|
65
74
|
"style": "type"
|
|
66
75
|
}
|
|
67
76
|
},
|
|
68
|
-
"useDefaultSwitchClause": "off", // already handled by TypeScript
|
|
69
77
|
"useFilenamingConvention": {
|
|
70
78
|
"level": "error",
|
|
71
79
|
"options": {
|
|
@@ -78,13 +86,14 @@
|
|
|
78
86
|
"options": {
|
|
79
87
|
"style": "separatedType"
|
|
80
88
|
}
|
|
81
|
-
}
|
|
82
|
-
"useTemplate": "off" // allow string concatenation using `+`
|
|
89
|
+
}
|
|
83
90
|
}
|
|
84
91
|
}
|
|
85
92
|
},
|
|
86
93
|
"overrides": [
|
|
87
94
|
{
|
|
95
|
+
// Disabling sorted keys because ordering is often important in JSON files
|
|
96
|
+
"includes": ["**/*.{json,json5,jsonc}"],
|
|
88
97
|
"assist": {
|
|
89
98
|
"actions": {
|
|
90
99
|
"source": {
|
|
@@ -92,14 +101,15 @@
|
|
|
92
101
|
}
|
|
93
102
|
}
|
|
94
103
|
},
|
|
95
|
-
|
|
104
|
+
// Needed to override ultracite
|
|
105
|
+
"json": {
|
|
106
|
+
"parser": {
|
|
107
|
+
"allowComments": true,
|
|
108
|
+
"allowTrailingCommas": true
|
|
109
|
+
}
|
|
110
|
+
}
|
|
96
111
|
}
|
|
97
112
|
],
|
|
98
|
-
"json": {
|
|
99
|
-
"formatter": {
|
|
100
|
-
"lineWidth": 100
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
113
|
"vcs": {
|
|
104
114
|
"clientKind": "git",
|
|
105
115
|
"enabled": true,
|
package/package.json
CHANGED