fvanwijk/testRunnerConfig

View on GitHub

Showing 19 of 19 total issues

Function getWallabyFiles has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const getWallabyFiles = (files, mappings) => {
  if (!files) {
    return {};
  }

Severity: Minor
Found in src/index.js - About 1 hr to fix

    Replace file·=>·file)) with (file)·=>·file)),
    Open

      files: group.files.map(mappings[group.type] || (file => file))
    Severity: Minor
    Found in src/index.js by eslint

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

    Replace file with (file)
    Open

          .filter(file =>
    Severity: Minor
    Found in src/index.js by eslint

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

    Replace (file with ((file)
    Open

          .map(file => file.files)
    Severity: Minor
    Found in src/index.js by eslint

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

    Insert ,
    Open

      ignore: ignore
    Severity: Minor
    Found in src/index.js by eslint

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

    Replace file with (file)
    Open

          mock: file => ({
    Severity: Minor
    Found in src/index.js by eslint

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

    Insert ,
    Open

      getMochaFiles: getMochaFiles
    Severity: Minor
    Found in src/index.js by eslint

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

    Insert ,
    Open

            included: false
    Severity: Minor
    Found in src/index.js by eslint

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

    Insert ·
    Open

    module.exports = function() {
    Severity: Minor
    Found in wallaby.conf.js by eslint

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

    Replace file with (file)
    Open

    const wallabyObject = (instrument, load, ignore) => file => ({
    Severity: Minor
    Found in src/index.js by eslint

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

    Replace file with (file)
    Open

      let specs = files.find(file => file.type === 'specs');
    Severity: Minor
    Found in src/index.js by eslint

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

    Insert ,
    Open

        exclude: getFilesList(karmaFiles, 'ignore', true)
    Severity: Minor
    Found in src/index.js by eslint

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

    Insert ,
    Open

          ...mappings
    Severity: Minor
    Found in src/index.js by eslint

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

    Insert ,
    Open

          type: 'node'
    Severity: Minor
    Found in wallaby.conf.js by eslint

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

    Replace mappings·=>·group with (mappings)·=>·(group)
    Open

    const applyMappings = mappings => group => ({
    Severity: Minor
    Found in src/index.js by eslint

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

    Insert ,
    Open

        }
    Severity: Minor
    Found in wallaby.conf.js by eslint

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

    Replace file with (file)
    Open

      let ignoreIndex = files.findIndex(file => file.type === 'ignore');
    Severity: Minor
    Found in src/index.js by eslint

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

    Insert ,
    Open

        tests: getFilesList(wallabyFiles, 'specs', true)
    Severity: Minor
    Found in src/index.js by eslint

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

    Insert ,
    Open

          ...mappings
    Severity: Minor
    Found in src/index.js by eslint

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

    Severity
    Category
    Status
    Source
    Language