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