Repository navigation
NXT-10859: Updated eslint to version 10 - #402
Open
daniel-stoian-lgp wants to merge 19 commits into
Open
daniel-stoian-lgp wants to merge 19 commits into
daniel-stoian-lgp wants to merge 19 commits into
Conversation
# Conflicts: # npm-shrinkwrap.json # package.json
ion-andrusciac-lgp
approved these changes
Oct 6, 2026
# Conflicts: # CHANGELOG.md # npm-shrinkwrap.json # package.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist
Issue Resolved / Feature Added
Updated the CLI tooling to ESLint 10 and Babel 8.
Resolution
eslintto^10.11.0.enact lintand the dev-server lint (eslint-webpack-plugin) now run ESLint 10.@babel/plugin-transform-modules-commonjsto^8.0.1.@babel/core@^8.0.1as a peer dependency, matchingbabel-preset-enact, which now targets Babel 8.eslint-plugin-importwitheslint-plugin-import-xin dev dependencies, becauseeslint-plugin-importdoes not support ESLint 10.config/eslintWebpackPluginConfig.js: removed thereact/jsx-uses-reactandreact/react-in-jsx-scoperules that were added when the classic JSX transform is used (DISABLE_NEW_JSX_TRANSFORM=true).babel-preset-enactno longer supports the classic transform, andeslint-config-enactno longer registers areactplugin (rules now use their ESLint React names), so with this variable set the build lint failed withcould not find plugin "react".Additional Considerations
@babel/core8 peer dependency).DISABLE_NEW_JSX_TRANSFORMno longer has any effect.Links
NXT-10859
Comments
Enact-DCO-1.0-Signed-off-by: Daniel Stoian (daniel.stoian@lgepartner.com)