@depup/oxlint 1.77.0-depup.0 → 1.78.0-depup.0

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
@@ -13,8 +13,8 @@ npm install @depup/oxlint
13
13
 
14
14
  | Field | Value |
15
15
  |-------|-------|
16
- | Original | [oxlint](https://www.npmjs.com/package/oxlint) @ 1.77.0 |
17
- | Processed | 2026-08-03 |
16
+ | Original | [oxlint](https://www.npmjs.com/package/oxlint) @ 1.78.0 |
17
+ | Processed | 2026-08-10 |
18
18
  | Smoke test | passed |
19
19
  | Deps updated | 0 |
20
20
 
package/changes.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "bumped": {},
3
- "timestamp": "2026-08-03T16:51:47.717Z",
3
+ "timestamp": "2026-08-10T16:19:05.410Z",
4
4
  "totalUpdated": 0
5
5
  }
@@ -672,6 +672,21 @@
672
672
  },
673
673
  "additionalProperties": false
674
674
  },
675
+ "AnchorHasContentConfig": {
676
+ "type": "object",
677
+ "properties": {
678
+ "components": {
679
+ "description": "Additional custom component names to treat as anchor elements.",
680
+ "default": [],
681
+ "type": "array",
682
+ "items": {
683
+ "type": "string"
684
+ },
685
+ "markdownDescription": "Additional custom component names to treat as anchor elements."
686
+ }
687
+ },
688
+ "additionalProperties": false
689
+ },
675
690
  "AnchorIsValidAspect": {
676
691
  "type": "string",
677
692
  "enum": [
@@ -2034,6 +2049,15 @@
2034
2049
  },
2035
2050
  "additionalProperties": false
2036
2051
  },
2052
+ "DescriptionFormatConfig": {
2053
+ "type": "object",
2054
+ "properties": {
2055
+ "descriptionFormat": {
2056
+ "type": "string"
2057
+ }
2058
+ },
2059
+ "additionalProperties": false
2060
+ },
2037
2061
  "Destructure": {
2038
2062
  "oneOf": [
2039
2063
  {
@@ -2091,13 +2115,7 @@
2091
2115
  "$ref": "#/definitions/RequireDescription"
2092
2116
  },
2093
2117
  {
2094
- "type": "object",
2095
- "properties": {
2096
- "descriptionFormat": {
2097
- "type": "string"
2098
- }
2099
- },
2100
- "additionalProperties": false
2118
+ "$ref": "#/definitions/DescriptionFormatConfig"
2101
2119
  }
2102
2120
  ]
2103
2121
  },
@@ -3563,6 +3581,26 @@
3563
3581
  "jsdoc/implements-on-classes": {
3564
3582
  "$ref": "#/definitions/RuleNoConfig"
3565
3583
  },
3584
+ "jsdoc/no-blank-blocks": {
3585
+ "anyOf": [
3586
+ {
3587
+ "$ref": "#/definitions/RuleNoConfig"
3588
+ },
3589
+ {
3590
+ "type": "array",
3591
+ "items": [
3592
+ {
3593
+ "$ref": "#/definitions/AllowWarnDeny"
3594
+ },
3595
+ {
3596
+ "$ref": "#/definitions/NoBlankBlocks"
3597
+ }
3598
+ ],
3599
+ "maxItems": 2,
3600
+ "minItems": 2
3601
+ }
3602
+ ]
3603
+ },
3566
3604
  "jsdoc/no-defaults": {
3567
3605
  "anyOf": [
3568
3606
  {
@@ -3757,7 +3795,24 @@
3757
3795
  ]
3758
3796
  },
3759
3797
  "jsx-a11y/anchor-has-content": {
3760
- "$ref": "#/definitions/RuleNoConfig"
3798
+ "anyOf": [
3799
+ {
3800
+ "$ref": "#/definitions/RuleNoConfig"
3801
+ },
3802
+ {
3803
+ "type": "array",
3804
+ "items": [
3805
+ {
3806
+ "$ref": "#/definitions/AllowWarnDeny"
3807
+ },
3808
+ {
3809
+ "$ref": "#/definitions/AnchorHasContentConfig"
3810
+ }
3811
+ ],
3812
+ "maxItems": 2,
3813
+ "minItems": 2
3814
+ }
3815
+ ]
3761
3816
  },
3762
3817
  "jsx-a11y/anchor-is-valid": {
3763
3818
  "anyOf": [
@@ -5850,6 +5905,26 @@
5850
5905
  }
5851
5906
  ]
5852
5907
  },
5908
+ "one-var": {
5909
+ "anyOf": [
5910
+ {
5911
+ "$ref": "#/definitions/RuleNoConfig"
5912
+ },
5913
+ {
5914
+ "type": "array",
5915
+ "items": [
5916
+ {
5917
+ "$ref": "#/definitions/AllowWarnDeny"
5918
+ },
5919
+ {
5920
+ "$ref": "#/definitions/OneVar"
5921
+ }
5922
+ ],
5923
+ "maxItems": 2,
5924
+ "minItems": 2
5925
+ }
5926
+ ]
5927
+ },
5853
5928
  "operator-assignment": {
5854
5929
  "anyOf": [
5855
5930
  {
@@ -13715,6 +13790,18 @@
13715
13790
  },
13716
13791
  "additionalProperties": false
13717
13792
  },
13793
+ "NoBlankBlocks": {
13794
+ "type": "object",
13795
+ "properties": {
13796
+ "enableFixer": {
13797
+ "description": "Whether to automatically remove blank JSDoc blocks.",
13798
+ "default": false,
13799
+ "type": "boolean",
13800
+ "markdownDescription": "Whether to automatically remove blank JSDoc blocks."
13801
+ }
13802
+ },
13803
+ "additionalProperties": false
13804
+ },
13718
13805
  "NoCallbackInPromiseConfig": {
13719
13806
  "type": "object",
13720
13807
  "properties": {
@@ -16584,6 +16671,153 @@
16584
16671
  }
16585
16672
  ]
16586
16673
  },
16674
+ "OneVar": {
16675
+ "description": "Enforces consistent grouping of variable declarations.",
16676
+ "allOf": [
16677
+ {
16678
+ "$ref": "#/definitions/OneVarConfig"
16679
+ }
16680
+ ],
16681
+ "markdownDescription": "Enforces consistent grouping of variable declarations."
16682
+ },
16683
+ "OneVarConfig": {
16684
+ "description": "Configuration accepted by the `one-var` rule.",
16685
+ "anyOf": [
16686
+ {
16687
+ "description": "Applies one grouping mode to every declaration kind and initialization state.",
16688
+ "allOf": [
16689
+ {
16690
+ "$ref": "#/definitions/OneVarMode"
16691
+ }
16692
+ ],
16693
+ "markdownDescription": "Applies one grouping mode to every declaration kind and initialization state."
16694
+ },
16695
+ {
16696
+ "description": "Configures grouping by declaration kind or initialization state.",
16697
+ "allOf": [
16698
+ {
16699
+ "$ref": "#/definitions/OneVarOptions"
16700
+ }
16701
+ ],
16702
+ "markdownDescription": "Configures grouping by declaration kind or initialization state."
16703
+ }
16704
+ ],
16705
+ "markdownDescription": "Configuration accepted by the `one-var` rule."
16706
+ },
16707
+ "OneVarMode": {
16708
+ "description": "Controls how variable declarators are grouped into declarations.",
16709
+ "oneOf": [
16710
+ {
16711
+ "description": "Requires one declaration per variable kind in each applicable scope.",
16712
+ "type": "string",
16713
+ "enum": [
16714
+ "always"
16715
+ ],
16716
+ "markdownDescription": "Requires one declaration per variable kind in each applicable scope."
16717
+ },
16718
+ {
16719
+ "description": "Requires each declarator to have its own declaration statement.",
16720
+ "type": "string",
16721
+ "enum": [
16722
+ "never"
16723
+ ],
16724
+ "markdownDescription": "Requires each declarator to have its own declaration statement."
16725
+ },
16726
+ {
16727
+ "description": "Requires adjacent declarations of the same kind to be combined.",
16728
+ "type": "string",
16729
+ "enum": [
16730
+ "consecutive"
16731
+ ],
16732
+ "markdownDescription": "Requires adjacent declarations of the same kind to be combined."
16733
+ }
16734
+ ],
16735
+ "markdownDescription": "Controls how variable declarators are grouped into declarations."
16736
+ },
16737
+ "OneVarOptions": {
16738
+ "description": "Options for configuring declaration grouping by kind or initialization state.\n\n`initialized` and `uninitialized` take precedence over the per-kind option for the\ncorresponding declarators.",
16739
+ "type": "object",
16740
+ "properties": {
16741
+ "awaitUsing": {
16742
+ "description": "Controls grouping for `await using` declarations.",
16743
+ "default": null,
16744
+ "allOf": [
16745
+ {
16746
+ "$ref": "#/definitions/OneVarMode"
16747
+ }
16748
+ ],
16749
+ "markdownDescription": "Controls grouping for `await using` declarations."
16750
+ },
16751
+ "const": {
16752
+ "description": "Controls grouping for `const` declarations.",
16753
+ "default": null,
16754
+ "allOf": [
16755
+ {
16756
+ "$ref": "#/definitions/OneVarMode"
16757
+ }
16758
+ ],
16759
+ "markdownDescription": "Controls grouping for `const` declarations."
16760
+ },
16761
+ "initialized": {
16762
+ "description": "Controls grouping for initialized declarators, overriding per-kind options.",
16763
+ "default": null,
16764
+ "allOf": [
16765
+ {
16766
+ "$ref": "#/definitions/OneVarMode"
16767
+ }
16768
+ ],
16769
+ "markdownDescription": "Controls grouping for initialized declarators, overriding per-kind options."
16770
+ },
16771
+ "let": {
16772
+ "description": "Controls grouping for `let` declarations.",
16773
+ "default": null,
16774
+ "allOf": [
16775
+ {
16776
+ "$ref": "#/definitions/OneVarMode"
16777
+ }
16778
+ ],
16779
+ "markdownDescription": "Controls grouping for `let` declarations."
16780
+ },
16781
+ "separateRequires": {
16782
+ "description": "Keeps direct `require(...)` initializers separate from other initialized declarations.",
16783
+ "default": false,
16784
+ "type": "boolean",
16785
+ "markdownDescription": "Keeps direct `require(...)` initializers separate from other initialized declarations."
16786
+ },
16787
+ "uninitialized": {
16788
+ "description": "Controls grouping for uninitialized declarators, overriding per-kind options.",
16789
+ "default": null,
16790
+ "allOf": [
16791
+ {
16792
+ "$ref": "#/definitions/OneVarMode"
16793
+ }
16794
+ ],
16795
+ "markdownDescription": "Controls grouping for uninitialized declarators, overriding per-kind options."
16796
+ },
16797
+ "using": {
16798
+ "description": "Controls grouping for `using` declarations.",
16799
+ "default": null,
16800
+ "allOf": [
16801
+ {
16802
+ "$ref": "#/definitions/OneVarMode"
16803
+ }
16804
+ ],
16805
+ "markdownDescription": "Controls grouping for `using` declarations."
16806
+ },
16807
+ "var": {
16808
+ "description": "Controls grouping for `var` declarations.",
16809
+ "default": null,
16810
+ "allOf": [
16811
+ {
16812
+ "$ref": "#/definitions/OneVarMode"
16813
+ }
16814
+ ],
16815
+ "markdownDescription": "Controls grouping for `var` declarations."
16816
+ }
16817
+ },
16818
+ "additionalProperties": false,
16819
+ "markdownDescription": "Options for configuring declaration grouping by kind or initialization state.\n\n`initialized` and `uninitialized` take precedence over the per-kind option for the\ncorresponding declarators."
16820
+ },
16587
16821
  "OnlyExportComponentsConfig": {
16588
16822
  "type": "object",
16589
16823
  "properties": {