This commit is contained in:
Alex
2024-03-04 03:37:23 -05:00
parent 9ea078f414
commit 4c67de9f72
9 changed files with 526 additions and 490 deletions

View File

@ -183,6 +183,12 @@ export function extendConfig({
'@typescript-eslint/consistent-type-imports': off,
},
},
{
files: ['repl.ts'],
rules: {
'no-console': off,
},
},
...(overrides ?? []),
],
rules: {

View File

@ -4,6 +4,7 @@ import { EslintRules } from 'eslint-define-config/src/rules/eslint';
export const eslintRules: Partial<EslintRules> = {
'arrow-body-style': [error, 'as-needed'],
'class-methods-use-this': off,
'func-style': [error, 'declaration', { allowArrowFunctions: true }],
'no-async-promise-executor': off,
'no-case-declarations': off,
'no-console': warn,