Enforce newlines at end of files

Trying to upload a CL with missing newlines at the end of files fails with the following warning:

These files should end in one (and only one) newline character:

Update the ESLint config to let the linter fix these errors.

Change-Id: Ia858b5864a1dc43144e0c6d81dedbf46376c2b8d
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1897679
Commit-Queue: Tim van der Lippe <[email protected]>
Commit-Queue: Yang Guo <[email protected]>
Auto-Submit: Tim van der Lippe <[email protected]>
Reviewed-by: Yang Guo <[email protected]>
diff --git a/front_end/ui/Action.js b/front_end/ui/Action.js
index 60d8394..b210fe2 100644
--- a/front_end/ui/Action.js
+++ b/front_end/ui/Action.js
@@ -162,4 +162,4 @@
 UI.Action = Action;
 
 /** @enum {symbol} */
-UI.Action.Events = Events;
\ No newline at end of file
+UI.Action.Events = Events;
diff --git a/front_end/ui/ActionDelegate.js b/front_end/ui/ActionDelegate.js
index ec8341c..e2ba9b9 100644
--- a/front_end/ui/ActionDelegate.js
+++ b/front_end/ui/ActionDelegate.js
@@ -22,4 +22,4 @@
 UI = UI || {};
 
 /** @interface */
-UI.ActionDelegate = ActionDelegate;
\ No newline at end of file
+UI.ActionDelegate = ActionDelegate;
diff --git a/front_end/ui/ContextFlavorListener.js b/front_end/ui/ContextFlavorListener.js
index 04ceb18..72e3b7e 100644
--- a/front_end/ui/ContextFlavorListener.js
+++ b/front_end/ui/ContextFlavorListener.js
@@ -19,4 +19,4 @@
 UI = UI || {};
 
 /** @interface */
-UI.ContextFlavorListener = ContextFlavorListener;
\ No newline at end of file
+UI.ContextFlavorListener = ContextFlavorListener;
diff --git a/front_end/ui/FilterBar.js b/front_end/ui/FilterBar.js
index 72c2957..ad51588 100644
--- a/front_end/ui/FilterBar.js
+++ b/front_end/ui/FilterBar.js
@@ -541,4 +541,4 @@
 UI.CheckboxFilterUI = CheckboxFilterUI;
 
 /** @typedef {{name: string, label: string, title: (string|undefined)}} */
-UI.NamedBitSetFilterUI.Item;
\ No newline at end of file
+UI.NamedBitSetFilterUI.Item;
diff --git a/front_end/ui/Fragment.js b/front_end/ui/Fragment.js
index 0f72689..f797db7 100644
--- a/front_end/ui/Fragment.js
+++ b/front_end/ui/Fragment.js
@@ -273,4 +273,4 @@
   *   replaceNodeIndex: (number|undefined)
   * }}
   */
-UI.Fragment._Bind;
\ No newline at end of file
+UI.Fragment._Bind;
diff --git a/front_end/ui/Icon.js b/front_end/ui/Icon.js
index b1c75a4..57db9de 100644
--- a/front_end/ui/Icon.js
+++ b/front_end/ui/Icon.js
@@ -272,4 +272,4 @@
 UI.Icon.Descriptor;
 
 /** @typedef {{cellWidth: number, cellHeight: number, padding: number}} */
-UI.Icon.SpriteSheet;
\ No newline at end of file
+UI.Icon.SpriteSheet;
diff --git a/front_end/ui/InplaceEditor.js b/front_end/ui/InplaceEditor.js
index 9734016..d9539a5 100644
--- a/front_end/ui/InplaceEditor.js
+++ b/front_end/ui/InplaceEditor.js
@@ -260,4 +260,4 @@
 /**
  * @typedef {{cancel: function(), commit: function()}}
  */
-UI.InplaceEditor.Controller;
\ No newline at end of file
+UI.InplaceEditor.Controller;
diff --git a/front_end/ui/InspectorView.js b/front_end/ui/InspectorView.js
index bd395ae..62f3a60 100644
--- a/front_end/ui/InspectorView.js
+++ b/front_end/ui/InspectorView.js
@@ -388,4 +388,4 @@
 /**
  * @type {!InspectorView}
  */
-UI.inspectorView;
\ No newline at end of file
+UI.inspectorView;
diff --git a/front_end/ui/ListControl.js b/front_end/ui/ListControl.js
index 27ea4d4..d022faa 100644
--- a/front_end/ui/ListControl.js
+++ b/front_end/ui/ListControl.js
@@ -713,4 +713,4 @@
 /** @interface */
 UI.ListDelegate = ListDelegate;
 
-UI.ListMode = ListMode;
\ No newline at end of file
+UI.ListMode = ListMode;
diff --git a/front_end/ui/Panel.js b/front_end/ui/Panel.js
index 43364b1..12593c9 100644
--- a/front_end/ui/Panel.js
+++ b/front_end/ui/Panel.js
@@ -125,4 +125,4 @@
 UI.PanelWithSidebar = PanelWithSidebar;
 
 // For testing.
-UI.panels = {};
\ No newline at end of file
+UI.panels = {};
diff --git a/front_end/ui/ResizerWidget.js b/front_end/ui/ResizerWidget.js
index 8db3716..c3e2892 100644
--- a/front_end/ui/ResizerWidget.js
+++ b/front_end/ui/ResizerWidget.js
@@ -247,4 +247,4 @@
 UI.ResizerWidget.Events = Events;
 
 /** @constructor */
-UI.SimpleResizerWidget = SimpleResizerWidget;
\ No newline at end of file
+UI.SimpleResizerWidget = SimpleResizerWidget;
diff --git a/front_end/ui/SearchableView.js b/front_end/ui/SearchableView.js
index 132375c..e809a44 100644
--- a/front_end/ui/SearchableView.js
+++ b/front_end/ui/SearchableView.js
@@ -644,4 +644,4 @@
 UI.Searchable = Searchable;
 
 /** @interface */
-UI.Replaceable = Replaceable;
\ No newline at end of file
+UI.Replaceable = Replaceable;
diff --git a/front_end/ui/SoftDropDown.js b/front_end/ui/SoftDropDown.js
index e97c313..112bed6 100644
--- a/front_end/ui/SoftDropDown.js
+++ b/front_end/ui/SoftDropDown.js
@@ -369,4 +369,4 @@
  * @interface
  * @template T
  */
-UI.SoftDropDown.Delegate = Delegate;
\ No newline at end of file
+UI.SoftDropDown.Delegate = Delegate;
diff --git a/front_end/ui/SplitWidget.js b/front_end/ui/SplitWidget.js
index 6941202..a5439bc 100644
--- a/front_end/ui/SplitWidget.js
+++ b/front_end/ui/SplitWidget.js
@@ -997,4 +997,4 @@
 UI.SplitWidget.Events = Events;
 
 /** @typedef {{showMode: string, size: number}} */
-UI.SplitWidget.SettingForOrientation;
\ No newline at end of file
+UI.SplitWidget.SettingForOrientation;
diff --git a/front_end/ui/Toolbar.js b/front_end/ui/Toolbar.js
index b830b88..1a2f201 100644
--- a/front_end/ui/Toolbar.js
+++ b/front_end/ui/Toolbar.js
@@ -1178,4 +1178,4 @@
 UI.ToolbarCheckbox = ToolbarCheckbox;
 
 /** @constructor */
-UI.ToolbarSettingCheckbox = ToolbarSettingCheckbox;
\ No newline at end of file
+UI.ToolbarSettingCheckbox = ToolbarSettingCheckbox;
diff --git a/front_end/ui/ViewManager.js b/front_end/ui/ViewManager.js
index 1af86a5..db4e454 100644
--- a/front_end/ui/ViewManager.js
+++ b/front_end/ui/ViewManager.js
@@ -714,4 +714,4 @@
 UI.ViewManager._TabbedLocation = _TabbedLocation;
 
 /** @constructor */
-UI.ViewManager._StackLocation = _StackLocation;
\ No newline at end of file
+UI.ViewManager._StackLocation = _StackLocation;
diff --git a/front_end/ui/XElement.js b/front_end/ui/XElement.js
index e94b5e1..eed8455 100644
--- a/front_end/ui/XElement.js
+++ b/front_end/ui/XElement.js
@@ -186,4 +186,4 @@
 UI.XSpan = XSpan;
 
 /** @constructor */
-UI.XText = XText;
\ No newline at end of file
+UI.XText = XText;
diff --git a/front_end/ui/ZoomManager.js b/front_end/ui/ZoomManager.js
index f827a85..d8e59aa 100644
--- a/front_end/ui/ZoomManager.js
+++ b/front_end/ui/ZoomManager.js
@@ -68,4 +68,4 @@
 /**
  * @type {!UI.ZoomManager}
  */
-UI.zoomManager;
\ No newline at end of file
+UI.zoomManager;