From b1a134ee525bd23d7e359573eca24f133974de84 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 8 Dec 2017 17:40:54 +0100 Subject: [PATCH] Fix lint --- server/helpers/custom-validators/videos.ts | 1 - server/tests/api/multiple-servers.ts | 2 +- server/tests/api/single-server.ts | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/server/helpers/custom-validators/videos.ts b/server/helpers/custom-validators/videos.ts index 4fc460699..37fa8b08a 100644 --- a/server/helpers/custom-validators/videos.ts +++ b/server/helpers/custom-validators/videos.ts @@ -9,7 +9,6 @@ import { VIDEO_PRIVACIES } from '../../initializers/constants' import { database as db } from '../../initializers/database' import { VideoInstance } from '../../models/video/video-interface' import { exists, isArray } from './misc' -import isInt = require('validator/lib/isInt') const VIDEOS_CONSTRAINTS_FIELDS = CONSTRAINTS_FIELDS.VIDEOS const VIDEO_ABUSES_CONSTRAINTS_FIELDS = CONSTRAINTS_FIELDS.VIDEO_ABUSES diff --git a/server/tests/api/multiple-servers.ts b/server/tests/api/multiple-servers.ts index c9f74cc8c..2f17f017a 100644 --- a/server/tests/api/multiple-servers.ts +++ b/server/tests/api/multiple-servers.ts @@ -2,7 +2,7 @@ import 'mocha' import * as chai from 'chai' -import { join } from "path" +import { join } from 'path' import * as request from 'supertest' import { diff --git a/server/tests/api/single-server.ts b/server/tests/api/single-server.ts index 91460c7ae..174fb480d 100644 --- a/server/tests/api/single-server.ts +++ b/server/tests/api/single-server.ts @@ -4,7 +4,6 @@ import * as chai from 'chai' import { keyBy } from 'lodash' import 'mocha' import { join } from 'path' -import * as request from 'supertest' import { dateIsValid, flushTests, -- 2.25.1