Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Prettier ESLint VSCode extension #23106

Merged
merged 5 commits into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .depcheckrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ ignores:
- 'source-map-explorer'
- 'playwright'
- 'wait-on'
- 'tsx' #used in .devcontainer
- 'tsx' # used in .devcontainer
- 'prettier-eslint' # used by the Prettier ESLint VSCode extension
# development tool
- 'nyc'
# storybook
Expand Down
4 changes: 2 additions & 2 deletions lavamoat/build-system/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -2289,8 +2289,8 @@
},
"del>p-map>aggregate-error": {
"packages": {
"@testing-library/jest-dom>redent>indent-string": true,
"del>p-map>aggregate-error>clean-stack": true
"del>p-map>aggregate-error>clean-stack": true,
"prettier-eslint>indent-string": true
}
},
"del>p-map>aggregate-error>clean-stack": {
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@
"await-semaphore@^0.1.1": "patch:await-semaphore@npm%3A0.1.3#./.yarn/patches/await-semaphore-npm-0.1.3-b7a0001fab.patch",
"await-semaphore@^0.1.3": "patch:await-semaphore@npm%3A0.1.3#./.yarn/patches/await-semaphore-npm-0.1.3-b7a0001fab.patch",
"[email protected]": "patch:eslint@npm%3A8.36.0#./.yarn/patches/eslint-npm-8.36.0-f8482bce95.patch",
"eslint@^8.7.0": "patch:eslint@npm%3A8.36.0#./.yarn/patches/eslint-npm-8.36.0-f8482bce95.patch",
"eslint@^8.36.0": "patch:eslint@npm%3A8.36.0#./.yarn/patches/eslint-npm-8.36.0-f8482bce95.patch",
"eth-query@^2.1.2": "patch:eth-query@npm%3A2.1.2#./.yarn/patches/eth-query-npm-2.1.2-7c6adc825f.patch",
"eth-query@^2.1.0": "patch:eth-query@npm%3A2.1.2#./.yarn/patches/eth-query-npm-2.1.2-7c6adc825f.patch",
Expand Down Expand Up @@ -546,6 +547,7 @@
"postcss": "^8.4.32",
"postcss-rtlcss": "^4.0.9",
"prettier": "^2.7.1",
"prettier-eslint": "^16.3.0",
"prettier-plugin-sort-json": "^1.0.0",
"proxyquire": "^2.1.3",
"pumpify": "^2.0.1",
Expand Down
145 changes: 130 additions & 15 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9719,7 +9719,7 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/parser@npm:^6.21.0":
"@typescript-eslint/parser@npm:^6.21.0, @typescript-eslint/parser@npm:^6.7.5":
version: 6.21.0
resolution: "@typescript-eslint/parser@npm:6.21.0"
dependencies:
Expand Down Expand Up @@ -10785,6 +10785,13 @@ __metadata:
languageName: node
linkType: hard

"ansi-styles@npm:^2.2.1":
version: 2.2.1
resolution: "ansi-styles@npm:2.2.1"
checksum: ebc0e00381f2a29000d1dac8466a640ce11943cef3bda3cd0020dc042e31e1058ab59bf6169cd794a54c3a7338a61ebc404b7c91e004092dd20e028c432c9c2c
languageName: node
linkType: hard

"ansi-styles@npm:^3.2.0, ansi-styles@npm:^3.2.1":
version: 3.2.1
resolution: "ansi-styles@npm:3.2.1"
Expand Down Expand Up @@ -12957,6 +12964,19 @@ __metadata:
languageName: node
linkType: hard

"chalk@npm:^1.1.3":
version: 1.1.3
resolution: "chalk@npm:1.1.3"
dependencies:
ansi-styles: "npm:^2.2.1"
escape-string-regexp: "npm:^1.0.2"
has-ansi: "npm:^2.0.0"
strip-ansi: "npm:^3.0.0"
supports-color: "npm:^2.0.0"
checksum: abcf10da02afde04cc615f06c4bdb3ffc70d2bfbf37e0df03bb88b7459a9411dab4d01210745b773abc936031530a20355f1facc4bee1bbf08613d8fdcfb3aeb
languageName: node
linkType: hard

"chalk@npm:^2.0.1, chalk@npm:^2.4.1, chalk@npm:^2.4.2":
version: 2.4.2
resolution: "chalk@npm:2.4.2"
Expand Down Expand Up @@ -13627,7 +13647,7 @@ __metadata:
languageName: node
linkType: hard

"common-tags@npm:1.8.2, common-tags@npm:^1.8.0":
"common-tags@npm:1.8.2, common-tags@npm:^1.4.0, common-tags@npm:^1.8.0":
version: 1.8.2
resolution: "common-tags@npm:1.8.2"
checksum: c665d0f463ee79dda801471ad8da6cb33ff7332ba45609916a508ad3d77ba07ca9deeb452e83f81f24c2b081e2c1315347f23d239210e63d1c5e1a0c7c019fe2
Expand Down Expand Up @@ -15404,6 +15424,13 @@ __metadata:
languageName: node
linkType: hard

"dlv@npm:^1.1.0":
version: 1.1.3
resolution: "dlv@npm:1.1.3"
checksum: 836459ec6b50e43e9ed388a5fc28954be99e3481af3fa4b5d82a600762eb65ef8faacd454097ed7fc2f8a60aea2800d65a4cece5cd0d81ab82b2031f3f759e6e
languageName: node
linkType: hard

"doctrine@npm:^2.1.0":
version: 2.1.0
resolution: "doctrine@npm:2.1.0"
Expand Down Expand Up @@ -16861,7 +16888,7 @@ __metadata:
languageName: node
linkType: hard

"espree@npm:9.6.1, espree@npm:^9.5.0, espree@npm:^9.5.1":
"espree@npm:9.6.1, espree@npm:^9.3.1, espree@npm:^9.5.0, espree@npm:^9.5.1":
version: 9.6.1
resolution: "espree@npm:9.6.1"
dependencies:
Expand All @@ -16882,7 +16909,7 @@ __metadata:
languageName: node
linkType: hard

"esquery@npm:^1.4.2, esquery@npm:^1.5.0":
"esquery@npm:^1.4.0, esquery@npm:^1.4.2, esquery@npm:^1.5.0":
version: 1.5.0
resolution: "esquery@npm:1.5.0"
dependencies:
Expand Down Expand Up @@ -19638,6 +19665,15 @@ __metadata:
languageName: node
linkType: hard

"has-ansi@npm:^2.0.0":
version: 2.0.0
resolution: "has-ansi@npm:2.0.0"
dependencies:
ansi-regex: "npm:^2.0.0"
checksum: 1b51daa0214440db171ff359d0a2d17bc20061164c57e76234f614c91dbd2a79ddd68dfc8ee73629366f7be45a6df5f2ea9de83f52e1ca24433f2cc78c35d8ec
languageName: node
linkType: hard

"has-bigints@npm:^1.0.1, has-bigints@npm:^1.0.2":
version: 1.0.2
resolution: "has-bigints@npm:1.0.2"
Expand Down Expand Up @@ -23516,7 +23552,7 @@ __metadata:
languageName: node
linkType: hard

"lodash.merge@npm:^4.6.2":
"lodash.merge@npm:^4.6.0, lodash.merge@npm:^4.6.2":
version: 4.6.2
resolution: "lodash.merge@npm:4.6.2"
checksum: d0ea2dd0097e6201be083865d50c3fb54fbfbdb247d9cc5950e086c991f448b7ab0cdab0d57eacccb43473d3f2acd21e134db39f22dac2d6c9ba6bf26978e3d6
Expand Down Expand Up @@ -23549,10 +23585,20 @@ __metadata:
languageName: node
linkType: hard

"loglevel@npm:^1.8.0, loglevel@npm:^1.8.1":
version: 1.8.1
resolution: "loglevel@npm:1.8.1"
checksum: 36a786082a7e4f1d962de330122291da3a102b88dbde81a45eb92a045c38b0903783958ba39dce641440c0413da303410e7f2565f897bccad828853bd5974c86
"loglevel-colored-level-prefix@npm:^1.0.0":
version: 1.0.0
resolution: "loglevel-colored-level-prefix@npm:1.0.0"
dependencies:
chalk: "npm:^1.1.3"
loglevel: "npm:^1.4.1"
checksum: aa60baa2b8f5d7f22327d597cbe4930eea5b0ffd8451b3d60e61824abd8a2401a039f866b810898e1d04ebf39033ef366fce6f0d93293f3b79cb4495773ae0de
languageName: node
linkType: hard

"loglevel@npm:^1.4.1, loglevel@npm:^1.8.0, loglevel@npm:^1.8.1":
version: 1.9.1
resolution: "loglevel@npm:1.9.1"
checksum: 863cbbcddf850a937482c604e2d11586574a5110b746bb49c7cc04739e01f6035f6db841d25377106dd330bca7142d74995f15a97c5f3ea0af86d9472d4a99f4
languageName: node
linkType: hard

Expand Down Expand Up @@ -24629,6 +24675,7 @@ __metadata:
postcss: "npm:^8.4.32"
postcss-rtlcss: "npm:^4.0.9"
prettier: "npm:^2.7.1"
prettier-eslint: "npm:^16.3.0"
prettier-plugin-sort-json: "npm:^1.0.0"
promise-to-callback: "npm:^1.0.0"
prop-types: "npm:^15.6.1"
Expand Down Expand Up @@ -28056,6 +28103,34 @@ __metadata:
languageName: node
linkType: hard

"prettier-eslint@npm:^16.3.0":
version: 16.3.0
resolution: "prettier-eslint@npm:16.3.0"
dependencies:
"@typescript-eslint/parser": "npm:^6.7.5"
common-tags: "npm:^1.4.0"
dlv: "npm:^1.1.0"
eslint: "npm:^8.7.0"
indent-string: "npm:^4.0.0"
lodash.merge: "npm:^4.6.0"
loglevel-colored-level-prefix: "npm:^1.0.0"
prettier: "npm:^3.0.1"
pretty-format: "npm:^29.7.0"
require-relative: "npm:^0.8.7"
typescript: "npm:^5.2.2"
vue-eslint-parser: "npm:^9.1.0"
peerDependencies:
prettier-plugin-svelte: ^3.0.0
svelte-eslint-parser: "*"
peerDependenciesMeta:
prettier-plugin-svelte:
optional: true
svelte-eslint-parser:
optional: true
checksum: 7b723c1b761d0ad5b4b3945b4df782c290e7a68cbfd86400ba039ce59fff85da7b59781de2dacea7054763da47ab52eff0357f9e0ae066fdd4c8d88390135360
languageName: node
linkType: hard

"prettier-linter-helpers@npm:^1.0.0":
version: 1.0.0
resolution: "prettier-linter-helpers@npm:1.0.0"
Expand Down Expand Up @@ -28094,6 +28169,15 @@ __metadata:
languageName: node
linkType: hard

"prettier@npm:^3.0.1":
version: 3.2.5
resolution: "prettier@npm:3.2.5"
bin:
prettier: bin/prettier.cjs
checksum: d509f9da0b70e8cacc561a1911c0d99ec75117faed27b95cc8534cb2349667dee6351b0ca83fa9d5703f14127faa52b798de40f5705f02d843da133fc3aa416a
languageName: node
linkType: hard

"pretty-error@npm:^4.0.0":
version: 4.0.0
resolution: "pretty-error@npm:4.0.0"
Expand Down Expand Up @@ -29989,6 +30073,13 @@ __metadata:
languageName: node
linkType: hard

"require-relative@npm:^0.8.7":
version: 0.8.7
resolution: "require-relative@npm:0.8.7"
checksum: f1c3be06977823bba43600344d9ea6fbf8a55bdb81ec76533126849ab4024e6c31c6666f37fa4b5cfeda9c41dee89b8e19597cac02bdefaab42255c6708661ab
languageName: node
linkType: hard

"requireindex@npm:^1.1.0":
version: 1.2.0
resolution: "requireindex@npm:1.2.0"
Expand Down Expand Up @@ -30808,14 +30899,14 @@ __metadata:
languageName: node
linkType: hard

"semver@npm:^7.0.0, semver@npm:^7.3.2, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.3, semver@npm:^7.5.4":
version: 7.5.4
resolution: "semver@npm:7.5.4"
"semver@npm:^7.0.0, semver@npm:^7.3.2, semver@npm:^7.3.5, semver@npm:^7.3.6, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.3, semver@npm:^7.5.4":
version: 7.6.0
resolution: "semver@npm:7.6.0"
dependencies:
lru-cache: "npm:^6.0.0"
bin:
semver: bin/semver.js
checksum: 985dec0d372370229a262c737063860fabd4a1c730662c1ea3200a2f649117761a42184c96df62a0e885e76fbd5dace41087d6c1ac0351b13c0df5d6bcb1b5ac
checksum: 1b41018df2d8aca5a1db4729985e8e20428c650daea60fcd16e926e9383217d00f574fab92d79612771884a98d2ee2a1973f49d630829a8d54d6570defe62535
languageName: node
linkType: hard

Expand Down Expand Up @@ -32408,6 +32499,13 @@ __metadata:
languageName: node
linkType: hard

"supports-color@npm:^2.0.0":
version: 2.0.0
resolution: "supports-color@npm:2.0.0"
checksum: d2957d19e782a806abc3e8616b6648cc1e70c3ebe94fb1c2d43160686f6d79cd7c9f22c4853bc4a362d89d1c249ab6d429788c5f6c83b3086e6d763024bf4581
languageName: node
linkType: hard

"supports-color@npm:^5.3.0":
version: 5.5.0
resolution: "supports-color@npm:5.5.0"
Expand Down Expand Up @@ -33391,7 +33489,7 @@ __metadata:
languageName: node
linkType: hard

"typescript@npm:^5.0.4, typescript@npm:~5.3.3":
"typescript@npm:^5.0.4, typescript@npm:^5.2.2, typescript@npm:~5.3.3":
version: 5.3.3
resolution: "typescript@npm:5.3.3"
bin:
Expand Down Expand Up @@ -33421,7 +33519,7 @@ __metadata:
languageName: node
linkType: hard

"typescript@patch:typescript@npm%3A^5.0.4#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A~5.3.3#optional!builtin<compat/typescript>":
"typescript@patch:typescript@npm%3A^5.0.4#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A^5.2.2#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A~5.3.3#optional!builtin<compat/typescript>":
version: 5.3.3
resolution: "typescript@patch:typescript@npm%3A5.3.3#optional!builtin<compat/typescript>::version=5.3.3&hash=e012d7"
bin:
Expand Down Expand Up @@ -34496,6 +34594,23 @@ __metadata:
languageName: node
linkType: hard

"vue-eslint-parser@npm:^9.1.0":
version: 9.4.2
resolution: "vue-eslint-parser@npm:9.4.2"
dependencies:
debug: "npm:^4.3.4"
eslint-scope: "npm:^7.1.1"
eslint-visitor-keys: "npm:^3.3.0"
espree: "npm:^9.3.1"
esquery: "npm:^1.4.0"
lodash: "npm:^4.17.21"
semver: "npm:^7.3.6"
peerDependencies:
eslint: ">=6.0.0"
checksum: 59ee81f32a1ac9014671eac3d56fa0eb1a2d24e00c811f21aa0652617d216293ab8f7d31971146995018d074e321d3781609670a14a0190c20f5138f6eb716cf
languageName: node
linkType: hard

"w3c-hr-time@npm:^1.0.2":
version: 1.0.2
resolution: "w3c-hr-time@npm:1.0.2"
Expand Down
Loading