@biomejs/wasm-web 2.0.1 → 2.0.3

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_wasm.d.ts CHANGED
@@ -1551,6 +1551,10 @@ interface Nursery {
1551
1551
  * Enforce the consistent use of the radix argument when using parseInt().
1552
1552
  */
1553
1553
  useParseIntRadix?: RuleFixConfiguration_for_Null;
1554
+ /**
1555
+ * Enforce marking members as readonly if they are never modified outside the constructor.
1556
+ */
1557
+ useReadonlyClassProperties?: RuleFixConfiguration_for_ReadonlyClassPropertiesOptions;
1554
1558
  /**
1555
1559
  * Enforce JSDoc comment lines to start with a single asterisk, except for the first one.
1556
1560
  */
@@ -2286,6 +2290,9 @@ type RuleConfiguration_for_NoSecretsOptions =
2286
2290
  type RuleFixConfiguration_for_UseConsistentObjectDefinitionOptions =
2287
2291
  | RulePlainConfiguration
2288
2292
  | RuleWithFixOptions_for_UseConsistentObjectDefinitionOptions;
2293
+ type RuleFixConfiguration_for_ReadonlyClassPropertiesOptions =
2294
+ | RulePlainConfiguration
2295
+ | RuleWithFixOptions_for_ReadonlyClassPropertiesOptions;
2289
2296
  type RuleFixConfiguration_for_UtilityClassSortingOptions =
2290
2297
  | RulePlainConfiguration
2291
2298
  | RuleWithFixOptions_for_UtilityClassSortingOptions;
@@ -2552,6 +2559,20 @@ interface RuleWithFixOptions_for_UseConsistentObjectDefinitionOptions {
2552
2559
  */
2553
2560
  options: UseConsistentObjectDefinitionOptions;
2554
2561
  }
2562
+ interface RuleWithFixOptions_for_ReadonlyClassPropertiesOptions {
2563
+ /**
2564
+ * The kind of the code actions emitted by the rule
2565
+ */
2566
+ fix?: FixKind;
2567
+ /**
2568
+ * The severity of the emitted diagnostics by the rule
2569
+ */
2570
+ level: RulePlainConfiguration;
2571
+ /**
2572
+ * Rule's options
2573
+ */
2574
+ options: ReadonlyClassPropertiesOptions;
2575
+ }
2555
2576
  interface RuleWithFixOptions_for_UtilityClassSortingOptions {
2556
2577
  /**
2557
2578
  * The kind of the code actions emitted by the rule
@@ -2871,6 +2892,12 @@ interface UseConsistentObjectDefinitionOptions {
2871
2892
  */
2872
2893
  syntax?: ObjectPropertySyntax;
2873
2894
  }
2895
+ interface ReadonlyClassPropertiesOptions {
2896
+ /**
2897
+ * When `true`, the keywords `public`, `protected`, and `private` are analyzed by the rule.
2898
+ */
2899
+ checkAllProperties: boolean;
2900
+ }
2874
2901
  interface UtilityClassSortingOptions {
2875
2902
  /**
2876
2903
  * Additional attributes that will be sorted.
@@ -3362,6 +3389,7 @@ type Category =
3362
3389
  | "lint/nursery/useNumericSeparators"
3363
3390
  | "lint/nursery/useObjectSpread"
3364
3391
  | "lint/nursery/useParseIntRadix"
3392
+ | "lint/nursery/useReadonlyClassProperties"
3365
3393
  | "lint/nursery/useSingleJsDocAsterisk"
3366
3394
  | "lint/nursery/useSortedClasses"
3367
3395
  | "lint/nursery/useSortedProperties"
Binary file
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "Biome Developers and Contributors"
6
6
  ],
7
7
  "description": "WebAssembly bindings to the Biome workspace API",
8
- "version": "2.0.1",
8
+ "version": "2.0.3",
9
9
  "license": "MIT OR Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",
@@ -31,4 +31,4 @@
31
31
  "publishConfig": {
32
32
  "provenance": true
33
33
  }
34
- }
34
+ }