mirror of https://github.com/Chocobozzz/PeerTube
Fix lint
parent
f595d39477
commit
b1a134ee52
|
@ -9,7 +9,6 @@ import { VIDEO_PRIVACIES } from '../../initializers/constants'
|
||||||
import { database as db } from '../../initializers/database'
|
import { database as db } from '../../initializers/database'
|
||||||
import { VideoInstance } from '../../models/video/video-interface'
|
import { VideoInstance } from '../../models/video/video-interface'
|
||||||
import { exists, isArray } from './misc'
|
import { exists, isArray } from './misc'
|
||||||
import isInt = require('validator/lib/isInt')
|
|
||||||
|
|
||||||
const VIDEOS_CONSTRAINTS_FIELDS = CONSTRAINTS_FIELDS.VIDEOS
|
const VIDEOS_CONSTRAINTS_FIELDS = CONSTRAINTS_FIELDS.VIDEOS
|
||||||
const VIDEO_ABUSES_CONSTRAINTS_FIELDS = CONSTRAINTS_FIELDS.VIDEO_ABUSES
|
const VIDEO_ABUSES_CONSTRAINTS_FIELDS = CONSTRAINTS_FIELDS.VIDEO_ABUSES
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
import 'mocha'
|
import 'mocha'
|
||||||
import * as chai from 'chai'
|
import * as chai from 'chai'
|
||||||
import { join } from "path"
|
import { join } from 'path'
|
||||||
import * as request from 'supertest'
|
import * as request from 'supertest'
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -4,7 +4,6 @@ import * as chai from 'chai'
|
||||||
import { keyBy } from 'lodash'
|
import { keyBy } from 'lodash'
|
||||||
import 'mocha'
|
import 'mocha'
|
||||||
import { join } from 'path'
|
import { join } from 'path'
|
||||||
import * as request from 'supertest'
|
|
||||||
import {
|
import {
|
||||||
dateIsValid,
|
dateIsValid,
|
||||||
flushTests,
|
flushTests,
|
||||||
|
|
Loading…
Reference in New Issue