@ -27,7 +27,7 @@ export class AppsPageComponent implements Ng2.OnInit {
constructor(
private readonly title: TitleService,
private readonly appsStore: AppsStoreService,
private readonly appsStore: AppsStoreService
) {
}
@ -24,13 +24,13 @@ import {
AppFormComponent,
AppsMenuComponent,
ProfileMenuComponent,
SearchFormComponent,
SearchFormComponent
],
exports: [
]
})
export class SqxLayoutModule { }
@ -21,7 +21,7 @@ export class HomePageComponent implements Ng2.OnInit {
private readonly auth: AuthService,
private readonly router: Ng2Router.Router,
private readonly router: Ng2Router.Router
@ -5,10 +5,11 @@
* Copyright (c) Sebastian Stehle. All rights reserved
*/
const EMPTY_FUNC = () => { };
/* tslint:disable:no-empty */
/* tslint:disable:only-arrow-functions */
const EMPTY_FUNC = () => {};
export function Action() {
return function (target: any, key: string) {
let observable: any;
@ -28,6 +28,8 @@ const KEY_ENTER = 13;
const KEY_UP = 38;
const KEY_DOWN = 40;
const NOOP = () => { };
export const SQX_AUTOCOMPLETE_CONTROL_VALUE_ACCESSOR: any = {
@ -95,6 +95,7 @@ export class ImageDropDirective {
private findImage(event: DragDropEvent): File | null {
let image: File | null = null;
/* tslint:disable:prefer-for-of */
for (let i = 0; i < event.dataTransfer.files.length; i++) {
const file = event.dataTransfer.files[i];
@ -66,7 +66,7 @@ import {
SliderComponent,
SpinnerComponent,
TitleComponent,
UserReportComponent,
UserReportComponent
AutocompleteComponent,
@ -5,6 +5,8 @@
export abstract class ImmutableObject {
public abstract clone(): ImmutableObject;
@ -25,7 +25,7 @@ export class AppLanguageDto {
export class AddAppLanguageDto {
public readonly name: string,
public readonly name: string
@ -61,7 +61,7 @@ export class AuthService {
constructor(apiUrl: ApiUrlConfig,
private readonly http: Ng2Http.Http,
if (!apiUrl) {
return;
@ -7,7 +7,7 @@
import * as Ng2 from '@angular/core';
import { Observable, } from 'rxjs';
import { Observable } from 'rxjs';
import { UserDto, UsersService } from './users.service';
@ -19,7 +19,7 @@ export class UsersProviderService {
private readonly usersService: UsersService,
private readonly authService: AuthService,
private readonly authService: AuthService
@ -38,7 +38,7 @@
"no-construct": true,
"no-debugger": true,
"no-duplicate-variable": true,
"no-empty": false,
"no-empty": true,
"no-eval": true,
"no-inferrable-types": [
true,
@ -48,6 +48,7 @@
"no-string-literal": false,
"no-switch-case-fall-through": true,
"no-trailing-whitespace": true,
"no-unused-expression": true,
"no-unused-variable": true,
"no-use-before-declare": true,
@ -62,10 +63,12 @@
"only-arrow-functions": [
"allow-declarations"],
"allow-declarations"
"ordered-imports": [
true
"prefer-for-of": true,
"quotemark": [
"single"
@ -74,6 +77,13 @@
"semicolon": [
"always"
"trailing-comma": [
{
"multiline": "never",
"singleline": "never"
"triple-equals": [
"allow-null-check"