nfroidure/midifile

View on GitHub

Showing 109 of 109 total issues

Replace 'Invalid·track·index·('·+·index·+·')' with "Invalid·track·index·("·+·index·+·")"
Open

    throw Error('Invalid track index (' + index + ')');
Severity: Minor
Found in src/MIDIFile.js by eslint

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

Delete ⏎······
Open

          this.datas.getUint8(MIDIFileTrack.HDR_LENGTH + (trackLength - 1))
Severity: Minor
Found in src/MIDIFileTrack.js by eslint

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

Replace '·format·can·be·0,·1·or·2·only.' with "·format·can·be·0,·1·or·2·only."
Open

        ' format can be 0, 1 or 2 only.'
Severity: Minor
Found in src/MIDIFileHeader.js by eslint

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

Replace 'Time·division·is·not·expressed·as·ticks·per·beat.' with "Time·division·is·not·expressed·as·ticks·per·beat."
Open

    throw new Error('Time division is not expressed as ticks per beat.');
Severity: Minor
Found in src/MIDIFileHeader.js by eslint

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

Replace i·=·0,·j·=·origin.length with (i·=·0),·(j·=·origin.length)
Open

  for (i = 0, j = origin.length; i < j; i++) {
Severity: Minor
Found in src/MIDIFileTrack.js by eslint

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

Replace '·MTrk·prefix·not·found' with "·MTrk·prefix·not·found"
Open

          ' MTrk prefix not found'
Severity: Minor
Found in src/MIDIFileTrack.js by eslint

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

Replace 'tests/*.mocha.js':·['browserify'], with "tests/*.mocha.js":·["browserify"]
Open

      'tests/*.mocha.js': ['browserify'],
Severity: Minor
Found in karma.conf.js by eslint

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

Replace i·=·0,·j·=·this.tracks.length with (i·=·0),·(j·=·this.tracks.length)
Open

    for (i = 0, j = this.tracks.length; i < j; i++) {
Severity: Minor
Found in src/MIDIFile.js by eslint

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

Replace ⏎········'M' with "M"
Open

      !(
Severity: Minor
Found in src/MIDIFileTrack.js by eslint

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

Replace '·The·track·size·exceed·the·buffer·length.' with "·The·track·size·exceed·the·buffer·length."
Open

          ' The track size exceed the buffer length.'
Severity: Minor
Found in src/MIDIFileTrack.js by eslint

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

Replace (i·=·0,·j·=·trackParsers.length with ((i·=·0),·(j·=·trackParsers.length)
Open

      for (i = 0, j = trackParsers.length; i < j; i++) {
Severity: Minor
Found in src/MIDIFile.js by eslint

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

Replace 'Invalid·SMPTE·frames·value·given·('·+·smpteFrames·+·').' with "Invalid·SMPTE·frames·value·given·("·+·smpteFrames·+·")."
Open

    throw new Error('Invalid SMPTE frames value given (' + smpteFrames + ').');
Severity: Minor
Found in src/MIDIFileHeader.js by eslint

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

Replace 'progress' with "progress"
Open

    reporters: ['progress'],
Severity: Minor
Found in karma.conf.js by eslint

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

Replace '·Buffer·length·must·size·at·least·12bytes' with "·Buffer·length·must·size·at·least·12bytes"
Open

          ' Buffer length must size at least 12bytes'
Severity: Minor
Found in src/MIDIFileTrack.js by eslint

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

Replace 'L' with "L"
Open

        } else if ('L' === String.fromCharCode(event.data[1])) {
Severity: Minor
Found in src/MIDIFile.js by eslint

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

Replace 'r' with "r"
Open

        'r' === String.fromCharCode(this.datas.getUint8(2)) &&
Severity: Minor
Found in src/MIDIFileTrack.js by eslint

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

Replace 'Invalid·buffer·received.' with "Invalid·buffer·received."
Open

      throw Error('Invalid buffer received.');
Severity: Minor
Found in src/MIDIFileHeader.js by eslint

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

Replace 'Invalid·MIDI·file·:·MIDI·format·(' with "Invalid·MIDI·file·:·MIDI·format·("
Open

      'Invalid MIDI file : MIDI format (' +
Severity: Minor
Found in src/MIDIFileHeader.js by eslint

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

Replace ')·:' with ")·:"
Open

          ') :' +
Severity: Minor
Found in src/MIDIFileTrack.js by eslint

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

Replace 'Chrome',·'Firefox' with "Chrome",·"Firefox"
Open

    browsers: ['Chrome', 'Firefox'],
Severity: Minor
Found in karma.conf.js by eslint

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

Severity
Category
Status
Source
Language