update tslint -> eslint

This commit is contained in:
2021-05-21 20:17:26 +02:00
parent 80260df71f
commit a195fafa6b
252 changed files with 3080 additions and 2420 deletions

View File

@@ -8,44 +8,42 @@ import {PasswordComponent} from './password/password.component';
import {PasswordSendComponent} from './password-send/password-send.component';
import {NewComponent} from './new/new.component';
const routes: Routes = [
{
path: '',
redirectTo: 'info',
pathMatch: 'full'
pathMatch: 'full',
},
{
path: 'login',
component: LoginComponent
component: LoginComponent,
},
{
path: 'logout',
component: LogoutComponent
component: LogoutComponent,
},
{
path: 'password',
component: PasswordComponent
component: PasswordComponent,
},
{
path: 'new',
component: NewComponent
component: NewComponent,
},
{
path: 'password-send',
component: PasswordSendComponent
component: PasswordSendComponent,
},
{
path: 'info',
component: InfoComponent,
canActivate: [AngularFireAuthGuard],
data: {authGuardPipe: () => redirectUnauthorizedTo(['user', 'login'])}
data: {authGuardPipe: () => redirectUnauthorizedTo(['user', 'login'])},
},
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
exports: [RouterModule],
})
export class UserRoutingModule {
}
export class UserRoutingModule {}