Option in Nx to convert .eslintrc.json to eslint.config.mjs i.e ES module file using @nx/eslint:convert-to-flat-config generator
I have a Monorepo based project setup with Nx and we are updating ESLint from 8.57.0 to 9.8.0. Nx do provides a generator(@nx/eslint:convert-to-flat-config
) to automatically transform eslintrc.json
to eslint.config.js
but I would prefer ES module over cjs filetype.