@sablier/devkit 1.10.1 → 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.
Files changed (2) hide show
  1. package/biome/base.jsonc +18 -9
  2. package/package.json +1 -1
package/biome/base.jsonc CHANGED
@@ -35,6 +35,12 @@
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": {
@@ -60,13 +66,14 @@
60
66
  "style": {
61
67
  "noEnum": "off", // enums are useful in some cases e.g. UI states
62
68
  "noNamespace": "off", // namespaces are cool
69
+ "useDefaultSwitchClause": "off", // already handled by TypeScript
70
+ "useTemplate": "off", // allow string concatenation using `+`
63
71
  "useConsistentTypeDefinitions": {
64
72
  "level": "warn",
65
73
  "options": {
66
74
  "style": "type"
67
75
  }
68
76
  },
69
- "useDefaultSwitchClause": "off", // already handled by TypeScript
70
77
  "useFilenamingConvention": {
71
78
  "level": "error",
72
79
  "options": {
@@ -79,13 +86,14 @@
79
86
  "options": {
80
87
  "style": "separatedType"
81
88
  }
82
- },
83
- "useTemplate": "off" // allow string concatenation using `+`
89
+ }
84
90
  }
85
91
  }
86
92
  },
87
93
  "overrides": [
88
94
  {
95
+ // Disabling sorted keys because ordering is often important in JSON files
96
+ "includes": ["**/*.{json,json5,jsonc}"],
89
97
  "assist": {
90
98
  "actions": {
91
99
  "source": {
@@ -93,14 +101,15 @@
93
101
  }
94
102
  }
95
103
  },
96
- "includes": ["**/*.{json,json5,jsonc}"]
104
+ // Needed to override ultracite
105
+ "json": {
106
+ "parser": {
107
+ "allowComments": true,
108
+ "allowTrailingCommas": true
109
+ }
110
+ }
97
111
  }
98
112
  ],
99
- "json": {
100
- "formatter": {
101
- "lineWidth": 100
102
- }
103
- },
104
113
  "vcs": {
105
114
  "clientKind": "git",
106
115
  "enabled": true,
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.10.1",
6
+ "version": "1.10.2",
7
7
  "author": {
8
8
  "name": "Sablier Labs Ltd",
9
9
  "url": "https://sablier.com"