correct linting
This commit is contained in:
@@ -6,9 +6,9 @@ import {AppComponent} from './app.component';
|
|||||||
import {ServiceWorkerModule} from '@angular/service-worker';
|
import {ServiceWorkerModule} from '@angular/service-worker';
|
||||||
import {environment} from '../environments/environment';
|
import {environment} from '../environments/environment';
|
||||||
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
|
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
|
||||||
import {ApplicationFrameModule} from "./application-frame/application-frame.module";
|
import {ApplicationFrameModule} from './application-frame/application-frame.module';
|
||||||
import {AngularFireModule} from "@angular/fire";
|
import {AngularFireModule} from '@angular/fire';
|
||||||
import {AngularFirestoreModule} from "@angular/fire/firestore";
|
import {AngularFirestoreModule} from '@angular/fire/firestore';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import {NgModule} from '@angular/core';
|
import {NgModule} from '@angular/core';
|
||||||
import {CommonModule} from '@angular/common';
|
import {CommonModule} from '@angular/common';
|
||||||
import {NavigationComponent} from './navigation/navigation.component';
|
import {NavigationComponent} from './navigation/navigation.component';
|
||||||
import {RouterModule} from "@angular/router";
|
import {RouterModule} from '@angular/router';
|
||||||
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import {async, TestBed} from '@angular/core/testing';
|
import {async, TestBed} from '@angular/core/testing';
|
||||||
|
|
||||||
import {SongDataService} from './song-data.service';
|
import {SongDataService} from './song-data.service';
|
||||||
import {AngularFirestore} from "@angular/fire/firestore";
|
import {AngularFirestore} from '@angular/fire/firestore';
|
||||||
import {of} from "rxjs";
|
import {of} from 'rxjs';
|
||||||
|
|
||||||
describe('SongDataService', () => {
|
describe('SongDataService', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import {Injectable} from '@angular/core';
|
import {Injectable} from '@angular/core';
|
||||||
import {AngularFirestore, AngularFirestoreCollection} from "@angular/fire/firestore";
|
import {AngularFirestore, AngularFirestoreCollection} from '@angular/fire/firestore';
|
||||||
import {Song} from "../models/song";
|
import {Song} from '../models/song';
|
||||||
import {Observable} from "rxjs";
|
import {Observable} from 'rxjs';
|
||||||
|
|
||||||
@Injectable({
|
@Injectable({
|
||||||
providedIn: 'root'
|
providedIn: 'root'
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import {async, TestBed} from '@angular/core/testing';
|
import {async, TestBed} from '@angular/core/testing';
|
||||||
|
|
||||||
import {SongService} from './song.service';
|
import {SongService} from './song.service';
|
||||||
import {SongDataService} from "./song-data.service";
|
import {SongDataService} from './song-data.service';
|
||||||
import {of} from "rxjs";
|
import {of} from 'rxjs';
|
||||||
|
|
||||||
describe('SongService', () => {
|
describe('SongService', () => {
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import {Injectable} from '@angular/core';
|
import {Injectable} from '@angular/core';
|
||||||
import {Observable} from "rxjs";
|
import {Observable} from 'rxjs';
|
||||||
import {Song} from "../models/song";
|
import {Song} from '../models/song';
|
||||||
import {SongDataService} from "./song-data.service";
|
import {SongDataService} from './song-data.service';
|
||||||
|
|
||||||
@Injectable({
|
@Injectable({
|
||||||
providedIn: 'root'
|
providedIn: 'root'
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import {Component, Input, OnInit} from '@angular/core';
|
import {Component, Input, OnInit} from '@angular/core';
|
||||||
import {Song} from "../../models/song";
|
import {Song} from '../../models/song';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-list-item',
|
selector: 'app-list-item',
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
import {async, ComponentFixture, fakeAsync, TestBed, tick} from '@angular/core/testing';
|
import {async, ComponentFixture, fakeAsync, TestBed, tick} from '@angular/core/testing';
|
||||||
|
|
||||||
import {SongListComponent} from './song-list.component';
|
import {SongListComponent} from './song-list.component';
|
||||||
import {of} from "rxjs";
|
import {of} from 'rxjs';
|
||||||
import {SongService} from "../services/song.service";
|
import {SongService} from '../services/song.service';
|
||||||
import {NO_ERRORS_SCHEMA} from "@angular/core";
|
import {NO_ERRORS_SCHEMA} from '@angular/core';
|
||||||
|
|
||||||
describe('SongListComponent', () => {
|
describe('SongListComponent', () => {
|
||||||
let component: SongListComponent;
|
let component: SongListComponent;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import {Component, OnInit} from '@angular/core';
|
import {Component, OnInit} from '@angular/core';
|
||||||
import {SongService} from "../services/song.service";
|
import {SongService} from '../services/song.service';
|
||||||
import {Song} from "../models/song";
|
import {Song} from '../models/song';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-songs',
|
selector: 'app-songs',
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
import {NgModule} from '@angular/core';
|
import {NgModule} from '@angular/core';
|
||||||
import {CommonModule} from '@angular/common';
|
import {CommonModule} from '@angular/common';
|
||||||
import {SongListComponent} from "./song-list.component";
|
import {SongListComponent} from './song-list.component';
|
||||||
import {ListItemComponent} from './list-item/list-item.component';
|
import {ListItemComponent} from './list-item/list-item.component';
|
||||||
import {CardModule} from "../../widget-modules/components/card/card.module";
|
import {CardModule} from '../../widget-modules/components/card/card.module';
|
||||||
import {SongTypeTranslaterModule} from "../../widget-modules/pipes/song-type-translater/song-type-translater.module";
|
import {SongTypeTranslaterModule} from '../../widget-modules/pipes/song-type-translater/song-type-translater.module';
|
||||||
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import {async, ComponentFixture, fakeAsync, TestBed, tick} from '@angular/core/testing';
|
import {async, ComponentFixture, fakeAsync, TestBed, tick} from '@angular/core/testing';
|
||||||
|
|
||||||
import {SongComponent} from './song.component';
|
import {SongComponent} from './song.component';
|
||||||
import {of} from "rxjs";
|
import {of} from 'rxjs';
|
||||||
import {ActivatedRoute} from "@angular/router";
|
import {ActivatedRoute} from '@angular/router';
|
||||||
|
|
||||||
describe('SongComponent', () => {
|
describe('SongComponent', () => {
|
||||||
let component: SongComponent;
|
let component: SongComponent;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import {Component, OnInit} from '@angular/core';
|
import {Component, OnInit} from '@angular/core';
|
||||||
import {ActivatedRoute} from "@angular/router";
|
import {ActivatedRoute} from '@angular/router';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-song',
|
selector: 'app-song',
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import {NgModule} from '@angular/core';
|
import {NgModule} from '@angular/core';
|
||||||
import {RouterModule, Routes} from '@angular/router';
|
import {RouterModule, Routes} from '@angular/router';
|
||||||
import {SongComponent} from "./song/song.component";
|
import {SongComponent} from './song/song.component';
|
||||||
import {SongListComponent} from "./song-list/song-list.component";
|
import {SongListComponent} from './song-list/song-list.component';
|
||||||
|
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import {CommonModule} from '@angular/common';
|
|||||||
|
|
||||||
import {SongsRoutingModule} from './songs-routing.module';
|
import {SongsRoutingModule} from './songs-routing.module';
|
||||||
import {SongComponent} from './song/song.component';
|
import {SongComponent} from './song/song.component';
|
||||||
import {SongListModule} from "./song-list/song-list.module";
|
import {SongListModule} from './song-list/song-list.module';
|
||||||
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
|
|||||||
@@ -7,12 +7,12 @@ export class SongTypePipe implements PipeTransform {
|
|||||||
|
|
||||||
transform(songTypeKey: string): string {
|
transform(songTypeKey: string): string {
|
||||||
switch (songTypeKey) {
|
switch (songTypeKey) {
|
||||||
case "Worship":
|
case 'Worship':
|
||||||
return "Anbetung";
|
return 'Anbetung';
|
||||||
case "Praise":
|
case 'Praise':
|
||||||
return "Lobpreis";
|
return 'Lobpreis';
|
||||||
default:
|
default:
|
||||||
return ""
|
return ''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {firebase} from "./firebase";
|
import {firebase} from './firebase';
|
||||||
|
|
||||||
export const environment = {
|
export const environment = {
|
||||||
production: true,
|
production: true,
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
|
// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
|
||||||
// The list of file replacements can be found in `angular.json`.
|
// The list of file replacements can be found in `angular.json`.
|
||||||
|
|
||||||
import {firebase} from "./firebase";
|
import {firebase} from './firebase';
|
||||||
|
|
||||||
export const environment = {
|
export const environment = {
|
||||||
production: false,
|
production: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user