Skip to content

Commit

Permalink
fix: fix the lint ci :)
Browse files Browse the repository at this point in the history
  • Loading branch information
Behzad-rabiei committed Oct 23, 2024
1 parent 786583d commit af3355d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 26 deletions.
22 changes: 22 additions & 0 deletions bot/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
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',
},
};
25 changes: 0 additions & 25 deletions bot/.eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion bot/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ async function app(): Promise<void> {
}

app().catch((error) => {
logger.fatal(error, 'Failed To start the application!!');
logger.fatal(error, 'Failed To start the application!!!');
});

0 comments on commit af3355d

Please sign in to comment.