mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
3566c13afc
* feat: Allow `eslint-config` to be externally consumable * refactor: Adjust import styles
17 lines
413 B
JavaScript
17 lines
413 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: {
|
|
'import/order': 'off', // TODO: remove this
|
|
'@typescript-eslint/ban-ts-comment': ['warn', { 'ts-ignore': true }],
|
|
},
|
|
};
|