You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ha...@apache.org on 2026/07/18 04:55:27 UTC

(superset) branch build/enable-import-named-and-import-export-lint-rules-to-error created (now 9ef58593bcf)

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

hainenber pushed a change to branch build/enable-import-named-and-import-export-lint-rules-to-error
in repository https://gitbox.apache.org/repos/asf/superset.git


      at 9ef58593bcf chore(dependabot): group Storybook and Docusaurus PRs

This branch includes the following new commits:

     new 6e9c0a7b3f8 chore(lint): toggle `import/named` and `import/export` lint rules to error level
     new 9ef58593bcf chore(dependabot): group Storybook and Docusaurus PRs

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(superset) 02/02: chore(dependabot): group Storybook and Docusaurus PRs

Posted by ha...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hainenber pushed a commit to branch build/enable-import-named-and-import-export-lint-rules-to-error
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 9ef58593bcf51f5d777aaeed5704c86462810dac
Author: hainenber <do...@gmail.com>
AuthorDate: Sat Jul 18 11:55:10 2026 +0700

    chore(dependabot): group Storybook and Docusaurus PRs
    
    Signed-off-by: hainenber <do...@gmail.com>
---
 .github/dependabot.yml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 6746194595f..e7659e4524d 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -65,6 +65,11 @@ updates:
       lumagl:
         patterns:
           - "@luma.gl/*"
+      storybook:
+        patterns:
+          - "@storybook/*"
+          - "storybook"
+          - eslint-plugin-storybook
     open-pull-requests-limit: 30
     versioning-strategy: increase
     cooldown:
@@ -99,6 +104,10 @@ updates:
     directory: "/docs/"
     schedule:
       interval: "daily"
+    groups:
+      docusaurus:
+        patterns:
+          - "@docusaurus/*"
     open-pull-requests-limit: 10
     versioning-strategy: increase
     cooldown:


(superset) 01/02: chore(lint): toggle `import/named` and `import/export` lint rules to error level

Posted by ha...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hainenber pushed a commit to branch build/enable-import-named-and-import-export-lint-rules-to-error
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 6e9c0a7b3f8993d467113716b6537333dfbed174
Author: hainenber <do...@gmail.com>
AuthorDate: Sat Jul 18 11:53:44 2026 +0700

    chore(lint): toggle `import/named` and `import/export` lint rules to error level
    
    Signed-off-by: hainenber <do...@gmail.com>
---
 superset-frontend/oxlint.json                              |  7 ++-----
 .../packages/superset-core/src/translation/types/index.ts  |  3 +--
 .../src/shared-controls/index.ts                           | 10 ++++++++--
 .../packages/superset-ui-core/src/color/index.ts           |  1 -
 superset-frontend/spec/helpers/testing-library.tsx         | 14 ++++++++++++--
 5 files changed, 23 insertions(+), 12 deletions(-)

diff --git a/superset-frontend/oxlint.json b/superset-frontend/oxlint.json
index 5c5af14634e..78b5a81cd12 100644
--- a/superset-frontend/oxlint.json
+++ b/superset-frontend/oxlint.json
@@ -111,11 +111,8 @@
     "no-object-constructor": "error",
 
     // === Import plugin rules ===
-    // TODO: Fix incorrect named imports in Storybook and other files
-    "import/named": "warn",
-    // TODO: Fix duplicate exports in shared-controls and other modules
-    // Temporarily disabled during OXC migration
-    "import/export": "warn",
+    "import/named": "error",
+    "import/export": "error",
     // TODO: Re-enable after fixing default export patterns across codebase
     // This is temporarily disabled during OXC migration to unblock CI
     // Tracking issue: [Create issue after PR merge]
diff --git a/superset-frontend/packages/superset-core/src/translation/types/index.ts b/superset-frontend/packages/superset-core/src/translation/types/index.ts
index 6cd117fbe24..cf12a2ebde3 100644
--- a/superset-frontend/packages/superset-core/src/translation/types/index.ts
+++ b/superset-frontend/packages/superset-core/src/translation/types/index.ts
@@ -18,8 +18,7 @@
  */
 import { Jed as BaseJed, JedOptions, DomainData, Translations } from './jed';
 
-export * from './jed';
-export { default as __hack_reexport_jed } from './jed';
+export { Translations, DomainConfig, DomainData, JedOptions } from './jed';
 
 /**
  * Superset supported languages.
diff --git a/superset-frontend/packages/superset-ui-chart-controls/src/shared-controls/index.ts b/superset-frontend/packages/superset-ui-chart-controls/src/shared-controls/index.ts
index 0deb6b39862..4d132d7d9b8 100644
--- a/superset-frontend/packages/superset-ui-chart-controls/src/shared-controls/index.ts
+++ b/superset-frontend/packages/superset-ui-chart-controls/src/shared-controls/index.ts
@@ -19,8 +19,14 @@
 export { default as sharedControls } from './sharedControls';
 // React control components
 export { default as sharedControlComponents } from './components';
-export { aggregationControl } from './customControls';
+export {
+  aggregationControl,
+  aggregationChoices,
+  contributionModeControl,
+  xAxisSortControl,
+  xAxisSortAscControl,
+  xAxisForceCategoricalControl,
+} from './customControls';
 export * from './components';
-export * from './customControls';
 export * from './mixins';
 export * from './dndControls';
diff --git a/superset-frontend/packages/superset-ui-core/src/color/index.ts b/superset-frontend/packages/superset-ui-core/src/color/index.ts
index 5e4d0ea7aa1..d99ad3c7741 100644
--- a/superset-frontend/packages/superset-ui-core/src/color/index.ts
+++ b/superset-frontend/packages/superset-ui-core/src/color/index.ts
@@ -22,7 +22,6 @@ import * as CategoricalColorNamespace from './CategoricalColorNamespace';
 export { CategoricalColorNamespace };
 export { default as CategoricalColorScale } from './CategoricalColorScale';
 export { default as CategoricalScheme } from './CategoricalScheme';
-export * from './CategoricalScheme';
 export { default as getCategoricalSchemeRegistry } from './CategoricalSchemeRegistrySingleton';
 export { default as ColorScheme } from './ColorScheme';
 export * from './ColorScheme';
diff --git a/superset-frontend/spec/helpers/testing-library.tsx b/superset-frontend/spec/helpers/testing-library.tsx
index 71a77857cb4..1843036e29e 100644
--- a/superset-frontend/spec/helpers/testing-library.tsx
+++ b/superset-frontend/spec/helpers/testing-library.tsx
@@ -139,8 +139,18 @@ export function sleep(time: number) {
   });
 }
 
-// eslint-disable-next-line no-restricted-imports
-export * from '@testing-library/react';
+export {
+  act,
+  cleanup,
+  createEvent,
+  waitFor,
+  fireEvent,
+  getByText,
+  screen,
+  waitForElementToBeRemoved,
+  within,
+  type RenderResult,
+} from '@testing-library/react';
 export { customRender as render };
 export { default as userEvent } from '@testing-library/user-event';