chore(lint): switch to eslint

This commit is contained in:
Julian Tölle 2021-05-25 18:12:42 +02:00
parent f56548e432
commit 9b96d0fab4
29 changed files with 1609 additions and 113 deletions

View file

@ -12,7 +12,7 @@ export class AuthSession {
@PrimaryGeneratedColumn("uuid")
id: string;
@ManyToOne((type) => User, { eager: true })
@ManyToOne(() => User, { eager: true })
user: User;
@CreateDateColumn()

View file

@ -1,4 +1,4 @@
// tslint:disable: max-classes-per-file
/* eslint-disable max-classes-per-file */
import { EntityRepository, Repository, SelectQueryBuilder } from "typeorm";
import { User } from "../users/user.entity";
import { AuthSession } from "./auth-session.entity";

View file

@ -7,7 +7,7 @@ import {
UseGuards,
} from "@nestjs/common";
import { ConfigService } from "@nestjs/config";
import { Response } from "express";
import type { Response } from "express";
import { User } from "../users/user.entity";
import { AuthSession } from "./auth-session.entity";
import { AuthService } from "./auth.service";

View file

@ -4,7 +4,7 @@ import {
ExceptionFilter,
ForbiddenException,
} from "@nestjs/common";
import { Response } from "express";
import type { Response } from "express";
import { Logger } from "../logger/logger.service";
@Catch()