TLDR: Head on over to this opinionated beginner-friendly NodeJS starter pack. The deets are listed there in that one.
I have had pretty good success with alleviating some of this by providing my students with starter template repos.
The idea 💡 is to decrease some of the cognitive load by automating some of the possible issues related to code quality.
This allows students to focus on actually 'coding' and implementing business logic and algorithms rather than wondering so much about 'best practices' and the 'right way' to do certain things.
Nothing much really...
Just includes some
npm run scripts and uses some standard 'linting' configurations with just a few minor adjustments.
The VS Code Extensions and Settings are based on recommendations from Syntax.fm, and my own experiences/struggles 💪🏽.
Go check the README 📝 for more deets!
All of my students have really appreciated these types of starter templates that reduce their cognitive loads 🧠 and allow them to just jump in and code how they want while still 'auto-magically' adopting and developing 'best practices.'
There isn't much need to focus on all of this configuration 🔧 stuff when you are just getting started 🚀.
I have some other ones for 'vanilla front-end,' React, full-stack, etc.
If there is sufficient interest, I'll clean those up and post about them. 👋🏽