diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 56cc5dd6ad524e4faf242db040ec59b88bfcb56c..248e8c623e76f1777845b5cbc48dd535f718c531 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,10 +14,8 @@ eslint:
     - npm install
     #- npm ci ### should use this for automated testing instead of "npm install", but we need a package-lock.json for it.
     - npm install eslint-formatter-gitlab
-    - npx eslint --format gitlab .
-  # errors make eslint return 1, for now though we want the pipeline not to ail when we eslint errors.
-  # trying to add " ; exit 0" or " ; echo 0" let the build fail anyways for some reason.
-  allow_failure: true
+    # > /dev/null 2>&1 || FAILED=true to make error type warnings not fail the job
+    - npx eslint --format gitlab . > /dev/null 2>&1 || FAILED=true
   artifacts:
     reports:
       codequality: gl-codequality.json