If you don't would like to use @SpringBootApplication, the @EnableAutoConfiguration and @ComponentScan annotations that it imports defines that habits so You may also use These as a substitute.
The https://lilliqanf742410.blogunteer.com/29602731/what-does-spring-boot-best-practices-mean