mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-15 00:54:06 -08:00
17f13b3b6e
* Setup stricter linting for typescript * make `import/no-unresolved` an error everywhere * use prettier to format `.vscode/settings.default.json` * address PR comments
17 lines
417 B
JavaScript
17 lines
417 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 }],
|
|
},
|
|
};
|