diff --git a/src/main/java/tech/jhipster/lite/generator/client/react/core/domain/ReactCoreModulesFactory.java b/src/main/java/tech/jhipster/lite/generator/client/react/core/domain/ReactCoreModulesFactory.java index e0ecae0869b..b29a1226583 100644 --- a/src/main/java/tech/jhipster/lite/generator/client/react/core/domain/ReactCoreModulesFactory.java +++ b/src/main/java/tech/jhipster/lite/generator/client/react/core/domain/ReactCoreModulesFactory.java @@ -146,6 +146,7 @@ private Consumer patchEslintConfig(JHipsterModuleProperti \t\t\t'@typescript-eslint/no-explicit-any': 'off', \t\t\t'@typescript-eslint/no-unsafe-argument': 'off', \t\t\t'@typescript-eslint/await-thenable': 'off', + \t\t\t'@typescript-eslint/consistent-type-imports': 'error', \t\t\t'@typescript-eslint/no-misused-promises': [ \t\t\t\t'error', \t\t\t\t{ diff --git a/src/test/resources/tech/jhipster/lite/generator/client/react/core/domain/ReactCoreModulesFactoryTest.shouldBuildModuleWithStyle.eslint.config.js.approved.txt b/src/test/resources/tech/jhipster/lite/generator/client/react/core/domain/ReactCoreModulesFactoryTest.shouldBuildModuleWithStyle.eslint.config.js.approved.txt index 51b0b8c3a73..5897a041c44 100644 --- a/src/test/resources/tech/jhipster/lite/generator/client/react/core/domain/ReactCoreModulesFactoryTest.shouldBuildModuleWithStyle.eslint.config.js.approved.txt +++ b/src/test/resources/tech/jhipster/lite/generator/client/react/core/domain/ReactCoreModulesFactoryTest.shouldBuildModuleWithStyle.eslint.config.js.approved.txt @@ -34,6 +34,7 @@ export default typescript.config( '@typescript-eslint/no-explicit-any': 'off', '@typescript-eslint/no-unsafe-argument': 'off', '@typescript-eslint/await-thenable': 'off', + '@typescript-eslint/consistent-type-imports': 'error', '@typescript-eslint/no-misused-promises': [ 'error', {