Trying to setup ESLint with Airbnb style guide for my new React Vite Typescript project.
After running npx eslint --init and npm init @eslint/config, and selecting all the aforementioned options, I still can't find the Airbnb style guide option in the list. The list only shows Standard and XO.
Here's the screenshot:

Looks like this is expected since Google and Airbnb do not officially support Typescript. (https://github.com/iamturns/eslint-config-airbnb-typescript#setup)
Instead, it looks like you can use eslint-config-airbnb-typescript
Airbnb and Google options would show up earlier. However the options have now been removed (fix: remove airbnb/google in style guides when using ts)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With