diff --git a/.eslintrc.json b/.eslintrc.json index 038d2762..f3831d9a 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -15,7 +15,7 @@ "complexity": ["warn", { "max": 10 }], "consistent-this": "warn", "eqeqeq": "error", - "max-depth": ["error", { "max": 3 }], + "max-depth": ["warn", { "max": 3 }], "max-nested-callbacks": ["warn", { "max": 4 }], "max-params": ["warn", { "max": 4 }], "max-statements": ["warn", { "max": 20 }, { "ignoreTopLevelFunctions": true }], diff --git a/src/lib/mutate-processor.ts b/src/lib/mutate-processor.ts index 4867ee2c..822f62bf 100644 --- a/src/lib/mutate-processor.ts +++ b/src/lib/mutate-processor.ts @@ -95,7 +95,6 @@ export async function mutateProcessor( Log.error(actionMetadata, `Action failed: ${errorMessage}`); response.warnings.push(`Action failed: ${errorMessage}`); - // eslint-disable-next-line max-depth switch (config.onError) { case Errors.reject: Log.error(actionMetadata, `Action failed: ${errorMessage}`);