Skip to content

Commit 91439a1

Browse files
authored
Merge pull request #114 from deini/bump
chore(common): support eslint v8
2 parents 6582f77 + 6bfd523 commit 91439a1

5 files changed

Lines changed: 232 additions & 167 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"devDependencies": {
2323
"@bigcommerce/validate-commits": "^2.0.2",
2424
"enhanced-resolve": "^5.8.3",
25-
"eslint": "^8.1.0",
25+
"eslint": "^8.2.0",
2626
"jest": "^27.3.1",
2727
"lerna": "^4.0.0",
2828
"typescript": "^4.4.4"

packages/eslint-config/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,20 @@
2121
},
2222
"dependencies": {
2323
"@bigcommerce/eslint-plugin": "^1.0.1",
24-
"@rushstack/eslint-patch": "^1.0.9",
25-
"@typescript-eslint/eslint-plugin": "^5.2.0",
26-
"@typescript-eslint/parser": "^5.2.0",
24+
"@rushstack/eslint-patch": "^1.1.0",
25+
"@typescript-eslint/eslint-plugin": "^5.3.1",
26+
"@typescript-eslint/parser": "^5.3.1",
2727
"eslint-config-prettier": "^8.3.0",
2828
"eslint-import-resolver-typescript": "^2.5.0",
2929
"eslint-plugin-gettext": "^1.2.0",
30-
"eslint-plugin-import": "^2.25.2",
31-
"eslint-plugin-jest": "^25.2.2",
30+
"eslint-plugin-import": "^2.25.3",
31+
"eslint-plugin-jest": "^25.2.4",
3232
"eslint-plugin-jest-formatting": "^3.0.0",
3333
"eslint-plugin-jsdoc": "^37.0.3",
34-
"eslint-plugin-jsx-a11y": "^6.4.1",
34+
"eslint-plugin-jsx-a11y": "^6.5.1",
3535
"eslint-plugin-prettier": "^4.0.0",
36-
"eslint-plugin-react": "^7.26.1",
37-
"eslint-plugin-react-hooks": "^4.2.0",
36+
"eslint-plugin-react": "^7.27.0",
37+
"eslint-plugin-react-hooks": "^4.3.0",
3838
"eslint-plugin-switch-case": "^1.1.2",
3939
"prettier": "^2.4.1"
4040
},

packages/eslint-config/test/__snapshots__/eslint.spec.js.snap

Lines changed: 42 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -704,9 +704,6 @@ Object {
704704
"jsdoc/require-returns-type": Array [
705705
"error",
706706
],
707-
"jsx-a11y/accessible-emoji": Array [
708-
"error",
709-
],
710707
"jsx-a11y/alt-text": Array [
711708
"error",
712709
],
@@ -817,6 +814,9 @@ Object {
817814
"jsx-a11y/no-interactive-element-to-noninteractive-role": Array [
818815
"error",
819816
Object {
817+
"canvas": Array [
818+
"img",
819+
],
820820
"tr": Array [
821821
"none",
822822
"presentation",
@@ -863,6 +863,10 @@ Object {
863863
"jsx-a11y/no-noninteractive-element-to-interactive-role": Array [
864864
"error",
865865
Object {
866+
"fieldset": Array [
867+
"radiogroup",
868+
"presentation",
869+
],
866870
"li": Array [
867871
"menuitem",
868872
"option",
@@ -2662,9 +2666,6 @@ Object {
26622666
"jsdoc/require-returns-type": Array [
26632667
"error",
26642668
],
2665-
"jsx-a11y/accessible-emoji": Array [
2666-
"error",
2667-
],
26682669
"jsx-a11y/alt-text": Array [
26692670
"error",
26702671
],
@@ -2775,6 +2776,9 @@ Object {
27752776
"jsx-a11y/no-interactive-element-to-noninteractive-role": Array [
27762777
"error",
27772778
Object {
2779+
"canvas": Array [
2780+
"img",
2781+
],
27782782
"tr": Array [
27792783
"none",
27802784
"presentation",
@@ -2821,6 +2825,10 @@ Object {
28212825
"jsx-a11y/no-noninteractive-element-to-interactive-role": Array [
28222826
"error",
28232827
Object {
2828+
"fieldset": Array [
2829+
"radiogroup",
2830+
"presentation",
2831+
],
28242832
"li": Array [
28252833
"menuitem",
28262834
"option",
@@ -4468,9 +4476,6 @@ Object {
44684476
"jsdoc/require-returns-type": Array [
44694477
"error",
44704478
],
4471-
"jsx-a11y/accessible-emoji": Array [
4472-
"error",
4473-
],
44744479
"jsx-a11y/alt-text": Array [
44754480
"error",
44764481
],
@@ -4581,6 +4586,9 @@ Object {
45814586
"jsx-a11y/no-interactive-element-to-noninteractive-role": Array [
45824587
"error",
45834588
Object {
4589+
"canvas": Array [
4590+
"img",
4591+
],
45844592
"tr": Array [
45854593
"none",
45864594
"presentation",
@@ -4627,6 +4635,10 @@ Object {
46274635
"jsx-a11y/no-noninteractive-element-to-interactive-role": Array [
46284636
"error",
46294637
Object {
4638+
"fieldset": Array [
4639+
"radiogroup",
4640+
"presentation",
4641+
],
46304642
"li": Array [
46314643
"menuitem",
46324644
"option",
@@ -6273,9 +6285,6 @@ Object {
62736285
"jsdoc/require-returns-type": Array [
62746286
"error",
62756287
],
6276-
"jsx-a11y/accessible-emoji": Array [
6277-
"error",
6278-
],
62796288
"jsx-a11y/alt-text": Array [
62806289
"error",
62816290
],
@@ -6386,6 +6395,9 @@ Object {
63866395
"jsx-a11y/no-interactive-element-to-noninteractive-role": Array [
63876396
"error",
63886397
Object {
6398+
"canvas": Array [
6399+
"img",
6400+
],
63896401
"tr": Array [
63906402
"none",
63916403
"presentation",
@@ -6432,6 +6444,10 @@ Object {
64326444
"jsx-a11y/no-noninteractive-element-to-interactive-role": Array [
64336445
"error",
64346446
Object {
6447+
"fieldset": Array [
6448+
"radiogroup",
6449+
"presentation",
6450+
],
64356451
"li": Array [
64366452
"menuitem",
64376453
"option",
@@ -8408,9 +8424,6 @@ Object {
84088424
"jsdoc/require-returns-type": Array [
84098425
"error",
84108426
],
8411-
"jsx-a11y/accessible-emoji": Array [
8412-
"error",
8413-
],
84148427
"jsx-a11y/alt-text": Array [
84158428
"error",
84168429
],
@@ -8521,6 +8534,9 @@ Object {
85218534
"jsx-a11y/no-interactive-element-to-noninteractive-role": Array [
85228535
"error",
85238536
Object {
8537+
"canvas": Array [
8538+
"img",
8539+
],
85248540
"tr": Array [
85258541
"none",
85268542
"presentation",
@@ -8567,6 +8583,10 @@ Object {
85678583
"jsx-a11y/no-noninteractive-element-to-interactive-role": Array [
85688584
"error",
85698585
Object {
8586+
"fieldset": Array [
8587+
"radiogroup",
8588+
"presentation",
8589+
],
85708590
"li": Array [
85718591
"menuitem",
85728592
"option",
@@ -10592,9 +10612,6 @@ Object {
1059210612
"jsdoc/require-returns-type": Array [
1059310613
"error",
1059410614
],
10595-
"jsx-a11y/accessible-emoji": Array [
10596-
"error",
10597-
],
1059810615
"jsx-a11y/alt-text": Array [
1059910616
"error",
1060010617
],
@@ -10705,6 +10722,9 @@ Object {
1070510722
"jsx-a11y/no-interactive-element-to-noninteractive-role": Array [
1070610723
"error",
1070710724
Object {
10725+
"canvas": Array [
10726+
"img",
10727+
],
1070810728
"tr": Array [
1070910729
"none",
1071010730
"presentation",
@@ -10751,6 +10771,10 @@ Object {
1075110771
"jsx-a11y/no-noninteractive-element-to-interactive-role": Array [
1075210772
"error",
1075310773
Object {
10774+
"fieldset": Array [
10775+
"radiogroup",
10776+
"presentation",
10777+
],
1075410778
"li": Array [
1075510779
"menuitem",
1075610780
"option",

packages/eslint-plugin/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"directory": "packages/eslint-plugin"
1515
},
1616
"dependencies": {
17-
"@typescript-eslint/experimental-utils": "^5.2.0",
17+
"@typescript-eslint/experimental-utils": "^5.3.1",
1818
"tsutils": "^3.21.0"
1919
},
2020
"peerDependencies": {
@@ -23,7 +23,7 @@
2323
"typescript": "^4.0.0"
2424
},
2525
"devDependencies": {
26-
"@typescript-eslint/parser": "^5.2.0",
26+
"@typescript-eslint/parser": "^5.3.1",
2727
"endent": "^2.1.0"
2828
}
2929
}

0 commit comments

Comments
 (0)