$ node ../bin/create-config.js
@eslint/create-config: v1.2.0
✔ How would you like to use ESLint? · problems
✔ What type of modules does your project use? · esm
✔ Which framework does your project use? · react
✔ Does your project use TypeScript? · typescript
✔ Where does your code run? · browser
The config that you've selected requires the following dependencies:
eslint, globals, @eslint/js, typescript-eslint, eslint-plugin-react
✔ Would you like to install them now? · No / Yes
✔ Which package manager do you want to use? · npm
☕️Installing...
added 221 packages in 1m
107 packages are looking for funding
run `npm fund` for details
Successfully created /Users/weiran/repo/github/create-config/example/eslint.config.mjs file.
refs: https://typescript-eslint.io/blog/announcing-typescript-eslint-v8