use eslint autofix to start fixing violations

This commit is contained in:
spalger
2017-06-14 18:48:24 -07:00
parent da8e558817
commit 3d75c6ff0f
97 changed files with 1281 additions and 1280 deletions

View File

@ -1,11 +1,11 @@
describe('Nodes to host callback', function () {
var callback = require('../../../src/lib/nodes_to_host');
var expect = require('expect.js');
const callback = require('../../../src/lib/nodes_to_host');
const expect = require('expect.js');
var nodes90 = require('../../fixtures/short_node_list.0.90.json');
var nodes10 = require('../../fixtures/short_node_list.1.0.json');
var nodes20 = require('../../fixtures/short_node_list.2.0.json');
var nodes50 = require('../../fixtures/short_node_list.5.0.json');
const nodes90 = require('../../fixtures/short_node_list.0.90.json');
const nodes10 = require('../../fixtures/short_node_list.1.0.json');
const nodes20 = require('../../fixtures/short_node_list.2.0.json');
const nodes50 = require('../../fixtures/short_node_list.5.0.json');
context('0.x style', function () {
it('properly creates host objects', function () {
@ -109,7 +109,7 @@ describe('Nodes to host callback', function () {
it('ignores hosts that don\'t have an http_host property', function () {
var hosts = callback({
const hosts = callback({
node_id: {
not: 'much of a node'
}