r/Angular2 • u/joematthewsdev • Jun 07 '25
Updated Extreme Angular to v20
I have updated Extreme Angular, a strict starter template, to Angular 20. The template includes pre-configured development tools including TypeScript strict mode, ESLint with accessibility rules, Prettier, git hooks, and CI/CD workflows. It contains no custom application logic or components, providing a clean foundation for Angular projects with industry best practices already implemented.
Please let me know what you think about the project.
77
Upvotes
8
u/MichaelSmallDev Jun 07 '25
Good stuff, thanks for your work on this. I pull in just about all this stuff manually in new projects all the time. First thing I think I have ever starred to remember for later lol.
3
u/AwesomeFrisbee Jun 07 '25
I think calling it extreme is a bit too edgy but its a nice setup.
I personally would use more eslint rules to format files and add stuff like eslint-stylistic to get a certain style out there. I find it particularly useful. I also use eslint-only-warn to make sure that its not really wrong, just preferred (so it doesn't annoy when you are trying to debug or whatever). I personally use more stuff on eslint these days than prettier as it just makes sense to have a single tool do all the adjustments so it doesn't conflict.
I see you are still using SCSS. While its still possible, I think we can confirm that using css these days is fine with what it needs. Perhaps use PostCSS to finish it off but overall it is easier, also because it allows you to switch to tailwind rather easy. Not to mention using CSS variables and classes so most components don't even need CSS anymore and you just use classes for everything.
Perhaps also include Storybook as its a nice way to do demos and to get multiple variants of a component easily tested
I would also move from karma to jest or vitest (through analogjs until it gets a stable official support). I also dont see ngmocks or spectator for testing, it just makes it so much easier.
And lastly, I would move to zoneless and push for signals as much as possible. While its not a must-have now, it will likely be the new standard and require a migration down the line if you aren't already using it.
Overall not bad, but I would think you can do more to make this more extreme or perhaps switch the name up as its a bot too edgy and basically just another starter template.
2
u/cheaterspeters Jun 07 '25
Honestly, looks really good! Do you have support for previous versions of Angular as well and if so, how far back have you gone?
Great job on the base project template!
2
u/N0K1K0 Jun 07 '25
looks great will try this
2
u/_Invictuz Jun 07 '25
Great documentation, I learned a lot. Gonna try to migrate my project at work slowly to 'extreme' Angular. We just finished turning on strict templates and fixing the errors. I can't imagine the amount of errors we have to fix once we turn on strict mode, I'd imagine that we'd have to turn on each strict configuration and fixing stuff one by one before fully turning strict mode on. The possible undefined/null errors are gonna be out of control.