You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hamilton.apache.org by sk...@apache.org on 2026/03/06 06:08:40 UTC

(hamilton) 21/39: Fix ESLint config to use .mjs extension

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

skrawcz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hamilton.git

commit 124ae2cd1fc3619e0a298e98b539047a03f1894a
Author: Stefan Krawczyk <st...@cs.stanford.edu>
AuthorDate: Tue Feb 24 16:23:14 2026 -0800

    Fix ESLint config to use .mjs extension
    
    Rename eslint.config.js to eslint.config.mjs to fix 'Cannot use import statement outside a module' error. The .mjs extension explicitly marks the file as an ES module, allowing the use of import/export syntax without requiring 'type: module' in package.json.
    
    Fixes GitHub Actions failure in hamilton-ui-frontend workflow.
---
 ui/frontend/{eslint.config.js => eslint.config.mjs} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/ui/frontend/eslint.config.js b/ui/frontend/eslint.config.mjs
similarity index 100%
rename from ui/frontend/eslint.config.js
rename to ui/frontend/eslint.config.mjs