mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 20:54:07 -08:00
20 lines
410 B
JavaScript
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',
|
|
},
|
|
};
|