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!
No description
4 Replies
d.js toolkit
d.js toolkit3mo ago
- 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!
Zino
ZinoOP3mo ago
tryna install ESLint
Nixx
Nixx3mo ago
I have always used CommonJS. Personally just prefer that structure instead of the JavaScript modules route
Renoks
Renoks3mo ago
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.

Did you find this page helpful?