oxlint-migrate has some request to support eslint.config.ts out of the box without any configuration.
See oxc-project/oxlint-migrate#109
Normally, the user needs one of this configuration:
npx --node-options="--import @oxc-node/core/register" @oxlint/migrate
npx --node-options="--import jiti/register" @oxlint/migrate
And experimental for node:
npx --node-options="--experimental-strip-types" @oxlint/migrate
ESLint itself supports jiti.import out of the box without extra arguments:
https://github.com/eslint/eslint/blob/4ab44823df4d4b47d3650da949077a0551e7579e/lib/config/config-loader.js#L141-L175
Questions
Is it possible to have the same functionality with oxc-node?
oxlint-migratehas some request to supporteslint.config.tsout of the box without any configuration.See oxc-project/oxlint-migrate#109
Normally, the user needs one of this configuration:
And experimental for node:
ESLint itself supports
jiti.importout of the box without extra arguments:https://github.com/eslint/eslint/blob/4ab44823df4d4b47d3650da949077a0551e7579e/lib/config/config-loader.js#L141-L175
Questions
Is it possible to have the same functionality with
oxc-node?