This is an automated email from the ASF dual-hosted git repository.

ephraimanierobi pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit c1c9625ffd7b92c0f437dfdc1ff78c2c388c422f
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Jan 13 15:14:59 2026 +0100

    [v3-1-test] Clean react plugin tools (#60419) (#60450)
    
    (cherry picked from commit a9c4275dbfb7c119660a899341578b1828bcbcbd)
    
    Co-authored-by: Pierre Jeambrun <[email protected]>
---
 dev/react-plugin-tools/react_plugin_template/src/global.d.ts | 4 ++--
 dev/react-plugin-tools/react_plugin_template/src/main.tsx    | 2 +-
 dev/react-plugin-tools/react_plugin_template/src/theme.ts    | 4 ----
 3 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/dev/react-plugin-tools/react_plugin_template/src/global.d.ts 
b/dev/react-plugin-tools/react_plugin_template/src/global.d.ts
index bbad8db170e..bd915e81c1a 100644
--- a/dev/react-plugin-tools/react_plugin_template/src/global.d.ts
+++ b/dev/react-plugin-tools/react_plugin_template/src/global.d.ts
@@ -17,8 +17,8 @@
  * under the License.
  */
 
-export interface global {}
+export type global = object;
 
 declare global {
-  var ChakraUISystem: SystemContext | undefined
+  var ChakraUISystem: SystemContext | undefined;
 }
diff --git a/dev/react-plugin-tools/react_plugin_template/src/main.tsx 
b/dev/react-plugin-tools/react_plugin_template/src/main.tsx
index c44ade0e57e..a3fb8dec9f7 100644
--- a/dev/react-plugin-tools/react_plugin_template/src/main.tsx
+++ b/dev/react-plugin-tools/react_plugin_template/src/main.tsx
@@ -37,7 +37,7 @@ const PluginComponent: FC<PluginComponentProps> = (props) => {
   // Use the globalChakraUISystem provided by the Airflow Core UI,
   // so the plugin has a consistent theming with the host Airflow UI,
   // fallback to localSystem for local development.
-  const system = (globalThis.ChakraUISystem)  ?? localSystem;
+  const system = (globalThis.ChakraUISystem) ?? localSystem;
 
   return (
     <ChakraProvider value={system}>
diff --git a/dev/react-plugin-tools/react_plugin_template/src/theme.ts 
b/dev/react-plugin-tools/react_plugin_template/src/theme.ts
index 9f993216ca8..c70d83711cb 100644
--- a/dev/react-plugin-tools/react_plugin_template/src/theme.ts
+++ b/dev/react-plugin-tools/react_plugin_template/src/theme.ts
@@ -16,10 +16,6 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-
-/* eslint-disable perfectionist/sort-objects */
-
-/* eslint-disable max-lines */
 import { createSystem, defaultConfig } from "@chakra-ui/react";
 
 export const localSystem = createSystem(defaultConfig);

Reply via email to