Merge branch 'stable-3.12'

* stable-3.12:
  Build: Sort loads
  Resize CodeMirror dynamically
  Remove outline on textbox
  Display cursor position in the bottom
  Fix going to line
  Use Postgresql, PLSQL and Cassandra from sql package
  Allow jsx to be highlighted in .js
  Allow highlighting tsx files
  Create a gerrit theme for CodeMirror
  Revert "Use json from legacy-modes"

Change-Id: I0572d8f8d1af969105ca719223528d3246983a24
diff --git a/web/.eslintrc.js b/web/.eslintrc.js
deleted file mode 100644
index c4a47b7..0000000
--- a/web/.eslintrc.js
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * @license
- * Copyright 2022 Google LLC
- * SPDX-License-Identifier: Apache-2.0
- */
-__plugindir = 'codemirror-editor/web';
-module.exports = {
-  extends: '../../.eslintrc.js',
-};
diff --git a/web/element/codemirror-element.ts b/web/element/codemirror-element.ts
index 27c6ef2..7b1bf5a 100644
--- a/web/element/codemirror-element.ts
+++ b/web/element/codemirror-element.ts
@@ -4,7 +4,7 @@
  * SPDX-License-Identifier: Apache-2.0
  */
 import {LitElement, css, html} from 'lit';
-import {customElement, property, query} from 'lit/decorators';
+import {customElement, property, query} from 'lit/decorators.js';
 import {EditorView} from '@codemirror/view';
 import {EditorState} from '@codemirror/state';
 import {updateRulerWidth} from './ruler';
diff --git a/web/eslint.config.js b/web/eslint.config.js
new file mode 100644
index 0000000..75fcd1e
--- /dev/null
+++ b/web/eslint.config.js
@@ -0,0 +1,18 @@
+/**
+ * @license
+ * Copyright 2022 Google LLC
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+const {defineConfig} = require('eslint/config');
+
+// eslint-disable-next-line no-undef
+__plugindir = 'codemirror-editor/web';
+
+const gerritEslint = require('../../eslint.config.js');
+
+module.exports = defineConfig([
+  {
+    extends: [gerritEslint],
+  },
+]);