Chore: Cleaned up imports to use Modules.
Feature: Added an eslint rule to sort component imports
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { MatCard } from '@angular/material/card';
|
||||
import { MatCardModule } from '@angular/material/card';
|
||||
import { RouterLink } from '@angular/router';
|
||||
|
||||
import { environment } from '../app.environment';
|
||||
@ -9,7 +9,7 @@ import { AuthService } from '../auth/auth.service';
|
||||
selector: 'app-home',
|
||||
templateUrl: './home.component.html',
|
||||
styleUrls: ['./home.component.css'],
|
||||
imports: [MatCard, RouterLink],
|
||||
imports: [MatCardModule, RouterLink],
|
||||
})
|
||||
export class HomeComponent {
|
||||
version: string;
|
||||
|
||||
Reference in New Issue
Block a user