mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 05:17:28 -08:00
17 lines
411 B
JavaScript
17 lines
411 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/ban-ts-comment': ['warn', { 'ts-ignore': true }],
|
|
'n8n-local-rules/no-plain-errors': 'off',
|
|
},
|
|
};
|