@biomejs/biome 1.8.1 → 1.8.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.
@@ -1727,6 +1727,13 @@
1727
1727
  { "type": "null" }
1728
1728
  ]
1729
1729
  },
1730
+ "noExportedImports": {
1731
+ "description": "Disallow exporting an imported variable.",
1732
+ "anyOf": [
1733
+ { "$ref": "#/definitions/RuleConfiguration" },
1734
+ { "type": "null" }
1735
+ ]
1736
+ },
1730
1737
  "noImportantInKeyframe": {
1731
1738
  "description": "Disallow invalid !important within keyframe declarations",
1732
1739
  "anyOf": [
@@ -1734,6 +1741,13 @@
1734
1741
  { "type": "null" }
1735
1742
  ]
1736
1743
  },
1744
+ "noInvalidDirectionInLinearGradient": {
1745
+ "description": "Disallow non-standard direction values for linear gradient functions.",
1746
+ "anyOf": [
1747
+ { "$ref": "#/definitions/RuleConfiguration" },
1748
+ { "type": "null" }
1749
+ ]
1750
+ },
1737
1751
  "noInvalidPositionAtImportRule": {
1738
1752
  "description": "Disallow the use of @import at-rules in invalid positions.",
1739
1753
  "anyOf": [
@@ -1776,6 +1790,13 @@
1776
1790
  { "type": "null" }
1777
1791
  ]
1778
1792
  },
1793
+ "noSubstr": {
1794
+ "description": "Enforce the use of String.slice() over String.substr() and String.substring().",
1795
+ "anyOf": [
1796
+ { "$ref": "#/definitions/RuleFixConfiguration" },
1797
+ { "type": "null" }
1798
+ ]
1799
+ },
1779
1800
  "noUndeclaredDependencies": {
1780
1801
  "description": "Disallow the use of dependencies that aren't specified in the package.json.",
1781
1802
  "anyOf": [
@@ -1879,7 +1900,7 @@
1879
1900
  ]
1880
1901
  },
1881
1902
  "useConsistentGridAreas": {
1882
- "description": "Disallowing invalid named grid areas in CSS Grid Layouts.",
1903
+ "description": "Disallows invalid named grid areas in CSS Grid Layouts.",
1883
1904
  "anyOf": [
1884
1905
  { "$ref": "#/definitions/RuleConfiguration" },
1885
1906
  { "type": "null" }
@@ -1899,6 +1920,13 @@
1899
1920
  { "type": "null" }
1900
1921
  ]
1901
1922
  },
1923
+ "useDeprecatedReason": {
1924
+ "description": "Require specifying the reason argument when using @deprecated directive",
1925
+ "anyOf": [
1926
+ { "$ref": "#/definitions/RuleConfiguration" },
1927
+ { "type": "null" }
1928
+ ]
1929
+ },
1902
1930
  "useErrorMessage": {
1903
1931
  "description": "Enforce passing a message value when creating a built-in error.",
1904
1932
  "anyOf": [
@@ -1982,6 +2010,13 @@
1982
2010
  { "$ref": "#/definitions/RuleConfiguration" },
1983
2011
  { "type": "null" }
1984
2012
  ]
2013
+ },
2014
+ "useValidAutocomplete": {
2015
+ "description": "Use valid values for the autocomplete attribute on input elements.",
2016
+ "anyOf": [
2017
+ { "$ref": "#/definitions/UseValidAutocompleteConfiguration" },
2018
+ { "type": "null" }
2019
+ ]
1985
2020
  }
1986
2021
  },
1987
2022
  "additionalProperties": false
@@ -2408,6 +2443,21 @@
2408
2443
  },
2409
2444
  "additionalProperties": false
2410
2445
  },
2446
+ "RuleWithUseValidAutocompleteOptions": {
2447
+ "type": "object",
2448
+ "required": ["level", "options"],
2449
+ "properties": {
2450
+ "level": {
2451
+ "description": "The severity of the emitted diagnostics by the rule",
2452
+ "allOf": [{ "$ref": "#/definitions/RulePlainConfiguration" }]
2453
+ },
2454
+ "options": {
2455
+ "description": "Rule's options",
2456
+ "allOf": [{ "$ref": "#/definitions/UseValidAutocompleteOptions" }]
2457
+ }
2458
+ },
2459
+ "additionalProperties": false
2460
+ },
2411
2461
  "RuleWithUtilityClassSortingOptions": {
2412
2462
  "type": "object",
2413
2463
  "required": ["level", "options"],
@@ -3314,6 +3364,24 @@
3314
3364
  }
3315
3365
  ]
3316
3366
  },
3367
+ "UseValidAutocompleteConfiguration": {
3368
+ "anyOf": [
3369
+ { "$ref": "#/definitions/RulePlainConfiguration" },
3370
+ { "$ref": "#/definitions/RuleWithUseValidAutocompleteOptions" }
3371
+ ]
3372
+ },
3373
+ "UseValidAutocompleteOptions": {
3374
+ "type": "object",
3375
+ "required": ["inputComponents"],
3376
+ "properties": {
3377
+ "inputComponents": {
3378
+ "description": "`input` like custom components that should be checked.",
3379
+ "type": "array",
3380
+ "items": { "type": "string" }
3381
+ }
3382
+ },
3383
+ "additionalProperties": false
3384
+ },
3317
3385
  "UtilityClassSortingConfiguration": {
3318
3386
  "anyOf": [
3319
3387
  { "$ref": "#/definitions/RulePlainConfiguration" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biomejs/biome",
3
- "version": "1.8.1",
3
+ "version": "1.8.3",
4
4
  "bin": {
5
5
  "biome": "bin/biome"
6
6
  },
@@ -42,13 +42,13 @@
42
42
  "url": "https://opencollective.com/biome"
43
43
  },
44
44
  "optionalDependencies": {
45
- "@biomejs/cli-win32-x64": "1.8.1",
46
- "@biomejs/cli-win32-arm64": "1.8.1",
47
- "@biomejs/cli-darwin-x64": "1.8.1",
48
- "@biomejs/cli-darwin-arm64": "1.8.1",
49
- "@biomejs/cli-linux-x64": "1.8.1",
50
- "@biomejs/cli-linux-arm64": "1.8.1",
51
- "@biomejs/cli-linux-x64-musl": "1.8.1",
52
- "@biomejs/cli-linux-arm64-musl": "1.8.1"
45
+ "@biomejs/cli-win32-x64": "1.8.3",
46
+ "@biomejs/cli-win32-arm64": "1.8.3",
47
+ "@biomejs/cli-darwin-x64": "1.8.3",
48
+ "@biomejs/cli-darwin-arm64": "1.8.3",
49
+ "@biomejs/cli-linux-x64": "1.8.3",
50
+ "@biomejs/cli-linux-arm64": "1.8.3",
51
+ "@biomejs/cli-linux-x64-musl": "1.8.3",
52
+ "@biomejs/cli-linux-arm64-musl": "1.8.3"
53
53
  }
54
54
  }