diff --git a/.eslintrc.json b/.eslintrc.json index 76f287461..94c1e7499 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -6,6 +6,7 @@ { "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], "rules": { + "no-console": "error", "@nx/enforce-module-boundaries": [ "error", { diff --git a/apps/armory/src/shared/module/persistence/seed.ts b/apps/armory/src/shared/module/persistence/seed.ts index a3c1e7597..3e251421a 100644 --- a/apps/armory/src/shared/module/persistence/seed.ts +++ b/apps/armory/src/shared/module/persistence/seed.ts @@ -47,6 +47,7 @@ main() await prisma.$disconnect() }) .catch(async (e) => { + // eslint-disable-next-line no-console console.error(e) await prisma.$disconnect() process.exit(1) diff --git a/apps/devtool/src/app/request-playground/_components/PlaygroundEditor.tsx b/apps/devtool/src/app/request-playground/_components/PlaygroundEditor.tsx index 239ec532e..97307d2fa 100644 --- a/apps/devtool/src/app/request-playground/_components/PlaygroundEditor.tsx +++ b/apps/devtool/src/app/request-playground/_components/PlaygroundEditor.tsx @@ -135,10 +135,7 @@ const PlaygroundEditor = () => {

Examples

- setCodeEditor(JSON.stringify(await erc20(), null, 2))} - /> + setCodeEditor(JSON.stringify(await erc20(), null, 2))} /> setCodeEditor(JSON.stringify(await spendingLimits(), null, 2))} diff --git a/apps/policy-engine/src/cli/command/provision.command.ts b/apps/policy-engine/src/cli/command/provision.command.ts index 6087d57b6..d934b8683 100644 --- a/apps/policy-engine/src/cli/command/provision.command.ts +++ b/apps/policy-engine/src/cli/command/provision.command.ts @@ -1,3 +1,5 @@ +/* eslint-disable no-console */ + import { ConfigService } from '@narval/config-module' import { Command, CommandRunner } from 'nest-commander' import { EngineService } from '../../engine/core/service/engine.service' diff --git a/apps/vault/src/cli/command/provision.command.ts b/apps/vault/src/cli/command/provision.command.ts index 088e304dd..47de955a8 100644 --- a/apps/vault/src/cli/command/provision.command.ts +++ b/apps/vault/src/cli/command/provision.command.ts @@ -1,3 +1,5 @@ +/* eslint-disable no-console */ + import { ConfigService } from '@nestjs/config' import { Command, CommandRunner } from 'nest-commander' import { Config } from '../../main.config' diff --git a/apps/vault/src/vault/vault.service.ts b/apps/vault/src/vault/vault.service.ts index 11a9f8dbf..8993d3064 100644 --- a/apps/vault/src/vault/vault.service.ts +++ b/apps/vault/src/vault/vault.service.ts @@ -7,7 +7,6 @@ export class VaultService { constructor(private signingService: SigningService) {} async sign(): Promise { - console.log('Signing Called') return null } } diff --git a/packages/signature/.eslintrc.json b/packages/signature/.eslintrc.json index 9d9c0db55..bf15e22c5 100644 --- a/packages/signature/.eslintrc.json +++ b/packages/signature/.eslintrc.json @@ -1,6 +1,6 @@ { "extends": ["../../.eslintrc.json"], - "ignorePatterns": ["!**/*"], + "ignorePatterns": ["!**/*", "dist/**/*"], "overrides": [ { "files": ["*.ts", "*.tsx", "*.js", "*.jsx"],