mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-26 21:19:43 -08:00
20 lines
358 B
JavaScript
20 lines
358 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),
|
|
|
|
overrides: [
|
|
{
|
|
files: ['**/*.config.ts'],
|
|
rules: {
|
|
'n8n-local-rules/no-untyped-config-class-field': 'error',
|
|
},
|
|
},
|
|
],
|
|
};
|