You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
chore - remove standard and use individual config
Standard is not as up to date and still uses a old eslint version. Instead, use the airbnb default with a couple of modifications. All required changes are included.
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
|
||||
const config = require('../lib/config')
|
||||
const helper = require('../helper')
|
||||
const redis = config.redis
|
||||
|
||||
const { redis } = config
|
||||
|
||||
describe('The \'hmget\' method', () => {
|
||||
helper.allTests((ip, args) => {
|
||||
@@ -13,7 +14,7 @@ describe('The \'hmget\' method', () => {
|
||||
beforeEach(() => {
|
||||
client = redis.createClient.apply(null, args)
|
||||
client.flushdb()
|
||||
return client.hmset(hash, {'0123456789': 'abcdefghij', 'some manner of key': 'a type of value'})
|
||||
return client.hmset(hash, { '0123456789': 'abcdefghij', 'some manner of key': 'a type of value' })
|
||||
.then(helper.isString('OK'))
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user