itakojs/itako-audio-reader-audio-context

View on GitHub

Showing 2 of 2 total issues

Function configure has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function configure(config) {
  config.set(init);

  if (process.env.TRAVIS) {
    config.set({
Severity: Minor
Found in karma.conf.js - About 1 hr to fix

    Function play has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      play(arrayBuffer, options = {}) {
        return new Promise((resolve) => {
          this.audioContext.decodeAudioData(arrayBuffer, resolve);
        })
        .then((decodedAudioData) => new Promise((resolve) => {
    Severity: Minor
    Found in src/index.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language