Skip to content
This repository was archived by the owner on Dec 17, 2024. It is now read-only.

Commit 45e68cb

Browse files
committed
chore: update eslint and prettier
1 parent 5e25723 commit 45e68cb

File tree

2 files changed

+109
-21
lines changed

2 files changed

+109
-21
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
"devDependencies": {
2929
"@types/react": "^17.0.32",
3030
"jest": "^27.3.1",
31-
"eslint": "^7.30.0",
32-
"prettier": "^2.3.2",
31+
"eslint": "^7.32.0",
32+
"prettier": "^2.4.1",
3333
"react": "^17.0.2",
3434
"standard-version": "^9.1.1",
3535
"typescript": "^4.4.4"
@@ -46,7 +46,7 @@
4646
"eslint-config-prettier": "^8.3.0",
4747
"eslint-plugin-jsx-a11y": "^6.4.1",
4848
"eslint-plugin-prettier": "^3.4.1",
49-
"eslint-plugin-react": "^7.24.0",
49+
"eslint-plugin-react": "^7.26.1",
5050
"eslint-plugin-react-hooks": "^4.2.0"
5151
}
5252
}

yarn.lock

Lines changed: 106 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -635,10 +635,10 @@
635635
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
636636
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==
637637

638-
"@eslint/eslintrc@^0.4.2":
639-
version "0.4.2"
640-
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.4.2.tgz#f63d0ef06f5c0c57d76c4ab5f63d3835c51b0179"
641-
integrity sha512-8nmGq/4ycLpIwzvhI4tNDmQztZ8sp+hI7cyG8i1nQDhkAbRzHpXPidRAHlNvCZQpJTKw5ItIpMw9RSToGF00mg==
638+
"@eslint/eslintrc@^0.4.3":
639+
version "0.4.3"
640+
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.4.3.tgz#9e42981ef035beb3dd49add17acb96e8ff6f394c"
641+
integrity sha512-J6KFFz5QCYUJq3pf0mjEcCJVERbzv71PUIDczuh9JkwGEzced6CO5ADLHB1rbf/+oPBtoPfMYNOpGDzCANlbXw==
642642
dependencies:
643643
ajv "^6.12.4"
644644
debug "^4.1.1"
@@ -2112,6 +2112,32 @@ es-abstract@^1.18.2:
21122112
string.prototype.trimstart "^1.0.4"
21132113
unbox-primitive "^1.0.1"
21142114

2115+
es-abstract@^1.19.1:
2116+
version "1.19.1"
2117+
resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.19.1.tgz#d4885796876916959de78edaa0df456627115ec3"
2118+
integrity sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w==
2119+
dependencies:
2120+
call-bind "^1.0.2"
2121+
es-to-primitive "^1.2.1"
2122+
function-bind "^1.1.1"
2123+
get-intrinsic "^1.1.1"
2124+
get-symbol-description "^1.0.0"
2125+
has "^1.0.3"
2126+
has-symbols "^1.0.2"
2127+
internal-slot "^1.0.3"
2128+
is-callable "^1.2.4"
2129+
is-negative-zero "^2.0.1"
2130+
is-regex "^1.1.4"
2131+
is-shared-array-buffer "^1.0.1"
2132+
is-string "^1.0.7"
2133+
is-weakref "^1.0.1"
2134+
object-inspect "^1.11.0"
2135+
object-keys "^1.1.1"
2136+
object.assign "^4.1.2"
2137+
string.prototype.trimend "^1.0.4"
2138+
string.prototype.trimstart "^1.0.4"
2139+
unbox-primitive "^1.0.1"
2140+
21152141
es-to-primitive@^1.2.1:
21162142
version "1.2.1"
21172143
resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a"
@@ -2187,22 +2213,24 @@ eslint-plugin-react-hooks@^4.2.0:
21872213
resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.2.0.tgz#8c229c268d468956334c943bb45fc860280f5556"
21882214
integrity sha512-623WEiZJqxR7VdxFCKLI6d6LLpwJkGPYKODnkH3D7WpOG5KM8yWueBd8TLsNAetEJNF5iJmolaAKO3F8yzyVBQ==
21892215

2190-
eslint-plugin-react@^7.24.0:
2191-
version "7.24.0"
2192-
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.24.0.tgz#eadedfa351a6f36b490aa17f4fa9b14e842b9eb4"
2193-
integrity sha512-KJJIx2SYx7PBx3ONe/mEeMz4YE0Lcr7feJTCMyyKb/341NcjuAgim3Acgan89GfPv7nxXK2+0slu0CWXYM4x+Q==
2216+
eslint-plugin-react@^7.26.1:
2217+
version "7.26.1"
2218+
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.26.1.tgz#41bcfe3e39e6a5ac040971c1af94437c80daa40e"
2219+
integrity sha512-Lug0+NOFXeOE+ORZ5pbsh6mSKjBKXDXItUD2sQoT+5Yl0eoT82DqnXeTMfUare4QVCn9QwXbfzO/dBLjLXwVjQ==
21942220
dependencies:
21952221
array-includes "^3.1.3"
21962222
array.prototype.flatmap "^1.2.4"
21972223
doctrine "^2.1.0"
2198-
has "^1.0.3"
2224+
estraverse "^5.2.0"
21992225
jsx-ast-utils "^2.4.1 || ^3.0.0"
22002226
minimatch "^3.0.4"
22012227
object.entries "^1.1.4"
22022228
object.fromentries "^2.0.4"
2229+
object.hasown "^1.0.0"
22032230
object.values "^1.1.4"
22042231
prop-types "^15.7.2"
22052232
resolve "^2.0.0-next.3"
2233+
semver "^6.3.0"
22062234
string.prototype.matchall "^4.0.5"
22072235

22082236
eslint-scope@^5.0.0:
@@ -2238,13 +2266,13 @@ eslint-visitor-keys@^2.0.0:
22382266
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz#21fdc8fbcd9c795cc0321f0563702095751511a8"
22392267
integrity sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ==
22402268

2241-
eslint@^7.30.0:
2242-
version "7.30.0"
2243-
resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.30.0.tgz#6d34ab51aaa56112fd97166226c9a97f505474f8"
2244-
integrity sha512-VLqz80i3as3NdloY44BQSJpFw534L9Oh+6zJOUaViV4JPd+DaHwutqP7tcpkW3YiXbK6s05RZl7yl7cQn+lijg==
2269+
eslint@^7.32.0:
2270+
version "7.32.0"
2271+
resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.32.0.tgz#c6d328a14be3fb08c8d1d21e12c02fdb7a2a812d"
2272+
integrity sha512-VHZ8gX+EDfz+97jGcgyGCyRia/dPOd6Xh9yPv8Bl1+SoaIwD+a/vlrOmGRUyOYu7MwUhc7CxqeaDZU13S4+EpA==
22452273
dependencies:
22462274
"@babel/code-frame" "7.12.11"
2247-
"@eslint/eslintrc" "^0.4.2"
2275+
"@eslint/eslintrc" "^0.4.3"
22482276
"@humanwhocodes/config-array" "^0.5.0"
22492277
ajv "^6.10.0"
22502278
chalk "^4.0.0"
@@ -2579,6 +2607,14 @@ get-stream@^6.0.0:
25792607
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7"
25802608
integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==
25812609

2610+
get-symbol-description@^1.0.0:
2611+
version "1.0.0"
2612+
resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz#7fdb81c900101fbd564dd5f1a30af5aadc1e58d6"
2613+
integrity sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==
2614+
dependencies:
2615+
call-bind "^1.0.2"
2616+
get-intrinsic "^1.1.1"
2617+
25822618
git-raw-commits@^2.0.8:
25832619
version "2.0.9"
25842620
resolved "https://registry.yarnpkg.com/git-raw-commits/-/git-raw-commits-2.0.9.tgz#5cbc707a615cb77b71e687f8a1ee54af46208b22"
@@ -2747,6 +2783,13 @@ has-symbols@^1.0.2:
27472783
resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.2.tgz#165d3070c00309752a1236a479331e3ac56f1423"
27482784
integrity sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==
27492785

2786+
has-tostringtag@^1.0.0:
2787+
version "1.0.0"
2788+
resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz#7e133818a7d394734f941e73c3d3f9291e658b25"
2789+
integrity sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==
2790+
dependencies:
2791+
has-symbols "^1.0.2"
2792+
27502793
has@^1.0.3:
27512794
version "1.0.3"
27522795
resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796"
@@ -2924,6 +2967,11 @@ is-callable@^1.2.3:
29242967
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.3.tgz#8b1e0500b73a1d76c70487636f368e519de8db8e"
29252968
integrity sha512-J1DcMe8UYTBSrKezuIUTUwjXsho29693unXM2YhJUTR2txK/eG47bvNa/wipPFmZFgr/N6f1GA66dv0mEyTIyQ==
29262969

2970+
is-callable@^1.2.4:
2971+
version "1.2.4"
2972+
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.4.tgz#47301d58dd0259407865547853df6d61fe471945"
2973+
integrity sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==
2974+
29272975
is-core-module@^2.2.0:
29282976
version "2.2.0"
29292977
resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.2.0.tgz#97037ef3d52224d85163f5597b2b63d9afed981a"
@@ -3037,6 +3085,19 @@ is-regex@^1.1.3:
30373085
call-bind "^1.0.2"
30383086
has-symbols "^1.0.2"
30393087

3088+
is-regex@^1.1.4:
3089+
version "1.1.4"
3090+
resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958"
3091+
integrity sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==
3092+
dependencies:
3093+
call-bind "^1.0.2"
3094+
has-tostringtag "^1.0.0"
3095+
3096+
is-shared-array-buffer@^1.0.1:
3097+
version "1.0.1"
3098+
resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz#97b0c85fbdacb59c9c446fe653b82cf2b5b7cfe6"
3099+
integrity sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA==
3100+
30403101
is-stream@^2.0.0:
30413102
version "2.0.0"
30423103
resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.0.tgz#bde9c32680d6fae04129d6ac9d921ce7815f78e3"
@@ -3052,6 +3113,13 @@ is-string@^1.0.6:
30523113
resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.6.tgz#3fe5d5992fb0d93404f32584d4b0179a71b54a5f"
30533114
integrity sha512-2gdzbKUuqtQ3lYNrUTQYoClPhm7oQu4UdpSZMp1/DGgkHBT8E2Z1l0yMdb6D4zNAxwDiMv8MdulKROJGNl0Q0w==
30543115

3116+
is-string@^1.0.7:
3117+
version "1.0.7"
3118+
resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.7.tgz#0dd12bf2006f255bb58f695110eff7491eebc0fd"
3119+
integrity sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==
3120+
dependencies:
3121+
has-tostringtag "^1.0.0"
3122+
30553123
is-symbol@^1.0.2:
30563124
version "1.0.2"
30573125
resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.2.tgz#a055f6ae57192caee329e7a860118b497a950f38"
@@ -3083,6 +3151,13 @@ is-utf8@^0.2.0:
30833151
resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72"
30843152
integrity sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=
30853153

3154+
is-weakref@^1.0.1:
3155+
version "1.0.1"
3156+
resolved "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.0.1.tgz#842dba4ec17fa9ac9850df2d6efbc1737274f2a2"
3157+
integrity sha512-b2jKc2pQZjaeFYWEf7ScFj+Be1I+PXmlu572Q8coTXZ+LD/QQZ7ShPMst8h16riVgyXTQwUsFEl74mDvc/3MHQ==
3158+
dependencies:
3159+
call-bind "^1.0.0"
3160+
30863161
isarray@~1.0.0:
30873162
version "1.0.0"
30883163
resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11"
@@ -4075,6 +4150,11 @@ object-inspect@^1.10.3:
40754150
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.10.3.tgz#c2aa7d2d09f50c99375704f7a0adf24c5782d369"
40764151
integrity sha512-e5mCJlSH7poANfC8z8S9s9S2IN5/4Zb3aZ33f5s8YqoazCFzNLloLU8r5VCG+G7WoqLvAAZoVMcy3tp/3X0Plw==
40774152

4153+
object-inspect@^1.11.0:
4154+
version "1.11.0"
4155+
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.11.0.tgz#9dceb146cedd4148a0d9e51ab88d34cf509922b1"
4156+
integrity sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg==
4157+
40784158
object-inspect@^1.7.0:
40794159
version "1.7.0"
40804160
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.7.0.tgz#f4f6bd181ad77f006b5ece60bd0b6f398ff74a67"
@@ -4144,6 +4224,14 @@ object.fromentries@^2.0.4:
41444224
es-abstract "^1.18.0-next.2"
41454225
has "^1.0.3"
41464226

4227+
object.hasown@^1.0.0:
4228+
version "1.1.0"
4229+
resolved "https://registry.yarnpkg.com/object.hasown/-/object.hasown-1.1.0.tgz#7232ed266f34d197d15cac5880232f7a4790afe5"
4230+
integrity sha512-MhjYRfj3GBlhSkDHo6QmvgjRLXQ2zndabdf3nX0yTyZK9rPfxb6uRpAac8HXNLy1GpqWtZ81Qh4v3uOls2sRAg==
4231+
dependencies:
4232+
define-properties "^1.1.3"
4233+
es-abstract "^1.19.1"
4234+
41474235
object.values@^1.1.4:
41484236
version "1.1.4"
41494237
resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.4.tgz#0d273762833e816b693a637d30073e7051535b30"
@@ -4413,10 +4501,10 @@ prettier-linter-helpers@^1.0.0:
44134501
dependencies:
44144502
fast-diff "^1.1.2"
44154503

4416-
prettier@^2.3.2:
4417-
version "2.3.2"
4418-
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.2.tgz#ef280a05ec253712e486233db5c6f23441e7342d"
4419-
integrity sha512-lnJzDfJ66zkMy58OL5/NY5zp70S7Nz6KqcKkXYzn2tMVrNxvbqaBpg7H3qHaLxCJ5lNMsGuM8+ohS7cZrthdLQ==
4504+
prettier@^2.4.1:
4505+
version "2.4.1"
4506+
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.4.1.tgz#671e11c89c14a4cfc876ce564106c4a6726c9f5c"
4507+
integrity sha512-9fbDAXSBcc6Bs1mZrDYb3XKzDLm4EXXL9sC1LqKP5rZkT6KRr/rf9amVUcODVXgguK/isJz0d0hP72WeaKWsvA==
44204508

44214509
pretty-format@^27.3.1:
44224510
version "27.3.1"

0 commit comments

Comments
 (0)