From 2d93a53ab8794d9f958ff29d00bdf76cd8751768 Mon Sep 17 00:00:00 2001 From: Paul Bui-Quang Date: Wed, 10 May 2023 15:42:14 +0200 Subject: [PATCH] ci: disable eslint max statement rule --- .eslintrc | 5 ----- .gitlab-ci.yml | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.eslintrc b/.eslintrc index 11c0f3da2..1e222c548 100644 --- a/.eslintrc +++ b/.eslintrc @@ -22,11 +22,6 @@ "printWidth": 120 } ], - "max-statements": [ - 1, { - "max": 20 - } - ], "react/no-unknown-property":0, "react/prop-types": 0, "@typescript-eslint/no-explicit-any": 0, diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 97d8c115c..fb4e72ff3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,7 +16,7 @@ build-job: only: - tags - develop - - ^feat_deploy_(\w*|\d*) + - /^feat_deploy_(\w*|\d*)/ cache: key: cohort360_nodemodules_cache @@ -55,4 +55,4 @@ deploy-job: only: - tags - develop - - ^feat_deploy_(\w*|\d*) + - /^feat_deploy_(\w*|\d*)/