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