From 26f95bc2d3e802d34abe53ce44b6ad102a61c8f5 Mon Sep 17 00:00:00 2001 From: Behzad Rabiei Date: Wed, 23 Oct 2024 18:46:38 +0400 Subject: [PATCH] fix: fix lints errors --- bot/src/index.ts | 2 +- hivemind-adapter/.eslintrc.js | 48 +++++++++++++++++------------------ 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/bot/src/index.ts b/bot/src/index.ts index fb5e5421..ea81e961 100644 --- a/bot/src/index.ts +++ b/bot/src/index.ts @@ -34,5 +34,5 @@ async function app(): Promise { } app().catch((error) => { - logger.fatal(error, 'Failed To start the application!!!'); + logger.fatal(error, 'Failed To start the application!!!!!'); }); diff --git a/hivemind-adapter/.eslintrc.js b/hivemind-adapter/.eslintrc.js index 259de13c..85d11ec1 100644 --- a/hivemind-adapter/.eslintrc.js +++ b/hivemind-adapter/.eslintrc.js @@ -1,25 +1,25 @@ module.exports = { - parser: '@typescript-eslint/parser', - parserOptions: { - project: 'tsconfig.json', - tsconfigRootDir: __dirname, - sourceType: 'module', - }, - plugins: ['@typescript-eslint/eslint-plugin'], - extends: [ - 'plugin:@typescript-eslint/recommended', - 'plugin:prettier/recommended', - ], - root: true, - env: { - node: true, - jest: true, - }, - ignorePatterns: ['.eslintrc.js'], - rules: { - '@typescript-eslint/interface-name-prefix': 'off', - '@typescript-eslint/explicit-function-return-type': 'off', - '@typescript-eslint/explicit-module-boundary-types': 'off', - '@typescript-eslint/no-explicit-any': 'off', - }, -}; + parser: '@typescript-eslint/parser', + parserOptions: { + project: 'tsconfig.json', + tsconfigRootDir: __dirname, + sourceType: 'module', + }, + plugins: ['@typescript-eslint/eslint-plugin'], + extends: [ + 'plugin:@typescript-eslint/recommended', + 'plugin:prettier/recommended', + ], + root: true, + env: { + node: true, + jest: true, + }, + ignorePatterns: ['.eslintrc.js'], + rules: { + '@typescript-eslint/interface-name-prefix': 'off', + '@typescript-eslint/explicit-function-return-type': 'off', + '@typescript-eslint/explicit-module-boundary-types': 'off', + '@typescript-eslint/no-explicit-any': 'off', + }, +}