fac30 / Pro02_Max_Itzi_Josh_Riley

Discord ChatBot
Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

eslint #33

Closed rilez366 closed 1 week ago

rilez366 commented 1 week ago

created the ESlint rules for the chatbot which Allows you to: -debug with console.log(); -Prefer using const over let or var, as well as disallow var; -Disapproving of variables with the same name in callbacks; -Requiring single quotes over double quotes; -Requiring semicolons. While not required in JavaScript, it's considered one of the most common best practices to follow; -Requiring accessing properties to be on the same line; -Requiring indenting to be done with tabs; -Limiting nested callbacks to 4. If you hit this error, it is a good idea to consider refactoring your code.ich