From e12ae8774b4e7d989606f93e8a5015c0f724973a Mon Sep 17 00:00:00 2001 From: Taken Date: Thu, 4 Jan 2024 16:58:43 +0100 Subject: [PATCH 1/2] Updated eslint --- .eslintrc.js | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index f29b224..87edc61 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -46,14 +46,7 @@ module.exports = { "error", "never" ], - "no-unused-vars": [ - "warn", - { - "vars": "all", - "args": "after-used", - "ignoreRestSiblings": false - } - ], + "no-unused-vars": "off", "prefer-const": "warn", "no-var": "error", "no-multiple-empty-lines": ["error", { "max": 2, "maxEOF": 1, "maxBOF": 0 }], @@ -69,6 +62,14 @@ module.exports = { }], "comma-spacing": "error", "@typescript-eslint/no-var-requires": "off", - "@typescript-eslint/no-explicit-any": "off" + "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/no-unused-vars": [ + "warn", + { + "vars": "all", + "args": "after-used", + "ignoreRestSiblings": false + } + ], } } From bada95acd7508f16d5b224f64b64e14e0193789f Mon Sep 17 00:00:00 2001 From: Taken Date: Thu, 4 Jan 2024 20:34:13 +0100 Subject: [PATCH 2/2] Updated gitlab ci --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 52d03dc..600cce5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,7 +9,7 @@ docker-build: - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY script: - docker build . -f Dockerfile.cache -t node-cache - - docker build --pull -t "$DOCKER_IMAGE_NAME" . + - docker build -t "$DOCKER_IMAGE_NAME" . - docker push "$DOCKER_IMAGE_NAME" - | if [[ "$CI_COMMIT_BRANCH" == "$CI_DEFAULT_BRANCH" ]]; then