diff --git a/core/misc/tabledrag.js b/core/misc/tabledrag.js
index 0b12f11..395d092 100644
--- a/core/misc/tabledrag.js
+++ b/core/misc/tabledrag.js
@@ -498,6 +498,9 @@
 
       var keyChange = false;
       var groupHeight;
+
+      /* eslint-disable no-fallthrough */
+
       switch (event.keyCode) {
         // Left arrow.
         case 37:
@@ -601,6 +604,8 @@
           break;
       }
 
+      /* eslint-enable no-fallthrough */
+
       if (self.rowObject && self.rowObject.changed === true) {
         $(item).addClass('drag');
         if (self.oldRowElement) {
@@ -624,6 +629,9 @@
     // other browsers need to return false on keypress.
     // http://www.quirksmode.org/js/keys.html
     handle.on('keypress', function (event) {
+
+      /* eslint-disable no-fallthrough */
+
       switch (event.keyCode) {
         // Left arrow.
         case 37:
@@ -635,6 +643,9 @@
         case 40:
           return false;
       }
+
+      /* eslint-enable no-fallthrough */
+
     });
   };
 
diff --git a/core/modules/outside_in/js/outside_in.js b/core/modules/outside_in/js/outside_in.js
index caeef8d..e8fdab4 100644
--- a/core/modules/outside_in/js/outside_in.js
+++ b/core/modules/outside_in/js/outside_in.js
@@ -125,7 +125,7 @@
       });
 
       var search = Drupal.ajax.WRAPPER_FORMAT + '=drupal_dialog';
-      var replace =  Drupal.ajax.WRAPPER_FORMAT + '=drupal_dialog_offcanvas';
+      var replace = Drupal.ajax.WRAPPER_FORMAT + '=drupal_dialog_offcanvas';
       // Loop through all Ajax links and change the format to offcanvas when
       // needed.
       Drupal.ajax.instances
@@ -142,7 +142,7 @@
         .forEach(function (instance) {
           // @todo Move logic for data-dialog-renderer attribute into ajax.js
           //   https://www.drupal.org/node/2784443
-            instance.options.url = instance.options.url.replace(search, replace);
+          instance.options.url = instance.options.url.replace(search, replace);
         });
     }
   };
