mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
25 lines
773 B
JavaScript
25 lines
773 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),
|
||
|
|
||
|
rules: {
|
||
|
// TODO: remove these rules
|
||
|
'@typescript-eslint/no-explicit-any': 'off',
|
||
|
'@typescript-eslint/no-unsafe-argument': 'off',
|
||
|
'@typescript-eslint/no-unsafe-assignment': 'off',
|
||
|
'@typescript-eslint/no-unsafe-call': 'off',
|
||
|
'@typescript-eslint/no-unsafe-member-access': 'off',
|
||
|
'@typescript-eslint/no-unsafe-return': 'off',
|
||
|
'@typescript-eslint/no-unused-expressions': 'off',
|
||
|
'@typescript-eslint/no-use-before-define': 'off',
|
||
|
'@typescript-eslint/promise-function-async': 'off',
|
||
|
'n8n-local-rules/no-uncaught-json-parse': 'off',
|
||
|
},
|
||
|
};
|