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