my personal eslint config initializer, offering an edited version of @antfu/eslint-config
npx junbi
# -o, --overwrite automatically overwrite existing config
# -i, --install-deps automatically install dependencies
# -r, --react generate config with react rules
# -v, --vanilla generate config with vanilla rules
# -n, --next generate config with next.js rules
# -t, --tailwind generate config with tailwind rules
# -h, --help display helpif you are looking to customize the config, it is simply a matter of following the customization documentation of @antfu/eslint-config. however, if you find yourself editing a large amount of the config, it may be worth considering to use @antfu/eslint-config directly
due to the opinionated nature of junbi, it ditches the concept of using formatters, including prettier. instead, it uses eslint stylistic to format code. as a side effect of this, you may experience more errors than usual. to mitigate these errors, check out the settings configs offered by @antfu/eslint-config
i have found myself frequently beginning many new projects & being uncomfortable without having my main formatting & linting. i made this package to mostly assist myself in initiating my config