Skip to content

Commit

Permalink
Added jshint newcap and undef options and fixed warning
Browse files Browse the repository at this point in the history
  • Loading branch information
vschoettke committed Sep 2, 2014
1 parent 67642ae commit 8b2084f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"newcap": false,
"node": true,
"strict": true,
"newcap": true,
"undef": true,
"trailing": true,
"unused": true,
"predef": [ "-Promise" ]
Expand Down
4 changes: 2 additions & 2 deletions test/integration/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
'use strict';

module.exports = function(testSuite) {
var Knex = require('../../knex');
var knex = require('../../knex');
var logger = require('./logger')(testSuite);
var config = require('../knexfile');
var fs = require('fs');

Object.keys(config).forEach(function (dialectName) {
require('./suite')(logger.client(Knex(config[dialectName])));
require('./suite')(logger.client(knex(config[dialectName])));
});

after(function(done) {
Expand Down

0 comments on commit 8b2084f

Please sign in to comment.