From 8a7298b014052d785dcc0e02dc6ea5fa3dfdabd4 Mon Sep 17 00:00:00 2001 From: lianahus Date: Mon, 29 Apr 2024 10:58:01 +0200 Subject: [PATCH] added raegets for lint to plugins cleanup --- apps/circuit-compiler/project.json | 8 ++++++++ apps/debugger/.eslintrc | 3 +++ apps/debugger/project.json | 8 ++++++++ apps/doc-gen/.eslintrc | 3 +++ apps/doc-gen/project.json | 8 ++++++++ apps/doc-viewer/.eslintrc | 3 +++ apps/doc-viewer/project.json | 8 ++++++++ apps/etherscan/.eslintrc | 3 +++ apps/etherscan/project.json | 8 ++++++++ apps/learneth/.eslintrc | 3 +++ apps/learneth/project.json | 8 ++++++++ apps/solhint/.eslintrc | 3 +++ apps/solhint/project.json | 8 ++++++++ apps/solidity-compiler/.eslintrc | 3 +++ apps/solidity-compiler/project.json | 8 ++++++++ apps/vyper/project.json | 8 ++++++++ apps/walletconnect/.eslintrc | 3 +++ apps/walletconnect/project.json | 8 ++++++++ 18 files changed, 104 insertions(+) create mode 100644 apps/debugger/.eslintrc create mode 100644 apps/doc-gen/.eslintrc create mode 100644 apps/doc-viewer/.eslintrc create mode 100644 apps/etherscan/.eslintrc create mode 100644 apps/learneth/.eslintrc create mode 100644 apps/solhint/.eslintrc create mode 100644 apps/solidity-compiler/.eslintrc create mode 100644 apps/walletconnect/.eslintrc diff --git a/apps/circuit-compiler/project.json b/apps/circuit-compiler/project.json index a8efde346c..1e3753d307 100644 --- a/apps/circuit-compiler/project.json +++ b/apps/circuit-compiler/project.json @@ -35,6 +35,14 @@ } } }, + "lint": { + "executor": "@nrwl/linter:eslint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["apps/circuit-compiler/**/*.ts"], + "eslintConfig": "apps/circuit-compiler/.eslintrc" + } + }, "serve": { "executor": "@nrwl/webpack:dev-server", "defaultConfiguration": "development", diff --git a/apps/debugger/.eslintrc b/apps/debugger/.eslintrc new file mode 100644 index 0000000000..2d85f9fa66 --- /dev/null +++ b/apps/debugger/.eslintrc @@ -0,0 +1,3 @@ +{ + "extends": "../../.eslintrc.json", +} \ No newline at end of file diff --git a/apps/debugger/project.json b/apps/debugger/project.json index 3426f35d13..aaaf9b10bd 100644 --- a/apps/debugger/project.json +++ b/apps/debugger/project.json @@ -40,6 +40,14 @@ } } }, + "lint": { + "executor": "@nrwl/linter:eslint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["apps/debugger/**/*.ts"], + "eslintConfig": "apps/debugger/.eslintrc" + } + }, "serve": { "executor": "@nrwl/webpack:dev-server", "defaultConfiguration": "development", diff --git a/apps/doc-gen/.eslintrc b/apps/doc-gen/.eslintrc new file mode 100644 index 0000000000..2d85f9fa66 --- /dev/null +++ b/apps/doc-gen/.eslintrc @@ -0,0 +1,3 @@ +{ + "extends": "../../.eslintrc.json", +} \ No newline at end of file diff --git a/apps/doc-gen/project.json b/apps/doc-gen/project.json index 4b997606a5..d074969ae4 100644 --- a/apps/doc-gen/project.json +++ b/apps/doc-gen/project.json @@ -38,6 +38,14 @@ } } }, + "lint": { + "executor": "@nrwl/linter:eslint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["apps/doc-gen/**/*.ts"], + "eslintConfig": "apps/doc-gen/.eslintrc" + } + }, "serve": { "executor": "@nrwl/webpack:dev-server", "defaultConfiguration": "development", diff --git a/apps/doc-viewer/.eslintrc b/apps/doc-viewer/.eslintrc new file mode 100644 index 0000000000..2d85f9fa66 --- /dev/null +++ b/apps/doc-viewer/.eslintrc @@ -0,0 +1,3 @@ +{ + "extends": "../../.eslintrc.json", +} \ No newline at end of file diff --git a/apps/doc-viewer/project.json b/apps/doc-viewer/project.json index 2e5455cc30..9289f16886 100644 --- a/apps/doc-viewer/project.json +++ b/apps/doc-viewer/project.json @@ -38,6 +38,14 @@ } } }, + "lint": { + "executor": "@nrwl/linter:eslint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["apps/doc-viewer/**/*.ts"], + "eslintConfig": "apps/doc-viewer/.eslintrc" + } + }, "serve": { "executor": "@nrwl/webpack:dev-server", "defaultConfiguration": "development", diff --git a/apps/etherscan/.eslintrc b/apps/etherscan/.eslintrc new file mode 100644 index 0000000000..2d85f9fa66 --- /dev/null +++ b/apps/etherscan/.eslintrc @@ -0,0 +1,3 @@ +{ + "extends": "../../.eslintrc.json", +} \ No newline at end of file diff --git a/apps/etherscan/project.json b/apps/etherscan/project.json index fe53c7f39e..6803ffe20b 100644 --- a/apps/etherscan/project.json +++ b/apps/etherscan/project.json @@ -38,6 +38,14 @@ } } }, + "lint": { + "executor": "@nrwl/linter:eslint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["apps/etherscan/**/*.ts"], + "eslintConfig": "apps/etherscan/.eslintrc" + } + }, "serve": { "executor": "@nrwl/webpack:dev-server", "defaultConfiguration": "development", diff --git a/apps/learneth/.eslintrc b/apps/learneth/.eslintrc new file mode 100644 index 0000000000..2d85f9fa66 --- /dev/null +++ b/apps/learneth/.eslintrc @@ -0,0 +1,3 @@ +{ + "extends": "../../.eslintrc.json", +} \ No newline at end of file diff --git a/apps/learneth/project.json b/apps/learneth/project.json index a4db7488a7..cafdc12eb9 100644 --- a/apps/learneth/project.json +++ b/apps/learneth/project.json @@ -35,6 +35,14 @@ } } }, + "lint": { + "executor": "@nrwl/linter:eslint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["apps/learneth/**/*.ts"], + "eslintConfig": "apps/learneth/.eslintrc" + } + }, "serve": { "executor": "@nrwl/webpack:dev-server", "defaultConfiguration": "development", diff --git a/apps/solhint/.eslintrc b/apps/solhint/.eslintrc new file mode 100644 index 0000000000..2d85f9fa66 --- /dev/null +++ b/apps/solhint/.eslintrc @@ -0,0 +1,3 @@ +{ + "extends": "../../.eslintrc.json", +} \ No newline at end of file diff --git a/apps/solhint/project.json b/apps/solhint/project.json index dbd4bdce84..a76ec45b49 100644 --- a/apps/solhint/project.json +++ b/apps/solhint/project.json @@ -47,6 +47,14 @@ "parallel": false } }, + "lint": { + "executor": "@nrwl/linter:eslint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["libs/solhint/**/*.ts"], + "eslintConfig": "libs/solhint/.eslintrc" + } + }, "serve": { "executor": "@nrwl/webpack:dev-server", "defaultConfiguration": "development", diff --git a/apps/solidity-compiler/.eslintrc b/apps/solidity-compiler/.eslintrc new file mode 100644 index 0000000000..2d85f9fa66 --- /dev/null +++ b/apps/solidity-compiler/.eslintrc @@ -0,0 +1,3 @@ +{ + "extends": "../../.eslintrc.json", +} \ No newline at end of file diff --git a/apps/solidity-compiler/project.json b/apps/solidity-compiler/project.json index 395ec9e94e..b714633a8e 100644 --- a/apps/solidity-compiler/project.json +++ b/apps/solidity-compiler/project.json @@ -41,6 +41,14 @@ } } }, + "lint": { + "executor": "@nrwl/linter:eslint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["libs/solidity-compiler/**/*.ts"], + "eslintConfig": "libs/solidity-compiler/.eslintrc" + } + }, "serve": { "executor": "@nrwl/webpack:dev-server", "defaultConfiguration": "development", diff --git a/apps/vyper/project.json b/apps/vyper/project.json index 543c0873fd..28c8835367 100644 --- a/apps/vyper/project.json +++ b/apps/vyper/project.json @@ -38,6 +38,14 @@ } } }, + "lint": { + "executor": "@nrwl/linter:eslint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["libs/vyper/**/*.ts"], + "eslintConfig": "libs/vyper/.eslintrc" + } + }, "serve": { "executor": "@nrwl/webpack:dev-server", "defaultConfiguration": "development", diff --git a/apps/walletconnect/.eslintrc b/apps/walletconnect/.eslintrc new file mode 100644 index 0000000000..2d85f9fa66 --- /dev/null +++ b/apps/walletconnect/.eslintrc @@ -0,0 +1,3 @@ +{ + "extends": "../../.eslintrc.json", +} \ No newline at end of file diff --git a/apps/walletconnect/project.json b/apps/walletconnect/project.json index b8baae9b60..589011838a 100644 --- a/apps/walletconnect/project.json +++ b/apps/walletconnect/project.json @@ -35,6 +35,14 @@ } } }, + "lint": { + "executor": "@nrwl/linter:eslint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["libs/walletconnect/**/*.ts"], + "eslintConfig": "libs/walletconnect/.eslintrc" + } + }, "serve": { "executor": "@nrwl/webpack:dev-server", "defaultConfiguration": "development",