I ran command npx eslint --init. I came across following questions:
? Which style guide do you want to follow? …
Airbnb: https://github.com/airbnb/javascript
▸ Standard: https://github.com/standard/standard
Google: https://github.com/google/eslint-config-google
XO: https://github.com/xojs/eslint-config-xo
I selected Standard. Then it said:
✔ The style guide "standard" requires eslint@^7.12.1. You are currently using eslint@8.10.0.
Do you want to downgrade? · No / Yes
I selected No.
Then I said:
Note: it might not work since ESLint's version is mismatched with the standard config.
Should I be ideally downgrading? Or should I not be using standard style guide altogether?
Looking at the repo, eslint-config-standard@17.x.y by default works with eslint 8.8.0 (even though it's still a pre-release).
I assume you are still receiving 16.x version, which defaults to eslint@7.18.0.
Which exact version of eslint-config-standard does running npx eslint --init give you?
If you are using this for a new project, I recommend you go with eslint-config-standard@next. The project is very actively maintained, and their main focus currently is to lift everything to ESLint 8.x, so it will not be a long wait.