From bd9b879795081edacc5df7e4c7815742075f92eb Mon Sep 17 00:00:00 2001 From: Bauke Date: Fri, 2 Dec 2022 14:18:55 +0100 Subject: [PATCH] Remove eslint-plugin-prettier. --- packages/eslint/eslint.json | 3 - packages/eslint/package.json | 6 +- pnpm-lock.yaml | 128 ++++++++++++++++++++++++++++------- 3 files changed, 104 insertions(+), 33 deletions(-) diff --git a/packages/eslint/eslint.json b/packages/eslint/eslint.json index 2caff59..3eaaccb 100644 --- a/packages/eslint/eslint.json +++ b/packages/eslint/eslint.json @@ -1,8 +1,5 @@ { "$schema": "https://json.schemastore.org/eslintrc.json", - "extends": [ - "plugin:prettier/recommended" - ], "overrides": [ { "extends": [ diff --git a/packages/eslint/package.json b/packages/eslint/package.json index 8a17bee..fc39187 100644 --- a/packages/eslint/package.json +++ b/packages/eslint/package.json @@ -13,14 +13,12 @@ "@typescript-eslint/parser": "^5.45.0", "eslint": ">=8.28.0", "eslint-plugin-astro": "^0.21.0", - "eslint-plugin-mdx": "^2.0.5", - "eslint-plugin-prettier": "^4.2.1" + "eslint-plugin-mdx": "^2.0.5" }, "peerDependencies": { "@typescript-eslint/parser": "^5.45.0", "eslint": ">=8.28.0", "eslint-plugin-astro": "^0.21.0", - "eslint-plugin-mdx": "^2.0.5", - "eslint-plugin-prettier": "^4.2.1" + "eslint-plugin-mdx": "^2.0.5" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8f28603..3209ae2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,13 +14,11 @@ importers: eslint: '>=8.28.0' eslint-plugin-astro: ^0.21.0 eslint-plugin-mdx: ^2.0.5 - eslint-plugin-prettier: ^4.2.1 devDependencies: '@typescript-eslint/parser': 5.45.0_hsf322ms6xhhd4b5ne6lb74y4a eslint: 8.28.0 eslint-plugin-astro: 0.21.0_eslint@8.28.0 eslint-plugin-mdx: 2.0.5_eslint@8.28.0 - eslint-plugin-prettier: 4.2.1_5qrnzwqb344w6up62gv3safeoi packages/prettier: specifiers: @@ -211,7 +209,7 @@ packages: resolution: {integrity: sha512-9K4zoImiZc3HlIp6AVUDE4CWYx22a+lhSZMYNpbjW04+YF0KWj4pJXnEMjdnFTiQibFFmElcsasJXDbdI/EPhA==} dependencies: '@types/eslint': 8.4.10 - '@types/estree': 0.0.51 + '@types/estree': 1.0.0 dev: true /@types/eslint/7.29.0: @@ -224,7 +222,7 @@ packages: /@types/eslint/8.4.10: resolution: {integrity: sha512-Sl/HOqN8NKPmhWo2VBEPm0nvHnu2LL3v9vKo8MEq0EtbJ4eVzGPl41VNPvn5E1i5poMk4/XD8UriLHpJvEP/Nw==} dependencies: - '@types/estree': 0.0.51 + '@types/estree': 1.0.0 '@types/json-schema': 7.0.11 dev: true @@ -282,10 +280,41 @@ packages: resolution: {integrity: sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==} dev: true + /@types/semver/7.3.13: + resolution: {integrity: sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==} + dev: true + /@types/unist/2.0.6: resolution: {integrity: sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==} dev: true + /@typescript-eslint/eslint-plugin/5.45.0_czs5uoqkd3podpy6vgtsxfc7au: + resolution: {integrity: sha512-CXXHNlf0oL+Yg021cxgOdMHNTXD17rHkq7iW6RFHoybdFgQBjU3yIXhhcPpGwr1CjZlo6ET8C6tzX5juQoXeGA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + '@typescript-eslint/parser': ^5.0.0 + eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@typescript-eslint/parser': 5.45.0_hsf322ms6xhhd4b5ne6lb74y4a + '@typescript-eslint/scope-manager': 5.45.0 + '@typescript-eslint/type-utils': 5.45.0_hsf322ms6xhhd4b5ne6lb74y4a + '@typescript-eslint/utils': 5.45.0_hsf322ms6xhhd4b5ne6lb74y4a + debug: 4.3.4 + eslint: 8.28.0 + ignore: 5.2.1 + natural-compare-lite: 1.4.0 + regexpp: 3.2.0 + semver: 7.3.8 + tsutils: 3.21.0_typescript@4.9.3 + typescript: 4.9.3 + transitivePeerDependencies: + - supports-color + dev: true + /@typescript-eslint/parser/5.45.0_hsf322ms6xhhd4b5ne6lb74y4a: resolution: {integrity: sha512-brvs/WSM4fKUmF5Ot/gEve6qYiCMjm6w4HkHPfS6ZNmxTS0m0iNN4yOChImaCkqc1hRwFGqUyanMXuGal6oyyQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -314,6 +343,26 @@ packages: '@typescript-eslint/visitor-keys': 5.45.0 dev: true + /@typescript-eslint/type-utils/5.45.0_hsf322ms6xhhd4b5ne6lb74y4a: + resolution: {integrity: sha512-DY7BXVFSIGRGFZ574hTEyLPRiQIvI/9oGcN8t1A7f6zIs6ftbrU0nhyV26ZW//6f85avkwrLag424n+fkuoJ1Q==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: '*' + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@typescript-eslint/typescript-estree': 5.45.0_typescript@4.9.3 + '@typescript-eslint/utils': 5.45.0_hsf322ms6xhhd4b5ne6lb74y4a + debug: 4.3.4 + eslint: 8.28.0 + tsutils: 3.21.0_typescript@4.9.3 + typescript: 4.9.3 + transitivePeerDependencies: + - supports-color + dev: true + /@typescript-eslint/types/5.45.0: resolution: {integrity: sha512-QQij+u/vgskA66azc9dCmx+rev79PzX8uDHpsqSjEFtfF2gBUTRCpvYMh2gw2ghkJabNkPlSUCimsyBEQZd1DA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -340,6 +389,26 @@ packages: - supports-color dev: true + /@typescript-eslint/utils/5.45.0_hsf322ms6xhhd4b5ne6lb74y4a: + resolution: {integrity: sha512-OUg2JvsVI1oIee/SwiejTot2OxwU8a7UfTFMOdlhD2y+Hl6memUSL4s98bpUTo8EpVEr0lmwlU7JSu/p2QpSvA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 + dependencies: + '@types/json-schema': 7.0.11 + '@types/semver': 7.3.13 + '@typescript-eslint/scope-manager': 5.45.0 + '@typescript-eslint/types': 5.45.0 + '@typescript-eslint/typescript-estree': 5.45.0_typescript@4.9.3 + eslint: 8.28.0 + eslint-scope: 5.1.1 + eslint-utils: 3.0.0_eslint@8.28.0 + semver: 7.3.8 + transitivePeerDependencies: + - supports-color + - typescript + dev: true + /@typescript-eslint/visitor-keys/5.45.0: resolution: {integrity: sha512-jc6Eccbn2RtQPr1s7th6jJWQHBHI6GBVQkCHoJFQ5UreaKm59Vxw+ynQUPPY2u2Amquc+7tmEoC2G52ApsGNNg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -1072,6 +1141,21 @@ packages: eslint: 8.28.0 dev: true + /eslint-config-xo-typescript/0.55.1_2bg4zk75plhcth7wswe3tu5xji: + resolution: {integrity: sha512-iXua+7n9fOp7LzGzvXlcZG0w6cdtscjASGTrAHMj0Rn9voayxF2oRoMIK1QS6ZJb4fMVEQZdU2D6gTKmWhcCQQ==} + engines: {node: '>=12'} + peerDependencies: + '@typescript-eslint/eslint-plugin': '>=5.43.0' + '@typescript-eslint/parser': '>=5.43.0' + eslint: '>=8.0.0' + typescript: '>=4.4' + dependencies: + '@typescript-eslint/eslint-plugin': 5.45.0_czs5uoqkd3podpy6vgtsxfc7au + '@typescript-eslint/parser': 5.45.0_hsf322ms6xhhd4b5ne6lb74y4a + eslint: 8.28.0 + typescript: 4.9.3 + dev: true + /eslint-config-xo/0.43.1_eslint@8.28.0: resolution: {integrity: sha512-azv1L2PysRA0NkZOgbndUpN+581L7wPqkgJOgxxw3hxwXAbJgD6Hqb/SjHRiACifXt/AvxCzE/jIKFAlI7XjvQ==} engines: {node: '>=12'} @@ -1115,7 +1199,7 @@ packages: array-find: 1.0.0 debug: 3.2.7 enhanced-resolve: 0.9.1 - eslint-plugin-import: 2.26.0_eslint@8.28.0 + eslint-plugin-import: 2.26.0_vbnhqcxlbs7ynbxw44hu2vq7eq find-root: 1.1.0 has: 1.0.3 interpret: 1.4.0 @@ -1154,7 +1238,7 @@ packages: - supports-color dev: true - /eslint-module-utils/2.7.4_sjge656jyd3rr27cepuzx7h5u4: + /eslint-module-utils/2.7.4_kr6tb4mi2cmpd7whrqyyy67tyi: resolution: {integrity: sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==} engines: {node: '>=4'} peerDependencies: @@ -1175,6 +1259,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: + '@typescript-eslint/parser': 5.45.0_hsf322ms6xhhd4b5ne6lb74y4a debug: 3.2.7 eslint: 8.28.0 eslint-import-resolver-node: 0.3.6 @@ -1238,7 +1323,7 @@ packages: ignore: 5.2.1 dev: true - /eslint-plugin-import/2.26.0_eslint@8.28.0: + /eslint-plugin-import/2.26.0_vbnhqcxlbs7ynbxw44hu2vq7eq: resolution: {integrity: sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==} engines: {node: '>=4'} peerDependencies: @@ -1248,13 +1333,14 @@ packages: '@typescript-eslint/parser': optional: true dependencies: + '@typescript-eslint/parser': 5.45.0_hsf322ms6xhhd4b5ne6lb74y4a array-includes: 3.1.6 array.prototype.flat: 1.3.1 debug: 2.6.9 doctrine: 2.1.0 eslint: 8.28.0 eslint-import-resolver-node: 0.3.6 - eslint-module-utils: 2.7.4_sjge656jyd3rr27cepuzx7h5u4 + eslint-module-utils: 2.7.4_kr6tb4mi2cmpd7whrqyyy67tyi has: 1.0.3 is-core-module: 2.11.0 is-glob: 4.0.3 @@ -1326,22 +1412,6 @@ packages: is-proto-prop: 2.0.0 dev: true - /eslint-plugin-prettier/4.2.1_5qrnzwqb344w6up62gv3safeoi: - resolution: {integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==} - engines: {node: '>=12.0.0'} - peerDependencies: - eslint: '>=7.28.0' - eslint-config-prettier: '*' - prettier: '>=2.0.0' - peerDependenciesMeta: - eslint-config-prettier: - optional: true - dependencies: - eslint: 8.28.0 - prettier: 2.8.0 - prettier-linter-helpers: 1.0.0 - dev: true - /eslint-plugin-prettier/4.2.1_cwlo2dingkvfydnaculr42urve: resolution: {integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==} engines: {node: '>=12.0.0'} @@ -2891,6 +2961,10 @@ packages: hasBin: true dev: true + /natural-compare-lite/1.4.0: + resolution: {integrity: sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==} + dev: true + /natural-compare/1.4.0: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} dev: true @@ -4284,17 +4358,20 @@ packages: optional: true dependencies: '@eslint/eslintrc': 1.3.3 + '@typescript-eslint/eslint-plugin': 5.45.0_czs5uoqkd3podpy6vgtsxfc7au + '@typescript-eslint/parser': 5.45.0_hsf322ms6xhhd4b5ne6lb74y4a arrify: 3.0.0 cosmiconfig: 7.1.0 define-lazy-prop: 3.0.0 eslint: 8.28.0 eslint-config-prettier: 8.5.0_eslint@8.28.0 eslint-config-xo: 0.43.1_eslint@8.28.0 + eslint-config-xo-typescript: 0.55.1_2bg4zk75plhcth7wswe3tu5xji eslint-formatter-pretty: 4.1.0 eslint-import-resolver-webpack: 0.13.2_cpbkthufuku27qbvucozysaw6q eslint-plugin-ava: 13.2.0_eslint@8.28.0 eslint-plugin-eslint-comments: 3.2.0_eslint@8.28.0 - eslint-plugin-import: 2.26.0_eslint@8.28.0 + eslint-plugin-import: 2.26.0_vbnhqcxlbs7ynbxw44hu2vq7eq eslint-plugin-n: 15.5.1_eslint@8.28.0 eslint-plugin-no-use-extend-native: 0.5.0 eslint-plugin-prettier: 4.2.1_cwlo2dingkvfydnaculr42urve @@ -4318,7 +4395,6 @@ packages: typescript: 4.9.3 webpack: 5.75.0 transitivePeerDependencies: - - '@typescript-eslint/parser' - eslint-import-resolver-typescript - supports-color dev: true