Start here
The safe first move
If the source config is static JSON or YAML data, the bridge file can be generated deterministically.
Stop before automation when: .eslintrc.js, .cjs, or .mjs logic. Repos that already have eslint.config.*.
Target shape
const { FlatCompat } = require("@eslint/eslintrc");
const compat = new FlatCompat();
module.exports = [
...compat.config({
extends: ["eslint:recommended"],
rules: { "no-console": "warn" },
}),
];