@biomejs/wasm-web 1.7.0 → 1.7.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/biome_wasm.d.ts +30 -0
- package/biome_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/biome_wasm.d.ts
CHANGED
|
@@ -867,6 +867,10 @@ interface Nursery {
|
|
|
867
867
|
* Disallow the use of Math.min and Math.max to clamp a value where the result itself is constant.
|
|
868
868
|
*/
|
|
869
869
|
noConstantMathMinMaxClamp?: RuleConfiguration_for_Null;
|
|
870
|
+
/**
|
|
871
|
+
* Disallow CSS empty blocks.
|
|
872
|
+
*/
|
|
873
|
+
noCssEmptyBlock?: RuleConfiguration_for_NoCssEmptyBlockOptions;
|
|
870
874
|
/**
|
|
871
875
|
* Disallow using a callback in asynchronous tests and hooks.
|
|
872
876
|
*/
|
|
@@ -883,6 +887,10 @@ interface Nursery {
|
|
|
883
887
|
* Disallow two keys with the same name inside a JSON object.
|
|
884
888
|
*/
|
|
885
889
|
noDuplicateJsonKeys?: RuleConfiguration_for_Null;
|
|
890
|
+
/**
|
|
891
|
+
* Disallow duplicate selectors within keyframe blocks.
|
|
892
|
+
*/
|
|
893
|
+
noDuplicateSelectorsKeyframeBlock?: RuleConfiguration_for_Null;
|
|
886
894
|
/**
|
|
887
895
|
* Disallow variables from evolving into any type through reassignments.
|
|
888
896
|
*/
|
|
@@ -891,6 +899,10 @@ interface Nursery {
|
|
|
891
899
|
* Disallow to use unnecessary callback on flatMap.
|
|
892
900
|
*/
|
|
893
901
|
noFlatMapIdentity?: RuleConfiguration_for_Null;
|
|
902
|
+
/**
|
|
903
|
+
* Disallow invalid !important within keyframe declarations
|
|
904
|
+
*/
|
|
905
|
+
noImportantInKeyframe?: RuleConfiguration_for_Null;
|
|
894
906
|
/**
|
|
895
907
|
* Checks that the assertion function, for example expect, is placed inside an it() function call.
|
|
896
908
|
*/
|
|
@@ -899,6 +911,10 @@ interface Nursery {
|
|
|
899
911
|
* Forbid the use of Node.js builtin modules.
|
|
900
912
|
*/
|
|
901
913
|
noNodejsModules?: RuleConfiguration_for_Null;
|
|
914
|
+
/**
|
|
915
|
+
* Prevents React-specific JSX properties from being used.
|
|
916
|
+
*/
|
|
917
|
+
noReactSpecificProps?: RuleConfiguration_for_Null;
|
|
902
918
|
/**
|
|
903
919
|
* Disallow specified modules when loaded by import or require.
|
|
904
920
|
*/
|
|
@@ -1442,6 +1458,9 @@ type RuleConfiguration_for_HooksOptions =
|
|
|
1442
1458
|
type RuleConfiguration_for_DeprecatedHooksOptions =
|
|
1443
1459
|
| RulePlainConfiguration
|
|
1444
1460
|
| RuleWithOptions_for_DeprecatedHooksOptions;
|
|
1461
|
+
type RuleConfiguration_for_NoCssEmptyBlockOptions =
|
|
1462
|
+
| RulePlainConfiguration
|
|
1463
|
+
| RuleWithOptions_for_NoCssEmptyBlockOptions;
|
|
1445
1464
|
type RuleConfiguration_for_RestrictedImportsOptions =
|
|
1446
1465
|
| RulePlainConfiguration
|
|
1447
1466
|
| RuleWithOptions_for_RestrictedImportsOptions;
|
|
@@ -1481,6 +1500,10 @@ interface RuleWithOptions_for_DeprecatedHooksOptions {
|
|
|
1481
1500
|
level: RulePlainConfiguration;
|
|
1482
1501
|
options: DeprecatedHooksOptions;
|
|
1483
1502
|
}
|
|
1503
|
+
interface RuleWithOptions_for_NoCssEmptyBlockOptions {
|
|
1504
|
+
level: RulePlainConfiguration;
|
|
1505
|
+
options: NoCssEmptyBlockOptions;
|
|
1506
|
+
}
|
|
1484
1507
|
interface RuleWithOptions_for_RestrictedImportsOptions {
|
|
1485
1508
|
level: RulePlainConfiguration;
|
|
1486
1509
|
options: RestrictedImportsOptions;
|
|
@@ -1522,6 +1545,9 @@ interface HooksOptions {
|
|
|
1522
1545
|
hooks: Hook[];
|
|
1523
1546
|
}
|
|
1524
1547
|
interface DeprecatedHooksOptions {}
|
|
1548
|
+
interface NoCssEmptyBlockOptions {
|
|
1549
|
+
allowComments: boolean;
|
|
1550
|
+
}
|
|
1525
1551
|
interface RestrictedImportsOptions {
|
|
1526
1552
|
/**
|
|
1527
1553
|
* A list of names that should trigger the rule
|
|
@@ -1812,14 +1838,18 @@ type Category =
|
|
|
1812
1838
|
| "lint/nursery/noColorInvalidHex"
|
|
1813
1839
|
| "lint/nursery/noConsole"
|
|
1814
1840
|
| "lint/nursery/noConstantMathMinMaxClamp"
|
|
1841
|
+
| "lint/nursery/noCssEmptyBlock"
|
|
1815
1842
|
| "lint/nursery/noDoneCallback"
|
|
1816
1843
|
| "lint/nursery/noDuplicateElseIf"
|
|
1817
1844
|
| "lint/nursery/noDuplicateFontNames"
|
|
1818
1845
|
| "lint/nursery/noDuplicateJsonKeys"
|
|
1846
|
+
| "lint/nursery/noDuplicateSelectorsKeyframeBlock"
|
|
1819
1847
|
| "lint/nursery/noEvolvingAny"
|
|
1820
1848
|
| "lint/nursery/noFlatMapIdentity"
|
|
1849
|
+
| "lint/nursery/noImportantInKeyframe"
|
|
1821
1850
|
| "lint/nursery/noMisplacedAssertion"
|
|
1822
1851
|
| "lint/nursery/noNodejsModules"
|
|
1852
|
+
| "lint/nursery/noReactSpecificProps"
|
|
1823
1853
|
| "lint/nursery/noRestrictedImports"
|
|
1824
1854
|
| "lint/nursery/noTypeOnlyImportAttributes"
|
|
1825
1855
|
| "lint/nursery/noUndeclaredDependencies"
|
package/biome_wasm_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@biomejs/wasm-web","collaborators":["Biome Developers and Contributors"],"description":"WebAssembly bindings to the Biome workspace API","version":"1.7.
|
|
1
|
+
{"name":"@biomejs/wasm-web","collaborators":["Biome Developers and Contributors"],"description":"WebAssembly bindings to the Biome workspace API","version":"1.7.1","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"],"module":"biome_wasm.js","homepage":"https://biomejs.dev/","types":"biome_wasm.d.ts","sideEffects":["./snippets/*"],"keywords":["parser","linter","formatter"]}
|