From cba5777c99badd4c335d2a18e8e0b6647dcabed7 Mon Sep 17 00:00:00 2001 From: John Kane Date: Fri, 28 Jun 2024 11:41:04 +0100 Subject: [PATCH] chore: remove eslint rules from packages in v-next The two eslint rule packages are the only packages that are referenced in v-next. To simplify in infra and lives we are going to switch off those rules in v-next for the moment. They can be re-added later. Resolves #5447. --- .changeset/config.json | 4 +- pnpm-lock.yaml | 48 ------------------- v-next/core/package.json | 2 - v-next/hardhat-build-system/package.json | 2 - v-next/hardhat-errors/package.json | 2 - .../hardhat-node-test-reporter/package.json | 2 - v-next/hardhat-utils/package.json | 2 - v-next/hardhat-zod-utils/package.json | 2 - v-next/hardhat/package.json | 2 - v-next/template-package/package.json | 2 - 10 files changed, 3 insertions(+), 65 deletions(-) diff --git a/.changeset/config.json b/.changeset/config.json index 6e56479f9b..9ee073d425 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -22,7 +22,9 @@ "@nomiclabs/hardhat-vyper", "@nomicfoundation/hardhat-web3-v4", "@nomicfoundation/example-project", - "@nomicfoundation/template-package" + "@nomicfoundation/template-package", + "@nomicfoundation/eslint-plugin-hardhat-internal-rules", + "@nomicfoundation/eslint-plugin-slow-imports" ], "___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": { "onlyUpdatePeerDependentsWhenOutOfRange": true diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 41d9ccdccb..7899290354 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1447,12 +1447,6 @@ importers: '@microsoft/api-extractor': specifier: ^7.43.4 version: 7.43.4(@types/node@20.14.9) - '@nomicfoundation/eslint-plugin-hardhat-internal-rules': - specifier: workspace:^ - version: link:../../packages/eslint-plugin-hardhat-internal-rules - '@nomicfoundation/eslint-plugin-slow-imports': - specifier: workspace:^ - version: link:../../packages/eslint-plugin-slow-imports '@types/node': specifier: ^20.14.9 version: 20.14.9 @@ -1550,12 +1544,6 @@ importers: '@ignored/hardhat-vnext-node-test-reporter': specifier: workspace:^3.0.0-next.2 version: link:../hardhat-node-test-reporter - '@nomicfoundation/eslint-plugin-hardhat-internal-rules': - specifier: workspace:^ - version: link:../../packages/eslint-plugin-hardhat-internal-rules - '@nomicfoundation/eslint-plugin-slow-imports': - specifier: workspace:^ - version: link:../../packages/eslint-plugin-slow-imports '@types/node': specifier: ^20.14.9 version: 20.14.9 @@ -1662,12 +1650,6 @@ importers: '@ignored/hardhat-vnext-node-test-reporter': specifier: workspace:^3.0.0-next.0 version: link:../hardhat-node-test-reporter - '@nomicfoundation/eslint-plugin-hardhat-internal-rules': - specifier: workspace:^ - version: link:../../packages/eslint-plugin-hardhat-internal-rules - '@nomicfoundation/eslint-plugin-slow-imports': - specifier: workspace:^ - version: link:../../packages/eslint-plugin-slow-imports '@types/ci-info': specifier: ^2.0.0 version: 2.0.0 @@ -1753,12 +1735,6 @@ importers: '@ignored/hardhat-vnext-node-test-reporter': specifier: workspace:^3.0.0-next.2 version: link:../hardhat-node-test-reporter - '@nomicfoundation/eslint-plugin-hardhat-internal-rules': - specifier: workspace:^ - version: link:../../packages/eslint-plugin-hardhat-internal-rules - '@nomicfoundation/eslint-plugin-slow-imports': - specifier: workspace:^ - version: link:../../packages/eslint-plugin-slow-imports '@types/node': specifier: ^20.14.9 version: 20.14.9 @@ -1814,12 +1790,6 @@ importers: specifier: ^29.7.0 version: 29.7.0 devDependencies: - '@nomicfoundation/eslint-plugin-hardhat-internal-rules': - specifier: workspace:^ - version: link:../../packages/eslint-plugin-hardhat-internal-rules - '@nomicfoundation/eslint-plugin-slow-imports': - specifier: workspace:^ - version: link:../../packages/eslint-plugin-slow-imports '@types/node': specifier: ^20.14.9 version: 20.14.9 @@ -1884,12 +1854,6 @@ importers: '@ignored/hardhat-vnext-node-test-reporter': specifier: workspace:^3.0.0-next.2 version: link:../hardhat-node-test-reporter - '@nomicfoundation/eslint-plugin-hardhat-internal-rules': - specifier: workspace:^ - version: link:../../packages/eslint-plugin-hardhat-internal-rules - '@nomicfoundation/eslint-plugin-slow-imports': - specifier: workspace:^ - version: link:../../packages/eslint-plugin-slow-imports '@types/bn.js': specifier: ^5.1.5 version: 5.1.5 @@ -1950,12 +1914,6 @@ importers: '@ignored/hardhat-vnext-node-test-reporter': specifier: workspace:^3.0.0-next.2 version: link:../hardhat-node-test-reporter - '@nomicfoundation/eslint-plugin-hardhat-internal-rules': - specifier: workspace:^ - version: link:../../packages/eslint-plugin-hardhat-internal-rules - '@nomicfoundation/eslint-plugin-slow-imports': - specifier: workspace:^ - version: link:../../packages/eslint-plugin-slow-imports '@types/node': specifier: ^20.14.9 version: 20.14.9 @@ -2010,12 +1968,6 @@ importers: '@ignored/hardhat-vnext-node-test-reporter': specifier: workspace:^3.0.0-next.2 version: link:../hardhat-node-test-reporter - '@nomicfoundation/eslint-plugin-hardhat-internal-rules': - specifier: workspace:^ - version: link:../../packages/eslint-plugin-hardhat-internal-rules - '@nomicfoundation/eslint-plugin-slow-imports': - specifier: workspace:^ - version: link:../../packages/eslint-plugin-slow-imports '@types/node': specifier: ^20.14.9 version: 20.14.9 diff --git a/v-next/core/package.json b/v-next/core/package.json index 3668cc4da6..49a475308b 100644 --- a/v-next/core/package.json +++ b/v-next/core/package.json @@ -54,8 +54,6 @@ "devDependencies": { "@eslint-community/eslint-plugin-eslint-comments": "^4.3.0", "@microsoft/api-extractor": "^7.43.4", - "@nomicfoundation/eslint-plugin-hardhat-internal-rules": "workspace:^", - "@nomicfoundation/eslint-plugin-slow-imports": "workspace:^", "@ignored/hardhat-vnext-node-test-reporter": "workspace:^3.0.0-next.2", "@types/node": "^20.14.9", "@types/semver": "^7.5.8", diff --git a/v-next/hardhat-build-system/package.json b/v-next/hardhat-build-system/package.json index 9285bf3b10..bb798993fc 100644 --- a/v-next/hardhat-build-system/package.json +++ b/v-next/hardhat-build-system/package.json @@ -60,8 +60,6 @@ }, "devDependencies": { "@eslint-community/eslint-plugin-eslint-comments": "^4.3.0", - "@nomicfoundation/eslint-plugin-hardhat-internal-rules": "workspace:^", - "@nomicfoundation/eslint-plugin-slow-imports": "workspace:^", "@ignored/hardhat-vnext-node-test-reporter": "workspace:^3.0.0-next.0", "@types/ci-info": "^2.0.0", "@types/debug": "^4.1.4", diff --git a/v-next/hardhat-errors/package.json b/v-next/hardhat-errors/package.json index 3e007f362c..878c66f9c5 100644 --- a/v-next/hardhat-errors/package.json +++ b/v-next/hardhat-errors/package.json @@ -41,8 +41,6 @@ ], "devDependencies": { "@eslint-community/eslint-plugin-eslint-comments": "^4.3.0", - "@nomicfoundation/eslint-plugin-hardhat-internal-rules": "workspace:^", - "@nomicfoundation/eslint-plugin-slow-imports": "workspace:^", "@ignored/hardhat-vnext-node-test-reporter": "workspace:^3.0.0-next.2", "@types/node": "^20.14.9", "@typescript-eslint/eslint-plugin": "^7.7.1", diff --git a/v-next/hardhat-node-test-reporter/package.json b/v-next/hardhat-node-test-reporter/package.json index 5d63174509..8e5dc51396 100644 --- a/v-next/hardhat-node-test-reporter/package.json +++ b/v-next/hardhat-node-test-reporter/package.json @@ -41,8 +41,6 @@ "README.md" ], "devDependencies": { - "@nomicfoundation/eslint-plugin-hardhat-internal-rules": "workspace:^", - "@nomicfoundation/eslint-plugin-slow-imports": "workspace:^", "@types/node": "^20.14.9", "@typescript-eslint/eslint-plugin": "^7.7.1", "@typescript-eslint/parser": "^7.7.1", diff --git a/v-next/hardhat-utils/package.json b/v-next/hardhat-utils/package.json index 7055f25701..0b2861708a 100644 --- a/v-next/hardhat-utils/package.json +++ b/v-next/hardhat-utils/package.json @@ -54,8 +54,6 @@ ], "devDependencies": { "@eslint-community/eslint-plugin-eslint-comments": "^4.3.0", - "@nomicfoundation/eslint-plugin-hardhat-internal-rules": "workspace:^", - "@nomicfoundation/eslint-plugin-slow-imports": "workspace:^", "@ignored/hardhat-vnext-node-test-reporter": "workspace:^3.0.0-next.2", "@types/bn.js": "^5.1.5", "@types/keccak": "^3.0.4", diff --git a/v-next/hardhat-zod-utils/package.json b/v-next/hardhat-zod-utils/package.json index c918782bc1..e1cc58ea49 100644 --- a/v-next/hardhat-zod-utils/package.json +++ b/v-next/hardhat-zod-utils/package.json @@ -41,8 +41,6 @@ ], "devDependencies": { "@eslint-community/eslint-plugin-eslint-comments": "^4.3.0", - "@nomicfoundation/eslint-plugin-hardhat-internal-rules": "workspace:^", - "@nomicfoundation/eslint-plugin-slow-imports": "workspace:^", "@ignored/hardhat-vnext-core": "workspace:^3.0.0-next.2", "@ignored/hardhat-vnext-node-test-reporter": "workspace:^3.0.0-next.2", "@types/node": "^20.14.9", diff --git a/v-next/hardhat/package.json b/v-next/hardhat/package.json index b8fe517a39..d2a1f51397 100644 --- a/v-next/hardhat/package.json +++ b/v-next/hardhat/package.json @@ -56,8 +56,6 @@ ], "devDependencies": { "@eslint-community/eslint-plugin-eslint-comments": "^4.3.0", - "@nomicfoundation/eslint-plugin-hardhat-internal-rules": "workspace:^", - "@nomicfoundation/eslint-plugin-slow-imports": "workspace:^", "@ignored/hardhat-vnext-node-test-reporter": "workspace:^3.0.0-next.2", "@types/node": "^20.14.9", "@typescript-eslint/eslint-plugin": "^7.7.1", diff --git a/v-next/template-package/package.json b/v-next/template-package/package.json index 013610b76d..9a8f61dc96 100644 --- a/v-next/template-package/package.json +++ b/v-next/template-package/package.json @@ -43,8 +43,6 @@ ], "devDependencies": { "@eslint-community/eslint-plugin-eslint-comments": "^4.3.0", - "@nomicfoundation/eslint-plugin-hardhat-internal-rules": "workspace:^", - "@nomicfoundation/eslint-plugin-slow-imports": "workspace:^", "@ignored/hardhat-vnext-node-test-reporter": "workspace:^3.0.0-next.2", "@types/node": "^20.14.9", "@typescript-eslint/eslint-plugin": "^7.7.1",