@biomejs/biome 1.9.2 → 1.9.3-nightly.75b4387

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/README.md CHANGED
@@ -8,22 +8,25 @@
8
8
 
9
9
  <div align="center">
10
10
 
11
- [![Discord chat][discord-badge]][discord-url]
12
11
  [![CI on main][ci-badge]][ci-url]
12
+ [![Discord chat][discord-badge]][discord-url]
13
13
  [![npm version][npm-badge]][npm-url]
14
14
  [![VSCode version][vscode-badge]][vscode-url]
15
15
  [![Open VSX version][open-vsx-badge]][open-vsx-url]
16
+ [![Polar bounties][polar-badge]][polar-url]
16
17
 
17
- [discord-badge]: https://badgen.net/discord/online-members/BypW39g6Yc?icon=discord&label=discord&color=green
18
- [discord-url]: https://discord.gg/BypW39g6Yc
19
18
  [ci-badge]: https://github.com/biomejs/biome/actions/workflows/main.yml/badge.svg
20
19
  [ci-url]: https://github.com/biomejs/biome/actions/workflows/main.yml
21
- [npm-badge]: https://badgen.net/npm/v/@biomejs/biome?icon=npm&color=green&label=%40biomejs%2Fbiome
20
+ [discord-badge]: https://badgen.net/discord/online-members/BypW39g6Yc?icon=discord&label=discord&color=60a5fa
21
+ [discord-url]: https://discord.gg/BypW39g6Yc
22
+ [npm-badge]: https://badgen.net/npm/v/@biomejs/biome?icon=npm&color=60a5fa&label=%40biomejs%2Fbiome
22
23
  [npm-url]: https://www.npmjs.com/package/@biomejs/biome/v/latest
23
- [vscode-badge]: https://badgen.net/vs-marketplace/v/biomejs.biome?label=vscode&icon=visualstudio&color=green
24
+ [vscode-badge]: https://badgen.net/vs-marketplace/v/biomejs.biome?label=vscode&icon=visualstudio&color=60a5fa
24
25
  [vscode-url]: https://marketplace.visualstudio.com/items?itemName=biomejs.biome
25
- [open-vsx-badge]: https://badgen.net/open-vsx/version/biomejs/biome?label=open-vsx&color=green
26
+ [open-vsx-badge]: https://badgen.net/open-vsx/version/biomejs/biome?label=open-vsx&color=60a5fa
26
27
  [open-vsx-url]: https://open-vsx.org/extension/biomejs/biome
28
+ [polar-badge]: https://polar.sh/embed/seeks-funding-shield.svg?org=biomejs
29
+ [polar-url]: https://polar.sh/biomejs
27
30
 
28
31
  </div>
29
32
 
@@ -105,13 +108,9 @@ Biome offers a simple sponsorship program that allows companies to get visibilit
105
108
 
106
109
  We use [Polar.sh](https://polar.sh/biomejs) to up-vote and promote specific features that you would like to see and implement. Check our backlog and help us:
107
110
 
108
- <a href="https://polar.sh/biomejs"><img src="https://polar.sh/embed/fund-our-backlog.svg?org=biomejs" /></a>
109
-
110
111
 
111
112
  ## Sponsors
112
113
 
113
- ### Gold Sponsors
114
-
115
114
  ### Silver Sponsors
116
115
 
117
116
  <table>
@@ -2139,6 +2139,20 @@
2139
2139
  { "type": "null" }
2140
2140
  ]
2141
2141
  },
2142
+ "noNestedTernary": {
2143
+ "description": "Disallow nested ternary expressions.",
2144
+ "anyOf": [
2145
+ { "$ref": "#/definitions/RuleConfiguration" },
2146
+ { "type": "null" }
2147
+ ]
2148
+ },
2149
+ "noOctalEscape": {
2150
+ "description": "Disallow octal escape sequences in string literals",
2151
+ "anyOf": [
2152
+ { "$ref": "#/definitions/RuleConfiguration" },
2153
+ { "type": "null" }
2154
+ ]
2155
+ },
2142
2156
  "noProcessEnv": {
2143
2157
  "description": "Disallow the use of process.env.",
2144
2158
  "anyOf": [
@@ -2181,6 +2195,13 @@
2181
2195
  { "type": "null" }
2182
2196
  ]
2183
2197
  },
2198
+ "noTemplateCurlyInString": {
2199
+ "description": "Disallow template literal placeholder syntax in regular strings.",
2200
+ "anyOf": [
2201
+ { "$ref": "#/definitions/RuleConfiguration" },
2202
+ { "type": "null" }
2203
+ ]
2204
+ },
2184
2205
  "noUnknownPseudoClass": {
2185
2206
  "description": "Disallow unknown pseudo-class selectors.",
2186
2207
  "anyOf": [
@@ -2259,6 +2280,13 @@
2259
2280
  { "type": "null" }
2260
2281
  ]
2261
2282
  },
2283
+ "useExplicitFunctionReturnType": {
2284
+ "description": "Require explicit return types on functions and class methods.",
2285
+ "anyOf": [
2286
+ { "$ref": "#/definitions/RuleConfiguration" },
2287
+ { "type": "null" }
2288
+ ]
2289
+ },
2262
2290
  "useImportRestrictions": {
2263
2291
  "description": "Disallows package private imports.",
2264
2292
  "anyOf": [
@@ -2565,7 +2593,7 @@
2565
2593
  },
2566
2594
  "RuleWithAllowDomainOptions": {
2567
2595
  "type": "object",
2568
- "required": ["level", "options"],
2596
+ "required": ["level"],
2569
2597
  "properties": {
2570
2598
  "fix": {
2571
2599
  "description": "The kind of the code actions emitted by the rule",
@@ -2584,7 +2612,7 @@
2584
2612
  },
2585
2613
  "RuleWithComplexityOptions": {
2586
2614
  "type": "object",
2587
- "required": ["level", "options"],
2615
+ "required": ["level"],
2588
2616
  "properties": {
2589
2617
  "level": {
2590
2618
  "description": "The severity of the emitted diagnostics by the rule",
@@ -2599,7 +2627,7 @@
2599
2627
  },
2600
2628
  "RuleWithConsistentArrayTypeOptions": {
2601
2629
  "type": "object",
2602
- "required": ["level", "options"],
2630
+ "required": ["level"],
2603
2631
  "properties": {
2604
2632
  "fix": {
2605
2633
  "description": "The kind of the code actions emitted by the rule",
@@ -2618,7 +2646,7 @@
2618
2646
  },
2619
2647
  "RuleWithConsistentMemberAccessibilityOptions": {
2620
2648
  "type": "object",
2621
- "required": ["level", "options"],
2649
+ "required": ["level"],
2622
2650
  "properties": {
2623
2651
  "level": {
2624
2652
  "description": "The severity of the emitted diagnostics by the rule",
@@ -2635,7 +2663,7 @@
2635
2663
  },
2636
2664
  "RuleWithDeprecatedHooksOptions": {
2637
2665
  "type": "object",
2638
- "required": ["level", "options"],
2666
+ "required": ["level"],
2639
2667
  "properties": {
2640
2668
  "level": {
2641
2669
  "description": "The severity of the emitted diagnostics by the rule",
@@ -2650,7 +2678,7 @@
2650
2678
  },
2651
2679
  "RuleWithFilenamingConventionOptions": {
2652
2680
  "type": "object",
2653
- "required": ["level", "options"],
2681
+ "required": ["level"],
2654
2682
  "properties": {
2655
2683
  "level": {
2656
2684
  "description": "The severity of the emitted diagnostics by the rule",
@@ -2680,7 +2708,7 @@
2680
2708
  },
2681
2709
  "RuleWithHooksOptions": {
2682
2710
  "type": "object",
2683
- "required": ["level", "options"],
2711
+ "required": ["level"],
2684
2712
  "properties": {
2685
2713
  "level": {
2686
2714
  "description": "The severity of the emitted diagnostics by the rule",
@@ -2695,7 +2723,7 @@
2695
2723
  },
2696
2724
  "RuleWithNamingConventionOptions": {
2697
2725
  "type": "object",
2698
- "required": ["level", "options"],
2726
+ "required": ["level"],
2699
2727
  "properties": {
2700
2728
  "fix": {
2701
2729
  "description": "The kind of the code actions emitted by the rule",
@@ -2714,7 +2742,7 @@
2714
2742
  },
2715
2743
  "RuleWithNoConsoleOptions": {
2716
2744
  "type": "object",
2717
- "required": ["level", "options"],
2745
+ "required": ["level"],
2718
2746
  "properties": {
2719
2747
  "fix": {
2720
2748
  "description": "The kind of the code actions emitted by the rule",
@@ -2733,7 +2761,7 @@
2733
2761
  },
2734
2762
  "RuleWithNoDoubleEqualsOptions": {
2735
2763
  "type": "object",
2736
- "required": ["level", "options"],
2764
+ "required": ["level"],
2737
2765
  "properties": {
2738
2766
  "fix": {
2739
2767
  "description": "The kind of the code actions emitted by the rule",
@@ -2752,7 +2780,7 @@
2752
2780
  },
2753
2781
  "RuleWithNoLabelWithoutControlOptions": {
2754
2782
  "type": "object",
2755
- "required": ["level", "options"],
2783
+ "required": ["level"],
2756
2784
  "properties": {
2757
2785
  "level": {
2758
2786
  "description": "The severity of the emitted diagnostics by the rule",
@@ -2778,7 +2806,7 @@
2778
2806
  },
2779
2807
  "RuleWithNoRestrictedTypesOptions": {
2780
2808
  "type": "object",
2781
- "required": ["level", "options"],
2809
+ "required": ["level"],
2782
2810
  "properties": {
2783
2811
  "fix": {
2784
2812
  "description": "The kind of the code actions emitted by the rule",
@@ -2797,7 +2825,7 @@
2797
2825
  },
2798
2826
  "RuleWithRestrictedGlobalsOptions": {
2799
2827
  "type": "object",
2800
- "required": ["level", "options"],
2828
+ "required": ["level"],
2801
2829
  "properties": {
2802
2830
  "level": {
2803
2831
  "description": "The severity of the emitted diagnostics by the rule",
@@ -2812,7 +2840,7 @@
2812
2840
  },
2813
2841
  "RuleWithRestrictedImportsOptions": {
2814
2842
  "type": "object",
2815
- "required": ["level", "options"],
2843
+ "required": ["level"],
2816
2844
  "properties": {
2817
2845
  "level": {
2818
2846
  "description": "The severity of the emitted diagnostics by the rule",
@@ -2827,7 +2855,7 @@
2827
2855
  },
2828
2856
  "RuleWithUseComponentExportOnlyModulesOptions": {
2829
2857
  "type": "object",
2830
- "required": ["level", "options"],
2858
+ "required": ["level"],
2831
2859
  "properties": {
2832
2860
  "level": {
2833
2861
  "description": "The severity of the emitted diagnostics by the rule",
@@ -2844,7 +2872,7 @@
2844
2872
  },
2845
2873
  "RuleWithUseImportExtensionsOptions": {
2846
2874
  "type": "object",
2847
- "required": ["level", "options"],
2875
+ "required": ["level"],
2848
2876
  "properties": {
2849
2877
  "fix": {
2850
2878
  "description": "The kind of the code actions emitted by the rule",
@@ -2863,7 +2891,7 @@
2863
2891
  },
2864
2892
  "RuleWithUseValidAutocompleteOptions": {
2865
2893
  "type": "object",
2866
- "required": ["level", "options"],
2894
+ "required": ["level"],
2867
2895
  "properties": {
2868
2896
  "level": {
2869
2897
  "description": "The severity of the emitted diagnostics by the rule",
@@ -2878,7 +2906,7 @@
2878
2906
  },
2879
2907
  "RuleWithUtilityClassSortingOptions": {
2880
2908
  "type": "object",
2881
- "required": ["level", "options"],
2909
+ "required": ["level"],
2882
2910
  "properties": {
2883
2911
  "fix": {
2884
2912
  "description": "The kind of the code actions emitted by the rule",
@@ -2897,7 +2925,7 @@
2897
2925
  },
2898
2926
  "RuleWithValidAriaRoleOptions": {
2899
2927
  "type": "object",
2900
- "required": ["level", "options"],
2928
+ "required": ["level"],
2901
2929
  "properties": {
2902
2930
  "fix": {
2903
2931
  "description": "The kind of the code actions emitted by the rule",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biomejs/biome",
3
- "version": "1.9.2",
3
+ "version": "1.9.3-nightly.75b4387",
4
4
  "bin": {
5
5
  "biome": "bin/biome"
6
6
  },
@@ -50,13 +50,13 @@
50
50
  "provenance": true
51
51
  },
52
52
  "optionalDependencies": {
53
- "@biomejs/cli-win32-x64": "1.9.2",
54
- "@biomejs/cli-win32-arm64": "1.9.2",
55
- "@biomejs/cli-darwin-x64": "1.9.2",
56
- "@biomejs/cli-darwin-arm64": "1.9.2",
57
- "@biomejs/cli-linux-x64": "1.9.2",
58
- "@biomejs/cli-linux-arm64": "1.9.2",
59
- "@biomejs/cli-linux-x64-musl": "1.9.2",
60
- "@biomejs/cli-linux-arm64-musl": "1.9.2"
53
+ "@biomejs/cli-win32-x64": "1.9.3-nightly.75b4387",
54
+ "@biomejs/cli-win32-arm64": "1.9.3-nightly.75b4387",
55
+ "@biomejs/cli-darwin-x64": "1.9.3-nightly.75b4387",
56
+ "@biomejs/cli-darwin-arm64": "1.9.3-nightly.75b4387",
57
+ "@biomejs/cli-linux-x64": "1.9.3-nightly.75b4387",
58
+ "@biomejs/cli-linux-arm64": "1.9.3-nightly.75b4387",
59
+ "@biomejs/cli-linux-x64-musl": "1.9.3-nightly.75b4387",
60
+ "@biomejs/cli-linux-arm64-musl": "1.9.3-nightly.75b4387"
61
61
  }
62
62
  }