diff --git a/core/.eslintrc.passing.json b/core/.eslintrc.passing.json
index 2e442411be..101d1e72db 100644
--- a/core/.eslintrc.passing.json
+++ b/core/.eslintrc.passing.json
@@ -10,7 +10,6 @@
     "no-new": "off",
     "no-multi-assign": "off",
     "no-mixed-operators": "off",
-    "no-empty": "off",
     "no-continue": "off",
     "new-cap": "off",
     "max-len": "off",
diff --git a/core/modules/quickedit/js/models/FieldModel.es6.js b/core/modules/quickedit/js/models/FieldModel.es6.js
index 776c331f32..66cef9ca59 100644
--- a/core/modules/quickedit/js/models/FieldModel.es6.js
+++ b/core/modules/quickedit/js/models/FieldModel.es6.js
@@ -218,15 +218,8 @@
         // different view mode).
         .where({ logicalFieldID: currentField.get('logicalFieldID') })
         .forEach((field) => {
-          // Ignore the current field.
-          if (field === currentField) {
-
-          }
-          // Also ignore other fields with the same view mode.
-          else if (field.get('fieldID') === currentField.get('fieldID')) {
-
-          }
-          else {
+          // Ignore the current field and other fields with the same view mode.
+          if (field !== currentField || field.get('fieldID') !== currentField.get('fieldID')) {
             otherViewModes.push(field.getViewMode());
           }
         });
diff --git a/core/modules/quickedit/js/models/FieldModel.js b/core/modules/quickedit/js/models/FieldModel.js
index f3c6cd582c..f43f967446 100644
--- a/core/modules/quickedit/js/models/FieldModel.js
+++ b/core/modules/quickedit/js/models/FieldModel.js
@@ -72,9 +72,9 @@
       var currentField = this;
       var otherViewModes = [];
       Drupal.quickedit.collections.fields.where({ logicalFieldID: currentField.get('logicalFieldID') }).forEach(function (field) {
-        if (field === currentField) {} else if (field.get('fieldID') === currentField.get('fieldID')) {} else {
-            otherViewModes.push(field.getViewMode());
-          }
+        if (field !== currentField || field.get('fieldID') !== currentField.get('fieldID')) {
+          otherViewModes.push(field.getViewMode());
+        }
       });
       return otherViewModes;
     }
