From bfe8c12818ad1bb6f4db5d3ef42458a31c90efbf Mon Sep 17 00:00:00 2001 From: lianahus Date: Tue, 30 Apr 2024 11:43:22 +0200 Subject: [PATCH] fixing linting solhint --- apps/solhint/.eslintrc | 2 +- apps/solhint/src/app/SolhintPluginClient.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/solhint/.eslintrc b/apps/solhint/.eslintrc index b24495e5e9..f24184d929 100644 --- a/apps/solhint/.eslintrc +++ b/apps/solhint/.eslintrc @@ -10,7 +10,7 @@ ], "rules": { "@nrwl/nx/enforce-module-boundaries": [ - "warn" + "off" ] } } diff --git a/apps/solhint/src/app/SolhintPluginClient.ts b/apps/solhint/src/app/SolhintPluginClient.ts index 0673f651e4..25a7479192 100644 --- a/apps/solhint/src/app/SolhintPluginClient.ts +++ b/apps/solhint/src/app/SolhintPluginClient.ts @@ -45,7 +45,7 @@ export class SolHint extends PluginClient { } async lintOnCompilation() { - if(!this.triggerLinter) return + if (!this.triggerLinter) return this.on('solidity', 'compilationFinished', async (fileName, source, languageVersion, data) => { const hints = await this.lint(fileName) console.log('after compile', { hints })