At $CURRENT_JOB
we are migrating as many eslint rules to biome1. Fortunately, biome provides a helpful page that lists rules from other sources. One easy way to find which rules you are using is to have them all on a file that you can easily skim over.
Using node:
npx eslint --print-config <eslint-config> \
| xargs -0 node -e "for(key of Object.keys(JSON.parse(process.argv[1]).rules).sort(((e,o)=>e.localeCompare(o))))console.log(key);" > rules.txt
Or using jq:
npx eslint --print-config <eslint-config> \
| jq -r '.rules | keys | .[]' > rules.txt
-
I know that there are instructions to automatically migrate from eslint to biome. However, we decided that some of the rules might be worth keeping on eslint.↩