Fix lint
authorChocobozzz <florian.bigard@gmail.com>
Fri, 8 Dec 2017 16:40:54 +0000 (17:40 +0100)
committerChocobozzz <florian.bigard@gmail.com>
Fri, 8 Dec 2017 16:40:54 +0000 (17:40 +0100)
server/helpers/custom-validators/videos.ts
server/tests/api/multiple-servers.ts
server/tests/api/single-server.ts

index 4fc460699e3d921e5cbb20883e4bdd94f01d7841..37fa8b08ab141514e02d0c884fb53fc4280c5b15 100644 (file)
@@ -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
index c9f74cc8cbf8142be37e1c09f7882a00d3efd96f..2f17f017ae947b3835c16c51e520430ec40954b7 100644 (file)
@@ -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 {
index 91460c7ae97c907caa9b4fca9c840d184e48dc28..174fb480d749c28098c03c7fb2582c3335282e65 100644 (file)
@@ -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,