doublesharp/lru-cache-for-clusters-as-promised

View on GitHub

Showing 7 of 7 total issues

LRUCacheForClustersAsPromised has 30 functions (exceeds 20 allowed). Consider refactoring.
Open

class LRUCacheForClustersAsPromised {
  constructor(options = {}) {
    // this is how the clustered cache differentiates
    this.namespace = options.namespace || 'default';

Severity: Minor
Found in lru-cache-for-clusters-as-promised.js - About 3 hrs to fix

    Parsing error: Invalid ecmaVersion.
    Open

    const cluster = require('cluster');
    Severity: Minor
    Found in lib/master.js by eslint

    For more information visit Source: http://eslint.org/docs/rules/

    Parsing error: Invalid ecmaVersion.
    Open

    const CronJob = require('cron').CronJob;
    Severity: Minor
    Found in lib/utils.js by eslint

    For more information visit Source: http://eslint.org/docs/rules/

    Parsing error: Invalid ecmaVersion.
    Open

    /**

    For more information visit Source: http://eslint.org/docs/rules/

    Parsing error: Invalid ecmaVersion.
    Open

    const Debug = require('debug');
    Severity: Minor
    Found in lib/master-messages.js by eslint

    For more information visit Source: http://eslint.org/docs/rules/

    Parsing error: Invalid ecmaVersion.
    Open

    const cluster = require('cluster');
    Severity: Minor
    Found in lib/worker.js by eslint

    For more information visit Source: http://eslint.org/docs/rules/

    Parsing error: Invalid ecmaVersion.
    Open

    module.exports = {
    Severity: Minor
    Found in config.js by eslint

    For more information visit Source: http://eslint.org/docs/rules/

    Severity
    Category
    Status
    Source
    Language