@biomejs/biome 2.1.2 → 2.1.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.
@@ -3770,6 +3770,24 @@
3770
3770
  "type": "object",
3771
3771
  "additionalProperties": false
3772
3772
  },
3773
+ "NoQuickfixBiomeConfiguration": {
3774
+ "anyOf": [
3775
+ { "$ref": "#/definitions/RulePlainConfiguration" },
3776
+ { "$ref": "#/definitions/RuleWithNoQuickfixBiomeOptions" }
3777
+ ]
3778
+ },
3779
+ "NoQuickfixBiomeOptions": {
3780
+ "type": "object",
3781
+ "properties": {
3782
+ "additionalPaths": {
3783
+ "description": "A list of additional JSON files that should be checked.",
3784
+ "default": [],
3785
+ "type": "array",
3786
+ "items": { "type": "string" }
3787
+ }
3788
+ },
3789
+ "additionalProperties": false
3790
+ },
3773
3791
  "NoReExportAllConfiguration": {
3774
3792
  "anyOf": [
3775
3793
  { "$ref": "#/definitions/RulePlainConfiguration" },
@@ -4648,6 +4666,16 @@
4648
4666
  "type": "object",
4649
4667
  "additionalProperties": false
4650
4668
  },
4669
+ "NoVueReservedKeysConfiguration": {
4670
+ "anyOf": [
4671
+ { "$ref": "#/definitions/RulePlainConfiguration" },
4672
+ { "$ref": "#/definitions/RuleWithNoVueReservedKeysOptions" }
4673
+ ]
4674
+ },
4675
+ "NoVueReservedKeysOptions": {
4676
+ "type": "object",
4677
+ "additionalProperties": false
4678
+ },
4651
4679
  "NoVueReservedPropsConfiguration": {
4652
4680
  "anyOf": [
4653
4681
  { "$ref": "#/definitions/RulePlainConfiguration" },
@@ -4794,6 +4822,13 @@
4794
4822
  { "type": "null" }
4795
4823
  ]
4796
4824
  },
4825
+ "noQuickfixBiome": {
4826
+ "description": "Disallow the use if quickfix.biome inside editor settings file.",
4827
+ "anyOf": [
4828
+ { "$ref": "#/definitions/NoQuickfixBiomeConfiguration" },
4829
+ { "type": "null" }
4830
+ ]
4831
+ },
4797
4832
  "noReactPropAssign": {
4798
4833
  "description": "Disallow assigning to React component props.",
4799
4834
  "anyOf": [
@@ -4878,6 +4913,13 @@
4878
4913
  { "type": "null" }
4879
4914
  ]
4880
4915
  },
4916
+ "noVueReservedKeys": {
4917
+ "description": "Disallow reserved keys in Vue component data and computed properties.",
4918
+ "anyOf": [
4919
+ { "$ref": "#/definitions/NoVueReservedKeysConfiguration" },
4920
+ { "type": "null" }
4921
+ ]
4922
+ },
4881
4923
  "noVueReservedProps": {
4882
4924
  "description": "Disallow reserved names to be used as props.",
4883
4925
  "anyOf": [
@@ -5003,6 +5045,13 @@
5003
5045
  { "type": "null" }
5004
5046
  ]
5005
5047
  },
5048
+ "useReactFunctionComponents": {
5049
+ "description": "Enforce that components are defined as functions and never as classes.",
5050
+ "anyOf": [
5051
+ { "$ref": "#/definitions/UseReactFunctionComponentsConfiguration" },
5052
+ { "type": "null" }
5053
+ ]
5054
+ },
5006
5055
  "useReadonlyClassProperties": {
5007
5056
  "description": "Enforce marking members as readonly if they are never modified outside the constructor.",
5008
5057
  "anyOf": [
@@ -7852,6 +7901,25 @@
7852
7901
  },
7853
7902
  "additionalProperties": false
7854
7903
  },
7904
+ "RuleWithNoQuickfixBiomeOptions": {
7905
+ "type": "object",
7906
+ "required": ["level"],
7907
+ "properties": {
7908
+ "fix": {
7909
+ "description": "The kind of the code actions emitted by the rule",
7910
+ "anyOf": [{ "$ref": "#/definitions/FixKind" }, { "type": "null" }]
7911
+ },
7912
+ "level": {
7913
+ "description": "The severity of the emitted diagnostics by the rule",
7914
+ "allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
7915
+ },
7916
+ "options": {
7917
+ "description": "Rule's options",
7918
+ "allOf": [{ "$ref": "#/definitions/NoQuickfixBiomeOptions" }]
7919
+ }
7920
+ },
7921
+ "additionalProperties": false
7922
+ },
7855
7923
  "RuleWithNoReExportAllOptions": {
7856
7924
  "type": "object",
7857
7925
  "required": ["level"],
@@ -9288,6 +9356,21 @@
9288
9356
  },
9289
9357
  "additionalProperties": false
9290
9358
  },
9359
+ "RuleWithNoVueReservedKeysOptions": {
9360
+ "type": "object",
9361
+ "required": ["level"],
9362
+ "properties": {
9363
+ "level": {
9364
+ "description": "The severity of the emitted diagnostics by the rule",
9365
+ "allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
9366
+ },
9367
+ "options": {
9368
+ "description": "Rule's options",
9369
+ "allOf": [{ "$ref": "#/definitions/NoVueReservedKeysOptions" }]
9370
+ }
9371
+ },
9372
+ "additionalProperties": false
9373
+ },
9291
9374
  "RuleWithNoVueReservedPropsOptions": {
9292
9375
  "type": "object",
9293
9376
  "required": ["level"],
@@ -10709,6 +10792,23 @@
10709
10792
  },
10710
10793
  "additionalProperties": false
10711
10794
  },
10795
+ "RuleWithUseReactFunctionComponentsOptions": {
10796
+ "type": "object",
10797
+ "required": ["level"],
10798
+ "properties": {
10799
+ "level": {
10800
+ "description": "The severity of the emitted diagnostics by the rule",
10801
+ "allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
10802
+ },
10803
+ "options": {
10804
+ "description": "Rule's options",
10805
+ "allOf": [
10806
+ { "$ref": "#/definitions/UseReactFunctionComponentsOptions" }
10807
+ ]
10808
+ }
10809
+ },
10810
+ "additionalProperties": false
10811
+ },
10712
10812
  "RuleWithUseReadonlyClassPropertiesOptions": {
10713
10813
  "type": "object",
10714
10814
  "required": ["level"],
@@ -13448,6 +13548,16 @@
13448
13548
  "type": "object",
13449
13549
  "additionalProperties": false
13450
13550
  },
13551
+ "UseReactFunctionComponentsConfiguration": {
13552
+ "anyOf": [
13553
+ { "$ref": "#/definitions/RulePlainConfiguration" },
13554
+ { "$ref": "#/definitions/RuleWithUseReactFunctionComponentsOptions" }
13555
+ ]
13556
+ },
13557
+ "UseReactFunctionComponentsOptions": {
13558
+ "type": "object",
13559
+ "additionalProperties": false
13560
+ },
13451
13561
  "UseReadonlyClassPropertiesConfiguration": {
13452
13562
  "anyOf": [
13453
13563
  { "$ref": "#/definitions/RulePlainConfiguration" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biomejs/biome",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "bin": {
5
5
  "biome": "bin/biome"
6
6
  },
@@ -46,13 +46,13 @@
46
46
  "provenance": true
47
47
  },
48
48
  "optionalDependencies": {
49
- "@biomejs/cli-win32-x64": "2.1.2",
50
- "@biomejs/cli-win32-arm64": "2.1.2",
51
- "@biomejs/cli-darwin-x64": "2.1.2",
52
- "@biomejs/cli-darwin-arm64": "2.1.2",
53
- "@biomejs/cli-linux-x64": "2.1.2",
54
- "@biomejs/cli-linux-arm64": "2.1.2",
55
- "@biomejs/cli-linux-x64-musl": "2.1.2",
56
- "@biomejs/cli-linux-arm64-musl": "2.1.2"
49
+ "@biomejs/cli-win32-x64": "2.1.3",
50
+ "@biomejs/cli-win32-arm64": "2.1.3",
51
+ "@biomejs/cli-darwin-x64": "2.1.3",
52
+ "@biomejs/cli-darwin-arm64": "2.1.3",
53
+ "@biomejs/cli-linux-x64": "2.1.3",
54
+ "@biomejs/cli-linux-arm64": "2.1.3",
55
+ "@biomejs/cli-linux-x64-musl": "2.1.3",
56
+ "@biomejs/cli-linux-arm64-musl": "2.1.3"
57
57
  }
58
58
  }