1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

Replace jshint with eslint and add lots of rules

Fix eslint errors accordingly
This commit is contained in:
Ruben Bridgewater
2016-03-26 04:05:43 +01:00
parent 12579e5e8e
commit 94e9f1fcfc
98 changed files with 1621 additions and 1551 deletions

View File

@@ -113,7 +113,7 @@ describe('createClient options', function () {
it('duplicated, identical query options including options obj', function () {
var text = '';
var unhookIntercept = intercept(function(data) {
var unhookIntercept = intercept(function (data) {
text += data;
return '';
});
@@ -152,7 +152,7 @@ describe('createClient options', function () {
}
});
it("warns on protocol other than redis in the redis url", function () {
it('warns on protocol other than redis in the redis url', function () {
var text = '';
var unhookIntercept = intercept(function (data) {
text += data;
@@ -229,7 +229,7 @@ describe('createClient options', function () {
});
describe('faulty data', function () {
it("throws on strange connection info", function () {
it('throws on strange connection info', function () {
try {
unifyOptions(true);
throw new Error('failed');