n8n/packages/@n8n/task-runner-node-js/.eslintrc.js
Val 27d83e0d91
feat: Initial Code Task Runners support (no-changelog) (#10698)
Co-authored-by: Iván Ovejero <[email protected]>
Co-authored-by: Tomi Turtiainen <[email protected]>
2024-10-02 09:31:56 +01:00

20 lines
410 B
JavaScript

const sharedOptions = require('@n8n_io/eslint-config/shared');
/**
* @type {import('@types/eslint').ESLint.ConfigData}
*/
module.exports = {
extends: ['@n8n_io/eslint-config/node'],
...sharedOptions(__dirname),
ignorePatterns: ['jest.config.js'],
rules: {
'unicorn/filename-case': ['error', { case: 'kebabCase' }],
'@typescript-eslint/no-duplicate-imports': 'off',
complexity: 'error',
},
};