Update
This commit is contained in:
@ -183,6 +183,12 @@ export function extendConfig({
|
||||
'@typescript-eslint/consistent-type-imports': off,
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ['repl.ts'],
|
||||
rules: {
|
||||
'no-console': off,
|
||||
},
|
||||
},
|
||||
...(overrides ?? []),
|
||||
],
|
||||
rules: {
|
||||
|
@ -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,
|
||||
|
Reference in New Issue
Block a user