Hi i want to install eslint (like i do for my react projects). However, i am not entirely sure how to do this:
I installed it through node and then did eslint init.
It seems like a package.json is necessary?
would the below be ok? (For react i would precede these steps by doing npx create-react-app but i am not using react in this instance)
- do npx init
- then install eslint
- then do eslint --init
thanks. if someone could help would be appreciated.