@graphcommerce/eslint-config-pwa 9.0.0-canary.101 → 9.0.0-canary.103

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +4 -937
  2. package/index.js +91 -70
  3. package/package.json +5 -3
package/CHANGELOG.md CHANGED
@@ -1,80 +1,12 @@
1
1
  # Change Log
2
2
 
3
- ## 9.0.0-canary.101
3
+ ## 9.0.0-canary.103
4
4
 
5
- ## 9.0.0-canary.100
6
-
7
- ## 9.0.0-canary.99
8
-
9
- ## 9.0.0-canary.98
10
-
11
- ## 9.0.0-canary.97
12
-
13
- ## 9.0.0-canary.96
14
-
15
- ## 9.0.0-canary.95
16
-
17
- ## 9.0.0-canary.94
18
-
19
- ## 9.0.0-canary.93
20
-
21
- ## 9.0.0-canary.92
22
-
23
- ## 9.0.0-canary.91
24
-
25
- ## 9.0.0-canary.90
26
-
27
- ## 9.0.0-canary.89
28
-
29
- ## 9.0.0-canary.88
30
-
31
- ## 9.0.0-canary.87
32
-
33
- ## 9.0.0-canary.86
34
-
35
- ## 9.0.0-canary.85
36
-
37
- ## 9.0.0-canary.84
38
-
39
- ## 9.0.0-canary.83
40
-
41
- ## 9.0.0-canary.82
42
-
43
- ## 9.0.0-canary.81
44
-
45
- ## 9.0.0-canary.80
46
-
47
- ## 9.0.0-canary.79
48
-
49
- ## 9.0.0-canary.78
50
-
51
- ## 9.0.0-canary.77
52
-
53
- ## 9.0.0-canary.76
54
-
55
- ## 9.0.0-canary.75
56
-
57
- ## 9.0.0-canary.74
58
-
59
- ## 9.0.0-canary.73
60
-
61
- ## 9.0.0-canary.72
62
-
63
- ## 9.0.0-canary.71
64
-
65
- ## 9.0.0-canary.70
66
-
67
- ## 9.0.0-canary.69
68
-
69
- ## 9.0.0-canary.68
70
-
71
- ## 9.0.0-canary.67
72
-
73
- ## 9.0.0-canary.66
5
+ ### Patch Changes
74
6
 
75
- ## 9.0.0-canary.65
7
+ - [#2421](https://github.com/graphcommerce-org/graphcommerce/pull/2421) [`ef925eb`](https://github.com/graphcommerce-org/graphcommerce/commit/ef925eb3d2c2cb2f03f9797892023015acf18dec) - Let eslint also work for js/mjs files ([@paales](https://github.com/paales))
76
8
 
77
- ## 9.0.0-canary.64
9
+ - [#2421](https://github.com/graphcommerce-org/graphcommerce/pull/2421) [`d500643`](https://github.com/graphcommerce-org/graphcommerce/commit/d500643138799b6db1610cb10a1d065d6219d8ea) - Resolve peer dependency issues so we get a clean install ([@paales](https://github.com/paales))
78
10
 
79
11
  ## 9.0.0-canary.63
80
12
 
@@ -82,714 +14,30 @@
82
14
 
83
15
  - [`0acfda7`](https://github.com/graphcommerce-org/graphcommerce/commit/0acfda73760921d74412c8c8bc8e8de5732e1f39) - Move back to eslint 8 ([@paales](https://github.com/paales))
84
16
 
85
- ## 9.0.0-canary.62
86
-
87
- ## 9.0.0-canary.61
88
-
89
- ## 9.0.0-canary.60
90
-
91
- ## 9.0.0-canary.59
92
-
93
- ## 9.0.0-canary.58
94
-
95
- ## 9.0.0-canary.57
96
-
97
- ## 9.0.0-canary.56
98
-
99
- ## 9.0.0-canary.55
100
-
101
- ## 9.0.0-canary.54
102
-
103
- ## 8.1.0-canary.53
104
-
105
- ## 8.1.0-canary.52
106
-
107
- ## 8.1.0-canary.51
108
-
109
- ## 8.1.0-canary.50
110
-
111
- ## 8.1.0-canary.49
112
-
113
- ## 8.1.0-canary.48
114
-
115
- ## 8.1.0-canary.47
116
-
117
17
  ## 8.1.0-canary.46
118
18
 
119
19
  ### Patch Changes
120
20
 
121
21
  - [#2314](https://github.com/graphcommerce-org/graphcommerce/pull/2314) [`fe8fce7`](https://github.com/graphcommerce-org/graphcommerce/commit/fe8fce7f5a82e227ed4a1992415af73fa7d0bb79) - Importing \*.interceptor is NOT allowed ([@paales](https://github.com/paales))
122
22
 
123
- ## 8.1.0-canary.45
124
-
125
- ## 8.1.0-canary.44
126
-
127
- ## 8.1.0-canary.43
128
-
129
- ## 8.1.0-canary.42
130
-
131
- ## 8.1.0-canary.41
132
-
133
- ## 8.1.0-canary.40
134
-
135
- ## 8.1.0-canary.39
136
-
137
- ## 8.1.0-canary.38
138
-
139
- ## 8.1.0-canary.37
140
-
141
- ## 8.1.0-canary.36
142
-
143
- ## 8.1.0-canary.35
144
-
145
- ## 8.1.0-canary.34
146
-
147
- ## 8.1.0-canary.33
148
-
149
- ## 8.1.0-canary.32
150
-
151
- ## 8.1.0-canary.31
152
-
153
- ## 8.1.0-canary.30
154
-
155
- ## 8.1.0-canary.29
156
-
157
- ## 8.1.0-canary.28
158
-
159
- ## 8.1.0-canary.27
160
-
161
- ## 8.1.0-canary.26
162
-
163
- ## 8.1.0-canary.25
164
-
165
- ## 8.1.0-canary.24
166
-
167
- ## 8.1.0-canary.23
168
-
169
- ## 8.1.0-canary.22
170
-
171
- ## 8.1.0-canary.21
172
-
173
- ## 8.1.0-canary.20
174
-
175
- ## 8.1.0-canary.19
176
-
177
- ## 8.1.0-canary.18
178
-
179
- ## 8.1.0-canary.17
180
-
181
- ## 8.1.0-canary.16
182
-
183
- ## 8.1.0-canary.15
184
-
185
- ## 8.1.0-canary.14
186
-
187
- ## 8.1.0-canary.13
188
-
189
- ## 8.1.0-canary.12
190
-
191
- ## 8.1.0-canary.11
192
-
193
- ## 8.1.0-canary.10
194
-
195
- ## 8.1.0-canary.9
196
-
197
- ## 8.1.0-canary.8
198
-
199
- ## 8.1.0-canary.7
200
-
201
- ## 8.1.0-canary.6
202
-
203
- ## 8.1.0-canary.5
204
-
205
- ## 8.0.6-canary.4
206
-
207
- ## 8.0.6-canary.3
208
-
209
- ## 8.0.6-canary.2
210
-
211
- ## 8.0.6-canary.1
212
-
213
- ## 8.0.6-canary.0
214
-
215
- ## 8.0.5
216
-
217
- ## 8.0.5-canary.10
218
-
219
- ## 8.0.5-canary.9
220
-
221
- ## 8.0.5-canary.8
222
-
223
- ## 8.0.5-canary.7
224
-
225
- ## 8.0.5-canary.6
226
-
227
- ## 8.0.5-canary.5
228
-
229
- ## 8.0.5-canary.4
230
-
231
- ## 8.0.5-canary.3
232
-
233
- ## 8.0.5-canary.2
234
-
235
- ## 8.0.5-canary.1
236
-
237
- ## 8.0.5-canary.0
238
-
239
- ## 8.0.4
240
-
241
- ## 8.0.4-canary.1
242
-
243
- ## 8.0.4-canary.0
244
-
245
- ## 8.0.3
246
-
247
- ## 8.0.3-canary.6
248
-
249
- ## 8.0.3-canary.5
250
-
251
- ## 8.0.3-canary.4
252
-
253
- ## 8.0.3-canary.3
254
-
255
- ## 8.0.3-canary.2
256
-
257
- ## 8.0.3-canary.1
258
-
259
- ## 8.0.3-canary.0
260
-
261
- ## 8.0.2
262
-
263
- ## 8.0.2-canary.3
264
-
265
- ## 8.0.2-canary.2
266
-
267
- ## 8.0.2-canary.1
268
-
269
- ## 8.0.2-canary.0
270
-
271
- ## 8.0.1
272
-
273
- ## 8.0.1-canary.4
274
-
275
- ## 8.0.1-canary.3
276
-
277
- ## 8.0.1-canary.2
278
-
279
- ## 8.0.1-canary.1
280
-
281
- ## 8.0.1-canary.0
282
-
283
23
  ## 8.0.0
284
24
 
285
25
  ### Patch Changes
286
26
 
287
27
  - [#2035](https://github.com/graphcommerce-org/graphcommerce/pull/2035) [`08f1ae1`](https://github.com/graphcommerce-org/graphcommerce/commit/08f1ae18e2271cd690eca8518a723c3eb806c1f9) - Added an eslint warning to restrict the import of `useMediaQuery` because it causes more trouble than it solves ([@paales](https://github.com/paales))
288
28
 
289
- ## 8.0.0-canary.100
290
-
291
- ## 8.0.0-canary.99
292
-
293
- ## 8.0.0-canary.98
294
-
295
- ## 8.0.0-canary.97
296
-
297
- ## 8.0.0-canary.96
298
-
299
- ## 8.0.0-canary.95
300
-
301
- ## 8.0.0-canary.94
302
-
303
- ## 8.0.0-canary.93
304
-
305
- ## 8.0.0-canary.92
306
-
307
- ## 8.0.0-canary.91
308
-
309
- ## 8.0.0-canary.90
310
-
311
- ## 8.0.0-canary.89
312
-
313
- ## 8.0.0-canary.88
314
-
315
- ## 8.0.0-canary.87
316
-
317
- ## 8.0.0-canary.86
318
-
319
- ## 8.0.0-canary.85
320
-
321
- ## 8.0.0-canary.84
322
-
323
- ## 8.0.0-canary.83
324
-
325
- ## 8.0.0-canary.82
326
-
327
- ## 8.0.0-canary.81
328
-
329
- ## 8.0.0-canary.80
330
-
331
- ## 8.0.0-canary.79
332
-
333
- ## 8.0.0-canary.78
334
-
335
- ## 8.0.0-canary.77
336
-
337
- ## 8.0.0-canary.76
338
-
339
- ## 8.0.0-canary.75
340
-
341
- ## 8.0.0-canary.74
342
-
343
- ## 8.0.0-canary.73
344
-
345
- ## 8.0.0-canary.72
346
-
347
- ## 8.0.0-canary.71
348
-
349
- ## 8.0.0-canary.70
350
-
351
- ## 8.0.0-canary.69
352
-
353
- ## 7.1.0-canary.68
354
-
355
- ## 7.1.0-canary.67
356
-
357
- ## 7.1.0-canary.66
358
-
359
- ## 7.1.0-canary.65
360
-
361
- ## 7.1.0-canary.64
362
-
363
- ## 7.1.0-canary.63
364
-
365
- ## 7.1.0-canary.62
366
-
367
- ## 7.1.0-canary.61
368
-
369
- ## 7.1.0-canary.60
370
-
371
- ## 7.1.0-canary.59
372
-
373
- ## 7.1.0-canary.58
374
-
375
- ## 7.1.0-canary.57
376
-
377
- ## 7.1.0-canary.56
378
-
379
- ## 7.1.0-canary.55
380
-
381
- ## 7.1.0-canary.54
382
-
383
- ## 7.1.0-canary.53
384
-
385
- ## 7.1.0-canary.52
386
-
387
- ## 7.1.0-canary.51
388
-
389
- ## 7.1.0-canary.50
390
-
391
- ## 7.1.0-canary.49
392
-
393
- ## 7.1.0-canary.48
394
-
395
- ## 7.1.0-canary.47
396
-
397
- ## 7.1.0-canary.46
398
-
399
- ## 7.1.0-canary.45
400
-
401
- ## 7.1.0-canary.38
402
-
403
- ## 7.1.0-canary.37
404
-
405
- ## 7.1.0-canary.36
406
-
407
- ## 7.1.0-canary.35
408
-
409
- ### Patch Changes
410
-
411
- - [#2035](https://github.com/graphcommerce-org/graphcommerce/pull/2035) [`08f1ae18e`](https://github.com/graphcommerce-org/graphcommerce/commit/08f1ae18e2271cd690eca8518a723c3eb806c1f9) - Added an eslint warning to restrict the import of useMediaQuery because it causes more trouble than it solves ([@paales](https://github.com/paales))
412
-
413
- ## 7.1.0-canary.34
414
-
415
- ## 7.1.0-canary.33
416
-
417
- ## 7.1.0-canary.32
418
-
419
- ## 7.1.0-canary.31
420
-
421
- ## 7.1.0-canary.30
422
-
423
- ## 7.1.0-canary.29
424
-
425
- ## 7.1.0-canary.28
426
-
427
- ## 7.1.0-canary.27
428
-
429
- ## 7.1.0-canary.26
430
-
431
- ## 7.1.0-canary.25
432
-
433
- ## 7.1.0-canary.24
434
-
435
- ## 7.1.0-canary.23
436
-
437
- ## 7.1.0-canary.22
438
-
439
- ## 7.1.0-canary.21
440
-
441
- ## 7.1.0-canary.20
442
-
443
- ## 7.1.0-canary.19
444
-
445
- ## 7.1.0-canary.18
446
-
447
- ## 7.1.0-canary.17
448
-
449
- ## 7.1.0-canary.16
450
-
451
- ## 7.1.0-canary.15
452
-
453
- ## 7.1.0-canary.14
454
-
455
- ## 7.1.0-canary.13
456
-
457
- ## 7.1.0-canary.12
458
-
459
- ## 7.1.0-canary.11
460
-
461
- ## 7.1.0-canary.10
462
-
463
- ## 7.1.0-canary.9
464
-
465
- ## 7.1.0-canary.8
466
-
467
- ## 7.0.2-canary.7
468
-
469
- ## 7.0.2-canary.6
470
-
471
- ## 7.0.2-canary.5
472
-
473
29
  ## 7.0.1
474
30
 
475
31
  ### Patch Changes
476
32
 
477
33
  - [#2047](https://github.com/graphcommerce-org/graphcommerce/pull/2047) [`136580b39`](https://github.com/graphcommerce-org/graphcommerce/commit/136580b39e3cffdd07e3fa087e049bd532c3e8f1) - Updated all dependencies to the latest version where possible. ([@paales](https://github.com/paales))
478
34
 
479
- ## 7.0.1-canary.15
480
-
481
- ## 7.0.1-canary.14
482
-
483
- ## 7.0.1-canary.13
484
-
485
- ## 7.0.1-canary.12
486
-
487
- ## 7.0.1-canary.11
488
-
489
- ## 7.0.1-canary.10
490
-
491
- ## 7.0.1-canary.9
492
-
493
- ## 7.0.1-canary.8
494
-
495
- ## 7.0.1-canary.7
496
-
497
- ## 7.0.1-canary.6
498
-
499
- ## 7.0.1-canary.5
500
-
501
- ## 7.0.1-canary.4
502
-
503
- ## 7.0.1-canary.3
504
-
505
- ## 7.0.1-canary.2
506
-
507
- ## 7.0.1-canary.1
508
-
509
- ## 7.0.1-canary.0
510
-
511
- ### Patch Changes
512
-
513
- - [#2047](https://github.com/graphcommerce-org/graphcommerce/pull/2047) [`136580b39`](https://github.com/graphcommerce-org/graphcommerce/commit/136580b39e3cffdd07e3fa087e049bd532c3e8f1) - Updated all dependencies to the latest version where possible. ([@paales](https://github.com/paales))
514
-
515
- ## 7.0.0
516
-
517
- ## 6.2.0-canary.98
518
-
519
- ## 6.2.0-canary.97
520
-
521
- ## 6.2.0-canary.96
522
-
523
- ## 6.2.0-canary.95
524
-
525
- ## 6.2.0-canary.94
526
-
527
- ## 6.2.0-canary.93
528
-
529
- ## 6.2.0-canary.92
530
-
531
- ## 6.2.0-canary.91
532
-
533
- ## 6.2.0-canary.90
534
-
535
- ## 6.2.0-canary.89
536
-
537
- ## 6.2.0-canary.88
538
-
539
- ## 6.2.0-canary.87
540
-
541
- ## 6.2.0-canary.86
542
-
543
- ## 6.2.0-canary.85
544
-
545
- ## 6.2.0-canary.84
546
-
547
- ## 6.2.0-canary.83
548
-
549
- ## 6.2.0-canary.82
550
-
551
- ## 6.2.0-canary.81
552
-
553
- ## 6.2.0-canary.80
554
-
555
- ## 6.2.0-canary.79
556
-
557
- ## 6.2.0-canary.78
558
-
559
- ## 6.2.0-canary.77
560
-
561
- ## 6.2.0-canary.76
562
-
563
- ## 6.2.0-canary.75
564
-
565
- ## 6.2.0-canary.74
566
-
567
- ## 6.2.0-canary.73
568
-
569
- ## 6.2.0-canary.72
570
-
571
- ## 6.2.0-canary.71
572
-
573
- ## 6.2.0-canary.70
574
-
575
- ## 6.2.0-canary.69
576
-
577
- ## 6.2.0-canary.68
578
-
579
- ## 6.2.0-canary.67
580
-
581
- ### Patch Changes
582
-
583
- - [#2002](https://github.com/graphcommerce-org/graphcommerce/pull/2002) [`1234bb61f`](https://github.com/graphcommerce-org/graphcommerce/commit/1234bb61f8332da8a9e4dd7262b0c70beaed8c91) - Updated next and apollo/client ([@paales](https://github.com/paales))
584
-
585
- ## 6.2.0-canary.66
586
-
587
- ## 6.2.0-canary.65
588
-
589
- ## 6.2.0-canary.64
590
-
591
- ## 6.2.0-canary.63
592
-
593
- ## 6.2.0-canary.62
594
-
595
- ## 6.2.0-canary.61
596
-
597
- ## 6.2.0-canary.60
598
-
599
- ## 6.2.0-canary.59
600
-
601
- ## 6.2.0-canary.58
602
-
603
- ## 6.2.0-canary.57
604
-
605
- ## 6.2.0-canary.56
606
-
607
- ## 6.2.0-canary.55
608
-
609
- ## 6.2.0-canary.54
610
-
611
- ## 6.2.0-canary.53
612
-
613
- ## 6.2.0-canary.52
614
-
615
- ## 6.2.0-canary.51
616
-
617
- ## 6.2.0-canary.50
618
-
619
- ## 6.2.0-canary.49
620
-
621
- ## 6.2.0-canary.48
622
-
623
- ## 6.2.0-canary.47
624
-
625
- ## 6.2.0-canary.46
626
-
627
- ## 6.2.0-canary.45
628
-
629
- ## 6.2.0-canary.44
630
-
631
- ## 6.2.0-canary.43
632
-
633
- ## 6.2.0-canary.42
634
-
635
- ## 6.2.0-canary.41
636
-
637
- ## 6.2.0-canary.40
638
-
639
- ## 6.2.0-canary.39
640
-
641
- ## 6.2.0-canary.38
642
-
643
- ## 6.2.0-canary.37
644
-
645
- ## 6.2.0-canary.36
646
-
647
- ## 6.2.0-canary.35
648
-
649
- ## 6.2.0-canary.34
650
-
651
- ## 6.2.0-canary.33
652
-
653
- ## 6.2.0-canary.32
654
-
655
- ## 6.2.0-canary.31
656
-
657
- ## 6.2.0-canary.30
658
-
659
- ## 6.2.0-canary.29
660
-
661
- ## 6.2.0-canary.28
662
-
663
- ## 6.2.0-canary.27
664
-
665
- ## 6.2.0-canary.26
666
-
667
- ## 6.2.0-canary.25
668
-
669
- ## 6.2.0-canary.24
670
-
671
- ## 6.2.0-canary.23
672
-
673
- ## 6.2.0-canary.22
674
-
675
- ## 6.2.0-canary.21
676
-
677
- ## 6.2.0-canary.20
678
-
679
- ## 6.2.0-canary.19
680
-
681
- ## 6.2.0-canary.18
682
-
683
- ## 6.2.0-canary.17
684
-
685
- ## 6.2.0-canary.16
686
-
687
- ## 6.2.0-canary.15
688
-
689
- ## 6.2.0-canary.14
690
-
691
- ## 6.2.0-canary.13
692
-
693
- ## 6.2.0-canary.12
694
-
695
- ## 6.2.0-canary.11
696
-
697
- ## 6.2.0-canary.10
698
-
699
- ## 6.2.0-canary.9
700
-
701
- ## 6.2.0-canary.8
702
-
703
- ## 6.2.0-canary.7
704
-
705
- ## 6.2.0-canary.6
706
-
707
- ## 6.1.1-canary.5
708
-
709
- ## 6.1.1-canary.4
710
-
711
- ## 6.1.1-canary.3
712
-
713
- ## 6.1.1-canary.2
714
-
715
- ## 6.1.1-canary.1
716
-
717
- ## 6.1.1-canary.0
718
-
719
35
  ## 6.1.0
720
36
 
721
37
  ### Patch Changes
722
38
 
723
39
  - [#1879](https://github.com/graphcommerce-org/graphcommerce/pull/1879) [`322a12098`](https://github.com/graphcommerce-org/graphcommerce/commit/322a12098b2931dd389a5f53baedd834c69b5edc) - When using @mui/material Form fields, show a warning to the developer so they learn about the @graphcommerce/ecommerce-ui form components. ([@paales](https://github.com/paales))
724
40
 
725
- ## 6.0.2-canary.22
726
-
727
- ## 6.0.2-canary.21
728
-
729
- ## 6.0.2-canary.20
730
-
731
- ## 6.0.2-canary.19
732
-
733
- ## 6.0.2-canary.18
734
-
735
- ## 6.0.2-canary.17
736
-
737
- ## 6.0.2-canary.16
738
-
739
- ## 6.0.2-canary.15
740
-
741
- ## 6.0.2-canary.14
742
-
743
- ## 6.0.2-canary.13
744
-
745
- ## 6.0.2-canary.12
746
-
747
- ## 6.0.2-canary.11
748
-
749
- ## 6.0.2-canary.10
750
-
751
- ## 6.0.2-canary.9
752
-
753
- ## 6.0.2-canary.8
754
-
755
- ## 6.0.2-canary.7
756
-
757
- ## 6.0.2-canary.6
758
-
759
- ## 6.0.2-canary.5
760
-
761
- ### Patch Changes
762
-
763
- - [#1879](https://github.com/graphcommerce-org/graphcommerce/pull/1879) [`322a12098`](https://github.com/graphcommerce-org/graphcommerce/commit/322a12098b2931dd389a5f53baedd834c69b5edc) - When using @mui/material form fields, show a warning to the developer so they learn about the ecommerce-ui form components. ([@paales](https://github.com/paales))
764
-
765
- ## 6.0.2-canary.4
766
-
767
- ## 6.0.2-canary.3
768
-
769
- ## 6.0.2-canary.2
770
-
771
- ## 6.0.2-canary.1
772
-
773
- ## 6.0.2-canary.0
774
-
775
- ## 6.0.1
776
-
777
- ## 6.0.1-canary.7
778
-
779
- ## 6.0.1-canary.6
780
-
781
- ## 6.0.1-canary.5
782
-
783
- ## 6.0.1-canary.4
784
-
785
- ## 6.0.1-canary.3
786
-
787
- ## 6.0.1-canary.2
788
-
789
- ## 6.0.1-canary.1
790
-
791
- ## 6.0.1-canary.0
792
-
793
41
  ## 6.0.0
794
42
 
795
43
  ### Major Changes
@@ -804,136 +52,6 @@
804
52
 
805
53
  - [#1831](https://github.com/graphcommerce-org/graphcommerce/pull/1831) [`f4008bae3`](https://github.com/graphcommerce-org/graphcommerce/commit/f4008bae3e3ac8288c731b1dd87e6c6aef8e81fc) - Added a linting rule that disallows `import { Theme } from '@emotion/react'` because that causes huge performance issues. Also added `tsc:trace` to the root project to debug typescript performance issues. ([@paales](https://github.com/paales))
806
54
 
807
- ## 6.0.0-canary.54
808
-
809
- ## 6.0.0-canary.53
810
-
811
- ## 6.0.0-canary.52
812
-
813
- ## 6.0.0-canary.51
814
-
815
- ## 6.0.0-canary.50
816
-
817
- ## 6.0.0-canary.49
818
-
819
- ## 6.0.0-canary.48
820
-
821
- ## 6.0.0-canary.47
822
-
823
- ## 6.0.0-canary.46
824
-
825
- ## 6.0.0-canary.45
826
-
827
- ## 6.0.0-canary.44
828
-
829
- ## 6.0.0-canary.43
830
-
831
- ## 6.0.0-canary.42
832
-
833
- ## 6.0.0-canary.41
834
-
835
- ## 6.0.0-canary.40
836
-
837
- ## 6.0.0-canary.39
838
-
839
- ## 6.0.0-canary.38
840
-
841
- ## 6.0.0-canary.37
842
-
843
- ## 6.0.0-canary.36
844
-
845
- ## 6.0.0-canary.35
846
-
847
- ## 6.0.0-canary.34
848
-
849
- ## 6.0.0-canary.33
850
-
851
- ### Minor Changes
852
-
853
- - [#1831](https://github.com/graphcommerce-org/graphcommerce/pull/1831) [`f4008bae3`](https://github.com/graphcommerce-org/graphcommerce/commit/f4008bae3e3ac8288c731b1dd87e6c6aef8e81fc) - Added a linting rule that disallows `import { Theme } from '@emotion/react'` because that causes huge performance issues. Added tsc:trace to the root project to debug typescript performance issues. ([@paales](https://github.com/paales))
854
-
855
- ## 6.0.0-canary.32
856
-
857
- ## 6.0.0-canary.31
858
-
859
- ## 6.0.0-canary.30
860
-
861
- ## 6.0.0-canary.29
862
-
863
- ## 6.0.0-canary.28
864
-
865
- ## 6.0.0-canary.27
866
-
867
- ## 6.0.0-canary.26
868
-
869
- ## 6.0.0-canary.25
870
-
871
- ## 6.0.0-canary.24
872
-
873
- ## 6.0.0-canary.23
874
-
875
- ## 6.0.0-canary.22
876
-
877
- ## 6.0.0-canary.21
878
-
879
- ## 6.0.0-canary.20
880
-
881
- ## 5.2.0-canary.19
882
-
883
- ## 5.2.0-canary.18
884
-
885
- ## 5.2.0-canary.17
886
-
887
- ## 5.2.0-canary.16
888
-
889
- ## 5.2.0-canary.15
890
-
891
- ## 5.2.0-canary.14
892
-
893
- ## 5.2.0-canary.13
894
-
895
- ## 5.2.0-canary.12
896
-
897
- ## 5.2.0-canary.11
898
-
899
- ## 5.2.0-canary.10
900
-
901
- ## 5.2.0-canary.9
902
-
903
- ## 5.2.0-canary.8
904
-
905
- ## 5.2.0-canary.7
906
-
907
- ## 5.2.0-canary.6
908
-
909
- ## 5.2.0-canary.5
910
-
911
- ## 5.2.0-canary.4
912
-
913
- ## 5.2.0-canary.3
914
-
915
- ### Minor Changes
916
-
917
- - [#1766](https://github.com/graphcommerce-org/graphcommerce/pull/1766) [`e34169ee2`](https://github.com/graphcommerce-org/graphcommerce/commit/e34169ee2e0fdc052ff589ceca0bc67557584c1f) - Upgraded to Next.js 13
918
-
919
- - NextLink integrates the next/link functionality with @mui/material's Link and ButtonBase (and all it's derivatives) components.
920
- - NextLink automatically adds `target="_blank"` when the href is external.
921
- - NextLink makes all relative href absolute. `href="my-page"` will be rendered as `href="/my-page"`.
922
-
923
- Upgrade instructions: https://www.graphcommerce.org/docs/framework/links#upgrading-from-nextjs-12 ([@paales](https://github.com/paales))
924
-
925
- ## 5.2.0-canary.2
926
-
927
- ## 5.2.0-canary.1
928
-
929
- ## 5.2.0-canary.0
930
-
931
- ## 5.1.1
932
-
933
- ## 5.1.1-canary.1
934
-
935
- ## 5.1.1-canary.0
936
-
937
55
  ## 5.1.0
938
56
 
939
57
  ### Patch Changes
@@ -947,69 +65,18 @@
947
65
 
948
66
  - [#1755](https://github.com/graphcommerce-org/graphcommerce/pull/1755) [`b34c7b43a`](https://github.com/graphcommerce-org/graphcommerce/commit/b34c7b43a6e1338152e77f6f8427c3fe559021c5) - Disabled @typescript-eslint/no-unbound-method and fixed various eslint errors ([@paales](https://github.com/paales))
949
67
 
950
- ## 5.1.0-canary.11
951
-
952
- ## 5.1.0-canary.10
953
-
954
- ## 5.1.0-canary.9
955
-
956
- ## 5.1.0-canary.8
957
-
958
- ## 5.1.0-canary.7
959
-
960
- ## 5.1.0-canary.6
961
-
962
- ## 5.1.0-canary.5
963
-
964
- ## 5.1.0-canary.4
965
-
966
- ### Patch Changes
967
-
968
- - [#1755](https://github.com/graphcommerce-org/graphcommerce/pull/1755) [`b34c7b43a`](https://github.com/graphcommerce-org/graphcommerce/commit/b34c7b43a6e1338152e77f6f8427c3fe559021c5) - Disabled @typescript-eslint/no-unbound-method and fixed various eslint errors ([@paales](https://github.com/paales))
969
-
970
- ## 5.1.0-canary.3
971
-
972
- ### Patch Changes
973
-
974
- - [#1752](https://github.com/graphcommerce-org/graphcommerce/pull/1752) [`2a6a4d9ec`](https://github.com/graphcommerce-org/graphcommerce/commit/2a6a4d9ecfa1b58a66ba9b9d00016d6feda9aa95) - Updated dependencies to latest versions, except for nextjs; Solve tons of peer dependency issues.
975
-
976
- - Updated the @mui/material package
977
- - Removed dependencies on react-hook-form-mui and @playwright/test
978
- - Upgraded dependencies including type-fest and graphql-mesh
979
- - Solved peer dependency issues ([@paales](https://github.com/paales))
980
-
981
- ## 5.1.0-canary.2
982
-
983
- ## 5.1.0-canary.1
984
-
985
- ## 5.1.0-canary.0
986
-
987
68
  ## 5.0.0
988
69
 
989
70
  ### Major Changes
990
71
 
991
72
  - [#1734](https://github.com/graphcommerce-org/graphcommerce/pull/1734) [`e4c7fe17e`](https://github.com/graphcommerce-org/graphcommerce/commit/e4c7fe17e413e37362ceae92e67f1b3a5f62d398) - Bump major version of all packages ([@github-actions](https://github.com/apps/github-actions))
992
73
 
993
- ## 5.0.0-canary.14
994
-
995
- ## 5.0.0-canary.0
996
-
997
- ### Major Changes
998
-
999
- - [`e4c7fe17e`](https://github.com/graphcommerce-org/graphcommerce/commit/e4c7fe17e413e37362ceae92e67f1b3a5f62d398) - Bump major version of all packages ([@paales](https://github.com/paales))
1000
-
1001
74
  ## 4.1.11
1002
75
 
1003
76
  ### Patch Changes
1004
77
 
1005
78
  - [#1702](https://github.com/graphcommerce-org/graphcommerce/pull/1702) [`abb15ef4a`](https://github.com/graphcommerce-org/graphcommerce/commit/abb15ef4a79b12eddb32cc006e5d1d31dd06ac2d) Thanks [@paales](https://github.com/paales)! - Added canary releases to GraphCommerce
1006
79
 
1007
- ## 4.1.11-canary.0
1008
-
1009
- ### Patch Changes
1010
-
1011
- - [`abb15ef4a`](https://github.com/graphcommerce-org/graphcommerce/commit/abb15ef4a79b12eddb32cc006e5d1d31dd06ac2d) Thanks [@paales](https://github.com/paales)! - Added canary releases to GraphCommerce
1012
-
1013
80
  ## 4.1.10
1014
81
 
1015
82
  ### Patch Changes
package/index.js CHANGED
@@ -4,22 +4,11 @@ module.exports = {
4
4
  es2022: true,
5
5
  node: true,
6
6
  },
7
- extends: [
8
- 'airbnb',
9
- 'airbnb-typescript',
10
- 'airbnb/hooks',
11
- 'plugin:@typescript-eslint/recommended',
12
- 'plugin:@typescript-eslint/recommended-requiring-type-checking',
13
- 'plugin:@next/eslint-plugin-next/recommended',
14
- 'plugin:import/recommended',
15
- 'plugin:import/typescript',
16
- 'prettier',
17
- ],
7
+ extends: ['airbnb', 'plugin:import/recommended', 'prettier'],
18
8
  globals: {
19
9
  Atomics: 'readonly',
20
10
  SharedArrayBuffer: 'readonly',
21
11
  },
22
- parser: '@typescript-eslint/parser',
23
12
  parserOptions: {
24
13
  ecmaFeatures: {
25
14
  jsx: true,
@@ -27,7 +16,7 @@ module.exports = {
27
16
  ecmaVersion: 2018,
28
17
  sourceType: 'module',
29
18
  },
30
- plugins: ['react', '@typescript-eslint', '@next/eslint-plugin-next'],
19
+ plugins: ['react', '@next/eslint-plugin-next'],
31
20
  rules: {
32
21
  // eslint
33
22
  'default-case': 'off',
@@ -94,69 +83,93 @@ module.exports = {
94
83
  ],
95
84
  'react/self-closing-comp': ['warn'],
96
85
  'react/jsx-no-duplicate-props': ['error', { ignoreCase: false }],
97
- 'react/function-component-definition': 'off',
98
-
99
- // typescript
100
- // '@typescript-eslint/consistent-type-imports': 'error',
101
- '@typescript-eslint/indent': 'off',
102
- '@typescript-eslint/semi': 'off',
103
- '@typescript-eslint/explicit-function-return-type': 'off',
104
- '@typescript-eslint/no-unsafe-assignment': 'off',
105
- '@typescript-eslint/no-unsafe-call': 'off',
106
- '@typescript-eslint/no-unsafe-member-access': 'off',
107
- '@typescript-eslint/no-unsafe-return': 'off',
108
- '@typescript-eslint/restrict-template-expressions': 'off',
109
- '@typescript-eslint/explicit-module-boundary-types': 'off',
110
- '@typescript-eslint/naming-convention': 'off',
111
- '@typescript-eslint/no-misused-promises': ['error', { checksVoidReturn: false }],
112
- '@typescript-eslint/no-unbound-method': 'off',
113
- '@typescript-eslint/no-restricted-imports': [
114
- 'warn',
86
+ 'react/function-component-definition': [
87
+ 'error',
115
88
  {
116
- paths: [
117
- {
118
- name: 'next/image',
119
- message: "Please use `import { Image } from '@graphcommerce/image'` instead.",
120
- },
121
- {
122
- name: '@mui/system',
123
- message: "Please use `@mui/material'` instead.",
124
- },
89
+ namedComponents: 'function-declaration',
90
+ unnamedComponents: 'arrow-function',
91
+ },
92
+ ],
93
+ },
94
+ overrides: [
95
+ // TypeScript files
96
+ {
97
+ files: ['*.ts', '*.tsx'],
98
+ extends: [
99
+ 'airbnb-typescript',
100
+ 'airbnb/hooks',
101
+ 'plugin:@typescript-eslint/recommended',
102
+ 'plugin:@typescript-eslint/recommended-requiring-type-checking',
103
+ 'plugin:import/typescript',
104
+ ],
105
+ parser: '@typescript-eslint/parser',
106
+ parserOptions: {
107
+ project: ['./tsconfig.json'],
108
+ },
109
+ plugins: ['@typescript-eslint'],
110
+ rules: {
111
+ '@typescript-eslint/indent': 'off',
112
+ '@typescript-eslint/semi': 'off',
113
+ '@typescript-eslint/explicit-function-return-type': 'off',
114
+ '@typescript-eslint/no-unsafe-assignment': 'off',
115
+ '@typescript-eslint/no-unsafe-call': 'off',
116
+ '@typescript-eslint/no-unsafe-member-access': 'off',
117
+ '@typescript-eslint/no-unsafe-return': 'off',
118
+ '@typescript-eslint/restrict-template-expressions': 'off',
119
+ '@typescript-eslint/explicit-module-boundary-types': 'off',
120
+ '@typescript-eslint/naming-convention': 'off',
121
+ '@typescript-eslint/no-misused-promises': ['error', { checksVoidReturn: false }],
122
+ '@typescript-eslint/no-unbound-method': 'off',
123
+ '@typescript-eslint/no-restricted-imports': [
124
+ 'warn',
125
125
  {
126
- name: '@mui/material',
127
- importNames: [
128
- 'Autocomplete',
129
- 'Checkbox',
130
- 'Radio',
131
- 'Select',
132
- 'Slider',
133
- 'Switch',
134
- 'TextField',
135
- 'ToggleButtonGroup',
126
+ paths: [
127
+ {
128
+ name: 'next/image',
129
+ message: "Please use `import { Image } from '@graphcommerce/image'` instead.",
130
+ },
131
+ {
132
+ name: '@mui/system',
133
+ message: "Please use `@mui/material'` instead.",
134
+ },
135
+ {
136
+ name: '@mui/material',
137
+ importNames: [
138
+ 'Autocomplete',
139
+ 'Checkbox',
140
+ 'Radio',
141
+ 'Select',
142
+ 'Slider',
143
+ 'Switch',
144
+ 'TextField',
145
+ 'ToggleButtonGroup',
146
+ ],
147
+ message: `Please use \`import { SelectElement, TextFieldElement, etc } from '@graphcommerce/ecommerce-ui'\` for usage in forms. https://github.com/graphcommerce-org/graphcommerce/tree/main/packages/ecommerce-ui/components/FormComponents You can add '// eslint-disable-next-line @typescript-eslint/no-restricted-imports' comment if you're sure you want to use it.`,
148
+ },
149
+ {
150
+ name: '@mui/material',
151
+ importNames: ['useMediaQuery'],
152
+ message: `useMediaQuery can cause large CLS/LCP issues when used to render a specific UI on a breakpoint. See https://mui.com/system/display/#hiding-elements for alternatives. You can add '// eslint-disable-next-line @typescript-eslint/no-restricted-imports' comment if you're sure you want to use it.`,
153
+ },
154
+ {
155
+ name: '@emotion/react',
156
+ importNames: ['Theme', 'GlobalProps', 'ThemeContext'],
157
+ message: 'Import from @mui/material instead of @emotion/react.',
158
+ },
159
+ ],
160
+ patterns: [
161
+ {
162
+ group: ['*.interceptor'],
163
+ message: 'Importing *.interceptor is NOT allowed',
164
+ },
136
165
  ],
137
- message: `Please use \`import { SelectElement, TextFieldElement, etc } from '@graphcommerce/ecommerce-ui'\` for usage in forms. https://github.com/graphcommerce-org/graphcommerce/tree/main/packages/ecommerce-ui/components/FormComponents You can add '// eslint-disable-next-line @typescript-eslint/no-restricted-imports' comment if you're sure you want to use it.`,
138
- },
139
- {
140
- name: '@mui/material',
141
- importNames: ['useMediaQuery'],
142
- message: `useMediaQuery can cause large CLS/LCP issues when used to render a specific UI on a breakpoint. See https://mui.com/system/display/#hiding-elements for alternatives. You can add '// eslint-disable-next-line @typescript-eslint/no-restricted-imports' comment if you're sure you want to use it.`,
143
- },
144
- {
145
- name: '@emotion/react',
146
- importNames: ['Theme', 'GlobalProps', 'ThemeContext'],
147
- message: 'Import from @mui/material instead of @emotion/react.',
148
- },
149
- ],
150
- patterns: [
151
- {
152
- group: ['*.interceptor'],
153
- message: 'Importing *.interceptor is NOT allowed',
154
166
  },
155
167
  ],
168
+ '@typescript-eslint/consistent-type-imports': 'error',
169
+ 'import/no-duplicates': 'off',
170
+ '@typescript-eslint/no-duplicate-imports': ['error'],
156
171
  },
157
- ],
158
- },
159
- overrides: [
172
+ },
160
173
  {
161
174
  files: ['*.tsx'],
162
175
  rules: { 'import/no-default-export': ['error'] },
@@ -185,5 +198,13 @@ module.exports = {
185
198
  jest: true,
186
199
  },
187
200
  },
201
+ // JavaScript files override
202
+ {
203
+ files: ['*.js', '*.jsx', '*.mjs'],
204
+ extends: ['airbnb', 'airbnb/hooks', 'plugin:import/recommended', 'prettier'],
205
+ rules: {
206
+ semi: 'off',
207
+ },
208
+ },
188
209
  ],
189
210
  }
package/package.json CHANGED
@@ -2,20 +2,22 @@
2
2
  "name": "@graphcommerce/eslint-config-pwa",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "9.0.0-canary.101",
5
+ "version": "9.0.0-canary.103",
6
6
  "main": "index.js",
7
7
  "dependencies": {
8
- "@graphcommerce/typescript-config-pwa": "9.0.0-canary.101",
8
+ "@graphcommerce/typescript-config-pwa": "9.0.0-canary.103",
9
9
  "@next/eslint-plugin-next": "14.2.14",
10
10
  "@typescript-eslint/eslint-plugin": "^7.18.0",
11
11
  "@typescript-eslint/parser": "^7.18.0",
12
+ "eslint": "^8",
12
13
  "eslint-config-airbnb": "19.0.4",
13
14
  "eslint-config-airbnb-typescript": "18.0.0",
14
15
  "eslint-config-prettier": "9.1.0",
15
16
  "eslint-plugin-import": "2.31.0",
16
17
  "eslint-plugin-jsx-a11y": "6.10.0",
17
18
  "eslint-plugin-react": "^7.37.1",
18
- "eslint-plugin-react-hooks": "4.6.2"
19
+ "eslint-plugin-react-hooks": "4.6.2",
20
+ "typescript": "5.6.2"
19
21
  },
20
22
  "sideEffects": false
21
23
  }