trying to install ESLint for a discord bot project
sorry for the dim screenshot and would like to know which option to go with in order to then build a discord bot. thanks for reading!
4 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!tryna install ESLint
I have always used CommonJS. Personally just prefer that structure instead of the JavaScript modules route
Pick whichever option suits you best. If you're already using CommonJS, then I'd guess it's easier to use that. If you decide to use modules, then you'll also have to migrate your project to that too.