src/list-utils.js
Function cleanupCache
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function cleanupCache(_index) {
const { redis, redisType, config } = this;
const { keyPrefix } = config.redis.options;
const keyPrefixLength = keyPrefix.length;
const index = `${keyPrefix}${_index}`;
Parsing error: The keyword 'const' is reserved Open
Open
const Promise = require('bluebird');
- Read upRead up
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/