n8n/packages/core/.eslintrc.js

21 lines
450 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: ['bin/*.js'],
rules: {
'@typescript-eslint/consistent-type-imports': 'error',
// TODO: Remove this
'import/order': 'off',
'@typescript-eslint/ban-ts-comment': ['error', { 'ts-ignore': true }],
},
};