mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
chore(lint): switch to eslint
This commit is contained in:
parent
f56548e432
commit
9b96d0fab4
29 changed files with 1609 additions and 113 deletions
|
|
@ -12,7 +12,7 @@ export class AuthSession {
|
|||
@PrimaryGeneratedColumn("uuid")
|
||||
id: string;
|
||||
|
||||
@ManyToOne((type) => User, { eager: true })
|
||||
@ManyToOne(() => User, { eager: true })
|
||||
user: User;
|
||||
|
||||
@CreateDateColumn()
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue