fix(eslint): setup eslint to run on every package - N8N-4553 (#4050)

* fix(eslint): setup eslint to run on every package

Also, unify eslint config and dependencies into a private package in the workspace.
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2022-09-12 11:41:50 +02:00
committed by GitHub
parent d6b930c7be
commit 69eb97999d
25 changed files with 1041 additions and 1633 deletions

16
packages/cli/.eslintrc.js Normal file
View File

@@ -0,0 +1,16 @@
/**
* @type {import('@types/eslint').ESLint.ConfigData}
*/
module.exports = {
extends: ['@n8n_io/eslint-config/node'],
ignorePatterns: [
'jest.config.js',
// TODO: Remove these
'src/databases/migrations/**',
'src/databases/ormconfig.ts',
],
rules: {
// TODO: Remove this
'import/order': 'off',
},
};