n8n/packages/node-dev/.eslintrc.js

18 lines
474 B
JavaScript

const { sharedOptions } = require('@n8n_io/eslint-config/shared');
/**
* @type {import('@types/eslint').ESLint.ConfigData}
*/
module.exports = {
extends: ['@n8n_io/eslint-config/base'],
...sharedOptions(__dirname),
ignorePatterns: [
'templates/**', // TODO: remove this
],
rules: {
'@typescript-eslint/consistent-type-imports': 'error',
'import/order': 'off', // TODO: remove this
'@typescript-eslint/ban-ts-comment': ['warn', { 'ts-ignore': true }],
},
};