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