Skip to content

Fix: Resolve SyntaxError in eslint.config.js for ESLint 9+#14

Merged
arcslash merged 2 commits intomasterfrom
fix/linting-issues
May 24, 2025
Merged

Fix: Resolve SyntaxError in eslint.config.js for ESLint 9+#14
arcslash merged 2 commits intomasterfrom
fix/linting-issues

Conversation

@arcslash
Copy link
Copy Markdown
Owner

Adds "type": "module" to package.json to allow ES module syntax (e.g., import) in .js files, specifically to resolve a SyntaxError in eslint.config.js when parsed by ESLint 9.27.0.

Also adds the "lint:js": "eslint ." script to package.json as indicated by the pipeline's execution logs.

Note: Verification in the available environment was hindered by an older ESLint version (6.4.0) which does not recognize eslint.config.js. This change targets the ESLint 9.27.0 environment reported in the issue.

google-labs-jules Bot and others added 2 commits May 24, 2025 07:01
Adds `"type": "module"` to `package.json` to allow ES module syntax
(e.g., `import`) in `.js` files, specifically to resolve a
`SyntaxError` in `eslint.config.js` when parsed by ESLint 9.27.0.

Also adds the `"lint:js": "eslint ."` script to `package.json` as
indicated by the pipeline's execution logs.

Note: Verification in the available environment was hindered by an older
ESLint version (6.4.0) which does not recognize `eslint.config.js`.
This change targets the ESLint 9.27.0 environment reported in the issue.
@arcslash arcslash merged commit c4b18fc into master May 24, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant