You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I came across this similar issue trying to generate a lib using the nx-extend/pulumi plugin after updating nx:
NX Could not find root flat config file
Error: Could not find root flat config file
at getRootESLintFlatConfigFilename (/Users/user/my/path/node_modules/@nx/eslint/src/utils/flat-config.js:18:11)
at lintConfigHasOverride (/Users/user/my/path/node_modules/@nx/eslint/src/generators/utils/eslint-file.js:177:164)
at addLint (/Users/user/my/path/node_modules/@nx/js/src/generators/library/library.js:237:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async libraryGeneratorInternal (/Users/user/my/path/node_modules/@nx/js/src/generators/library/library.js:74:30)
at async /Users/user/my/path/node_modules/nx/src/command-line/generate/generate.js:238:26
at async handleErrors (/Users/user/my/path/node_modules/nx/src/utils/handle-errors.js:9:24)
at async Object.handler (/Users/user/my/path/node_modules/nx/src/command-line/generate/command-object.js:14:22)
Luckily the migration is easy with npx nx g @nx/eslint:convert-to-flat-config, but the generator in these plugins will need to be updated to stop using .eslintrc.json.
The text was updated successfully, but these errors were encountered:
itmustbejj
changed the title
nx20 expects eslint.config.json
nx expects eslint.config.json
Dec 20, 2024
itmustbejj
changed the title
nx expects eslint.config.json
ESLint 9.x expects eslint.config.json
Dec 20, 2024
I came across this similar issue trying to generate a lib using the
nx-extend/pulumi
plugin after updating nx:Luckily the migration is easy with
npx nx g @nx/eslint:convert-to-flat-config
, but the generator in these plugins will need to be updated to stop using.eslintrc.json
.The text was updated successfully, but these errors were encountered: