@vinicunca/eslint-config 2.11.3 → 2.11.5
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/dist/index.d.cts +40 -0
- package/dist/index.d.ts +40 -0
- package/package.json +8 -8
package/dist/index.d.cts
CHANGED
|
@@ -10505,6 +10505,8 @@ type PerfectionistSortArrayIncludes = []|[{
|
|
|
10505
10505
|
|
|
10506
10506
|
order?: ("asc" | "desc")
|
|
10507
10507
|
|
|
10508
|
+
matcher?: ("minimatch" | "regex")
|
|
10509
|
+
|
|
10508
10510
|
ignoreCase?: boolean
|
|
10509
10511
|
|
|
10510
10512
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
@@ -10520,6 +10522,8 @@ type PerfectionistSortAstroAttributes = []|[{
|
|
|
10520
10522
|
|
|
10521
10523
|
order?: ("asc" | "desc")
|
|
10522
10524
|
|
|
10525
|
+
matcher?: ("minimatch" | "regex")
|
|
10526
|
+
|
|
10523
10527
|
ignoreCase?: boolean
|
|
10524
10528
|
|
|
10525
10529
|
groups?: (string | string[])[]
|
|
@@ -10535,6 +10539,8 @@ type PerfectionistSortClasses = []|[{
|
|
|
10535
10539
|
|
|
10536
10540
|
order?: ("asc" | "desc")
|
|
10537
10541
|
|
|
10542
|
+
matcher?: ("minimatch" | "regex")
|
|
10543
|
+
|
|
10538
10544
|
ignoreCase?: boolean
|
|
10539
10545
|
|
|
10540
10546
|
partitionByComment?: (string[] | boolean | string)
|
|
@@ -10584,6 +10590,8 @@ type PerfectionistSortEnums = []|[{
|
|
|
10584
10590
|
|
|
10585
10591
|
order?: ("asc" | "desc")
|
|
10586
10592
|
|
|
10593
|
+
matcher?: ("minimatch" | "regex")
|
|
10594
|
+
|
|
10587
10595
|
ignoreCase?: boolean
|
|
10588
10596
|
|
|
10589
10597
|
sortByValue?: boolean
|
|
@@ -10601,6 +10609,8 @@ type PerfectionistSortExports = []|[{
|
|
|
10601
10609
|
|
|
10602
10610
|
order?: ("asc" | "desc")
|
|
10603
10611
|
|
|
10612
|
+
matcher?: ("minimatch" | "regex")
|
|
10613
|
+
|
|
10604
10614
|
ignoreCase?: boolean
|
|
10605
10615
|
|
|
10606
10616
|
partitionByComment?: (string[] | boolean | string)
|
|
@@ -10617,6 +10627,8 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
10617
10627
|
|
|
10618
10628
|
order?: ("asc" | "desc")
|
|
10619
10629
|
|
|
10630
|
+
matcher?: ("minimatch" | "regex")
|
|
10631
|
+
|
|
10620
10632
|
ignoreCase?: boolean
|
|
10621
10633
|
|
|
10622
10634
|
internalPattern?: string[]
|
|
@@ -10654,6 +10666,8 @@ type PerfectionistSortInterfaces = []|[{
|
|
|
10654
10666
|
|
|
10655
10667
|
order?: ("asc" | "desc")
|
|
10656
10668
|
|
|
10669
|
+
matcher?: ("minimatch" | "regex")
|
|
10670
|
+
|
|
10657
10671
|
ignoreCase?: boolean
|
|
10658
10672
|
|
|
10659
10673
|
ignorePattern?: string[]
|
|
@@ -10677,6 +10691,8 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
10677
10691
|
|
|
10678
10692
|
order?: ("asc" | "desc")
|
|
10679
10693
|
|
|
10694
|
+
matcher?: ("minimatch" | "regex")
|
|
10695
|
+
|
|
10680
10696
|
ignoreCase?: boolean
|
|
10681
10697
|
|
|
10682
10698
|
groups?: (string | string[])[]
|
|
@@ -10692,6 +10708,8 @@ type PerfectionistSortJsxProps = []|[{
|
|
|
10692
10708
|
|
|
10693
10709
|
order?: ("asc" | "desc")
|
|
10694
10710
|
|
|
10711
|
+
matcher?: ("minimatch" | "regex")
|
|
10712
|
+
|
|
10695
10713
|
ignoreCase?: boolean
|
|
10696
10714
|
|
|
10697
10715
|
ignorePattern?: string[]
|
|
@@ -10709,6 +10727,8 @@ type PerfectionistSortMaps = []|[{
|
|
|
10709
10727
|
|
|
10710
10728
|
order?: ("asc" | "desc")
|
|
10711
10729
|
|
|
10730
|
+
matcher?: ("minimatch" | "regex")
|
|
10731
|
+
|
|
10712
10732
|
ignoreCase?: boolean
|
|
10713
10733
|
|
|
10714
10734
|
partitionByComment?: (string[] | boolean | string)
|
|
@@ -10722,6 +10742,8 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
10722
10742
|
|
|
10723
10743
|
order?: ("asc" | "desc")
|
|
10724
10744
|
|
|
10745
|
+
matcher?: ("minimatch" | "regex")
|
|
10746
|
+
|
|
10725
10747
|
ignoreCase?: boolean
|
|
10726
10748
|
|
|
10727
10749
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
@@ -10737,6 +10759,8 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
10737
10759
|
|
|
10738
10760
|
order?: ("asc" | "desc")
|
|
10739
10761
|
|
|
10762
|
+
matcher?: ("minimatch" | "regex")
|
|
10763
|
+
|
|
10740
10764
|
ignoreCase?: boolean
|
|
10741
10765
|
|
|
10742
10766
|
ignoreAlias?: boolean
|
|
@@ -10754,6 +10778,8 @@ type PerfectionistSortObjectTypes = []|[{
|
|
|
10754
10778
|
|
|
10755
10779
|
order?: ("asc" | "desc")
|
|
10756
10780
|
|
|
10781
|
+
matcher?: ("minimatch" | "regex")
|
|
10782
|
+
|
|
10757
10783
|
ignoreCase?: boolean
|
|
10758
10784
|
|
|
10759
10785
|
partitionByComment?: (string[] | boolean | string)
|
|
@@ -10775,6 +10801,8 @@ type PerfectionistSortObjects = []|[{
|
|
|
10775
10801
|
|
|
10776
10802
|
order?: ("asc" | "desc")
|
|
10777
10803
|
|
|
10804
|
+
matcher?: ("minimatch" | "regex")
|
|
10805
|
+
|
|
10778
10806
|
ignoreCase?: boolean
|
|
10779
10807
|
|
|
10780
10808
|
partitionByComment?: (string[] | boolean | string)
|
|
@@ -10800,6 +10828,8 @@ type PerfectionistSortSets = []|[{
|
|
|
10800
10828
|
|
|
10801
10829
|
order?: ("asc" | "desc")
|
|
10802
10830
|
|
|
10831
|
+
matcher?: ("minimatch" | "regex")
|
|
10832
|
+
|
|
10803
10833
|
ignoreCase?: boolean
|
|
10804
10834
|
|
|
10805
10835
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
@@ -10815,6 +10845,8 @@ type PerfectionistSortSvelteAttributes = []|[{
|
|
|
10815
10845
|
|
|
10816
10846
|
order?: ("asc" | "desc")
|
|
10817
10847
|
|
|
10848
|
+
matcher?: ("minimatch" | "regex")
|
|
10849
|
+
|
|
10818
10850
|
ignoreCase?: boolean
|
|
10819
10851
|
|
|
10820
10852
|
groups?: (string | string[])[]
|
|
@@ -10839,6 +10871,8 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
10839
10871
|
|
|
10840
10872
|
order?: ("asc" | "desc")
|
|
10841
10873
|
|
|
10874
|
+
matcher?: ("minimatch" | "regex")
|
|
10875
|
+
|
|
10842
10876
|
ignoreCase?: boolean
|
|
10843
10877
|
|
|
10844
10878
|
groups?: (string | string[])[]
|
|
@@ -10854,6 +10888,8 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
10854
10888
|
|
|
10855
10889
|
order?: ("asc" | "desc")
|
|
10856
10890
|
|
|
10891
|
+
matcher?: ("minimatch" | "regex")
|
|
10892
|
+
|
|
10857
10893
|
ignoreCase?: boolean
|
|
10858
10894
|
|
|
10859
10895
|
partitionByComment?: (string[] | boolean | string)
|
|
@@ -10867,6 +10903,8 @@ type PerfectionistSortVueAttributes = []|[{
|
|
|
10867
10903
|
|
|
10868
10904
|
order?: ("asc" | "desc")
|
|
10869
10905
|
|
|
10906
|
+
matcher?: ("minimatch" | "regex")
|
|
10907
|
+
|
|
10870
10908
|
ignoreCase?: boolean
|
|
10871
10909
|
|
|
10872
10910
|
groups?: (string | string[])[]
|
|
@@ -13413,6 +13451,8 @@ type TsNoUnnecessaryCondition = []|[{
|
|
|
13413
13451
|
allowConstantLoopConditions?: boolean
|
|
13414
13452
|
|
|
13415
13453
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
13454
|
+
|
|
13455
|
+
checkTypePredicates?: boolean
|
|
13416
13456
|
}]
|
|
13417
13457
|
// ----- ts/no-unnecessary-type-assertion -----
|
|
13418
13458
|
type TsNoUnnecessaryTypeAssertion = []|[{
|
package/dist/index.d.ts
CHANGED
|
@@ -10505,6 +10505,8 @@ type PerfectionistSortArrayIncludes = []|[{
|
|
|
10505
10505
|
|
|
10506
10506
|
order?: ("asc" | "desc")
|
|
10507
10507
|
|
|
10508
|
+
matcher?: ("minimatch" | "regex")
|
|
10509
|
+
|
|
10508
10510
|
ignoreCase?: boolean
|
|
10509
10511
|
|
|
10510
10512
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
@@ -10520,6 +10522,8 @@ type PerfectionistSortAstroAttributes = []|[{
|
|
|
10520
10522
|
|
|
10521
10523
|
order?: ("asc" | "desc")
|
|
10522
10524
|
|
|
10525
|
+
matcher?: ("minimatch" | "regex")
|
|
10526
|
+
|
|
10523
10527
|
ignoreCase?: boolean
|
|
10524
10528
|
|
|
10525
10529
|
groups?: (string | string[])[]
|
|
@@ -10535,6 +10539,8 @@ type PerfectionistSortClasses = []|[{
|
|
|
10535
10539
|
|
|
10536
10540
|
order?: ("asc" | "desc")
|
|
10537
10541
|
|
|
10542
|
+
matcher?: ("minimatch" | "regex")
|
|
10543
|
+
|
|
10538
10544
|
ignoreCase?: boolean
|
|
10539
10545
|
|
|
10540
10546
|
partitionByComment?: (string[] | boolean | string)
|
|
@@ -10584,6 +10590,8 @@ type PerfectionistSortEnums = []|[{
|
|
|
10584
10590
|
|
|
10585
10591
|
order?: ("asc" | "desc")
|
|
10586
10592
|
|
|
10593
|
+
matcher?: ("minimatch" | "regex")
|
|
10594
|
+
|
|
10587
10595
|
ignoreCase?: boolean
|
|
10588
10596
|
|
|
10589
10597
|
sortByValue?: boolean
|
|
@@ -10601,6 +10609,8 @@ type PerfectionistSortExports = []|[{
|
|
|
10601
10609
|
|
|
10602
10610
|
order?: ("asc" | "desc")
|
|
10603
10611
|
|
|
10612
|
+
matcher?: ("minimatch" | "regex")
|
|
10613
|
+
|
|
10604
10614
|
ignoreCase?: boolean
|
|
10605
10615
|
|
|
10606
10616
|
partitionByComment?: (string[] | boolean | string)
|
|
@@ -10617,6 +10627,8 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
10617
10627
|
|
|
10618
10628
|
order?: ("asc" | "desc")
|
|
10619
10629
|
|
|
10630
|
+
matcher?: ("minimatch" | "regex")
|
|
10631
|
+
|
|
10620
10632
|
ignoreCase?: boolean
|
|
10621
10633
|
|
|
10622
10634
|
internalPattern?: string[]
|
|
@@ -10654,6 +10666,8 @@ type PerfectionistSortInterfaces = []|[{
|
|
|
10654
10666
|
|
|
10655
10667
|
order?: ("asc" | "desc")
|
|
10656
10668
|
|
|
10669
|
+
matcher?: ("minimatch" | "regex")
|
|
10670
|
+
|
|
10657
10671
|
ignoreCase?: boolean
|
|
10658
10672
|
|
|
10659
10673
|
ignorePattern?: string[]
|
|
@@ -10677,6 +10691,8 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
10677
10691
|
|
|
10678
10692
|
order?: ("asc" | "desc")
|
|
10679
10693
|
|
|
10694
|
+
matcher?: ("minimatch" | "regex")
|
|
10695
|
+
|
|
10680
10696
|
ignoreCase?: boolean
|
|
10681
10697
|
|
|
10682
10698
|
groups?: (string | string[])[]
|
|
@@ -10692,6 +10708,8 @@ type PerfectionistSortJsxProps = []|[{
|
|
|
10692
10708
|
|
|
10693
10709
|
order?: ("asc" | "desc")
|
|
10694
10710
|
|
|
10711
|
+
matcher?: ("minimatch" | "regex")
|
|
10712
|
+
|
|
10695
10713
|
ignoreCase?: boolean
|
|
10696
10714
|
|
|
10697
10715
|
ignorePattern?: string[]
|
|
@@ -10709,6 +10727,8 @@ type PerfectionistSortMaps = []|[{
|
|
|
10709
10727
|
|
|
10710
10728
|
order?: ("asc" | "desc")
|
|
10711
10729
|
|
|
10730
|
+
matcher?: ("minimatch" | "regex")
|
|
10731
|
+
|
|
10712
10732
|
ignoreCase?: boolean
|
|
10713
10733
|
|
|
10714
10734
|
partitionByComment?: (string[] | boolean | string)
|
|
@@ -10722,6 +10742,8 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
10722
10742
|
|
|
10723
10743
|
order?: ("asc" | "desc")
|
|
10724
10744
|
|
|
10745
|
+
matcher?: ("minimatch" | "regex")
|
|
10746
|
+
|
|
10725
10747
|
ignoreCase?: boolean
|
|
10726
10748
|
|
|
10727
10749
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
@@ -10737,6 +10759,8 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
10737
10759
|
|
|
10738
10760
|
order?: ("asc" | "desc")
|
|
10739
10761
|
|
|
10762
|
+
matcher?: ("minimatch" | "regex")
|
|
10763
|
+
|
|
10740
10764
|
ignoreCase?: boolean
|
|
10741
10765
|
|
|
10742
10766
|
ignoreAlias?: boolean
|
|
@@ -10754,6 +10778,8 @@ type PerfectionistSortObjectTypes = []|[{
|
|
|
10754
10778
|
|
|
10755
10779
|
order?: ("asc" | "desc")
|
|
10756
10780
|
|
|
10781
|
+
matcher?: ("minimatch" | "regex")
|
|
10782
|
+
|
|
10757
10783
|
ignoreCase?: boolean
|
|
10758
10784
|
|
|
10759
10785
|
partitionByComment?: (string[] | boolean | string)
|
|
@@ -10775,6 +10801,8 @@ type PerfectionistSortObjects = []|[{
|
|
|
10775
10801
|
|
|
10776
10802
|
order?: ("asc" | "desc")
|
|
10777
10803
|
|
|
10804
|
+
matcher?: ("minimatch" | "regex")
|
|
10805
|
+
|
|
10778
10806
|
ignoreCase?: boolean
|
|
10779
10807
|
|
|
10780
10808
|
partitionByComment?: (string[] | boolean | string)
|
|
@@ -10800,6 +10828,8 @@ type PerfectionistSortSets = []|[{
|
|
|
10800
10828
|
|
|
10801
10829
|
order?: ("asc" | "desc")
|
|
10802
10830
|
|
|
10831
|
+
matcher?: ("minimatch" | "regex")
|
|
10832
|
+
|
|
10803
10833
|
ignoreCase?: boolean
|
|
10804
10834
|
|
|
10805
10835
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
@@ -10815,6 +10845,8 @@ type PerfectionistSortSvelteAttributes = []|[{
|
|
|
10815
10845
|
|
|
10816
10846
|
order?: ("asc" | "desc")
|
|
10817
10847
|
|
|
10848
|
+
matcher?: ("minimatch" | "regex")
|
|
10849
|
+
|
|
10818
10850
|
ignoreCase?: boolean
|
|
10819
10851
|
|
|
10820
10852
|
groups?: (string | string[])[]
|
|
@@ -10839,6 +10871,8 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
10839
10871
|
|
|
10840
10872
|
order?: ("asc" | "desc")
|
|
10841
10873
|
|
|
10874
|
+
matcher?: ("minimatch" | "regex")
|
|
10875
|
+
|
|
10842
10876
|
ignoreCase?: boolean
|
|
10843
10877
|
|
|
10844
10878
|
groups?: (string | string[])[]
|
|
@@ -10854,6 +10888,8 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
10854
10888
|
|
|
10855
10889
|
order?: ("asc" | "desc")
|
|
10856
10890
|
|
|
10891
|
+
matcher?: ("minimatch" | "regex")
|
|
10892
|
+
|
|
10857
10893
|
ignoreCase?: boolean
|
|
10858
10894
|
|
|
10859
10895
|
partitionByComment?: (string[] | boolean | string)
|
|
@@ -10867,6 +10903,8 @@ type PerfectionistSortVueAttributes = []|[{
|
|
|
10867
10903
|
|
|
10868
10904
|
order?: ("asc" | "desc")
|
|
10869
10905
|
|
|
10906
|
+
matcher?: ("minimatch" | "regex")
|
|
10907
|
+
|
|
10870
10908
|
ignoreCase?: boolean
|
|
10871
10909
|
|
|
10872
10910
|
groups?: (string | string[])[]
|
|
@@ -13413,6 +13451,8 @@ type TsNoUnnecessaryCondition = []|[{
|
|
|
13413
13451
|
allowConstantLoopConditions?: boolean
|
|
13414
13452
|
|
|
13415
13453
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
13454
|
+
|
|
13455
|
+
checkTypePredicates?: boolean
|
|
13416
13456
|
}]
|
|
13417
13457
|
// ----- ts/no-unnecessary-type-assertion -----
|
|
13418
13458
|
type TsNoUnnecessaryTypeAssertion = []|[{
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vinicunca/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.11.
|
|
4
|
+
"version": "2.11.5",
|
|
5
5
|
"description": "Vinicunca ESLint config",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "praburangki",
|
|
@@ -109,10 +109,10 @@
|
|
|
109
109
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
|
|
110
110
|
"@eslint/markdown": "^6.1.1",
|
|
111
111
|
"@stylistic/eslint-plugin": "^2.8.0",
|
|
112
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
113
|
-
"@typescript-eslint/parser": "^8.
|
|
114
|
-
"@unocss/eslint-plugin": "^0.63.
|
|
115
|
-
"@vitest/eslint-plugin": "^1.1.
|
|
112
|
+
"@typescript-eslint/eslint-plugin": "^8.8.0",
|
|
113
|
+
"@typescript-eslint/parser": "^8.8.0",
|
|
114
|
+
"@unocss/eslint-plugin": "^0.63.3",
|
|
115
|
+
"@vitest/eslint-plugin": "^1.1.5",
|
|
116
116
|
"eslint-config-flat-gitignore": "^0.3.0",
|
|
117
117
|
"eslint-flat-config-utils": "^0.4.0",
|
|
118
118
|
"eslint-merge-processors": "^0.1.0",
|
|
@@ -120,11 +120,11 @@
|
|
|
120
120
|
"eslint-plugin-command": "^0.2.6",
|
|
121
121
|
"eslint-plugin-format": "^0.1.2",
|
|
122
122
|
"eslint-plugin-import-x": "^4.3.1",
|
|
123
|
-
"eslint-plugin-jsdoc": "^50.3.
|
|
123
|
+
"eslint-plugin-jsdoc": "^50.3.1",
|
|
124
124
|
"eslint-plugin-jsonc": "^2.16.0",
|
|
125
125
|
"eslint-plugin-n": "^17.10.3",
|
|
126
126
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
127
|
-
"eslint-plugin-perfectionist": "^3.
|
|
127
|
+
"eslint-plugin-perfectionist": "^3.8.0",
|
|
128
128
|
"eslint-plugin-regexp": "^2.6.0",
|
|
129
129
|
"eslint-plugin-sonarjs": "^1.0.4",
|
|
130
130
|
"eslint-plugin-toml": "^0.11.1",
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
"eslint-plugin-vue": "^9.28.0",
|
|
134
134
|
"eslint-plugin-yml": "^1.14.0",
|
|
135
135
|
"eslint-processor-vue-blocks": "^0.1.2",
|
|
136
|
-
"globals": "^15.
|
|
136
|
+
"globals": "^15.10.0",
|
|
137
137
|
"jsonc-eslint-parser": "^2.4.0",
|
|
138
138
|
"local-pkg": "^0.5.0",
|
|
139
139
|
"toml-eslint-parser": "^0.10.0",
|