2022-09-12 02:41:50 -07:00
|
|
|
/**
|
|
|
|
* @type {import('@types/eslint').ESLint.ConfigData}
|
|
|
|
*/
|
2021-08-29 04:36:17 -07:00
|
|
|
module.exports = {
|
2022-09-12 02:41:50 -07:00
|
|
|
extends: ['@n8n_io/eslint-config/frontend'],
|
|
|
|
|
2021-08-29 04:36:17 -07:00
|
|
|
parserOptions: {
|
2022-09-12 02:41:50 -07:00
|
|
|
project: ['./tsconfig.json'],
|
2021-08-29 04:36:17 -07:00
|
|
|
},
|
2022-09-12 02:41:50 -07:00
|
|
|
|
|
|
|
rules: {
|
|
|
|
// TODO: Remove these
|
|
|
|
'import/no-default-export': 'off',
|
|
|
|
'import/no-extraneous-dependencies': 'off',
|
|
|
|
'import/order': 'off',
|
|
|
|
'prettier/prettier': 'off',
|
|
|
|
'@typescript-eslint/member-delimiter-style': 'off',
|
|
|
|
'@typescript-eslint/naming-convention': 'off',
|
|
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
|
|
'@typescript-eslint/no-unsafe-argument': 'off',
|
|
|
|
'@typescript-eslint/no-unsafe-return': 'off',
|
|
|
|
'@typescript-eslint/no-unused-vars': 'off',
|
|
|
|
'@typescript-eslint/prefer-nullish-coalescing': 'off',
|
|
|
|
'@typescript-eslint/prefer-optional-chain': 'off',
|
|
|
|
'@typescript-eslint/restrict-template-expressions': 'off',
|
2022-10-31 04:45:34 -07:00
|
|
|
'@typescript-eslint/ban-ts-comment': ['warn', { 'ts-ignore': true }],
|
2022-09-12 02:41:50 -07:00
|
|
|
}
|
2021-08-29 04:36:17 -07:00
|
|
|
};
|