mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-14 08:34:07 -08:00
22 lines
482 B
JavaScript
22 lines
482 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',
|
|
'import/no-cycle': 'off',
|
|
'n8n-local-rules/no-plain-errors': 'off',
|
|
|
|
complexity: 'error',
|
|
},
|
|
};
|