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

Commit 12972bc

Browse files
committed
chore: update eslint and prettier
1 parent ad95c37 commit 12972bc

File tree

2 files changed

+94
-21
lines changed

2 files changed

+94
-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.21",
3030
"jest": "^27.1.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.3"
@@ -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.25.3",
5050
"eslint-plugin-react-hooks": "^4.2.0"
5151
}
5252
}

yarn.lock

Lines changed: 91 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"
@@ -2090,6 +2090,30 @@ es-abstract@^1.18.0-next.1, es-abstract@^1.18.0-next.2:
20902090
string.prototype.trimstart "^1.0.4"
20912091
unbox-primitive "^1.0.0"
20922092

2093+
es-abstract@^1.18.1:
2094+
version "1.18.6"
2095+
resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.18.6.tgz#2c44e3ea7a6255039164d26559777a6d978cb456"
2096+
integrity sha512-kAeIT4cku5eNLNuUKhlmtuk1/TRZvQoYccn6TO0cSVdf1kzB0T7+dYuVK9MWM7l+/53W2Q8M7N2c6MQvhXFcUQ==
2097+
dependencies:
2098+
call-bind "^1.0.2"
2099+
es-to-primitive "^1.2.1"
2100+
function-bind "^1.1.1"
2101+
get-intrinsic "^1.1.1"
2102+
get-symbol-description "^1.0.0"
2103+
has "^1.0.3"
2104+
has-symbols "^1.0.2"
2105+
internal-slot "^1.0.3"
2106+
is-callable "^1.2.4"
2107+
is-negative-zero "^2.0.1"
2108+
is-regex "^1.1.4"
2109+
is-string "^1.0.7"
2110+
object-inspect "^1.11.0"
2111+
object-keys "^1.1.1"
2112+
object.assign "^4.1.2"
2113+
string.prototype.trimend "^1.0.4"
2114+
string.prototype.trimstart "^1.0.4"
2115+
unbox-primitive "^1.0.1"
2116+
20932117
es-abstract@^1.18.2:
20942118
version "1.18.3"
20952119
resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.18.3.tgz#25c4c3380a27aa203c44b2b685bba94da31b63e0"
@@ -2187,19 +2211,20 @@ eslint-plugin-react-hooks@^4.2.0:
21872211
resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.2.0.tgz#8c229c268d468956334c943bb45fc860280f5556"
21882212
integrity sha512-623WEiZJqxR7VdxFCKLI6d6LLpwJkGPYKODnkH3D7WpOG5KM8yWueBd8TLsNAetEJNF5iJmolaAKO3F8yzyVBQ==
21892213

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==
2214+
eslint-plugin-react@^7.25.3:
2215+
version "7.25.3"
2216+
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.25.3.tgz#3333a974772745ddb3aecea84621019b635766bc"
2217+
integrity sha512-ZMbFvZ1WAYSZKY662MBVEWR45VaBT6KSJCiupjrNlcdakB90juaZeDCbJq19e73JZQubqFtgETohwgAt8u5P6w==
21942218
dependencies:
21952219
array-includes "^3.1.3"
21962220
array.prototype.flatmap "^1.2.4"
21972221
doctrine "^2.1.0"
2198-
has "^1.0.3"
2222+
estraverse "^5.2.0"
21992223
jsx-ast-utils "^2.4.1 || ^3.0.0"
22002224
minimatch "^3.0.4"
22012225
object.entries "^1.1.4"
22022226
object.fromentries "^2.0.4"
2227+
object.hasown "^1.0.0"
22032228
object.values "^1.1.4"
22042229
prop-types "^15.7.2"
22052230
resolve "^2.0.0-next.3"
@@ -2238,13 +2263,13 @@ eslint-visitor-keys@^2.0.0:
22382263
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz#21fdc8fbcd9c795cc0321f0563702095751511a8"
22392264
integrity sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ==
22402265

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==
2266+
eslint@^7.32.0:
2267+
version "7.32.0"
2268+
resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.32.0.tgz#c6d328a14be3fb08c8d1d21e12c02fdb7a2a812d"
2269+
integrity sha512-VHZ8gX+EDfz+97jGcgyGCyRia/dPOd6Xh9yPv8Bl1+SoaIwD+a/vlrOmGRUyOYu7MwUhc7CxqeaDZU13S4+EpA==
22452270
dependencies:
22462271
"@babel/code-frame" "7.12.11"
2247-
"@eslint/eslintrc" "^0.4.2"
2272+
"@eslint/eslintrc" "^0.4.3"
22482273
"@humanwhocodes/config-array" "^0.5.0"
22492274
ajv "^6.10.0"
22502275
chalk "^4.0.0"
@@ -2579,6 +2604,14 @@ get-stream@^6.0.0:
25792604
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7"
25802605
integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==
25812606

2607+
get-symbol-description@^1.0.0:
2608+
version "1.0.0"
2609+
resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz#7fdb81c900101fbd564dd5f1a30af5aadc1e58d6"
2610+
integrity sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==
2611+
dependencies:
2612+
call-bind "^1.0.2"
2613+
get-intrinsic "^1.1.1"
2614+
25822615
git-raw-commits@^2.0.8:
25832616
version "2.0.9"
25842617
resolved "https://registry.yarnpkg.com/git-raw-commits/-/git-raw-commits-2.0.9.tgz#5cbc707a615cb77b71e687f8a1ee54af46208b22"
@@ -2747,6 +2780,13 @@ has-symbols@^1.0.2:
27472780
resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.2.tgz#165d3070c00309752a1236a479331e3ac56f1423"
27482781
integrity sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==
27492782

2783+
has-tostringtag@^1.0.0:
2784+
version "1.0.0"
2785+
resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz#7e133818a7d394734f941e73c3d3f9291e658b25"
2786+
integrity sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==
2787+
dependencies:
2788+
has-symbols "^1.0.2"
2789+
27502790
has@^1.0.3:
27512791
version "1.0.3"
27522792
resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796"
@@ -2924,6 +2964,11 @@ is-callable@^1.2.3:
29242964
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.3.tgz#8b1e0500b73a1d76c70487636f368e519de8db8e"
29252965
integrity sha512-J1DcMe8UYTBSrKezuIUTUwjXsho29693unXM2YhJUTR2txK/eG47bvNa/wipPFmZFgr/N6f1GA66dv0mEyTIyQ==
29262966

2967+
is-callable@^1.2.4:
2968+
version "1.2.4"
2969+
resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.4.tgz#47301d58dd0259407865547853df6d61fe471945"
2970+
integrity sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==
2971+
29272972
is-ci@^3.0.0:
29282973
version "3.0.0"
29292974
resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-3.0.0.tgz#c7e7be3c9d8eef7d0fa144390bd1e4b88dc4c994"
@@ -3044,6 +3089,14 @@ is-regex@^1.1.3:
30443089
call-bind "^1.0.2"
30453090
has-symbols "^1.0.2"
30463091

3092+
is-regex@^1.1.4:
3093+
version "1.1.4"
3094+
resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958"
3095+
integrity sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==
3096+
dependencies:
3097+
call-bind "^1.0.2"
3098+
has-tostringtag "^1.0.0"
3099+
30473100
is-stream@^2.0.0:
30483101
version "2.0.0"
30493102
resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.0.tgz#bde9c32680d6fae04129d6ac9d921ce7815f78e3"
@@ -3059,6 +3112,13 @@ is-string@^1.0.6:
30593112
resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.6.tgz#3fe5d5992fb0d93404f32584d4b0179a71b54a5f"
30603113
integrity sha512-2gdzbKUuqtQ3lYNrUTQYoClPhm7oQu4UdpSZMp1/DGgkHBT8E2Z1l0yMdb6D4zNAxwDiMv8MdulKROJGNl0Q0w==
30613114

3115+
is-string@^1.0.7:
3116+
version "1.0.7"
3117+
resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.7.tgz#0dd12bf2006f255bb58f695110eff7491eebc0fd"
3118+
integrity sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==
3119+
dependencies:
3120+
has-tostringtag "^1.0.0"
3121+
30623122
is-symbol@^1.0.2:
30633123
version "1.0.2"
30643124
resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.2.tgz#a055f6ae57192caee329e7a860118b497a950f38"
@@ -4083,6 +4143,11 @@ object-inspect@^1.10.3:
40834143
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.10.3.tgz#c2aa7d2d09f50c99375704f7a0adf24c5782d369"
40844144
integrity sha512-e5mCJlSH7poANfC8z8S9s9S2IN5/4Zb3aZ33f5s8YqoazCFzNLloLU8r5VCG+G7WoqLvAAZoVMcy3tp/3X0Plw==
40854145

4146+
object-inspect@^1.11.0:
4147+
version "1.11.0"
4148+
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.11.0.tgz#9dceb146cedd4148a0d9e51ab88d34cf509922b1"
4149+
integrity sha512-jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg==
4150+
40864151
object-inspect@^1.7.0:
40874152
version "1.7.0"
40884153
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.7.0.tgz#f4f6bd181ad77f006b5ece60bd0b6f398ff74a67"
@@ -4152,6 +4217,14 @@ object.fromentries@^2.0.4:
41524217
es-abstract "^1.18.0-next.2"
41534218
has "^1.0.3"
41544219

4220+
object.hasown@^1.0.0:
4221+
version "1.0.0"
4222+
resolved "https://registry.yarnpkg.com/object.hasown/-/object.hasown-1.0.0.tgz#bdbade33cfacfb25d7f26ae2b6cb870bf99905c2"
4223+
integrity sha512-qYMF2CLIjxxLGleeM0jrcB4kiv3loGVAjKQKvH8pSU/i2VcRRvUNmxbD+nEMmrXRfORhuVJuH8OtSYCZoue3zA==
4224+
dependencies:
4225+
define-properties "^1.1.3"
4226+
es-abstract "^1.18.1"
4227+
41554228
object.values@^1.1.4:
41564229
version "1.1.4"
41574230
resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.4.tgz#0d273762833e816b693a637d30073e7051535b30"
@@ -4426,10 +4499,10 @@ prettier-linter-helpers@^1.0.0:
44264499
dependencies:
44274500
fast-diff "^1.1.2"
44284501

4429-
prettier@^2.3.2:
4430-
version "2.3.2"
4431-
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.2.tgz#ef280a05ec253712e486233db5c6f23441e7342d"
4432-
integrity sha512-lnJzDfJ66zkMy58OL5/NY5zp70S7Nz6KqcKkXYzn2tMVrNxvbqaBpg7H3qHaLxCJ5lNMsGuM8+ohS7cZrthdLQ==
4502+
prettier@^2.4.1:
4503+
version "2.4.1"
4504+
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.4.1.tgz#671e11c89c14a4cfc876ce564106c4a6726c9f5c"
4505+
integrity sha512-9fbDAXSBcc6Bs1mZrDYb3XKzDLm4EXXL9sC1LqKP5rZkT6KRr/rf9amVUcODVXgguK/isJz0d0hP72WeaKWsvA==
44334506

44344507
pretty-format@^27.1.1:
44354508
version "27.1.1"

0 commit comments

Comments
 (0)