If you don't need to use @SpringBootApplication, the @EnableAutoConfiguration and @ComponentScan annotations that it imports defines that habits so You may as well use All those as an alternative.
A part of the shared https://henriobca026085.elbloglibre.com/30192849/fascination-about-spring-boot-developer