Description
A rule to ensure that any class decorated with @Module() should have their class name end with Module.
Acceptance criteria
Incorrect:
@Module({
imports: [TypeOrmModule.forFeature([Product]),
})
export class Products {} // ⚠️ `Module classes should have a name that ends with the word `Module`
Correct:
@Module({
imports: [TypeOrmModule.forFeature([Product]),
})
export class ProductsModule {}