Skip to content

Commit 5b18364

Browse files
committed
Add prettier
1 parent a02e120 commit 5b18364

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,12 @@
1818
"@typescript-eslint/eslint-plugin": "^4.17.0",
1919
"@typescript-eslint/parser": "^4.17.0",
2020
"eslint": "^7.22.0",
21+
"eslint-config-prettier": "^8.1.0",
2122
"eslint-plugin-jsx-a11y": "^6.4.1",
23+
"eslint-plugin-prettier": "^3.3.1",
2224
"eslint-plugin-react": "^7.22.0",
2325
"eslint-plugin-react-hooks": "^4.2.0",
26+
"prettier": "^2.2.1",
2427
"typescript": "^4.2.3"
2528
}
2629
}

yarn.lock

+29
Original file line numberDiff line numberDiff line change
@@ -948,6 +948,11 @@ escape-string-regexp@^1.0.5:
948948
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
949949
integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=
950950

951+
eslint-config-prettier@^8.1.0:
952+
version "8.1.0"
953+
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.1.0.tgz#4ef1eaf97afe5176e6a75ddfb57c335121abc5a6"
954+
integrity sha512-oKMhGv3ihGbCIimCAjqkdzx2Q+jthoqnXSP+d86M9tptwugycmTFdVR4IpLgq2c4SHifbwO90z2fQ8/Aio73yw==
955+
951956
eslint-plugin-jsx-a11y@^6.4.1:
952957
version "6.4.1"
953958
resolved "https://registry.yarnpkg.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.4.1.tgz#a2d84caa49756942f42f1ffab9002436391718fd"
@@ -965,6 +970,13 @@ eslint-plugin-jsx-a11y@^6.4.1:
965970
jsx-ast-utils "^3.1.0"
966971
language-tags "^1.0.5"
967972

973+
eslint-plugin-prettier@^3.3.1:
974+
version "3.3.1"
975+
resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-3.3.1.tgz#7079cfa2497078905011e6f82e8dd8453d1371b7"
976+
integrity sha512-Rq3jkcFY8RYeQLgk2cCwuc0P7SEFwDravPhsJZOQ5N4YI4DSg50NyqJ/9gdZHzQlHf8MvafSesbNJCcP/FF6pQ==
977+
dependencies:
978+
prettier-linter-helpers "^1.0.0"
979+
968980
eslint-plugin-react-hooks@^4.2.0:
969981
version "4.2.0"
970982
resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.2.0.tgz#8c229c268d468956334c943bb45fc860280f5556"
@@ -1121,6 +1133,11 @@ fast-deep-equal@^3.1.1:
11211133
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525"
11221134
integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==
11231135

1136+
fast-diff@^1.1.2:
1137+
version "1.2.0"
1138+
resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03"
1139+
integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==
1140+
11241141
fast-glob@^3.1.1:
11251142
version "3.2.5"
11261143
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.5.tgz#7939af2a656de79a4f1901903ee8adcaa7cb9661"
@@ -2057,6 +2074,18 @@ prelude-ls@^1.2.1:
20572074
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"
20582075
integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==
20592076

2077+
prettier-linter-helpers@^1.0.0:
2078+
version "1.0.0"
2079+
resolved "https://registry.yarnpkg.com/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz#d23d41fe1375646de2d0104d3454a3008802cf7b"
2080+
integrity sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==
2081+
dependencies:
2082+
fast-diff "^1.1.2"
2083+
2084+
prettier@^2.2.1:
2085+
version "2.2.1"
2086+
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5"
2087+
integrity sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==
2088+
20602089
process-nextick-args@~2.0.0:
20612090
version "2.0.1"
20622091
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2"

0 commit comments

Comments
 (0)