Files
coze-studio/frontend/packages/data/memory/database-creator/eslint.config.js
T
zgene 6bed393c12
Backend Tests / backend-unit-test (push) Has been cancelled
Backend Tests / benchmark-test (push) Has been cancelled
CI@main / Node.js v22 (ubuntu-latest) (push) Has been cancelled
Thrift Syntax Validation / validate-thrift (push) Has been cancelled
License Check / License Check (push) Has been cancelled
first commit
2026-05-14 13:29:56 +08:00

30 lines
718 B
JavaScript

const { defineConfig } = require('@coze-arch/eslint-config');
module.exports = defineConfig({
packageRoot: __dirname,
preset: 'web',
rules: {
'@typescript-eslint/no-explicit-any': 'warn',
'max-lines': 'off',
'max-lines-per-function': 'off',
'@coze-arch/max-line-per-function': 'off',
'@typescript-eslint/no-magic-numbers': 'off',
'@typescript-eslint/naming-convention': 'off',
'@coze-arch/no-deep-relative-import': 'warn',
'@typescript-eslint/no-namespace': [
'error',
{
allowDeclarations: true,
},
],
},
overrides: [
{
files: ['src/**/namespaces/*.ts'],
rules: {
'unicorn/filename-case': 'off',
},
},
],
});