chore: removed global eslint references

This commit is contained in:
NGPixel
2017-05-13 15:29:00 -04:00
parent 6ae6d3382d
commit 9e801548e0
25 changed files with 80 additions and 242 deletions

View File

@@ -1,6 +1,6 @@
'use strict'
/* global appconfig, appdata, db, winston */
/* global appconfig, appdata, db, lang, winston */
const fs = require('fs')

View File

@@ -21,7 +21,6 @@ module.exports = {
*/
init () {
let self = this
global.Mongoose = modb
let dbModelsPath = path.join(SERVERPATH, 'models')

View File

@@ -1,5 +1,7 @@
'use strict'
/* global db, git, lang, mark, rights, search, winston */
const Promise = require('bluebird')
const path = require('path')
const fs = Promise.promisifyAll(require('fs-extra'))

View File

@@ -1,5 +1,7 @@
'use strict'
/* global lang, winston */
const Git = require('git-wrapper2-promise')
const Promise = require('bluebird')
const path = require('path')

View File

@@ -1,5 +1,7 @@
'use strict'
/* global lang, winston */
const path = require('path')
const Promise = require('bluebird')
const fs = Promise.promisifyAll(require('fs-extra'))

View File

@@ -1,5 +1,7 @@
'use strict'
/* global winston */
const Promise = require('bluebird')
const _ = require('lodash')
const searchIndex = require('./search-index')

View File

@@ -1,5 +1,7 @@
'use strict'
/* global winston */
const Promise = require('bluebird')
const crypto = require('crypto')
const fs = Promise.promisifyAll(require('fs-extra'))

View File

@@ -1,5 +1,7 @@
'use strict'
/* global db, git, lang, upl */
const path = require('path')
const Promise = require('bluebird')
const fs = Promise.promisifyAll(require('fs-extra'))

View File

@@ -1,5 +1,7 @@
'use strict'
/* global db, lang, lcdata, upl, winston */
const path = require('path')
const Promise = require('bluebird')
const fs = Promise.promisifyAll(require('fs-extra'))