diff --git a/packages/@n8n_io/eslint-config/base.js b/packages/@n8n_io/eslint-config/base.js index 30fe989f3..1899eb1ab 100644 --- a/packages/@n8n_io/eslint-config/base.js +++ b/packages/@n8n_io/eslint-config/base.js @@ -129,6 +129,13 @@ const config = (module.exports = { */ 'no-void': ['error', { allowAsStatement: true }], + /** + * https://eslint.org/docs/latest/rules/indent + * + * Delegated to Prettier. + */ + indent: 'off', + /** * https://eslint.org/docs/latest/rules/sort-imports */ diff --git a/packages/@n8n_io/eslint-config/frontend.js b/packages/@n8n_io/eslint-config/frontend.js index 9abd67aed..51793039f 100644 --- a/packages/@n8n_io/eslint-config/frontend.js +++ b/packages/@n8n_io/eslint-config/frontend.js @@ -28,7 +28,6 @@ module.exports = { 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', semi: [2, 'always'], - indent: ['error', 'tab'], 'comma-dangle': ['error', 'always-multiline'], 'no-tabs': 0, 'no-labels': 0,