mirror of
https://github.com/n8n-io/n8n.git
synced 2026-06-04 18:49:20 +02:00
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com> Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
20 lines
577 B
JavaScript
20 lines
577 B
JavaScript
import { defineConfig, globalIgnores } from 'eslint/config';
|
|
import { nodeConfig } from '@n8n/eslint-config/node';
|
|
|
|
export default defineConfig(
|
|
globalIgnores(['coverage/**', 'jest.config*.js', 'evaluations/programmatic/python/.venv/**']),
|
|
nodeConfig,
|
|
{
|
|
rules: {
|
|
'unicorn/filename-case': ['error', { case: 'kebabCase' }],
|
|
complexity: 'error',
|
|
'@typescript-eslint/require-await': 'warn',
|
|
'@typescript-eslint/naming-convention': 'warn',
|
|
},
|
|
}, {
|
|
files: ['./src/test/**/*.ts', './**/*.test.ts'],
|
|
rules: {
|
|
'@typescript-eslint/no-unsafe-assignment': 'warn',
|
|
},
|
|
});
|