@biomejs/wasm-nodejs 1.5.3-nightly.6cbf1c7 → 1.5.3-nightly.d2858ee

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
@@ -102,6 +102,10 @@ interface PartialFilesConfiguration {
102
102
  maxSize?: number;
103
103
  }
104
104
  interface PartialFormatterConfiguration {
105
+ /**
106
+ * The attribute position style. By default auto.
107
+ */
108
+ attributePosition?: AttributePosition;
105
109
  enabled?: boolean;
106
110
  /**
107
111
  * Stores whether formatting should be allowed to proceed if a given file has syntax errors
@@ -253,6 +257,7 @@ interface PartialCssParser {
253
257
  */
254
258
  allowWrongLineComments?: boolean;
255
259
  }
260
+ type AttributePosition = "auto" | "multiline";
256
261
  type PlainIndentStyle = "tab" | "space";
257
262
  type LineEnding = "lf" | "crlf" | "cr";
258
263
  type LineWidth = number;
@@ -261,6 +266,10 @@ interface PartialJavascriptFormatter {
261
266
  * Whether to add non-necessary parentheses to arrow functions. Defaults to "always".
262
267
  */
263
268
  arrowParentheses?: ArrowParentheses;
269
+ /**
270
+ * The attribute position style in JavaScript code. Defaults to auto.
271
+ */
272
+ attributePosition?: AttributePosition;
264
273
  /**
265
274
  * Whether to hug the closing bracket of multiline HTML/JSX tags to the end of the last line, rather than being alone on the following line. Defaults to false.
266
275
  */
@@ -804,6 +813,10 @@ interface Nursery {
804
813
  * It enables ALL rules for this group.
805
814
  */
806
815
  all?: boolean;
816
+ /**
817
+ * Disallow the use of console.
818
+ */
819
+ noConsole?: RuleConfiguration;
807
820
  /**
808
821
  * Disallow two keys with the same name inside a JSON object.
809
822
  */
@@ -840,6 +853,14 @@ interface Nursery {
840
853
  * Forbid the use of Node.js builtin modules.
841
854
  */
842
855
  noNodejsModules?: RuleConfiguration;
856
+ /**
857
+ * Avoid re-export all
858
+ */
859
+ noReExportAll?: RuleConfiguration;
860
+ /**
861
+ * Disallow specified modules when loaded by import or require.
862
+ */
863
+ noRestrictedImports?: RuleConfiguration;
843
864
  /**
844
865
  * Disallow disabled tests.
845
866
  */
@@ -1286,6 +1307,10 @@ interface Suspicious {
1286
1307
  useValidTypeof?: RuleConfiguration;
1287
1308
  }
1288
1309
  interface OverrideFormatterConfiguration {
1310
+ /**
1311
+ * The attribute position style.
1312
+ */
1313
+ attributePosition?: AttributePosition;
1289
1314
  enabled?: boolean;
1290
1315
  /**
1291
1316
  * Stores whether formatting should be allowed to proceed if a given file has syntax errors
@@ -1342,6 +1367,7 @@ type PossibleOptions =
1342
1367
  | DeprecatedHooksOptions
1343
1368
  | NamingConventionOptions
1344
1369
  | RestrictedGlobalsOptions
1370
+ | RestrictedImportsOptions
1345
1371
  | ValidAriaRoleOptions
1346
1372
  | UtilityClassSortingOptions;
1347
1373
  interface ComplexityOptions {
@@ -1386,6 +1412,12 @@ interface RestrictedGlobalsOptions {
1386
1412
  */
1387
1413
  deniedGlobals: string[];
1388
1414
  }
1415
+ interface RestrictedImportsOptions {
1416
+ /**
1417
+ * A list of names that should trigger the rule
1418
+ */
1419
+ paths: {};
1420
+ }
1389
1421
  interface ValidAriaRoleOptions {
1390
1422
  allowInvalidRoles: string[];
1391
1423
  ignoreNonDom: boolean;
@@ -1436,6 +1468,7 @@ interface OpenFileParams {
1436
1468
  version: number;
1437
1469
  }
1438
1470
  type Language =
1471
+ | "Astro"
1439
1472
  | "JavaScript"
1440
1473
  | "JavaScriptReact"
1441
1474
  | "TypeScript"
@@ -1592,6 +1625,7 @@ type Category =
1592
1625
  | "lint/correctness/useValidForDirection"
1593
1626
  | "lint/correctness/useYield"
1594
1627
  | "lint/nursery/noApproximativeNumericConstant"
1628
+ | "lint/nursery/noConsole"
1595
1629
  | "lint/nursery/noDuplicateJsonKeys"
1596
1630
  | "lint/nursery/noEmptyBlockStatements"
1597
1631
  | "lint/nursery/noEmptyTypeParameters"
@@ -1601,6 +1635,8 @@ type Category =
1601
1635
  | "lint/nursery/noInvalidUseBeforeDeclaration"
1602
1636
  | "lint/nursery/noMisleadingCharacterClass"
1603
1637
  | "lint/nursery/noNodejsModules"
1638
+ | "lint/nursery/noReExportAll"
1639
+ | "lint/nursery/noRestrictedImports"
1604
1640
  | "lint/nursery/noSkippedTests"
1605
1641
  | "lint/nursery/noThenProperty"
1606
1642
  | "lint/nursery/noTypeOnlyImportAttributes"
Binary file
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@biomejs/wasm-nodejs","collaborators":["Biome Developers and Contributors"],"description":"WebAssembly bindings to the Biome workspace API","version":"1.5.3-nightly.6cbf1c7","license":"MIT OR Apache-2.0","repository":{"type":"git","url":"https://github.com/biomejs/biome"},"files":["biome_wasm_bg.wasm","biome_wasm.js","biome_wasm.d.ts"],"main":"biome_wasm.js","homepage":"https://biomejs.dev/","types":"biome_wasm.d.ts","keywords":["parser","linter","formatter"]}
1
+ {"name":"@biomejs/wasm-nodejs","collaborators":["Biome Developers and Contributors"],"description":"WebAssembly bindings to the Biome workspace API","version":"1.5.3-nightly.d2858ee","license":"MIT OR Apache-2.0","repository":{"type":"git","url":"https://github.com/biomejs/biome"},"files":["biome_wasm_bg.wasm","biome_wasm.js","biome_wasm.d.ts"],"main":"biome_wasm.js","homepage":"https://biomejs.dev/","types":"biome_wasm.d.ts","keywords":["parser","linter","formatter"]}